

/* ========== RESET & BASE ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Primary Colors - Ubah sesuai tema game */
  --primary: #a83929;
  --primary-dark: #8b2f1f;
  --primary-light: #c4523f;
  
  /* Accent Colors */
  --accent: #d2691e;
  --accent-dark: #a0522d;
  
  /* Background Colors */
  --bg-dark: #3d2817;
  --bg-card: #2d1810;
  --bg-card-hover: #402818;
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  /* Border & Shadow */
  --border: #4a3426;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --glow: 0 0 20px rgba(168, 57, 41, 0.5);
}

body {
  background: #a36f40;
  color: var(--text-primary);
  font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* ========== HEADER ========== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(45, 24, 16, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  height: 110px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-brand strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Desktop nav hidden on mobile - placed here for base specificity */
@media (max-width: 768px) {
  header nav,
  header .header-inner nav {
    display: none !important;
  }
}

nav a {
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--text-primary);
  background: rgba(168, 57, 41, 0.1);
}

nav a.btn-download {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 12px 28px;
  box-shadow: 0 4px 15px rgba(168, 57, 41, 0.4);
  margin-left: 12px;
}

nav a.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(168, 57, 41, 0.6);
}

/* ========== SECTIONS ========== */
section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  margin-bottom: 16px;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* ========== HERO SECTION ========== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 24px 0 32px;
  line-height: 1.8;
}

.hero img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: transform 0.3s ease;
}

.hero img:hover {
  transform: scale(1.02);
  box-shadow: var(--glow);
}

.btn-download {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(168, 57, 41, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-download::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-download:hover::before {
  left: 100%;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(168, 57, 41, 0.6);
}

/* ========== ABOUT SECTION ========== */
#about {
  background: rgba(162, 48, 13, 0.548);
  border-radius: 20px;
  margin: 40px auto;
}

#about > p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 48px;
  max-width: 900px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* ========== CARD COMPONENT ========== */
.card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  border-color: var(--primary);
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card h4 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== MERCHANDISE SECTION ========== */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.merch-grid .card {
  padding: 28px;
}

.merch-grid .card img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* ========== FOOTER ========== */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 50px 24px;
  margin-top: 80px;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-inner a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-inner a:hover {
  color: var(--primary-light);
}

/* ========== SOCIAL MEDIA ICONS ========== */
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(216, 184, 106, 0.3);
  border-color: var(--primary);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link.tiktok:hover {
  background: #000000;
  border-color: #000000;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #E4405F, #C13584, #833AB4, #FD1D1D, #F77737);
  border-color: #E4405F;
}

.social-link.email:hover {
  background: #ea4335;
  border-color: #ea4335;
}

.social-link.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  nav {
    flex-wrap: wrap;
  }
  
  .about-grid,
  .merch-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }
  
  .header-logo {
    height: 80px;
  }
  
  .header-brand strong {
    font-size: 1.2rem;
  }
  
  section {
    padding: 60px 20px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 70px 20px;
    min-height: 350px;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn-download {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .about-grid,
  .merch-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .card {
    padding: 20px;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 0 8px;
  }
  
  footer {
    padding: 30px 16px;
    margin-top: 60px;
  }
}

@media (max-width: 640px) {
  section {
    padding: 50px 16px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .header-inner {
    padding: 0 12px;
    height: 70px;
  }
  
  .header-logo {
    height: 60px;
  }
  
  .header-brand strong {
    font-size: 1rem;
  }
  
  .hero {
    padding: 60px 16px;
    min-height: 300px;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .btn-download {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .card {
    padding: 16px;
  }
  
  .text-block {
    padding: 24px;
  }
  
  .text-block h3 {
    font-size: 1.5rem;
  }
  
  .merch-grid {
    grid-template-columns: 1fr;
  }
  
  .dots {
    bottom: 12px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  footer {
    padding: 25px 16px;
    margin-top: 50px;
  }
  
  .footer-inner {
    padding: 0 4px;
    gap: 12px;
  }
  
  .social-links {
    justify-content: center;
    gap: 12px;
  }
  
  .social-link {
    width: 36px;
    height: 36px;
  }
  
  .social-link svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .mobile-sidebar {
    width: 85%;
    right: -85%;
  }

  .mobile-sidebar.active {
    right: 0;
  }
  
  .header-inner {
    height: 60px;
  }
  
  .header-logo {
    height: 50px;
  }
  
  .header-brand strong {
    font-size: 0.9rem;
  }
  
  section {
    padding: 40px 12px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .hero {
    padding: 50px 12px;
    min-height: 280px;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .btn-download {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .card {
    padding: 12px;
  }
  
  .text-block {
    padding: 20px;
  }
  
  .text-block h3 {
    font-size: 1.3rem;
  }
}

/* ========== MOBILE SIDEBAR ========== */
.mobile-menu-toggle {
  display: none;
  background: rgba(168, 57, 41, 0.2);
  border: 2px solid rgba(168, 57, 41, 0.4);
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1002;
  min-width: 48px;
  min-height: 48px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(168, 57, 41, 0.3);
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
  }
}

.mobile-menu-toggle:hover {
  background: rgba(168, 57, 41, 0.3);
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(168, 57, 41, 0.4);
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  z-index: 2000;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active {
  right: 0;
}

.mobile-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-sidebar-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.mobile-sidebar-brand strong {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mobile-sidebar-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  z-index: 10001;
  position: relative;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-sidebar-close:hover {
  color: var(--text-primary);
  background: rgba(168, 57, 41, 0.1);
}

.mobile-sidebar-nav {
  padding: 20px 0;
}

.mobile-sidebar-nav a {
  display: block;
  padding: 14px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.mobile-sidebar-nav a:hover {
  background: rgba(168, 57, 41, 0.1);
  color: var(--text-primary);
  padding-left: 24px;
}

.mobile-sidebar-nav a.active {
  background: rgba(168, 57, 41, 0.15);
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}

.mobile-sidebar-nav a.btn-download {
  margin: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  border-radius: 8px;
  padding: 14px 20px;
  box-shadow: 0 4px 15px rgba(168, 57, 41, 0.4);
}

.mobile-sidebar-nav a.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(168, 57, 41, 0.6);
}

/* Mobile dropdown in sidebar */
.mobile-nav-dropdown {
  position: relative;
}

.mobile-dropdown-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 14px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-dropdown-btn:hover {
  background: rgba(168, 57, 41, 0.1);
  color: var(--text-primary);
}

.mobile-dropdown-btn svg {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.mobile-dropdown-btn.active svg {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  display: none;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.mobile-dropdown-content.show {
  display: block;
}

.mobile-dropdown-item {
  display: block;
  padding: 12px 20px 12px 32px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.mobile-dropdown-item:hover {
  background: rgba(168, 57, 41, 0.1);
  color: var(--text-primary);
}

.mobile-dropdown-item.active {
  background: rgba(168, 57, 41, 0.15);
  color: var(--primary);
  font-weight: 600;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease-out;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ====================================
   THEME OVERRIDES: DARK-GOLD ELEGANT
   (Non-breaking overrides)
==================================== */

:root {
  --primary: #a83929;
  --primary-dark: #8b2f1f;
  --primary-light: #c4523f;

  --accent: #d2691e;
  --accent-dark: #a0522d;

  --bg-dark: #3d2817;
  --bg-card: #2d1810;
  --bg-card-hover: #402818;

  --text-primary: #f5f7fa;
  --text-secondary: #c7ced8;
  --text-muted: #9aa6b2;

  --border: #4a3426;
  --glow: 0 0 20px rgba(168,57,41,.35);
}

/* Header dan Nav */
header { background: rgba(45,24,16,.95); }
.header-inner strong {
  background: linear-gradient(135deg, var(--primary), #f4e4d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
nav a:hover { background: rgba(168,57,41,.08); }
nav a.active { color: var(--text-primary); background: rgba(168,57,41,.12); box-shadow: inset 0 -2px 0 var(--primary); }
nav a.btn-download { box-shadow: 0 4px 15px rgba(168,57,41,.35); }
nav a.btn-download:hover { box-shadow: 0 6px 25px rgba(168,57,41,.55); }

/* ========== NAVBAR DROPDOWN ========== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: inherit;
  font-family: inherit;
}

.nav-dropdown-btn:hover {
  color: var(--text-primary);
  background: rgba(168,57,41,.08);
}

.nav-dropdown-btn svg {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  overflow: hidden;
  min-width: 160px;
  animation: navDropdownSlide 0.3s ease;
}

.nav-dropdown-content.show {
  display: block;
}

.nav-dropdown-item {
  display: block;
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(42, 51, 64, 0.3);
  font-size: 14px;
}

.nav-dropdown-item:last-child {
  border-bottom: none;
}

.nav-dropdown-item:hover {
  background: rgba(168, 57, 41, 0.1);
  color: var(--text-primary);
  padding-left: 20px;
}

.nav-dropdown-item.active {
  background: rgba(168, 57, 41, 0.15);
  color: var(--primary);
  font-weight: 600;
  border-left: 3px solid var(--primary);
}

@keyframes navDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tombol utama */
.btn-download { box-shadow: 0 4px 15px rgba(168,57,41,.35); }
.btn-download:hover { box-shadow: 0 8px 30px rgba(168,57,41,.5); }

/* Utilities */
.text-muted { color: var(--text-muted); }
.badge {
  display:inline-block; padding:4px 10px; border:1px solid var(--primary);
  color:var(--primary); border-radius:999px; font-size:.75rem; letter-spacing:.3px;
}

/* Form Controls (Forum) */
label { display:block; margin-bottom:8px; color: var(--text-secondary); font-weight:600; }
input[type="text"], input[type="email"], textarea, select {
  width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--border);
  background:var(--bg-card); color:var(--text-primary); outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(168,57,41,.15);
}

/* Dots/indikator (opsional untuk slider/hero) */
.dots { display:flex; gap:8px; justify-content:center; margin-top:12px; }
.dots .dot { width:8px; height:8px; border-radius:999px; background:#3a4656; }
.dots .dot.active { background: var(--primary); }

/* Search box (opsional di header) */
.search-box {
  padding:8px 12px; border-radius:8px; border:1px solid var(--border);
  background:var(--bg-card); color:var(--text-primary);
}

/* ========== STAR RATING SYSTEM ========== */
.stars {
  display: flex;
  gap: 4px;
  font-size: 24px;
  margin: 8px 0;
}

.star {
  cursor: pointer;
  color: #4a5568;
  transition: all 0.2s ease;
  transform-origin: center;
  user-select: none;
  display: inline-block;
}

.star:hover {
  transform: scale(1.1);
  color: #fbbf24;
}

.star.active {
  color: #f59e0b;
  animation: starPop 0.3s ease;
}

.star.active:hover {
  color: #f59e0b;
  transform: scale(1.05);
}

@keyframes starPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Rating display in comments */
.rating-display {
  color: var(--accent);
  font-size: 18px;
  margin: 4px 0;
}

.rating-display .star {
  cursor: default;
  color: var(--accent);
}

/* ========== DROPDOWN NAVIGATION ========== */
.about-nav-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.dropdown {
  position: relative;
  display: inline-block;
  min-width: 250px;
}

.dropdown-btn {
  width: 100%;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dropdown-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 25px rgba(168, 57, 41, 0.3);
  transform: translateY(-2px);
}

.dropdown-btn svg {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  margin-top: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  overflow: hidden;
  animation: dropdownSlide 0.3s ease;
}

.dropdown-content.show {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 14px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(42, 51, 64, 0.3);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: rgba(168, 57, 41, 0.1);
  color: var(--text-primary);
  padding-left: 24px;
}

.dropdown-item.active {
  background: rgba(168, 57, 41, 0.15);
  color: var(--primary);
  font-weight: 600;
  border-left: 4px solid var(--primary);
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== ABOUT CONTENT SWITCHING ========== */
.about-content {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.about-content.active {
  display: block;
}

.text-block {
  background: #402818;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #4a3426;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.text-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  border-color: var(--primary);
}

.text-block h3 {
  color: var(--text-primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.text-block h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.text-block p {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 1.50rem;
}

/* ========== FLOATING PANEL ========== */
.floating-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.floating-panel-overlay.show {
  opacity: 1;
  visibility: visible;
}

.floating-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  z-index: 10000;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.floating-panel.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.floating-panel-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--border);
}

.floating-panel-header h3 {
  color: white;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  flex: 1;
  margin-right: 16px;
}

.floating-panel-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.floating-panel-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.floating-panel-content {
  padding: 0;
  max-height: calc(80vh - 80px);
  overflow-y: auto;
}

.floating-panel-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: var(--bg-dark);
}

.floating-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.floating-panel-image img:hover {
  transform: scale(1.05);
}

.floating-panel-content-inner {
  padding: 24px;
}

.floating-panel-content::-webkit-scrollbar {
  width: 8px;
}

.floating-panel-content::-webkit-scrollbar-track {
  background: var(--bg-dark);
  border-radius: 4px;
}

.floating-panel-content::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.floating-panel-meta {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.floating-panel-meta span {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.floating-panel-body {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

.floating-panel-body p {
  margin-bottom: 16px;
}

.floating-panel-body p:last-child {
  margin-bottom: 0;
}

/* Responsive Floating Panel */
@media (max-width: 768px) {
  .floating-panel {
    width: 95%;
    max-height: 90vh;
    border-radius: 12px;
  }
  
  .floating-panel-header {
    padding: 16px 20px;
  }
  
  .floating-panel-header h3 {
    font-size: 1.2rem;
  }
  
  .floating-panel-content {
    padding: 20px;
    max-height: calc(90vh - 70px);
  }
}

@media (max-width: 480px) {
  .floating-panel {
    width: 98%;
    top: 20px;
    left: 1%;
    transform: translate(0, 0) scale(0.9);
    max-height: calc(100vh - 40px);
  }
  
  .floating-panel.show {
    transform: translate(0, 0) scale(1);
  }
  
  .floating-panel-header {
    padding: 12px 16px;
  }
  
  .floating-panel-header h3 {
    font-size: 1.1rem;
  }
  
  .floating-panel-content {
    padding: 16px;
    max-height: calc(100vh - 100px);
  }
}

/* ========== FLOATING PANEL SLIDER ========== */
.floating-panel-slider {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: var(--bg-dark);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.slider-btn:hover {
  background: rgba(216, 184, 106, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
}

.dot:hover {
  border-color: var(--primary-light);
  background: rgba(216, 184, 106, 0.3);
}

/* Slider responsive adjustments */
@media (max-width: 768px) {
  .floating-panel-slider {
    height: 200px;
  }
  
  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .slider-prev {
    left: 8px;
  }
  
  .slider-next {
    right: 8px;
  }
}

@media (max-width: 480px) {
  .floating-panel-slider {
    height: 180px;
  }
  
  .slider-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .slider-dots {
    bottom: 12px;
    gap: 6px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
}

/* ========== FLOATING PANEL MERCHANDISE OVERRIDES ========== */
.floating-panel-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.floating-panel-meta span {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(216, 184, 106, 0.1);
  border: 1px solid rgba(216, 184, 106, 0.2);
}

#floatingPanelPrice {
  background: rgba(216, 184, 106, 0.15);
  border-color: var(--primary);
}

#floatingPanelStatus {
  color: white !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#floatingPanelActions .btn-download {
  margin: 0;
  display: inline-block;
}

/* Responsive adjustments for merchandise panel */
@media (max-width: 480px) {
  .floating-panel-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .floating-panel-meta span {
    width: 100%;
    text-align: center;
  }
}