/* ==========================================================================
   1. Google Fonts Import
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   2. Design Tokens (:root)
   ========================================================================== */

:root {
  --black: #0C1014;
  --surface-1: #111820;
  --surface-2: #1A2230;
  --surface-3: #232E3E;
  --border: hsla(220, 30%, 50%, 0.12);
  --border-light: hsla(220, 30%, 50%, 0.08);
  --text-primary: #F5F5F5;
  --text-secondary: #A0AAB8;
  --text-muted: #6B7585;
  --primary: #F7B928;
  --primary-hsl: 42, 93%, 56%;
  --primary-glow: rgba(247, 185, 40, 0.4);
  --gold-gradient: linear-gradient(135deg, #F7B928 0%, #dca322 100%);
  --secondary: #A51931;
  --secondary-hsl: 349, 75%, 37%;
  --secondary-glow: rgba(165, 25, 49, 0.3);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', 'Noto Sans Thai', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --nav-height: 72px;
}

/* ==========================================================================
   3. CSS Reset + Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0px; /* Reduced from 80px so it scrolls further down */
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--black);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

img {
  max-width: 100%;
  display: block;
  pointer-events: none; /* Extra protection against dragging images */
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

p {
  line-height: 1.7;
  max-width: 70ch;
  color: var(--text-secondary);
}

::selection {
  background: transparent; /* Removing visual selection */
  color: inherit;
}

::-moz-selection {
  background: transparent;
  color: inherit;
}

/* ==========================================================================
   4. Fluid Typography
   ========================================================================== */

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
  color: var(--text-primary);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-family: var(--font-display);
  font-weight: 600;
}

/* ==========================================================================
   5. Hidden Scrollbar
   ========================================================================== */

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none;
}

/* ==========================================================================
   6. Skip Link
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  z-index: 99999;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   7. Splash Loader (Variant B — Text Pulse)
   ========================================================================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__ring-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.loader__ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.loader__ring-progress {
  stroke-dasharray: 478;
  stroke-dashoffset: 478;
  animation: ring-fill 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes ring-fill {
  0% {
    stroke-dashoffset: 478;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   8. Scroll Progress Bar
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #F7B928, #DCA954, #B8860B);
  background-attachment: fixed;
  z-index: 10000;
  transition: width 60ms linear;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(45, 42, 74, 0.5);
}

/* ==========================================================================
   9. i18n Toggle Rules
   ========================================================================== */

span.lang-en {
  display: none;
}

html.lang-en span.lang-en {
  display: inline;
}

html.lang-en span.lang-th {
  display: none;
}

/* ==========================================================================
   10. Language Toggle Button
   ========================================================================== */

.lang-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color var(--duration-normal), color var(--duration-normal);
}

.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   11. Container
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* ==========================================================================
   12. Section Base
   ========================================================================== */

.section {
  padding: var(--space-2xl) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* ==========================================================================
   13. Glassmorphic Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  transition: background var(--duration-normal), backdrop-filter var(--duration-normal), box-shadow var(--duration-normal);
}

.navbar.scrolled {
  background: hsla(210, 25%, 5%, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.navbar.menu-open {
  background: var(--black);
  backdrop-filter: none;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.navbar.scrolled::after {
  opacity: 1;
}

.navbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative; /* For absolutely positioning the links */
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  will-change: transform;
  object-fit: cover;
  background: transparent;
  border: none;
}

.navbar__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  transition: color var(--duration-normal), text-shadow var(--duration-normal);
}

.navbar__brand:hover .navbar__brand-name {
  color: var(--primary);
  text-shadow: 0 0 12px var(--primary-glow);
}

.navbar__links {
  display: none;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--duration-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 100px;
  transition: width var(--duration-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ==========================================================================
   14. Hamburger → X Animation
   ========================================================================== */

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  margin-right: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  color: var(--text-primary);
  border-radius: 100px;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-normal) var(--ease-out);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   15. Mobile Menu Overlay
   ========================================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding-top: 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal), visibility var(--duration-normal);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: -1rem; /* Pulls links closer to the avatar */
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  background: var(--surface-2);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.mobile-menu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: logo-spin 20s linear infinite;
}

.mobile-menu.open .mobile-menu-avatar {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 40ms;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu .nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.mobile-menu.open .nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .nav-link:nth-child(1) { transition-delay: 80ms; }
.mobile-menu.open .nav-link:nth-child(2) { transition-delay: 140ms; }
.mobile-menu.open .nav-link:nth-child(3) { transition-delay: 200ms; }
.mobile-menu.open .nav-link:nth-child(4) { transition-delay: 260ms; }
.mobile-menu.open .nav-link:nth-child(5) { transition-delay: 320ms; }
.mobile-menu.open .nav-link:nth-child(6) { transition-delay: 380ms; }

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
  transition-delay: 500ms;
}

.mobile-menu-socials {
  display: flex;
  gap: 1.5rem;
}

.mobile-menu-socials a {
  color: var(--text-secondary);
  transition: color var(--duration-normal), transform var(--duration-normal);
}

.mobile-menu-socials a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.mobile-menu.open .mobile-menu__actions {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   16. Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken-burns 25s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes ken-burns {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.1) translate(-1.5%, -1%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 20, 0.6) 0%, rgba(12, 16, 20, 0.85) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  background: var(--surface-2);
  z-index: 2;
  position: relative;
}

.hero-avatar-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  z-index: 1;
  animation: avatar-ring-spin 10s linear infinite;
}

@keyframes avatar-ring-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 0.95;
  margin-bottom: var(--space-sm);
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--primary) 25%,
    var(--text-primary) 50%,
    var(--primary) 75%,
    var(--text-primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroShimmer 8s ease-in-out infinite;
}

@keyframes heroShimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.hero-breathe {
  display: inline-block;
  opacity: 0.3;
  animation: heroBreathe 6s ease-in-out infinite;
  animation-delay: calc(1.5s + var(--bd) * 2s);
}



.hero-breathe-dot {
  margin: 0 0.3em;
  animation: none;
  opacity: 0.3;
}

@keyframes heroBreathe {
  0%, 100% {
    opacity: 0.3;
  }
  15%, 25% {
    opacity: 1;
  }
  40% {
    opacity: 0.3;
  }
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: calc(100vh - 100svh + 1.5rem); /* Dynamically lifts above mobile toolbars */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  padding: 1rem 3rem; /* Huge invisible clickable area */
  cursor: pointer;
}

.hero-scroll:hover {
  opacity: 1;
}

.scroll-blade {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-blade__drop {
  width: 1px;
  height: 20px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  position: absolute;
  top: -20px;
  left: 0;
  animation: bladeDrop 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes bladeDrop {
  0% {
    top: -20px;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: 60px;
    opacity: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--black);
}

.btn-primary:hover {
  box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-outline {
  background: hsla(0, 0%, 100%, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--black);
}

/* ==========================================================================
   17. Marquee / Stats Ticker
   ========================================================================== */

.ticker {
  background: rgba(12, 16, 20, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(247, 185, 40, 0.15);
  border-bottom: 1px solid rgba(247, 185, 40, 0.15);
  padding: 0.75rem 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 20s linear infinite;
}

.ticker__content {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .ticker__track {
    animation-duration: 16s;
  }
}

.ticker-dot {
  color: var(--primary);
  font-size: 0.5rem;
  opacity: 0.4;
}

.ticker span:not(.ticker-dot) {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   18. About Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken-burns-subtle 30s ease-in-out infinite alternate;
  transition: opacity 0.4s ease;
}

.about-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 16, 20, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.about-overlay-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-image-wrapper:hover .about-image {
  opacity: 0.6;
}

.about-image-wrapper:hover .about-image-overlay {
  opacity: 1;
}

.about-image-wrapper:hover .about-overlay-logo {
  transform: scale(1);
}

@keyframes ken-burns-subtle {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06) translate(-1%, -0.5%);
  }
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.stat {
  text-align: center;
  cursor: pointer;
  transition: transform 0.4s var(--ease-expo);
}

.stat:hover,
.stat:active {
  transform: translateY(-8px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.stat:hover .stat-number,
.stat:active .stat-number {
  color: var(--primary);
  text-shadow: 0 0 15px var(--primary-glow);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ==========================================================================
   19. Music / Releases Section
   ========================================================================== */

.featured-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-xl);
}

.featured-video__title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  font-weight: 700;
  z-index: 10;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* Fade out the title when the lite-youtube video is activated/clicked */
lite-youtube.lyt-activated + .featured-video__title-overlay {
  opacity: 0;
}

.featured-video lite-youtube {
  width: 100%;
  max-width: 100%;
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.release-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out),
              filter var(--duration-normal) var(--ease-out);
}

.release-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
}

@media (hover: hover) {
  /* When the grid is hovered, dim all cards (including during the gap between cards) */
  .releases-grid:hover .release-card {
    opacity: 0.4;
    filter: grayscale(80%) brightness(0.5);
  }
  
  /* The specific card being hovered stays full color */
  .releases-grid .release-card:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
  }
}

.release-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, hsla(0, 0%, 100%, 0.04) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: none;
  pointer-events: none;
}

.release-card:hover::after {
  animation: card-shimmer 0.8s ease forwards;
}

@keyframes card-shimmer {
  to {
    transform: translateX(150%);
  }
}

.release-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.release-card__info {
  padding: var(--space-sm);
}

.release-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-favicon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.8;
  border-radius: 50%;
}

.release-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 0.25rem;
}

.release-card__meta-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.release-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.release-card__feat {
  color: var(--secondary);
  font-size: 0.8rem;
}

.release-card__platforms {
  display: flex;
  gap: 0.5rem;
  z-index: 2; /* Ensure clicks register over the card */
  position: relative;
}

.release-card__platform-link {
  color: inherit;
  display: flex;
  transition: transform 0.2s;
}

.release-card__platform-link:hover {
  transform: scale(1.1);
}

.release-card__platforms svg {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.release-card:hover .release-card__platforms svg {
  color: rgba(255, 255, 255, 0.8);
}

.release-card__platform-link:hover svg {
  color: var(--secondary);
}

.release-card__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}

.release-card:hover .release-card__play-icon {
  opacity: 1;
}

.release-card__play-icon svg {
  transform: translateX(2px);
}

/* ==========================================================================
   20. Gallery Section
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-expo), filter 0.6s ease, opacity 0.6s ease;
}

.gallery-item img.img-loaded {
  filter: grayscale(100%) contrast(1.1) brightness(0.6);
  opacity: 0.8;
}

.gallery-item:hover img.img-loaded,
.gallery-item:active img.img-loaded {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1) brightness(1);
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-item.in-center img.img-loaded {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1) brightness(1);
    opacity: 1;
  }
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ==========================================================================
   21. Contact Section
   ========================================================================== */

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  margin: 0 auto var(--space-lg);
  display: block;
  mix-blend-mode: lighten;
}

.contact-links {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.contact-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition: border-color 0.3s;
  min-width: 200px;
}

.contact-card:hover {
  border-color: var(--primary);
}

.contact-card__icon {
  display: block;
  margin: 0 auto 0.5rem;
  color: var(--text-muted);
}

.contact-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-card__handle {
  font-weight: 600;
  color: var(--primary);
  display: block;
}

/* ==========================================================================
   22. Section Divider
   ========================================================================== */

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: calc(var(--space-xl) * -1) 0;
  position: relative;
  z-index: 5;
  cursor: pointer;
}

.section-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  opacity: 1;
  transition: opacity 0.5s ease, background 0.5s ease;
}

.section-divider__icon {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  padding-left: 0.2em; /* Keeps text perfectly centered despite letter-spacing */
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
  transition: letter-spacing 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding-left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .section-divider:hover .section-divider__line {
    opacity: 1;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  }
  .section-divider:hover .section-divider__icon {
    letter-spacing: 0.6em;
    padding-left: 0.6em;
  }
}

.section-divider.is-animating .section-divider__line {
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.section-divider.is-animating .section-divider__icon {
  letter-spacing: 0.6em;
  padding-left: 0.6em;
}

/* ==========================================================================
   23. Footer
   ========================================================================== */

.footer {
  position: relative;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0 calc(var(--space-lg) + 90px);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 300px;
  background: radial-gradient(ellipse at bottom, rgba(247, 185, 40, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.footer > * {
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  animation: logo-spin 20s linear infinite;
  object-fit: cover;
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.footer-socials a {
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: var(--primary);
}

.footer-credit {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-credit a {
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s, text-shadow 0.3s, text-decoration-color 0.3s;
}

.footer-credit a:hover {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(247, 185, 40, 0.4);
  text-decoration-color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 5rem; /* Prevents overlap with floating buttons */
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    padding: 0;
  }
}

/* ==========================================================================
   23. FABs (Instagram DM + Back-to-top)
   ========================================================================== */

.fab {
  position: fixed;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  cursor: pointer;
  border: 1px solid var(--border); /* Subtle standard border */
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s,
              background 0.3s, box-shadow 0.3s, bottom 0.3s, border-color 0.3s;
}

@media (max-width: 768px) {
  .fab {
    right: 1rem;
  }
}

.fab.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.fab:hover {
  transform: translateY(-3px) scale(1.08);
  border-color: var(--primary); /* Gold theme border on hover */
}

.fab svg {
  flex-shrink: 0;
}

.fab--ig {
  bottom: calc(2rem + 90px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.fab--ig:hover {
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.fab--top {
  bottom: calc(2rem + 48px + 0.75rem + 90px + env(safe-area-inset-bottom, 0px));
  background: var(--surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.fab--top:hover {
  background: var(--primary);
  color: var(--black);
  border-color: var(--primary);
}

/* Returning to Top animation state — specificity bumped to beat :hover */
button.fab--top.is-returning,
button.fab--top.is-returning:hover {
  background: radial-gradient(circle at center,
    #1E3A7B 0%, #1E3A7B 30%,
    #F4F5F8 34%, #F4F5F8 52%,
    #A51931 56%, #A51931 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 0 calc(12px + 60px * var(--glow-intensity, 0)) rgba(244, 245, 248, calc(0.15 + 0.85 * var(--glow-intensity, 0))),
    0 0 calc(6px + 35px * var(--glow-intensity, 0)) rgba(165, 25, 49, calc(0.2 + 0.8 * var(--glow-intensity, 0))),
    0 0 calc(3px + 20px * var(--glow-intensity, 0)) rgba(45, 42, 74, calc(0.15 + 0.6 * var(--glow-intensity, 0)));
  transform: translateY(0) scale(calc(1 + 0.35 * var(--glow-intensity, 0)));
  animation: fab-flag-pulse 1.2s ease-in-out infinite;
}

@keyframes fab-flag-pulse {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.3);
  }
  50% {
    border-color: rgba(244, 245, 248, 0.8);
  }
}

/* Hide the arrow SVG during the morph, show the flag cleanly */
button.fab--top.is-returning svg {
  opacity: 0;
  transition: opacity 0.15s;
}

/* ==========================================================================
   24. Native Dialog — Lightbox
   ========================================================================== */

.dialog-lightbox {
  border: none;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  padding: 0;
  margin: auto;
  overflow: visible;
}

.dialog-lightbox::backdrop {
  background: hsla(210, 25%, 5%, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@keyframes slide-up-dialog {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.dialog-lightbox[open] {
  animation: slide-up-dialog 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dialog-prev,
.dialog-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

.dialog-prev {
  left: 1rem;
}

.dialog-next {
  right: 1rem;
}

.dialog-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1; /* Fixes baseline shift for the &times; character */
}

.dialog-body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-body img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

/* ==========================================================================
   25. Native Dialog — YouTube Player
   ========================================================================== */

.dialog-player {
  border: none;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 90vw;
  padding: 0;
  margin: auto;
  overflow: hidden;
}

.dialog-player::backdrop {
  background: hsla(210, 25%, 5%, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dialog-player[open] {
  animation: slide-up-dialog 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dialog-player .dialog-body {
  aspect-ratio: 16 / 9;
}

.dialog-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   26. Scroll Reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-left.revealed {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-right.revealed {
  transform: translateX(0);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal-scale.revealed {
  transform: scale(1);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }

/* ==========================================================================
   27. Image Lazy Reveal
   ========================================================================== */

.img-reveal {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(8px);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

.img-reveal.img-loaded {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* ==========================================================================
   28. Responsive Breakpoints
   ========================================================================== */

@media (max-width: 374px) {
  .navbar {
    height: 64px;
  }

  :root {
    --nav-height: 64px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .container {
    padding-inline: 1rem;
  }
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    gap: var(--space-lg);
  }

  .releases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  :root {
    --nav-height: 80px;
  }
  
  .navbar__inner {
    padding: 0 2rem; /* Restore 2rem on desktop */
  }

  .releases-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .navbar__links {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hamburger {
    display: none;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

/* ==========================================================================
   29. Touch Device Overrides
   ========================================================================== */

@media (hover: none) {
  .release-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .release-card:hover::after {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }

  .nav-link,
  .btn,
  .fab,
  .lang-toggle {
    min-height: 44px;
    min-width: 44px;
  }
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   30. Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-bg {
    animation: none;
  }

  .nav-brand-icon {
    animation: none;
  }

  .footer-logo {
    animation: none;
  }
  
  .hero-avatar {
    animation: none;
  }

  .loader__logo {
    animation: none;
    opacity: 1;
  }

  .img-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ==========================================================================
   31. Focus Visible
   ========================================================================== */

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ==========================================================================
   26. Custom Audio Player
   ========================================================================== */

.custom-audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(12, 16, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 5%;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-audio-player.is-active {
  transform: translateY(0);
}

.custom-audio-player.menu-hidden {
  transform: translateY(120%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.custom-audio-player__info {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 1rem;
}

.custom-audio-player__cover {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.custom-audio-player__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-audio-player__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-audio-player__title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-audio-player__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-audio-eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}

.custom-audio-eq.is-playing {
  opacity: 1;
}

.custom-audio-eq span {
  display: block;
  width: 3px;
  background: var(--gold-gradient);
  border-radius: 1px;
  animation: eq-bounce 0.5s ease-in-out infinite alternate;
  transform-origin: bottom;
}

.custom-audio-eq span:nth-child(1) { height: 6px; animation-delay: 0s; }
.custom-audio-eq span:nth-child(2) { height: 12px; animation-delay: -0.2s; }
.custom-audio-eq span:nth-child(3) { height: 8px; animation-delay: -0.4s; }
.custom-audio-eq span:nth-child(4) { height: 10px; animation-delay: -0.1s; }

@keyframes eq-bounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.custom-audio-player__artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.custom-audio-player__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 1.5rem;
}

.custom-audio-player__skip {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.custom-audio-player__skip:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.custom-audio-player__play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--black);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(220, 169, 84, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-audio-player__play:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(220, 169, 84, 0.5);
}

.custom-audio-player__play svg {
  transform: translateX(-1px);
}

#custom-audio-pause svg {
  transform: none;
}

.custom-audio-player__mini-logo {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
}

.custom-audio-player__progress-container {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 1rem;
  width: 250px;
}

.custom-audio-player__time {
  font-size: 0.75rem;
  font-family: var(--font-mono, monospace);
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  min-width: 35px;
  text-align: center;
}

.custom-audio-player__progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.custom-audio-player__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  border-radius: 2px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .custom-audio-player {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }
  .custom-audio-player__info {
    width: auto;
    flex: 1;
  }
  .custom-audio-player__controls {
    flex: 0 0 auto;
  }
  .custom-audio-player__progress-container {
    width: 100%;
    order: 3;
  }
  
  .hero-content {
    transform: translateY(-8vh);
  }
}
