@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* =========================================
   1. VARIABLES & THEME
   ========================================= */
:root {
  /* Base Colors (HSL) */
  --background: 0 0% 5%;
  --foreground: 0 0% 92%;
  
  --card: 0 0% 8%;
  --card-foreground: 0 0% 92%;
  
  --popover: 0 0% 8%;
  --popover-foreground: 0 0% 92%;
  
  --primary: 0 72% 50%; /* #DC2626 */
  --primary-foreground: 0 0% 100%;
  
  --secondary: 45 100% 50%; /* #F59E0B */
  --secondary-foreground: 0 0% 5%;
  
  --muted: 0 0% 12%;
  --muted-foreground: 0 0% 55%;
  
  --accent: 25 95% 53%;
  --accent-foreground: 0 0% 100%;
  
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  
  --border: 0 0% 15%;
  --input: 0 0% 15%;
  --ring: 0 72% 50%;
  
  --radius: 0.5rem;
  
  /* Fonts */
  --font-sans: 'DM Sans', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
}

/* =========================================
   2. RESET & BASE
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, opacity 0.2s;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* =========================================
   3. UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow { max-width: 56rem; } /* max-w-4xl */
.wide { max-width: 64rem; }   /* max-w-5xl */

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

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.hidden { display: none; }
.block { display: block; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* Text Colors */
.text-primary { color: hsl(var(--primary)); }
.text-secondary { color: hsl(var(--secondary)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-foreground { color: hsl(var(--foreground)); }

/* Gradients & Effects */
.text-gradient-gold {
  background: linear-gradient(180deg, hsl(48 100% 70%), hsl(40 100% 50%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-red {
  box-shadow: 0 0 20px hsla(0, 72%, 50%, 0.5), 0 0 40px hsla(0, 72%, 50%, 0.2);
}

.glow-gold {
  box-shadow: 0 0 15px hsla(45, 100%, 50%, 0.3);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px hsla(0, 72%, 51%, 0.4); }
  50% { box-shadow: 0 0 40px hsla(0, 72%, 51%, 0.7); }
}
.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Scroll Targets */
.scroll-target {
  scroll-margin-top: 6rem;
}

/* =========================================
   4. COMPONENT: HEADER
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsla(var(--background), 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(var(--border), 0.5);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-yep {
  font-family: var(--font-display);
  font-size: 1.875rem; /* 30px */
  font-weight: 700;
  letter-spacing: -0.025em;
}

.logo-casino {
  font-family: var(--font-display);
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--foreground));
  opacity: 0.8;
  margin-top: 0.5rem;
}

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: hsl(var(--foreground));
}

.header-actions {
  display: none;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

.btn-login {
  border-radius: 0.375rem; /* 6px */
  border: 1px solid hsl(var(--border));
  background: hsla(var(--muted), 0.4);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: background 0.2s;
}

.btn-login:hover {
  background: hsl(var(--muted));
}

.btn-register {
  border-radius: 0.375rem;
  background: hsl(var(--primary));
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  transition: filter 0.2s;
}

.btn-register:hover {
  filter: brightness(1.1);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: hsla(var(--card), 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid hsl(var(--border));
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  padding: 0.25rem 0;
}

.mobile-nav a.active {
  color: hsl(var(--foreground));
}

.mobile-lang {
  display: flex;
  gap: 0.5rem;
}

.mobile-cta {
  display: flex;
  gap: 0.5rem;
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 0.625rem;
  border-radius: 0.375rem;
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: 320px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 64px; /* Offset for fixed header */
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 200px;
    max-height: 280px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, hsla(0,0%,0%,0.5) 0%, hsla(0,0%,0%,0.7) 60%, hsla(0,0%,0%,0.85) 100%);
}

.hero-diagonal {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 64px;
  background: hsl(var(--background));
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 4rem 1rem;
  width: 100%;
  max-width: 48rem;
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  border-radius: 0.5rem;
  background: hsl(var(--primary));
  padding: 0.75rem 2rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary-foreground));
  transition: all 0.2s;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid hsla(var(--border), 0.6);
  background: hsla(var(--card), 0.6);
  backdrop-filter: blur(4px);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsla(var(--foreground), 0.9);
}

.hero-badge svg { color: hsl(var(--secondary)); }

.hero-updated {
  display: flex;
  justify-content: center;
}

.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  background: hsla(var(--secondary), 0.15);
  border: 1px solid hsla(var(--secondary), 0.3);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--secondary));
}

/* =========================================
   6. CONTENT SECTIONS
   ========================================= */
.content-section {
  padding: 4rem 0;
  border-top: 1px solid hsl(var(--border));
}

.section-title {
  font-size: 1.875rem; /* 3xl */
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

.text-content p {
  margin-bottom: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* Features Grid (Homepage) */
.features-bar {
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
  .feature-item {
    border-bottom: none;
    border-right: 1px solid hsl(var(--border));
  }
  .feature-item:last-child {
    border-right: none;
  }
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: hsla(var(--primary), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--secondary));
}

/* Bonus Cards */
.bonus-card {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.5rem;
  transition: transform 0.3s;
}

.bonus-card:hover {
  transform: translateY(-4px);
  border-color: hsla(var(--primary), 0.5);
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsla(var(--primary), 0.2);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  margin-bottom: 2rem;
}

.data-table {
  width: 100%;
  font-size: 0.875rem;
}

.data-table th, .data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.data-table th {
  background: hsla(var(--muted), 0.3);
  font-weight: 700;
  color: hsl(var(--foreground));
  font-family: var(--font-display);
}

.data-table tr {
  border-bottom: 1px solid hsla(var(--border), 0.5);
}

.data-table tr:last-child { border-bottom: none; }
.data-table tr:nth-child(even) { background: hsla(var(--muted), 0.1); }

/* =========================================
   7. GUIDES & REVIEWS COMPONENTS
   ========================================= */
/* TOC */
.toc-box {
  margin-bottom: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsla(var(--muted), 0.2);
  padding: 1.25rem;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0.5rem;
}

.toc-list a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.toc-list a:hover { color: hsl(var(--secondary)); }
.toc-num { font-weight: 700; color: hsla(var(--secondary), 0.6); margin-right: 0.5rem; }

/* Guide Cards */
.guide-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.guide-card-border {
  border-left: 4px solid hsl(var(--primary));
  padding-left: 1.5rem;
}

.guide-card-gradient {
  border-radius: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  overflow: hidden;
}

.gradient-bar {
  height: 4px;
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--secondary)));
}

.guide-card-inner { padding: 1.5rem; }

.guide-card-muted {
  background: hsla(var(--muted), 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.guide-card-header h2 { font-size: 1.25rem; }

.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box.secondary {
  background: hsla(var(--secondary), 0.15);
  color: hsl(var(--secondary));
}

.icon-box.primary {
  background: hsla(var(--primary), 0.15);
  color: hsl(var(--primary));
}

.icon-circle {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: hsla(var(--primary), 0.2);
  color: hsl(var(--primary));
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

/* FAQ Accordion */
.faq-section {
  margin-top: 3rem;
}

.faq-accordion {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  overflow: hidden;
}

.faq-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-toggle:hover { background: hsla(var(--muted), 0.3); }

.faq-toggle h2 {
  font-size: 1.125rem;
  margin: 0;
  padding-right: 1rem;
}

.faq-chevron {
  transition: transform 0.2s;
  color: hsl(var(--muted-foreground));
}

.faq-toggle.open .faq-chevron { transform: rotate(180deg); }

.faq-content {
  display: none;
  padding: 0 1.25rem 1.5rem;
  border-top: 1px solid hsla(var(--border), 0.5);
}

.faq-content.open { display: block; }

.checklist-box {
  margin-top: 1rem;
  background: hsla(var(--background), 0.5);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist-item {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.checklist-item svg { color: rgb(34, 197, 94); } /* Green-500 */

/* =========================================
   8. MISC COMPONENTS
   ========================================= */
/* Internal Links */
.internal-links {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.links-grid {
  display: grid;
  gap: 0.75rem;
}

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

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1rem;
  transition: all 0.2s;
}

.link-card:hover {
  border-color: hsla(var(--primary), 0.5);
  box-shadow: 0 4px 12px hsla(var(--primary), 0.05);
  transform: translateY(-2px);
}

.link-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.link-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Author Box */
.author-box {
  margin-top: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem;
}

.author-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsla(var(--primary), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--secondary));
}

.author-meta {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 2.5rem 0;
  margin-top: auto;
}

.footer-nav, .footer-external, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.footer-nav a:hover, .footer-external a:hover {
  color: hsl(var(--secondary));
}

.footer-sep { color: hsl(var(--border)); }

.footer-responsible {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.badge-18 {
  border: 1px solid hsla(var(--primary), 0.3);
  background: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
}

.footer-disclaimer, .footer-copyright, .footer-contact {
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Scroll Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 40;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Pros & Cons */
.pros-cons-grid {
  display: grid;
  gap: 1.5rem;
}

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

.pros-card, .cons-card {
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.pros-card {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.cons-card {
  background: hsla(var(--primary), 0.05);
  border: 1px solid hsla(var(--primary), 0.2);
}

.pros-accent, .cons-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.pros-accent { background: rgb(34, 197, 94); }
.cons-accent { background: hsl(var(--primary)); }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.check-icon.green { color: rgb(34, 197, 94); }
.x-icon { color: hsl(var(--primary)); }

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.game-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .game-grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.game-card {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  overflow: hidden;
  transition: transform 0.2s;
}

.game-card:hover { transform: translateY(-4px); }

.game-title {
  padding: 0.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.75rem;
  font-family: var(--font-display);
}

/* Steps Timeline */
.steps-timeline {
  position: relative;
  padding-left: 1.25rem;
}

.steps-timeline-border {
  padding-left: 2rem;
  border-left: 2px solid hsla(var(--primary), 0.3);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-line {
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: hsl(var(--border));
}

.step-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.step-num {
  position: absolute;
  left: -2.75rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Comparison Table */
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
  padding: 0.75rem;
  border-bottom: 1px solid hsla(var(--border), 0.5);
  text-align: center;
  font-size: 0.875rem;
}

.comparison-table th:first-child, .comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

/* Changelog */
.changelog-section {
  padding: 4rem 0;
  border-top: 1px solid hsl(var(--border));
}

.changelog-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid hsl(var(--border));
  margin-left: 1rem;
}

.changelog-entry {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.changelog-dot {
  position: absolute;
  left: -2.35rem; /* Adjust based on border and padding */
  top: 1rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: hsl(var(--background));
  border: 2px solid hsl(var(--primary));
}

.changelog-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem;
}

.changelog-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.category-tag {
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Login Form */
.login-form-wrapper {
  margin: 0 auto 4rem;
  max-width: 28rem;
}

.login-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.login-tabs {
  display: flex;
  background: hsla(var(--muted), 0.3);
  padding: 0.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.login-tab {
  flex: 1;
  padding: 0.5rem;
  border: none;
  background: none;
  color: hsl(var(--muted-foreground));
  border-radius: 0.375rem;
  font-weight: 700;
  transition: all 0.2s;
}

.login-tab.active {
  background: hsl(var(--primary));
  color: white;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.form-group input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--input));
  border-radius: 0.375rem;
  color: hsl(var(--foreground));
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
}

/* Utility: Rounded Image */
.image-rounded {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
}

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
}
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  padding: 0.25rem;
  display: none;
  flex-direction: column;
  min-width: 140px;
  z-index: 60;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.lang-switcher:hover .lang-dropdown, .lang-dropdown.open {
  display: flex;
}
.lang-option {
  text-align: left;
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  color: hsl(var(--foreground));
  cursor: pointer;
  border-radius: 0.25rem;
}
.lang-option:hover { background: hsl(var(--muted)); }

/* =========================================
   LOGIN PAGE COMPONENTS
   ========================================= */
.feature-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.feature-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}
.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.card-hover {
  transition: transform 0.2s, border-color 0.2s;
}
.card-hover:hover {
  transform: translateY(-3px);
  border-color: hsla(var(--primary), 0.4);
}

.security-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}
.security-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0.75rem 0 0.25rem;
}
.icon-circle-secondary {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsla(var(--secondary), 0.15);
  color: hsl(var(--secondary));
  align-items: center;
  justify-content: center;
}

.password-wrapper {
  position: relative;
}
.password-wrapper input {
  padding-right: 2.5rem;
}
.toggle-password {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0.6;
}
.toggle-password:hover { opacity: 1; }

.form-hint {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}
.form-error {
  color: hsl(var(--primary));
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background: hsla(var(--primary), 0.1);
  border-radius: 0.375rem;
}
.form-success {
  color: rgb(34, 197, 94);
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 0.375rem;
}
.terms-note {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-top: 0.75rem;
}
.age-warning {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-top: 0.5rem;
}
.login-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--border));
}

.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.num-circle {
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}
.num-circle.secondary {
  background: hsla(var(--secondary), 0.15);
  color: hsl(var(--secondary));
}

/* =========================================
   APP PAGE COMPONENTS
   ========================================= */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.problem-card {
  border-radius: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 1.25rem;
}
.problem-issue {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.app-screenshot {
  display: inline-block;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid hsl(var(--border));
  max-width: 300px;
}
.chevron-icon {
  display: inline-block;
  vertical-align: middle;
}

/* =========================================
   ABOUT PAGE EXTRA
   ========================================= */
.about-method {
  border-left: 4px solid hsl(var(--secondary));
  padding-left: 1.5rem;
}

/* =========================================
   INTERNAL LINKS (login/app variant)
   ========================================= */
.internal-links-section {
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.internal-links-section h2 {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.internal-links-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .internal-links-grid { grid-template-columns: 1fr 1fr; }
}
.internal-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1rem;
  transition: all 0.2s;
}
.internal-link-card:hover {
  border-color: hsla(var(--primary), 0.5);
  transform: translateY(-2px);
}
.internal-link-text { flex: 1; }
.internal-link-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}
.internal-link-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Author variant (login/app) */
.author-main {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}
.author-info {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.author-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}
.author-name:hover { color: hsl(var(--secondary)); }
.author-role {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.author-bio {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.author-methodology {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.875rem;
}
.author-methodology a { color: hsl(var(--secondary)); }

/* =========================================
   EXTRA SPACING UTILITIES
   ========================================= */
.mb-5 { margin-bottom: 1.25rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.max-w-lg { max-width: 32rem; }

/* Alias for lang-flag-btn (used in login/app/about) */
.lang-flag-btn {
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--border));
  padding: 0.375rem 0.75rem;
  background: none;
  font-size: 1rem;
  cursor: pointer;
}
.lang-flag-btn.active {
  border-color: hsl(var(--primary));
  background: hsla(var(--primary), 0.1);
}

/* =========================================
   PROMO / GAME IMAGE SIZE LIMITS
   ========================================= */
.promo-image-link img,
.games-image-link img {
  max-width: 500px;
  width: 100%;
  border-radius: 16px;
}

/* =========================================
   BREADCRUMBS
   ========================================= */
.breadcrumbs {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}
.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.breadcrumbs a:hover { color: hsl(var(--secondary)); }
.breadcrumbs .current { color: hsl(var(--foreground)); font-weight: 500; }

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-team {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.about-team-content { flex: 1; }
.about-team-img { flex-shrink: 0; }
.about-team-img img { border-radius: 0.75rem; }

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-col-card,
.about-col-card-accent {
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}
.about-col-card-accent {
  border-color: hsla(var(--primary), 0.3);
  background: hsla(var(--primary), 0.05);
}

.about-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 1.5rem;
}
.about-contact svg { color: hsl(var(--secondary)); }

.transparency-box {
  border-radius: 0.75rem;
  background: hsla(var(--secondary), 0.08);
  border: 1px solid hsla(var(--secondary), 0.2);
  padding: 1.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.standards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.standard-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.standard-num {
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.mobile-lang-btn {
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--border));
  padding: 0.375rem 0.75rem;
  background: none;
  font-size: 1rem;
  cursor: pointer;
}
.mobile-lang-btn.active {
  border-color: hsl(var(--primary));
  background: hsla(var(--primary), 0.1);
}

/* Changelog category tags */
.cat-green { background: rgba(34,197,94,0.15); color: rgb(34,197,94); }
.cat-gold { background: hsla(var(--secondary), 0.15); color: hsl(var(--secondary)); }
.cat-blue { background: rgba(59,130,246,0.15); color: rgb(59,130,246); }
.cat-purple { background: rgba(168,85,247,0.15); color: rgb(168,85,247); }

/* Utility helpers used in HTML */
.font-display { font-family: var(--font-display); }
.font-bold { font-weight: 700; }
.text-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.leading-relaxed { line-height: 1.625; }
.italic { font-style: italic; }
.opacity-50 { opacity: 0.5; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.ml-auto { margin-left: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; border-style: solid; }
.border-border { border-color: hsl(var(--border)); }
.border-secondary { border-color: hsl(var(--secondary)); }
.bg-card { background: hsl(var(--card)); }
.bg-secondary { background: hsl(var(--secondary)); }
.text-black { color: #000; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.fill-secondary { fill: hsl(var(--secondary)); }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.intro-text { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 2rem; }
.-top-3 { top: -0.75rem; }
.left-6 { left: 1.5rem; }
.bottom-4 { bottom: 1rem; }
.right-4 { right: 1rem; }
.gap-0\.5, .gap-0-5 { gap: 0.125rem; }
.gap-1 { gap: 0.25rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.opacity-60 { opacity: 0.6; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-10 { margin-top: 2.5rem; }
.p-5 { padding: 1.25rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.text-green-500 { color: rgb(34, 197, 94); }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-secondary { color: hsl(var(--secondary)); }
.text-foreground { color: hsl(var(--foreground)); }
.fill-secondary\/40 { fill: hsla(var(--secondary), 0.4); }
.text-secondary\/40 { color: hsla(var(--secondary), 0.4); }
.text-center { text-align: center; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex { display: flex; }

/* Review cards */
.reviews-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
.review-card {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px hsla(0, 72%, 50%, 0.15);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.review-avatar {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: hsl(var(--muted));
}
.review-avatar svg { color: hsl(var(--muted-foreground)); }

/* Star rating inline */
.star-row { display: flex; gap: 0.125rem; }
.star-row svg { width: 0.75rem; height: 0.75rem; }
.star-row-lg { display: flex; gap: 0.25rem; }
.star-row-lg svg { width: 2rem; height: 2rem; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

/* =========================================
   📱 RESPONSIVE — TABLET (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .header-actions { display: none !important; }
  .mobile-menu-btn { display: flex !important; }

  .hero-title { font-size: 1.75rem; }
  .hero-section { min-height: 180px; max-height: 260px; }

  .container { padding: 0 12px; }
  section, .content-section { padding: 2.5rem 0; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid hsl(var(--border)); }

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

  .pros-cons-grid { grid-template-columns: 1fr; }
  .about-two-col { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .links-grid { grid-template-columns: 1fr; }
  .internal-links-grid { grid-template-columns: 1fr; }
  .feature-grid-2 { grid-template-columns: 1fr; }
  .feature-grid-3 { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: 1fr; }

  .about-team { flex-direction: column; }
  .about-team-img { order: -1; }

  /* Grid helper overrides */
  .grid.gap-6.md\\:grid-cols-2,
  [class*="md:grid-cols-2"] { grid-template-columns: 1fr; }
  [class*="md:grid-cols-[1fr_180px]"] { grid-template-columns: 1fr; }
}

/* =========================================
   📱 RESPONSIVE — SMALL PHONE (max-width: 480px)
   ========================================= */
@media (max-width: 480px) {
  .hero-title { font-size: 1.35rem; }

  .hero-cta-group { flex-direction: column; align-items: center; }
  .hero-badges { flex-direction: column; align-items: center; }

  .game-grid-5 { grid-template-columns: 1fr; }

  .footer-nav { flex-direction: column; align-items: center; gap: 0.5rem; }
  .footer-sep { display: none; }

  .changelog-timeline { padding-left: 1rem; margin-left: 0.5rem; }
  .changelog-dot { left: -1.85rem; }

  .btn-primary { width: 100%; text-align: center; }
  .mobile-cta { flex-direction: column; }
  .mobile-cta a { width: 100%; }
}
