/* =========================================================
   SMOOTHFIT.NET — SUPREME LUXURY MASTER STYLESHEET
   Futuristic • Premium • Athletic • Neon Performance
   Full Production Rewrite
========================================================= */

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

:root {
  /* Core Brand */
  --bg-0: #03050c;
  --bg-1: #07101a;
  --bg-2: #0d1622;
  --bg-3: rgba(10, 18, 28, 0.78);
  --bg-4: rgba(6, 10, 18, 0.92);

  --surface: rgba(10, 16, 26, 0.72);
  --surface-strong: rgba(8, 12, 20, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.04);

  --line-soft: rgba(255, 255, 255, 0.08);
  --line-mid: rgba(0, 240, 255, 0.26);
  --line-strong: rgba(255, 0, 247, 0.3);

  --text-main: #f5fbff;
  --text-soft: #bdd3e3;
  --text-muted: #89a0b3;
  --text-dark: #021014;

  --glow-cyan: #00f0ff;
  --glow-pink: #ff00f7;
  --glow-violet: #7b61ff;
  --glow-blue: #45a8ff;
  --glow-green: #65ffd8;

  --grad-main: linear-gradient(135deg, #00f0ff 0%, #45a8ff 32%, #7b61ff 66%, #ff00f7 100%);
  --grad-soft: linear-gradient(135deg, rgba(0, 240, 255, 0.16), rgba(255, 0, 247, 0.12));
  --grad-dark: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));

  --shadow-cyan-sm: 0 0 12px rgba(0, 240, 255, 0.18);
  --shadow-cyan-md: 0 0 22px rgba(0, 240, 255, 0.24);
  --shadow-cyan-lg: 0 0 38px rgba(0, 240, 255, 0.34);

  --shadow-pink-sm: 0 0 12px rgba(255, 0, 247, 0.18);
  --shadow-pink-md: 0 0 24px rgba(255, 0, 247, 0.26);
  --shadow-pink-lg: 0 0 42px rgba(255, 0, 247, 0.34);

  --shadow-luxury:
    0 10px 40px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(0, 240, 255, 0.16),
    0 0 48px rgba(255, 0, 247, 0.12);

  --shadow-card:
    0 16px 42px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(0, 240, 255, 0.12);

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1240px;
  --max-width-narrow: 920px;

  --nav-height: 108px;

  --transition-fast: 0.22s ease;
  --transition-med: 0.35s ease;
  --transition-slow: 0.5s ease;
}

/* =========================================================
   RESET / BASE
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(0, 240, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 0, 247, 0.12), transparent 24%),
    radial-gradient(circle at 50% 110%, rgba(69, 168, 255, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(3,5,12,0.86), rgba(3,5,12,0.96)),
    url('assets/background.png') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.018), rgba(255,255,255,0.008)),
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 3px
    );
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

main,
section,
footer,
header {
  position: relative;
  z-index: 1;
}

/* =========================================================
   UTILITIES
========================================================= */

.container,
.footer-container {
  width: min(var(--max-width), calc(100% - 32px));
  margin-inline: auto;
}

.container-narrow {
  width: min(var(--max-width-narrow), calc(100% - 32px));
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

.glass-panel,
.centered-section,
.section,
.faq-section,
.memory-game-section,
.smoothfit-video-section,
.faq-glow-box {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)),
    rgba(6, 10, 18, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-luxury);
}

.glass-panel::before,
.centered-section::before,
.section::before,
.faq-section::before,
.memory-game-section::before,
.smoothfit-video-section::before,
.faq-glow-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.42),
    rgba(123, 97, 255, 0.14),
    rgba(255, 0, 247, 0.34)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
}

.glass-panel > *,
.centered-section > *,
.section > *,
.faq-section > *,
.memory-game-section > *,
.smoothfit-video-section > *,
.faq-glow-box > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   SHOOTING STARS
========================================================= */

.shooting-star {
  position: absolute;
  top: -14vh;
  width: 2px;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0, 240, 255, 0.92), transparent);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
  opacity: 0.8;
  animation: fall linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes fall {
  to {
    transform: translateY(130vh);
    opacity: 0;
  }
}

/* =========================================================
   NAVIGATION
========================================================= */

.glow-nav {
  position: sticky;
  top: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: var(--nav-height);
  width: min(var(--max-width), calc(100% - 24px));
  margin: 18px auto 28px;
  padding: 16px 22px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.015)),
    rgba(2, 6, 12, 0.82);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 12px 34px rgba(0,0,0,0.38),
    0 0 22px rgba(0,240,255,0.18),
    0 0 30px rgba(255,0,247,0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo-spin {
  width: clamp(72px, 8vw, 108px);
  height: auto;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 10px rgba(0,240,255,0.4))
    drop-shadow(0 0 18px rgba(255,0,247,0.24));
  animation: spinLogo 28s linear infinite;
}

@keyframes spinLogo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.desktop-nav {
  margin-left: auto;
}

.mobile-nav {
  display: none;
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(0,240,255,0.26);
  background: rgba(255,255,255,0.03);
  color: var(--text-main);
  font-size: 1.75rem;
  box-shadow: 0 0 18px rgba(0,240,255,0.12);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.hamburger:hover {
  transform: translateY(-2px);
  border-color: rgba(255,0,247,0.34);
  box-shadow:
    0 0 18px rgba(0,240,255,0.18),
    0 0 24px rgba(255,0,247,0.15);
}

.glow-btn,
.glow-link,
.glow-faq-btn,
.return-home,
.restart-btn,
.section button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0,240,255,0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)),
    rgba(0, 0, 0, 0.42);
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 16px rgba(0,240,255,0.12);
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    color var(--transition-fast);
}

.glow-btn:hover,
.glow-link:hover,
.glow-faq-btn:hover,
.return-home:hover,
.restart-btn:hover,
.section button[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255,0,247,0.42);
  background: var(--grad-main);
  color: #fff;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.3),
    0 0 24px rgba(0,240,255,0.22),
    0 0 34px rgba(255,0,247,0.18);
}

.glow-btn:active,
.glow-link:active,
.glow-faq-btn:active,
.return-home:active,
.restart-btn:active,
.section button[type="submit"]:active {
  transform: translateY(-1px) scale(0.99);
}

/* =========================================================
   HERO
========================================================= */

.hero-section {
  width: min(var(--max-width-narrow), calc(100% - 32px));
  margin: 34px auto 34px;
  padding: clamp(34px, 5vw, 62px) clamp(22px, 4vw, 48px);
  text-align: center;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top center, rgba(0,240,255,0.12), transparent 45%),
    radial-gradient(circle at bottom center, rgba(255,0,247,0.12), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)),
    rgba(5, 10, 18, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-luxury);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-title,
.game-title,
.video-title,
.container h1,
.faq-section h2,
.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.08;
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(0,240,255,0.2),
    0 0 24px rgba(255,0,247,0.16);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.hero-subtitle,
.game-subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  color: var(--text-soft);
  line-height: 1.7;
  text-shadow: 0 0 10px rgba(0,240,255,0.08);
}

/* =========================================================
   CONTENT SECTIONS
========================================================= */

.centered-section,
.section {
  width: min(var(--max-width-narrow), calc(100% - 32px));
  margin: 34px auto;
  padding: clamp(26px, 4vw, 42px);
}

.centered-section {
  text-align: center;
}

.container {
  padding: 24px 16px 60px;
  text-align: center;
}

.container h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 24px;
}

.section {
  text-align: left;
  margin-bottom: 38px;
}

.section h2,
.faq-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 18px;
}

.section p,
.centered-section p,
.faq-answer,
.output-box,
.quote-rotator-glow,
.footer-credit,
.footer-links,
.footer-links a,
.section label {
  color: var(--text-soft);
}

.section p,
.centered-section p,
.output-box,
.faq-answer {
  line-height: 1.75;
}

/* =========================================================
   FORMS
========================================================= */

.email-form input,
.contact-form input,
.contact-form textarea,
.section select,
.glow-select,
.qty-input,
.option-select {
  width: 100%;
  border: 1px solid rgba(0,240,255,0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(6, 10, 18, 0.9);
  color: var(--text-main);
  padding: 14px 16px;
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 0 rgba(0,240,255,0);
}

.email-form input,
.contact-form input,
.contact-form textarea {
  display: block;
  margin: 15px auto;
  width: min(100%, 760px);
}

.section select,
.glow-select,
.qty-input,
.option-select {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.email-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.section select:focus,
.glow-select:focus,
.qty-input:focus,
.option-select:focus {
  border-color: rgba(255,0,247,0.3);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 3px rgba(0,240,255,0.08),
    0 0 22px rgba(0,240,255,0.12),
    0 0 18px rgba(255,0,247,0.08);
}

.contact-form textarea,
textarea {
  min-height: 140px;
  resize: vertical;
}

.section label {
  display: block;
  margin: 14px 0 8px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.output-box {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(0,240,255,0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 22px rgba(0,240,255,0.07);
}

/* =========================================================
   PRODUCT / SHOP
========================================================= */

.product-grid,
.product-preview-grid {
  display: grid;
  gap: 26px;
  align-items: stretch;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-preview-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2.5rem;
}

.product-card,
.product-preview-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    rgba(7, 12, 20, 0.85);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-fast);
}

.product-card {
  padding: 22px;
  text-align: center;
}

.product-preview-card {
  padding: 1.6rem 1.3rem;
  width: 100%;
}

.product-card::before,
.product-preview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(0,240,255,0.13), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255,0,247,0.12), transparent 26%);
  opacity: 0.95;
  pointer-events: none;
}

.product-card:hover,
.product-preview-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(0,240,255,0.18);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(0,240,255,0.16),
    0 0 34px rgba(255,0,247,0.11);
}

.product-card img,
.product-preview-card img,
.product-img {
  width: 100%;
  border-radius: 18px;
  box-shadow:
    0 0 18px rgba(0,240,255,0.1),
    0 0 22px rgba(255,0,247,0.08);
  margin-bottom: 16px;
}

.product-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 12px;
}

.selector-label {
  display: block;
  margin-top: 10px;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.shipping-note {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--glow-green);
  text-align: center;
  text-shadow: 0 0 8px rgba(101,255,216,0.15);
}

.shipping-sub {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* =========================================================
   MEMORY GAME
========================================================= */

.memory-game-section {
  width: min(860px, calc(100% - 32px));
  margin: 40px auto;
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
}

.game-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 8px;
}

.game-subtitle {
  margin-bottom: 24px;
}

.restart-btn {
  margin-bottom: 28px;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  gap: 18px;
  max-width: 520px;
  margin: 0 auto;
}

.memory-card {
  width: 100%;
  aspect-ratio: 5 / 6.4;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s ease;
}

.memory-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 18px rgba(0,240,255,0.12),
    0 0 20px rgba(255,0,247,0.1);
}

.card-front {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)),
    rgba(7, 12, 20, 0.95);
  border: 1px solid rgba(255,255,255,0.06);
}

.card-back {
  transform: rotateY(180deg);
  background: var(--grad-main);
  color: #fff;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 800;
  text-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.card-front-img {
  width: clamp(44px, 52%, 66px);
  height: auto;
  animation: spinPulse 18s linear infinite;
  filter:
    drop-shadow(0 0 10px rgba(0,240,255,0.26))
    drop-shadow(0 0 10px rgba(255,0,247,0.18));
}

@keyframes spinPulse {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1); }
}

/* =========================================================
   POPUPS / WIN BOX
========================================================= */

.win-popup,
.popup-message {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 5, 12, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
}

.win-box,
.popup-content,
.popup-inner {
  width: min(520px, 100%);
  padding: clamp(28px, 4vw, 42px);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    rgba(7, 10, 18, 0.95);
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  color: var(--text-main);
  box-shadow:
    0 20px 46px rgba(0,0,0,0.48),
    0 0 28px rgba(0,240,255,0.18),
    0 0 36px rgba(255,0,247,0.14);
}

.popup-message.fade-out {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  position: relative;
  margin-top: 70px;
  padding: 42px 20px 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    rgba(3, 7, 13, 0.94);
  border-top: 1px solid rgba(0,240,255,0.22);
  box-shadow:
    0 -8px 30px rgba(0,0,0,0.22),
    0 0 26px rgba(0,240,255,0.08);
  text-align: center;
}

.footer-links {
  margin-bottom: 14px;
  font-size: 0.96rem;
  color: var(--text-soft);
}

.footer-links a {
  color: var(--glow-cyan);
  text-decoration: none;
  margin: 0 10px;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
  text-shadow:
    0 0 10px rgba(0,240,255,0.24),
    0 0 12px rgba(255,0,247,0.18);
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0;
}

.social-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(0,240,255,0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)),
    rgba(255,255,255,0.02);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 16px rgba(0,240,255,0.1);
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.social-glow:hover {
  transform: translateY(-4px) scale(1.06);
  background: var(--grad-main);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 0 24px rgba(0,240,255,0.22),
    0 0 30px rgba(255,0,247,0.18);
}

.footer-credit {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* =========================================================
   FLOATING AVATAR
========================================================= */

.floating-avatar-container {
  position: fixed;
  top: 180px;
  left: 22px;
  width: min(190px, 16vw);
  z-index: 900;
  text-align: center;
  animation: floatAvatar 6s ease-in-out infinite;
}

.floating-avatar {
  width: 100%;
  filter:
    drop-shadow(0 0 14px rgba(0,240,255,0.18))
    drop-shadow(0 0 22px rgba(255,0,247,0.18))
    brightness(1.04);
}

.quote-rotator-glow {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(7, 12, 20, 0.62);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.96rem;
  font-family: var(--font-display);
  line-height: 1.45;
  text-shadow: 0 0 8px rgba(0,240,255,0.14);
  box-shadow: 0 0 18px rgba(0,240,255,0.08);
}

@keyframes floatAvatar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* =========================================================
   FAQ
========================================================= */

.faq-section {
  width: min(980px, calc(100% - 32px));
  margin: 42px auto;
  padding: clamp(28px, 4vw, 42px);
  color: var(--text-main);
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.faq-question:hover {
  color: var(--glow-cyan);
  text-shadow: 0 0 8px rgba(0,240,255,0.18);
}

.faq-answer {
  margin-top: 10px;
  font-size: 1rem;
}

.faq-button-box {
  text-align: center;
  margin: 52px auto 34px;
}

.faq-glow-box {
  width: min(760px, calc(100% - 32px));
  margin: 50px auto 38px;
  padding: 24px;
  text-align: center;
}

/* =========================================================
   NUTRITION
========================================================= */

.return-home {
  margin-top: 34px;
  margin-bottom: 20px;
}

.section button[type="submit"] {
  margin-top: 6px;
}

/* =========================================================
   COLLAGE
========================================================= */

.smoothfit-collage {
  width: min(900px, calc(100% - 32px));
  margin: 46px auto;
  padding: 36px 22px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  border-radius: 34px;
  background:
    radial-gradient(circle at top center, rgba(0,240,255,0.08), transparent 38%),
    radial-gradient(circle at bottom center, rgba(255,0,247,0.08), transparent 38%),
    rgba(5, 10, 18, 0.86);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-luxury);
  overflow: hidden;
}

.image-pair {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.image-pair img {
  width: min(100%, 320px);
  border-radius: 22px;
  box-shadow:
    0 0 18px rgba(0,240,255,0.12),
    0 0 24px rgba(255,0,247,0.1);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.image-pair img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 0 22px rgba(0,240,255,0.18),
    0 0 30px rgba(255,0,247,0.16);
}

/* =========================================================
   VIDEO SECTION
========================================================= */

.smoothfit-video-section {
  width: min(980px, calc(100% - 32px));
  margin: 52px auto;
  padding: 30px 18px 24px;
  text-align: center;
}

.video-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 20px;
}

.smoothfit-video {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 0 20px rgba(0,240,255,0.16),
    0 0 28px rgba(255,0,247,0.12);
}

/* =========================================================
   MOUSE TRAIL
========================================================= */

#trail-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

.trail-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #00ffe0, #ff00f7);
  opacity: 0.8;
  box-shadow: 0 0 10px rgba(0,255,224,0.7), 0 0 20px rgba(255,0,247,0.45);
  animation: fadeOut 0.8s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: scale(0.2);
  }
}

/* =========================================================
   BUS
========================================================= */

.animated-bus {
  position: fixed;
  top: 110px;
  left: -340px;
  width: clamp(160px, 24vw, 260px);
  z-index: 850;
  pointer-events: none;
  opacity: 0.92;
  filter:
    drop-shadow(0 0 10px rgba(0,240,255,0.24))
    drop-shadow(0 0 20px rgba(255,0,247,0.18));
  animation: busMove 30s linear infinite;
}

@keyframes busMove {
  0% {
    left: -340px;
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.025);
  }
  100% {
    left: 110%;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .floating-avatar-container {
    width: 150px;
    left: 14px;
  }
}

@media (max-width: 900px) {
  .glow-nav {
    width: calc(100% - 20px);
    padding: 14px 16px;
    min-height: 88px;
  }

  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: inline-flex;
    margin-left: auto;
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(290px, 90vw);
    padding: 14px;
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
      rgba(6, 10, 18, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
      0 18px 34px rgba(0,0,0,0.46),
      0 0 20px rgba(0,240,255,0.14);
    flex-direction: column;
    gap: 10px;
  }

  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav .glow-btn {
    width: 100%;
    justify-content: center;
  }

  .floating-avatar-container {
    display: none;
  }

  .animated-bus {
    width: 150px;
    top: 92px;
  }
}

@media (max-width: 768px) {
  .hero-section,
  .centered-section,
  .section,
  .faq-section,
  .memory-game-section,
  .smoothfit-video-section,
  .faq-glow-box,
  .smoothfit-collage {
    width: calc(100% - 20px);
    border-radius: 24px;
  }

  .hero-section {
    padding: 30px 18px;
  }

  .memory-grid {
    grid-template-columns: repeat(4, minmax(58px, 1fr));
    gap: 12px;
    max-width: 100%;
  }

  .faq-section {
    padding: 24px 18px;
  }

  .image-pair img {
    width: 100%;
    max-width: none;
  }

  .social-glow {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .glow-nav {
    margin-top: 10px;
    margin-bottom: 18px;
    border-radius: 20px;
  }

  .logo-spin {
    width: 70px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle,
  .game-subtitle,
  .faq-answer,
  .section p,
  .centered-section p,
  .quote-rotator-glow {
    font-size: 0.95rem;
  }

  .memory-grid {
    grid-template-columns: repeat(2, minmax(72px, 1fr));
    max-width: 250px;
    gap: 14px;
  }

  .memory-card {
    aspect-ratio: 5 / 6.3;
  }

  .card-back {
    font-size: 1.5rem;
  }

  .win-box,
  .popup-content,
  .popup-inner {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .footer-links a {
    display: inline-block;
    margin: 6px 8px;
  }

  .animated-bus {
    display: none;
  }
}

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

.news-section {
  width: min(1240px, calc(100% - 32px));
  margin: 10px auto 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    rgba(7, 12, 20, 0.88);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(0,240,255,0.12),
    0 0 28px rgba(255,0,247,0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(0,240,255,0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255,0,247,0.1), transparent 28%);
  pointer-events: none;
}

.news-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(0,240,255,0.18);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.46),
    0 0 28px rgba(0,240,255,0.16),
    0 0 34px rgba(255,0,247,0.12);
}

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

.news-card h3 {
  margin: 0 0 12px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.14rem;
  line-height: 1.35;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(0,240,255,0.12),
    0 0 10px rgba(255,0,247,0.08);
}

.news-card p {
  margin: 0 0 14px;
  color: #bdd3e3;
  font-size: 0.96rem;
  line-height: 1.7;
}

.news-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #7befff;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
}

.news-card a:hover {
  color: #ff8ef8;
  transform: translateX(3px);
}

.news-card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 16px;
  object-fit: cover;
  box-shadow:
    0 0 16px rgba(0,240,255,0.1),
    0 0 20px rgba(255,0,247,0.08);
}

.news-loading,
.news-error,
.error-msg {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto 30px;
  padding: 18px 20px;
  border-radius: 18px;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  background: rgba(7, 12, 20, 0.86);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow:
    0 0 18px rgba(0,240,255,0.1),
    0 0 22px rgba(255,0,247,0.08);
}

.news-loading {
  color: #7befff;
}

.news-error,
.error-msg {
  color: #ff9fbf;
}

@media (max-width: 768px) {
  .news-section {
    width: calc(100% - 20px);
    gap: 18px;
  }

  .news-card {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .news-card h3 {
    font-size: 1.02rem;
  }

  .news-card p {
    font-size: 0.92rem;
  }
}