/* ==========================================================================
   ArrowMindX - Official Web & Legal Stylesheet
   Crafted for MultiClash Labs
   Modern, Responsive, Clean Kinetic Blue & White Palette
   ========================================================================== */

:root {
  --primary: #004AC6;
  --primary-light: #2563EB;
  --primary-dark: #003396;
  --primary-gradient: linear-gradient(135deg, #004AC6 0%, #2563EB 50%, #40C2FD 100%);
  --secondary: #00668A;
  --accent-gold: #F59E0B;
  --accent-gold-light: #FEF3C7;
  --bg-canvas: #F8FAFD;
  --bg-card: #FFFFFF;
  --bg-elevated: #F1F5F9;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-subtle: #64748B;
  --border-light: #E2E8F0;
  --border-subtle: #CBD5E1;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 74, 198, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 30px rgba(0, 74, 198, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  font-size: 16px;
  background: radial-gradient(#CBD5E1 1px, transparent 1px) 0 0 / 24px 24px, #FAF8FF;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ---------------------------------------------------------
   Navigation Header
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 74, 198, 0.2);
  border: 1px solid var(--border-light);
  background: #001866;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #001866;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--bg-elevated);
  text-decoration: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-gradient);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 74, 198, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 74, 198, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--primary);
  transition: all 0.2s;
  text-decoration: none !important;
}

.btn-outline:hover {
  background: #EFF6FF;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   Landing Hero Section
   --------------------------------------------------------- */
.hero {
  padding: 4.5rem 1.5rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #EEF2FF;
  color: var(--primary);
  border: 1px solid #C7D2FE;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0B132B;
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: linear-gradient(135deg, #004AC6 0%, #2563EB 60%, #00C6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-subtle);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-badge-item svg {
  color: var(--primary);
}

/* Phone Mockup Frame */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Real Game Promo Poster Card in Hero */
.actual-game-poster-card {
  position: relative;
  max-width: 380px;
  width: 100%;
  border-radius: 36px;
  box-shadow: 0 25px 60px -15px rgba(0, 74, 198, 0.3), 0 0 0 1px rgba(0, 74, 198, 0.08);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  animation: float 6s ease-in-out infinite;
  background: #FFFFFF;
}

.actual-game-poster-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 35px 75px -15px rgba(0, 74, 198, 0.4);
}

.game-poster-img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-card {
  width: 310px;
  background: #FFFFFF;
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 25px 50px -12px rgba(0, 74, 198, 0.25), 0 0 0 8px #0F172A, 0 0 0 10px #CBD5E1;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

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

.phone-screen {
  background: #FAF8FF;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
}

.phone-top-bar {
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  border-bottom: 1px solid #EEF2F6;
  background: #FFFFFF;
}

.game-preview-area {
  padding: 18px 12px;
  text-align: center;
  position: relative;
}

.game-title-preview {
  font-size: 1rem;
  font-weight: 800;
  color: #001866;
  margin-bottom: 4px;
}

.game-level-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: #EBF2FF;
  padding: 2px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}

/* Interactive Mini Maze Preview in Mockup */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: #FFFFFF;
  padding: 14px;
  border-radius: 16px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
  border: 1px solid #E2E8F0;
}

.arrow-tile {
  aspect-ratio: 1;
  background: #F8FAFD;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #18181B;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.arrow-tile.highlight {
  background: #004AC6;
  color: #FFFFFF;
  border-color: #004AC6;
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(0, 74, 198, 0.4);
}

.arrow-tile.solved {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
  opacity: 0.5;
  transform: scale(0.9);
}

.preview-stats {
  margin-top: 14px;
  display: flex;
  justify-content: space-around;
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 700;
}

/* ---------------------------------------------------------
   Sections General
   --------------------------------------------------------- */
.section {
  padding: 4.5rem 1.5rem;
}

.section-alt {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------
   Feature Cards
   --------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #B4C5FF;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEF2FF;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #0F172A;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   How To Play Steps
   --------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 800;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------
   App Specifications Table Card
   --------------------------------------------------------- */
.spec-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th, .spec-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  background: #F8FAFC;
  color: var(--text-subtle);
  font-weight: 600;
  width: 30%;
}

.spec-table td {
  font-weight: 600;
  color: var(--text-main);
}

.age-badge {
  display: inline-block;
  background: #DC2626;
  color: #FFFFFF;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------
   Legal Documentation Layout (Privacy Policy & Terms)
   --------------------------------------------------------- */
.legal-page {
  padding: 3rem 1.5rem 5rem;
}

.legal-container {
  max-width: 980px;
  margin: 0 auto;
}

.legal-header-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--primary);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legal-content-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.legal-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E293B;
  margin: 1.25rem 0 0.5rem;
}

.legal-section p {
  color: #334155;
  margin-bottom: 1rem;
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal-section ul, .legal-section ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
  color: #334155;
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Callout Alert Boxes */
.callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.callout-warning {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  color: #991B1B;
}

.callout-warning strong {
  color: #7F1D1D;
  display: block;
  margin-bottom: 0.35rem;
}

.callout-info {
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  color: #1E40AF;
}

.callout-info strong {
  color: #1E3A8A;
  display: block;
  margin-bottom: 0.35rem;
}

.callout-success {
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  color: #065F46;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.75rem;
  max-width: 360px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0F172A;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* ---------------------------------------------------------
   Responsive Media Queries
   --------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

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

  .legal-content-card {
    padding: 1.5rem;
  }

  .legal-header-card {
    padding: 1.5rem;
  }

  .spec-table th, .spec-table td {
    padding: 0.75rem 1rem;
    display: block;
    width: 100%;
  }

  .spec-table th {
    background: #F1F5F9;
  }
}

/* ---------------------------------------------------------
   Authentic ArrowMindX Playable Game Console Styles
   --------------------------------------------------------- */
.game-console-wrapper {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.game-level-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.level-tab-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.level-tab-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
}

.level-tab-btn.active {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 74, 198, 0.25);
}

.game-device-frame {
  background: #FFFFFF;
  border-radius: 28px;
  border: 2px solid #E2E8F0;
  box-shadow: 0 20px 40px -10px rgba(0, 74, 198, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
}

.game-device-header {
  padding: 0.9rem 1.25rem;
  background: #F8FAFD;
  border-bottom: 1px solid #EEF2F6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.device-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: #001866;
}

.difficulty-pill {
  font-size: 0.72rem;
  font-weight: 700;
  background: #E0E7FF;
  color: #3730A3;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.device-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-pill {
  font-size: 0.8rem;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  color: #334155;
}

.canvas-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FAF8FF;
  padding: 1.25rem 0;
  user-select: none;
  touch-action: none;
}

#arrowCanvas {
  display: block;
  max-width: 100%;
  height: auto;
  cursor: pointer;
  touch-action: none;
  background: #FAF8FF;
}

.game-device-footer {
  padding: 0.85rem 1.25rem;
  background: #F8FAFD;
  border-top: 1px solid #EEF2F6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.game-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #1E293B;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.game-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #EFF6FF;
  transform: translateY(-1px);
}

.game-action-btn.active-glow {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #B45309;
}

.game-instructions {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 600;
}

.game-tip-box {
  margin-top: 1.25rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #1E40AF;
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

.victory-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: opacity 0.3s ease;
}

.victory-overlay.hidden {
  display: none !important;
}

.victory-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2rem 2.25rem;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 320px;
  width: 90%;
  margin: auto;
}

.victory-card.hidden {
  display: none !important;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.victory-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.victory-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #001866;
  margin-bottom: 0.25rem;
}

.victory-card p {
  color: #475569;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.victory-stars {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.victory-card.final-card {
  max-width: 370px;
  width: 92%;
  padding: 1.85rem 1.6rem;
}

.final-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.final-features-list {
  text-align: left;
  list-style: none;
  margin: 0.85rem 0 1.15rem;
  padding: 0.75rem 1rem;
  background: #F8FAFD;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  font-size: 0.83rem;
  color: #334155;
}

.final-features-list li {
  margin-bottom: 0.45rem;
  display: block;
  line-height: 1.45;
}

.final-features-list li:last-child {
  margin-bottom: 0;
}
