/* === CSS Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --background: 40 20% 98%;
  --foreground: 220 25% 15%;
  --card: 0 0% 100%;
  --card-foreground: 220 25% 15%;
  --primary: 160 60% 35%;
  --primary-foreground: 0 0% 100%;
  --secondary: 40 25% 94%;
  --secondary-foreground: 220 25% 15%;
  --muted: 40 15% 92%;
  --muted-foreground: 220 15% 45%;
  --accent: 35 95% 55%;
  --accent-foreground: 220 25% 12%;
  --border: 40 20% 88%;
  --ring: 160 60% 35%;
  --radius: 0.75rem;
  --poker-green: 160 60% 35%;
  --poker-green-dark: 160 65% 25%;
  --poker-gold: 35 95% 55%;
  --poker-gold-light: 38 90% 65%;
  --poker-red: 0 75% 55%;
  --poker-dark: 220 25% 15%;
  --poker-light: 40 20% 97%;
  --logo-bg: 220 30% 18%;
  --gradient-gold: linear-gradient(135deg, hsl(35 95% 55%), hsl(45 90% 60%));
  --gradient-green: linear-gradient(135deg, hsl(160 60% 35%), hsl(165 55% 45%));
  --shadow-card: 0 4px 24px -4px hsl(220 25% 15% / 0.08);
  --shadow-card-hover: 0 12px 40px -8px hsl(220 25% 15% / 0.15);
  --shadow-button: 0 4px 16px -2px hsl(160 60% 35% / 0.35);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* === Container === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* === Utility Classes === */
.text-muted { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.gradient-text {
  background-image: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-gradient-text {
  background-image: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Header === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border));
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 5rem;
}
.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.25rem; font-family: 'Montserrat', sans-serif; }
.logo-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
  background: hsl(var(--primary)); display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 1.5rem; height: 1.5rem; fill: hsl(var(--primary-foreground)); }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-desktop a { color: hsl(var(--muted-foreground)); font-weight: 500; transition: color 0.2s; }
.nav-desktop a:hover { color: hsl(var(--foreground)); }

.header-cta {
  display: none;
  padding: 0.75rem 1.5rem; border-radius: 0.5rem;
  font-weight: 600; color: hsl(var(--primary-foreground));
  background: var(--gradient-green); box-shadow: var(--shadow-button);
  transition: transform 0.2s, box-shadow 0.2s;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px -2px hsl(var(--primary) / 0.45); }

.mobile-toggle { display: flex; padding: 0.5rem; color: hsl(var(--foreground)); }
.mobile-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-nav {
  display: none; flex-direction: column; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid hsl(var(--border));
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: hsl(var(--muted-foreground)); font-weight: 500; padding: 0.5rem 0; transition: color 0.2s; }
.mobile-nav a:hover { color: hsl(var(--foreground)); }
.mobile-nav .btn-primary-mobile {
  text-align: center; margin-top: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 0.5rem;
  font-weight: 600; color: hsl(var(--primary-foreground));
  background: var(--gradient-green); box-shadow: var(--shadow-button);
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .mobile-toggle { display: none; }
}

/* === Hero === */
.hero { position: relative; padding: 7rem 0 2rem; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; line-height: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  background: hsl(var(--primary) / 0.1); color: hsl(var(--primary));
  font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem;
}
.hero-badge-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: hsl(var(--primary)); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-features { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.hero-feature { display: flex; align-items: center; gap: 0.5rem; color: hsl(var(--muted-foreground)); }
.hero-feature-icon {
  width: 2.25rem; height: 2.25rem; border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.1); display: flex; align-items: center; justify-content: center;
}
.hero-feature-icon svg { width: 1rem; height: 1rem; color: hsl(var(--primary)); stroke: hsl(var(--primary)); fill: none; }

@media (min-width: 768px) {
  .hero { padding: 8rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero h1 { font-size: 2.25rem; text-align: left; }
  .hero-left { text-align: left; }
  .hero-right { text-align: left; }
  .hero-features { align-items: flex-start; }
  .hero-badge-wrap { display: flex; justify-content: flex-start; }
  .hero-right p { text-align: left; }
}
@media (min-width: 1024px) { .hero h1 { font-size: 3rem; } }

@media (min-width: 1024px) {
  .text-muted { text-align: left; }
}

/* === Section Styles === */
.section { padding: 4rem 0; }
.section-alt { background: hsl(var(--secondary) / 0.3); }
.section-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; color: hsl(var(--foreground)); font-family: 'Montserrat', sans-serif; }
.section-subtitle { font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 42rem; margin: 0 auto; }
@media (min-width: 768px) {
  .section { padding: 6rem 0; }
  .section-title { font-size: 2.25rem; }
}

/* === Poker Room Cards === */
.rooms-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-top: 1rem; }
@media (min-width: 768px) { .rooms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rooms-grid { grid-template-columns: repeat(2, 1fr); } }

.poker-card {
  background: hsl(var(--card)); border-radius: var(--radius); border: 1px solid hsl(var(--border));
  padding: 1rem; transition: all 0.3s; box-shadow: var(--shadow-card); position: relative; overflow: visible;
}
.poker-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
@media (min-width: 640px) { .poker-card { padding: 1.5rem; } }

.rank-badge {
  position: absolute; top: -0.75rem; right: -0.75rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-weight: 700; font-size: 1.125rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px hsl(var(--primary) / 0.3); z-index: 10;
}

.card-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .card-header { flex-direction: row; align-items: flex-start; } }

.card-logo {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 4rem; background: hsl(var(--logo-bg)); border-radius: 0.5rem;
  overflow: hidden; padding: 0.75rem; transition: opacity 0.2s;
}
.card-logo:hover { opacity: 0.9; }
.card-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (min-width: 640px) { .card-logo { width: 10rem; } }

.card-info { flex: 1; }
.card-name-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.card-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.25rem; margin-bottom: 0.25rem; }

.card-stars { display: flex; align-items: center; gap: 0.25rem; margin-bottom: 0.5rem; }
.star { width: 1rem; height: 1rem; }
.star-filled { fill: hsl(var(--accent)); color: hsl(var(--accent)); }
.star-empty { color: hsl(var(--muted)); fill: none; }
.card-rating { margin-left: 0.25rem; font-size: 0.875rem; font-weight: 600; }

.card-bonus { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.5rem; text-align: right; }
.card-bonus-desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

.card-advantages { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.advantage { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; }
.advantage svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.125rem; color: hsl(var(--primary)); stroke: hsl(var(--primary)); fill: none; }

.promo-btn {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.875rem;
  background: hsl(var(--secondary)); border: 2px dashed hsl(var(--primary) / 0.3);
  font-family: monospace; cursor: pointer; transition: all 0.2s; margin-bottom: 1rem;
}
.promo-btn:hover { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.05); }
.promo-btn .promo-label { color: hsl(var(--muted-foreground)); }
.promo-btn .promo-code { color: hsl(var(--primary)); font-weight: 700; }
.promo-btn svg { width: 1rem; height: 1rem; color: hsl(var(--muted-foreground)); stroke: hsl(var(--muted-foreground)); fill: none; }

.btn-gold {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 600;
  background: var(--gradient-gold); color: hsl(var(--poker-dark));
  box-shadow: 0 4px 16px -2px hsl(var(--accent) / 0.35); transition: all 0.2s;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px -2px hsl(var(--accent) / 0.5); }
.btn-gold svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; }

/* === How to Play === */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step { position: relative; text-align: center; }
.step-number {
  position: absolute; top: -0.5rem; left: 50%; transform: translateX(-50%);
  width: 2rem; height: 2rem; border-radius: 50%;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-weight: 700; font-size: 0.875rem; display: flex; align-items: center; justify-content: center;
}
.step-icon {
  width: 5rem; height: 5rem; margin: 0 auto 1rem; border-radius: 1rem;
  background: hsl(var(--secondary)); display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 2.5rem; height: 2.5rem; color: hsl(var(--primary)); stroke: hsl(var(--primary)); fill: none; }
.step h3 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1.125rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

/* === Bonuses === */
.bonuses-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .bonuses-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

.bonus-card { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .bonus-card { flex-direction: row; } }
.bonus-icon {
  flex-shrink: 0; width: 3.5rem; height: 3.5rem; border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1); display: flex; align-items: center; justify-content: center;
}
.bonus-icon svg { width: 1.75rem; height: 1.75rem; color: hsl(var(--primary)); stroke: hsl(var(--primary)); fill: none; }
.bonus-content { flex: 1; min-width: 0; }
.bonus-header { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.5rem; }
@media (min-width: 640px) { .bonus-header { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 1rem; } }
.bonus-highlight {
  align-self: flex-start; flex-shrink: 0;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  background: hsl(var(--accent) / 0.1); color: hsl(var(--accent)); font-weight: 700; font-size: 0.875rem;
}

/* === SEO Content === */
.seo-content { max-width: 56rem; margin: 0 auto; }
.seo-content article { margin-bottom: 3rem; }
.seo-content article:last-child { margin-bottom: 0; }
.seo-content h2 { font-size: 1.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .seo-content h2 { font-size: 1.875rem; } }
.seo-content p { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; line-height: 1.8; }
.seo-content p:last-child { margin-bottom: 0; }

/* === FAQ === */
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); background: hsl(var(--card)); }
.faq-item:hover { box-shadow: var(--shadow-card-hover); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.5rem; text-align: left;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1rem;
  color: hsl(var(--foreground)); background: transparent; cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover { background: hsl(var(--secondary) / 0.5); }
.faq-question svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; transition: transform 0.3s; stroke: hsl(var(--muted-foreground)); fill: none; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem; color: hsl(var(--muted-foreground)); font-size: 0.9375rem; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 20rem; padding: 0 1.5rem 1rem; }

/* === Footer === */
.footer { padding: 3rem 0; border-top: 1px solid hsl(var(--border)); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { font-family: 'Montserrat', sans-serif; font-weight: 600; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: hsl(var(--muted-foreground)); transition: color 0.2s; }
.footer-links a:hover { color: hsl(var(--foreground)); }
.footer-contact a { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); transition: color 0.2s; margin-bottom: 0.5rem; }
.footer-contact a:hover { color: hsl(var(--foreground)); }
.footer-contact svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid hsl(var(--border));
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.footer-disclaimer { font-size: 0.75rem !important; max-width: 32rem; text-align: center; }
@media (min-width: 768px) { .footer-disclaimer { text-align: right; } }

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

/* === Toast notification === */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: var(--radius); padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-card-hover); z-index: 100;
  font-size: 0.875rem; font-weight: 500;
  transform: translateY(100px); opacity: 0; transition: all 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; }

