/* PHP777 Asia - Modular Casino Website Styles */
/* Design: Emerald/Teal + Gold accents, Asia-inspired, varied layouts */

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --gradient-primary: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0d9488 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
  --max-width: 1280px;
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

/* Skip link - accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--accent-gold);
  color: var(--bg-dark);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

/* Animations & Transitions */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}
/* Mobile: show all content immediately - Intersection Observer can fail on small viewports */
@media (max-width: 900px) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
.animate-on-scroll.animate-in--delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.animate-in--delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.animate-in--delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.animate-in--delay-4 { transition-delay: 0.4s; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(13, 148, 136, 0.2);
  width: 100%;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-gold); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 480px) {
  .container { padding: 0 1.25rem; }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 148, 136, 0.2);
  transition: box-shadow var(--transition);
  width: 100%;
  overflow: hidden;
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
}
@media (min-width: 480px) {
  .header__inner { gap: 1rem; }
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  transition: transform var(--transition);
  flex-shrink: 0;
}
@media (min-width: 480px) {
  .logo { font-size: 1.5rem; }
}
.logo:hover {
  transform: scale(1.02);
}
.logo__text { color: var(--primary-light); }
.logo__badge {
  background: var(--gradient-gold);
  color: var(--bg-dark);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.nav__list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}
.nav__link:hover, .nav__link--active { color: var(--primary-light); background: rgba(13, 148, 136, 0.15); }
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-card);
  padding: 4rem 1.25rem 1.5rem;
  z-index: 99;
  transform: translateX(100%);
  transition: transform var(--transition);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
  z-index: 1001;
}
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-overlay.active {
  display: block;
}
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  min-height: 44px;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
}
.mobile-menu__link:hover {
  padding-left: 0.5rem;
  color: var(--primary-light);
}
.mobile-menu__link--active { color: var(--primary-light); }
@media (max-width: 900px) {
  .nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--gradient-primary); color: white; }
.btn--gold { background: var(--gradient-gold); color: var(--bg-dark); }
.btn--secondary { background: var(--bg-card); color: var(--text); border: 1px solid rgba(255,255,255,0.2); }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* Hero - varied layout 1: diagonal split */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  overflow: hidden;
  width: 100%;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(13, 148, 136, 0.3) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  min-width: 0;
  width: 100%;
}
@media (min-width: 769px) {
  .hero__inner { padding: 5rem 0; }
}
.hero__content { z-index: 1; }
.hero__badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.hero__title {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.hero__title span { color: var(--accent-gold); }
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 480px;
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}
.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}
@media (max-width: 768px) {
  .hero__actions { justify-content: center; gap: 0.5rem; }
  .hero__actions .btn { flex: 1 1 auto; min-width: 140px; }
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.hero__stat {
  text-align: center;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__stat:nth-child(1) { animation-delay: 0.6s; }
.hero__stat:nth-child(2) { animation-delay: 0.7s; }
.hero__stat:nth-child(3) { animation-delay: 0.8s; }
.hero__stat-num { font-size: 1.75rem; font-weight: 800; color: var(--primary-light); }
.hero__stat-label { font-size: 0.85rem; color: var(--text-muted); }
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.hero__visual-inner {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16/10;
  min-height: 200px;
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.3), rgba(245, 158, 11, 0.15));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(13, 148, 136, 0.4);
}
@media (min-width: 480px) {
  .hero__visual-inner { min-height: 280px; }
}
@media (min-width: 769px) {
  .hero__visual-inner { min-height: 380px; }
}
@media (max-width: 768px) {
  .hero__visual-inner {
    aspect-ratio: 1;
    min-height: 0;
    max-width: 140px;
    margin: 0 auto;
  }
}
@keyframes morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}
.hero__visual-icon {
  width: 140px;
  height: 140px;
  color: var(--accent-gold);
  opacity: 0.9;
}
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-bottom: 0;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
    text-align: center;
  }
  .hero__badge { margin-bottom: 0.5rem; }
  .hero__title { margin-bottom: 0.5rem; }
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
  .hero__stat {
    padding: 0.5rem 0.35rem;
  }
  .hero__stat-num { font-size: 1.2rem; }
  .hero__stat-label { font-size: 0.7rem; }
  .hero__visual {
    order: -1;
    width: 100%;
    max-width: 140px;
    margin: 0 auto;
  }
  .hero__visual-icon {
    width: 56px;
    height: 56px;
  }
}

/* Main content */
#main-content {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

/* Section */
.section {
  padding: 2.5rem 0;
}
@media (min-width: 769px) {
  .section { padding: 4rem 0; }
}
.section__header {
  text-align: center;
  margin-bottom: 2rem;
}
@media (min-width: 769px) {
  .section__header { margin-bottom: 3rem; }
}
.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
}
.section__subtitle {
  color: var(--text-muted);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
}

/* Product cards - layout 2: bento grid */
.products-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 769px) {
  .products-bento { gap: 1.25rem; margin-top: 2rem; }
}
.products-bento .product-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.products-bento .product-card:nth-child(2) { grid-column: span 2; }
.products-bento .product-card:nth-child(3),
.products-bento .product-card:nth-child(4) { grid-column: span 1; }
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition-slow), border-color var(--transition), box-shadow var(--transition-slow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
@media (min-width: 769px) {
  .product-card { padding: 2rem; }
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: var(--shadow-lg);
}
.product-card__icon {
  transition: transform var(--transition-bounce);
}
.product-card:hover .product-card__icon {
  transform: scale(1.1);
}
.product-card:hover::before { opacity: 1; }
.product-card--featured::before { opacity: 1; background: var(--gradient-gold); }
.product-card__title { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; }
.product-card__desc { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 1rem; flex-grow: 1; }
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.product-card__link:hover { color: var(--accent-gold-light); }
.product-card__link svg {
  transition: transform var(--transition);
}
.product-card__link:hover svg {
  transform: translateX(4px);
}
@media (max-width: 900px) {
  .products-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .products-bento .product-card:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .products-bento .product-card:nth-child(2) { grid-column: span 2; }
  .products-bento .product-card:nth-child(3),
  .products-bento .product-card:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 500px) {
  .products-bento { grid-template-columns: 1fr; }
  .products-bento .product-card:nth-child(n) { grid-column: span 1; }
}

/* Game cards - slots & live casino */
.game-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
  min-width: 0;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.25);
}
.game-card__thumb {
  transition: filter var(--transition);
}
.game-card:hover .game-card__thumb {
  filter: brightness(1.15);
}
.game-card__thumb {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 3/4;
  min-height: 120px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-card__thumb svg { width: 48px; height: 48px; color: rgba(255,255,255,0.6); flex-shrink: 0; }
.game-card__body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.game-card__badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.5rem; }
.game-card__badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
  white-space: nowrap;
}
.game-card__badge--rtp { background: rgba(13, 148, 136, 0.3); color: var(--primary-light); }
.game-card__title { font-size: 1rem; font-weight: 700; margin: 0 0 0.25rem; line-height: 1.3; word-wrap: break-word; }
.game-card__meta { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.game-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-gold);
}
.game-card__link:hover { color: var(--accent-gold-light); }
@media (max-width: 900px) {
  .game-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .game-cards-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* Sports match cards */
/* Category heading (slots, live-casino game sections) */
.category-heading {
  font-size: 1.1rem;
  margin: 2rem 0 1rem;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .category-heading { margin: 1.5rem 0 0.75rem; font-size: 1rem; }
}
@media (max-width: 480px) {
  .category-heading { margin: 1.25rem 0 0.5rem; font-size: 0.95rem; }
}

.category-heading--top { margin-top: 0; }

.section__header--spaced { margin-top: 3rem; }
.section__header--bottom { margin-bottom: 1.5rem; }
@media (max-width: 768px) {
  .section__header--spaced { margin-top: 2rem; }
}
@media (max-width: 480px) {
  .section__header--spaced { margin-top: 1.5rem; }
}

.section__actions {
  text-align: center;
  margin-top: 2rem;
}
@media (max-width: 480px) {
  .section__actions { margin-top: 1.5rem; }
}

.seo-content--spaced { margin-top: 4rem; }
@media (max-width: 768px) {
  .seo-content--spaced { margin-top: 2.5rem; }
}
@media (max-width: 480px) {
  .seo-content--spaced { margin-top: 2rem; }
}

.sports-section { margin-bottom: 2.5rem; }
@media (max-width: 480px) {
  .sports-section { margin-bottom: 1.5rem; }
}
.sports-section__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sports-section__title::before {
  content: '';
  width: 4px;
  height: 1.2em;
  background: var(--gradient-gold);
  border-radius: 2px;
}
.match-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255,255,255,0.06);
  display: grid;
  grid-template-columns: 1fr minmax(50px, auto) 1fr minmax(120px, auto);
  gap: 0.75rem;
  align-items: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  min-width: 0;
}
@media (min-width: 769px) {
  .match-card { padding: 1rem 1.25rem; gap: 1rem; grid-template-columns: 1fr minmax(60px, auto) 1fr minmax(140px, auto); }
}
.match-card:hover {
  border-color: rgba(13, 148, 136, 0.3);
  transform: translateX(2px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.match-card__team { font-weight: 600; font-size: 0.95rem; min-width: 0; }
.match-card__team:nth-child(3) { text-align: right; }
.match-card__vs { text-align: center; font-size: 0.8rem; color: var(--text-muted); }
.match-card__odds {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.match-card__odd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.match-card__odd-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.match-card__odd {
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  min-width: 44px;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.match-card__odd:hover {
  background: rgba(13, 148, 136, 0.3);
  transform: scale(1.05);
}
.match-card__odd--pick { background: rgba(245, 158, 11, 0.2); color: var(--accent-gold); }
.match-card__prediction {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: var(--accent-gold);
}
@media (max-width: 768px) {
  .match-card {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.875rem;
  }
  .match-card__team { font-size: 0.9rem; }
  .match-card__team:first-child { grid-column: 1; grid-row: 1; }
  .match-card__team:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
  .match-card__vs { grid-column: 1 / -1; grid-row: 2; }
  .match-card__odds { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; gap: 0.35rem; }
  .match-card__odd { min-width: 40px; padding: 0.4rem 0.5rem; font-size: 0.85rem; }
  .match-card__prediction { grid-row: 4; font-size: 0.8rem; }
}

/* Promotion highlight cards */
.promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.promo-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
  min-width: 0;
}
.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.3);
}
.promo-card--hot {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2);
}
.promo-card__ribbon {
  position: absolute;
  top: 10px;
  right: -32px;
  background: var(--gradient-gold);
  color: var(--bg-dark);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 2.25rem;
  transform: rotate(45deg);
  text-transform: uppercase;
  z-index: 1;
}
.promo-card__header {
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), transparent);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 769px) {
  .promo-card__header { padding: 1.5rem; }
}
.promo-card__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 0 0 0.25rem;
}
.promo-card__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.25rem; }
.promo-card__desc { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.promo-card__body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 769px) {
  .promo-card__body { padding: 1rem 1.5rem; }
}
.promo-card__meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.promo-card .btn { width: 100%; justify-content: center; margin-top: auto; }
@media (max-width: 900px) {
  .promo-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .promo-cards-grid { grid-template-columns: 1fr; }
}

/* CTA Banner */
.cta-banner {
  background: var(--gradient-gold);
  color: var(--bg-dark);
  padding: 1.5rem 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-banner__content {
  flex: 1;
  min-width: 0;
}
.cta-banner__title { font-size: 1.25rem; font-weight: 800; margin: 0 0 0.25rem; }
.cta-banner__text { margin: 0; opacity: 0.9; font-size: 0.95rem; }
@media (max-width: 600px) {
  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner__content { width: 100%; }
  .cta-banner .btn { width: 100%; }
}
@media (min-width: 769px) {
  .cta-banner { padding: 2rem 0; }
  .cta-banner__title { font-size: 1.5rem; }
}
.cta-banner .btn--gold {
  background: var(--bg-dark);
  color: var(--accent-gold);
}
.cta-banner .btn--gold:hover {
  background: #1e293b;
}

/* SEO Content - layout 3: zigzag */
.seo-zigzag { padding: 2.5rem 0; }
@media (min-width: 769px) {
  .seo-zigzag { padding: 4rem 0; }
}
.seo-zigzag .section__header { margin-bottom: 2rem; }
.seo-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
  min-width: 0;
}
@media (min-width: 769px) {
  .seo-block { gap: 3rem; margin-bottom: 4rem; }
}
.seo-block:nth-child(even) { direction: rtl; }
.seo-block:nth-child(even) > * { direction: ltr; }
.seo-block__content { padding: 1rem 0; }
.seo-block__title { font-size: 1.5rem; margin: 0 0 1rem; }
.seo-block__text { color: var(--text-muted); margin: 0 0 1rem; }
.seo-block__visual {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.seo-block:hover .seo-block__visual {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}
.seo-block__visual svg { width: 80px; height: 80px; color: var(--primary-light); opacity: 0.7; transition: transform var(--transition-bounce); }
.seo-block:hover .seo-block__visual svg { transform: scale(1.1); }
@media (max-width: 768px) {
  .seo-block, .seo-block:nth-child(even) {
    direction: ltr;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .seo-block > * { direction: ltr; }
  .seo-block__visual { min-height: 160px; }
}

/* Listicle */
.listicle { padding: 2.5rem 0; }
@media (min-width: 769px) {
  .listicle { padding: 4rem 0; }
}
.listicle-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  min-width: 0;
}
@media (max-width: 480px) {
  .listicle-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
  }
  .listicle-item__num { margin: 0 auto; }
}
.listicle-item__num {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.listicle-item__title { font-size: 1.2rem; margin: 0 0 0.5rem; }
.listicle-item__text { color: var(--text-muted); margin: 0; }

/* Step-by-step */
.steps { padding: 2rem 0; }
@media (min-width: 769px) {
  .steps { padding: 4rem 0; }
}
.steps-list { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps-list li {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 769px) {
  .steps-list li { padding-left: 4rem; padding-bottom: 2rem; }
}
.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--gradient-gold);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.steps-list li::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: rgba(13, 148, 136, 0.3);
}
.steps-list li:last-child::after { display: none; }
.step-title { font-size: 1.15rem; margin: 0 0 0.5rem; }
.step-text { color: var(--text-muted); margin: 0; }

/* Infographic block */
.infographic-block {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(13, 148, 136, 0.1) 100%);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(13, 148, 136, 0.2);
}
.infographic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 480px) {
  .infographic-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.25rem; }
}
@media (min-width: 769px) {
  .infographic-block { padding: 3rem; margin: 3rem 0; }
  .infographic-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
}
.infographic-item {
  text-align: center;
  padding: 1.25rem;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-md);
}
.infographic-item__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  color: var(--accent-gold);
}
.infographic-item__value { font-size: 1.5rem; font-weight: 800; color: var(--primary-light); }
.infographic-item__label { font-size: 0.85rem; color: var(--text-muted); }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {
  .blog-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
}
@media (min-width: 769px) {
  .blog-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
}
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card__img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter var(--transition);
}
.blog-card:hover .blog-card__img {
  filter: brightness(1.2);
}
.blog-card__img svg { width: 48px; height: 48px; color: rgba(255,255,255,0.5); }
.blog-card__body { padding: 1.25rem; }
@media (min-width: 769px) {
  .blog-card__body { padding: 1.5rem; }
}
.blog-card__category {
  font-size: 0.8rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.blog-card__title { font-size: 1.1rem; margin: 0 0 0.5rem; line-height: 1.4; }
.blog-card__meta { font-size: 0.85rem; color: var(--text-muted); }

/* Layout with sidebar */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0 2.5rem;
}
.layout-main { min-width: 0; }
@media (min-width: 901px) {
  .layout-with-sidebar {
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    padding: 2rem 0 4rem;
  }
}
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}
.sidebar__section { margin-bottom: 2rem; }
.sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sidebar__list { list-style: none; margin: 0; padding: 0; }
.sidebar__list li { margin-bottom: 0.5rem; }
.sidebar__list a { color: var(--text); }
.sidebar__list a:hover { color: var(--primary-light); }
.sidebar__link--rg {
  display: block;
  padding: 0.75rem;
  background: rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-md);
  color: var(--accent-gold);
  text-align: center;
  font-weight: 600;
}
@media (max-width: 900px) {
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* Page hero (inner pages) */
.page-hero {
  padding: 2rem 0;
  background: linear-gradient(180deg, var(--bg-card) 0%, transparent 100%);
  text-align: center;
}
@media (min-width: 769px) {
  .page-hero { padding: 3rem 0; }
}
.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.page-hero__title--left { text-align: left; padding-top: 0; }
.page-hero__subtitle {
  color: var(--text-muted);
  margin: 0;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--primary-light); }
.breadcrumbs__sep { opacity: 0.5; }

/* Footer */
.footer {
  background: var(--bg-card);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 769px) {
  .footer { padding: 4rem 0 2rem; margin-top: 4rem; }
  .footer__grid { gap: 2rem; margin-bottom: 2rem; }
}
.footer__brand p { color: var(--text-muted); font-size: 0.95rem; margin: 1rem 0 0; max-width: 320px; }
.footer__column h4 { font-size: 1rem; margin: 0 0 1rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--primary-light); }
.footer__trust { margin: 2rem 0; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.trust-badges { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.trust-badge { color: var(--primary-light); opacity: 0.8; }
.responsible-gaming { margin-bottom: 2rem; }
.responsible-gaming__title { font-size: 1rem; margin: 0 0 0.5rem; }
.responsible-gaming__text { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__copyright { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal a { color: var(--text-muted); font-size: 0.9rem; }
.logo--footer .logo__text { color: var(--primary-light); }
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer__brand { grid-column: span 2; }
  .footer__brand p { max-width: 100%; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__legal { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
}

/* Game info box (blog) */
.game-info-box {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  border-left: 4px solid var(--primary);
}
.game-info-box__title { font-size: 1rem; margin: 0 0 0.5rem; }
.game-info-box__list { margin: 0; padding-left: 1.25rem; color: var(--text-muted); }
.strategy-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1rem 0;
}
.strategy-box__title { color: var(--accent-gold); margin: 0 0 0.5rem; }

/* SEO long-form content */
.seo-content { max-width: 720px; margin: 0 auto; padding: 0 0.5rem; overflow-wrap: break-word; word-wrap: break-word; }
@media (min-width: 480px) {
  .seo-content { padding: 0; }
}
.seo-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.seo-content h3 { font-size: 1.2rem; margin: 1.75rem 0 0.75rem; }
.seo-content p { margin: 0 0 1rem; color: var(--text-muted); line-height: 1.7; }
.seo-content ul, .seo-content ol { margin: 0 0 1rem; padding-left: 1.5rem; color: var(--text-muted); }
.seo-content li { margin-bottom: 0.5rem; }

/* Blog article */
.blog-article__content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.blog-article__content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; }
.blog-article__content p { margin: 0 0 1rem; color: var(--text-muted); }
.blog-article__content ul, .blog-article__content ol { margin: 0 0 1rem; padding-left: 1.5rem; color: var(--text-muted); }
.blog-article__category { color: var(--accent-gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-article__meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* Mobile layout fixes */
@media (max-width: 900px) {
  body { -webkit-overflow-scrolling: touch; }
  .header__inner.container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero__inner.container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .section .container,
  .seo-zigzag .container,
  .cta-banner .container,
  .footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .section__title { font-size: clamp(1.5rem, 5vw, 2.5rem); }
  .product-card__title,
  .product-card__desc { word-break: break-word; }
  .hero__title { word-break: break-word; }
}
@media (max-width: 480px) {
  .container { padding-left: 0.875rem; padding-right: 0.875rem; }
  .header__inner { padding: 0.625rem 0; }
  .hero__inner { padding: 2rem 0; }
  .hero__title { font-size: 1.5rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__actions .btn { min-width: 100%; }
  .products-bento { gap: 0.875rem; }
  .product-card { padding: 1rem; }
  .section { padding: 1.75rem 0; }
  .section__header { margin-bottom: 1.5rem; }
  .section__title { font-size: 1.4rem; }
  .cta-banner { padding: 1.25rem 0; }
  .cta-banner__title { font-size: 1.15rem; }
  .footer { padding: 1.5rem 0 1rem; margin-top: 1.5rem; }
  .footer__grid { gap: 1rem; }
}
