/* Mango Plus Theme - All classes prefixed with w35eb- */
:root {
  --w35eb-primary: #7B68EE;
  --w35eb-secondary: #9932CC;
  --w35eb-accent: #ADFF2F;
  --w35eb-success: #3CB371;
  --w35eb-neutral: #808080;
  --w35eb-dark: #1E1E1E;
  --w35eb-light: #F5F5F5;
  --w35eb-gradient: linear-gradient(135deg, #7B68EE 0%, #9932CC 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--w35eb-light);
  background: var(--w35eb-dark);
  overflow-x: hidden;
}

.w35eb-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.w35eb-wrapper {
  width: 100%;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* Header */
.w35eb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #7B68EE 0%, #9932CC 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.w35eb-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.6rem;
  max-width: 430px;
  margin: 0 auto;
}

.w35eb-logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.w35eb-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.w35eb-site-name {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.w35eb-header-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.w35eb-btn {
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  min-height: 44px;
  min-width: 44px;
}

.w35eb-btn-primary {
  background: var(--w35eb-accent);
  color: var(--w35eb-dark);
}

.w35eb-btn-primary:hover {
  background: #98EE2F;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(173, 255, 47, 0.4);
}

.w35eb-btn-secondary {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.w35eb-btn-secondary:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.5);
}

.w35eb-menu-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.w35eb-mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 30, 30, 0.98);
  z-index: 9999;
  display: none;
  overflow-y: auto;
  padding: 2rem;
}

.w35eb-nav {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.w35eb-nav-link {
  display: block;
  padding: 1.6rem;
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.2) 0%, rgba(153, 50, 204, 0.2) 100%);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-height: 52px;
  display: flex;
  align-items: center;
}

.w35eb-nav-link:hover {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.4) 0%, rgba(153, 50, 204, 0.4) 100%);
  border-color: var(--w35eb-primary);
  transform: translateX(8px);
}

/* Main Content */
.w35eb-main {
  margin-top: 60px;
  padding: 2rem 0;
}

/* Carousel */
.w35eb-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  margin-bottom: 2rem;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.w35eb-carousel-slide {
  width: 100%;
  height: 100%;
  display: none;
}

.w35eb-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Headings */
.w35eb-h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--w35eb-accent);
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.w35eb-h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--w35eb-primary);
}

.w35eb-h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--w35eb-accent);
  margin-bottom: 1.2rem;
}

/* Game Grid */
.w35eb-category {
  margin-bottom: 3rem;
}

.w35eb-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.3) 0%, rgba(153, 50, 204, 0.3) 100%);
  border-radius: 12px;
}

.w35eb-category-icon {
  font-size: 2.4rem;
}

.w35eb-category-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.w35eb-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.w35eb-game-card {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.1) 0%, rgba(153, 50, 204, 0.1) 100%);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(123, 104, 238, 0.3);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.w35eb-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(123, 104, 238, 0.4);
  border-color: var(--w35eb-primary);
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.2) 0%, rgba(153, 50, 204, 0.2) 100%);
}

.w35eb-game-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--w35eb-primary);
}

.w35eb-game-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Content Sections */
.w35eb-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.05) 0%, rgba(153, 50, 204, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(123, 104, 238, 0.2);
}

.w35eb-text {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--w35eb-light);
  margin-bottom: 1.2rem;
}

.w35eb-list {
  list-style: none;
  padding: 0;
}

.w35eb-list-item {
  padding: 1.2rem;
  margin-bottom: 1rem;
  background: rgba(123, 104, 238, 0.1);
  border-radius: 8px;
  border-left: 4px solid var(--w35eb-accent);
  font-size: 1.5rem;
  line-height: 1.6;
}

.w35eb-link {
  color: var(--w35eb-accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.w35eb-link:hover {
  color: #98EE2F;
  border-bottom-color: #98EE2F;
}

/* Accordion */
.w35eb-accordion {
  margin-bottom: 2rem;
}

.w35eb-accordion-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(123, 104, 238, 0.3);
}

.w35eb-accordion-header {
  padding: 1.6rem;
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.2) 0%, rgba(153, 50, 204, 0.2) 100%);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  min-height: 52px;
}

.w35eb-accordion-header:hover {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.3) 0%, rgba(153, 50, 204, 0.3) 100%);
}

.w35eb-accordion-header.w35eb-active {
  background: linear-gradient(135deg, var(--w35eb-primary) 0%, var(--w35eb-secondary) 100%);
}

.w35eb-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(30, 30, 30, 0.8);
}

.w35eb-accordion-body {
  padding: 1.6rem;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--w35eb-light);
}

/* Footer */
.w35eb-footer {
  background: linear-gradient(135deg, #1E1E1E 0%, #2A2A2A 100%);
  padding: 3rem 0 9rem;
  margin-top: 4rem;
  border-top: 3px solid var(--w35eb-primary);
}

.w35eb-footer-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.w35eb-footer-section {
  margin-bottom: 2.4rem;
}

.w35eb-footer-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w35eb-accent);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.w35eb-footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.w35eb-footer-link {
  color: var(--w35eb-light);
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  padding: 0.4rem 0;
}

.w35eb-footer-link:hover {
  color: var(--w35eb-accent);
  padding-left: 0.8rem;
}

.w35eb-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.w35eb-partner-logo {
  width: 100%;
  height: 40px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.w35eb-partner-logo:hover {
  opacity: 1;
}

.w35eb-copyright {
  text-align: center;
  font-size: 1.3rem;
  color: var(--w35eb-neutral);
  padding-top: 2rem;
  border-top: 1px solid rgba(128, 128, 128, 0.3);
}

/* Bottom Navigation */
.w35eb-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #2A2A2A 0%, #1E1E1E 100%);
  border-top: 2px solid var(--w35eb-primary);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.8rem 0;
  height: 64px;
}

.w35eb-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 64px;
  min-height: 56px;
  padding: 0.4rem;
  border-radius: 8px;
}

.w35eb-nav-item:hover {
  background: rgba(123, 104, 238, 0.2);
  transform: translateY(-2px);
}

.w35eb-nav-item.w35eb-active {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.3) 0%, rgba(153, 50, 204, 0.3) 100%);
}

.w35eb-nav-icon {
  font-size: 2.4rem;
  color: var(--w35eb-accent);
  transition: all 0.3s ease;
}

.w35eb-nav-item:hover .w35eb-nav-icon {
  color: #98EE2F;
  transform: scale(1.1);
}

.w35eb-nav-label {
  font-size: 1.1rem;
  color: var(--w35eb-light);
  font-weight: 500;
  text-align: center;
}

/* Responsive - Desktop */
@media (min-width: 769px) {
  .w35eb-bottom-nav {
    display: none;
  }

  .w35eb-wrapper {
    padding-bottom: 0;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .w35eb-main {
    padding-bottom: 2rem;
  }

  .w35eb-game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .w35eb-game-card {
    padding: 0.8rem;
    min-height: 110px;
  }

  .w35eb-game-icon {
    width: 50px;
    height: 50px;
  }

  .w35eb-game-name {
    font-size: 1.1rem;
  }
}

@media (max-width: 360px) {
  .w35eb-game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .w35eb-h1 {
    font-size: 2.4rem;
  }

  .w35eb-h2 {
    font-size: 2rem;
  }
}

/* Utilities */
.w35eb-mt-1 { margin-top: 1rem; }
.w35eb-mt-2 { margin-top: 2rem; }
.w35eb-mt-3 { margin-top: 3rem; }
.w35eb-mb-1 { margin-bottom: 1rem; }
.w35eb-mb-2 { margin-bottom: 2rem; }
.w35eb-mb-3 { margin-bottom: 3rem; }
.w35eb-text-center { text-align: center; }
.w35eb-text-bold { font-weight: 700; }
.w35eb-text-primary { color: var(--w35eb-primary); }
.w35eb-text-accent { color: var(--w35eb-accent); }
.w35eb-text-success { color: var(--w35eb-success); }
