/* =========================================
   ME88 SPORTSBET - Main Stylesheet
   Brand Colors: #ff4e00 (orange), #171718 (dark bg)
   ========================================= */

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

:root {
  --primary: #ff4e00;
  --primary-hover: #e04400;
  --primary-gradient: linear-gradient(135deg, #ff4e00 0%, #f88c00 100%);
  --bg-main: #171718;
  --bg-dark: #0c0c0c;
  --bg-card: #1e1e1f;
  --bg-card2: #2a2a2a;
  --text-white: #ffffff;
  --text-light: #b5b5b5;
  --text-muted: #9da5b7;
  --border: #2e2e30;
  --gold: #f5c518;
  --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg-main); color: var(--text-white); font-family: var(--font); line-height: 1.7; overflow-x: hidden; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { line-height: 1.3; font-weight: 700; color: var(--text-white); }
p { color: var(--text-light); margin-bottom: 1rem; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-alt { background: var(--bg-dark); }
.text-center { text-align: center; }
.text-orange { color: var(--primary); }
.badge { display: inline-block; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; vertical-align: middle; margin-left: 6px; }
.badge-new { background: #22c55e; }

.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.section-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 40px; max-width: 600px; }
.section-header { margin-bottom: 40px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto 40px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 30px; border-radius: 50px; font-size: 0.95rem; font-weight: 700; cursor: pointer; border: none; transition: all var(--transition); text-decoration: none; }
.btn-primary { background: var(--primary-gradient); color: #fff; box-shadow: 0 4px 20px rgba(255,78,0,0.3); }
.btn-primary:hover { background: linear-gradient(135deg, #e04400 0%, #d97600 100%); transform: translateY(-2px); box-shadow: 0 6px 25px rgba(255,78,0,0.45); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--bg-dark); }
.btn-white:hover { background: #f0f0f0; color: var(--bg-dark); }

/* --- Header / Navbar --- */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(12,12,12,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); height: 65px; transition: all var(--transition); }
#header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.6); }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 65px; }
.nav-logo img { height: 36px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link { color: var(--text-light); font-size: 0.88rem; font-weight: 600; padding: 8px 12px; border-radius: var(--radius-sm); transition: all var(--transition); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(255,78,0,0.08); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-login { padding: 8px 20px; font-size: 0.88rem; border-radius: 50px; color: var(--text-white); border: 1.5px solid var(--border); background: transparent; transition: all var(--transition); font-weight: 600; }
.btn-login:hover { border-color: var(--primary); color: var(--primary); }
.btn-register { padding: 8px 20px; font-size: 0.88rem; border-radius: 50px; background: var(--primary-gradient); color: #fff; font-weight: 700; transition: all var(--transition); border: none; }
.btn-register:hover { opacity: 0.9; transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-white); border-radius: 2px; transition: all var(--transition); }

/* --- Hero Slider --- */
.hero { position: relative; margin-top: 65px; overflow: hidden; background: var(--bg-dark); height: 520px; }
.hero-slider { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.hero-slide { min-width: 100%; height: 100%; position: relative; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,12,0.85) 0%, rgba(12,12,12,0.4) 60%, transparent 100%); }
.hero-content { position: absolute; top: 50%; left: 0; transform: translateY(-50%); padding: 0 60px; max-width: 600px; }
.hero-tag { font-size: 0.8rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.hero-title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; line-height: 1.2; }
.hero-title span { color: var(--primary); }
.hero-desc { font-size: 1rem; color: var(--text-light); margin-bottom: 28px; max-width: 420px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all var(--transition); }
.hero-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all var(--transition); z-index: 5; }
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* --- Announcement Bar --- */
.announcement { background: var(--primary-gradient); padding: 8px 0; text-align: center; font-size: 0.82rem; font-weight: 600; color: #fff; letter-spacing: 0.5px; }
.announcement a { color: #fff; text-decoration: underline; }

/* --- Games Nav --- */
.games-nav { background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 0; }
.games-nav-list { display: flex; justify-content: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.games-nav-list::-webkit-scrollbar { display: none; }
.games-nav-item { flex-shrink: 0; }
.games-nav-link { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 24px; color: var(--text-muted); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: all var(--transition); border-bottom: 3px solid transparent; }
.games-nav-link img { width: 22px; height: 22px; object-fit: contain; opacity: 0.6; filter: grayscale(1); transition: all var(--transition); }
.games-nav-link:hover, .games-nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.games-nav-link:hover img, .games-nav-link.active img { opacity: 1; filter: none; }

/* --- Category Cards --- */
.categories-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1024px) { .categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
.category-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: all var(--transition); border: 1px solid var(--border); }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.5); border-color: var(--primary); }
.category-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.4s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,12,12,0.9) 0%, transparent 60%); }
.category-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; }
.category-card-title { font-size: 0.95rem; font-weight: 700; color: #fff; }
.category-card-subtitle { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* --- Features Grid --- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: all var(--transition); }
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* --- Providers --- */
.providers-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; align-items: center; }
.provider-logo { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 22px; transition: all var(--transition); display: flex; align-items: center; justify-content: center; }
.provider-logo:hover { border-color: var(--primary); background: var(--bg-card2); }
.provider-logo img { height: 30px; width: auto; object-fit: contain; filter: brightness(0.7); transition: all var(--transition); }
.provider-logo:hover img { filter: brightness(1); }

/* --- Stats Bar --- */
.stats-bar { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

/* --- Promotions --- */
.promos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .promos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promos-grid { grid-template-columns: 1fr; } }
.promo-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.promo-card-img { position: relative; overflow: hidden; }
.promo-card-img img { width: 100%; aspect-ratio: 16/7; object-fit: cover; transition: transform 0.4s ease; }
.promo-card:hover .promo-card-img img { transform: scale(1.05); }
.promo-badge { position: absolute; top: 12px; left: 12px; background: var(--primary-gradient); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; }
.promo-card-body { padding: 20px; }
.promo-tag { font-size: 0.72rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.promo-title { font-size: 1rem; font-weight: 700; margin: 6px 0 10px; }
.promo-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }

/* --- Page Hero (inner pages) --- */
/* margin-top:0 here — breadcrumb already offsets from fixed header */
.page-hero {
  margin-top: 0;
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.65) 55%, rgba(10,10,10,0.25) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 60px;
  max-width: 680px;
  width: 100%;
}
.page-hero-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-hero-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: 14px;
  line-height: 1.25;
}
.page-hero-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}
.page-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* --- Content Sections (inner pages) --- */
.content-section { max-width: 900px; }
.content-section h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.content-section h3 { font-size: 1.15rem; margin: 24px 0 10px; color: var(--primary); }
.content-section p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.content-section ul { margin-left: 20px; margin-bottom: 16px; list-style: disc; }
.content-section ul li { color: var(--text-light); margin-bottom: 8px; }

/* --- Sports/Games List --- */
.sports-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .sports-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sports-grid { grid-template-columns: repeat(2, 1fr); } }
.sport-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: all var(--transition); cursor: pointer; }
.sport-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.sport-icon { font-size: 2.2rem; margin-bottom: 10px; }
.sport-name { font-size: 0.88rem; font-weight: 600; color: var(--text-light); }
.sport-card:hover .sport-name { color: var(--primary); }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: none; border: none; color: var(--text-white); font-size: 0.95rem; font-weight: 600; cursor: pointer; text-align: left; gap: 12px; }
.faq-question:hover { background: rgba(255,78,0,0.05); }
.faq-icon { font-size: 1.2rem; color: var(--primary); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 22px 18px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* --- Trust Badges --- */
.trust-section { background: var(--bg-dark); padding: 40px 0; border-top: 1px solid var(--border); }
.trust-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }
.trust-badge img { height: 36px; width: auto; filter: grayscale(1) brightness(0.6); transition: filter var(--transition); }
.trust-badge:hover img { filter: grayscale(0) brightness(1); }

/* --- Footer --- */
footer { background: var(--bg-dark); border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); max-width: 300px; }
.footer-heading { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-white); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9rem; transition: all var(--transition); }
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-payment { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.payment-icon { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 14px; font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

/* --- Responsible Gaming --- */
.rg-bar { background: var(--bg-card); border-top: 1px solid var(--border); padding: 16px 0; }
.rg-content { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.rg-content a { color: var(--text-muted); text-decoration: underline; }

/* --- 404 Page --- */
.page-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--bg-dark); padding: 40px 20px; }
.error-code { font-size: clamp(5rem, 15vw, 10rem); font-weight: 900; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.error-title { font-size: 1.8rem; margin: 16px 0 12px; }
.error-desc { color: var(--text-muted); max-width: 400px; margin: 0 auto 32px; }

/* --- Table --- */
.styled-table { width: 100%; border-collapse: collapse; }
.styled-table th { background: var(--bg-card2); color: var(--primary); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; padding: 12px 16px; text-align: left; }
.styled-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-light); font-size: 0.9rem; }
.styled-table tr:hover td { background: rgba(255,78,0,0.04); }

/* --- Breadcrumb --- */
.breadcrumb {
  background: linear-gradient(135deg, #161617 0%, #1c1c1d 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.breadcrumb::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary-gradient);
  border-radius: 0 2px 2px 0;
}
.breadcrumb::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 200px;
  background: linear-gradient(90deg, transparent, rgba(255,78,0,0.03));
  pointer-events: none;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.8rem;
  padding: 11px 0 11px 12px;
  flex-wrap: wrap;
}
.breadcrumb-list li { display: flex; align-items: center; }
.breadcrumb-list a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 5px;
  transition: all var(--transition);
  font-weight: 500;
}
.breadcrumb-list a:hover {
  color: var(--primary);
  background: rgba(255,78,0,0.08);
  text-decoration: none;
}
.breadcrumb-list li:first-child a::before { content: '🏠'; font-size: 0.7rem; }
.breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  color: var(--primary);
  opacity: 0.55;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}
.breadcrumb-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 10px;
  color: var(--text-white);
  font-weight: 600;
  background: rgba(255,78,0,0.1);
  border: 1px solid rgba(255,78,0,0.22);
  border-radius: 5px;
  font-size: 0.8rem;
  letter-spacing: 0.2px;
}

/* --- Highlights (list with icons) --- */
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .highlights { grid-template-columns: 1fr; } }
.highlight-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.highlight-icon { font-size: 1.4rem; flex-shrink: 0; }
.highlight-text h4 { font-size: 0.9rem; margin-bottom: 4px; }
.highlight-text p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* --- Sticky CTA Banner --- */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 500; background: rgba(12,12,12,0.95); backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: 12px 20px; justify-content: space-between; align-items: center; gap: 12px; }
@media (max-width: 768px) { .sticky-cta { display: flex; } }

/* --- Responsive --- */
@media (max-width: 1200px) {
  .page-hero-content { padding: 0 40px; }
}

@media (max-width: 1024px) {
  .hero { height: 420px; }
  .hero-content { padding: 0 30px; }
  .page-hero { min-height: 320px; padding: 50px 0; }
  .page-hero-content { padding: 0 30px; max-width: 580px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-menu {
    display: none;
    position: fixed;
    top: 65px; left: 0; right: 0; bottom: 0;
    background: var(--bg-dark);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 14px 24px; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1rem; justify-content: space-between; }
  .nav-toggle { display: flex; }

  /* Homepage hero */
  .hero { height: 360px; }
  .hero-content { padding: 0 20px; max-width: 100%; }
  .hero-btns { gap: 10px; }
  .hero-btns .btn { padding: 11px 22px; font-size: 0.88rem; }

  /* Subpage hero */
  .page-hero { min-height: 280px; padding: 40px 0; }
  .page-hero-content { padding: 0 20px; max-width: 100%; }
  .page-hero-title { font-size: clamp(1.35rem, 4vw, 1.9rem); }
  .page-hero-desc { font-size: 0.88rem; margin-bottom: 20px; }
  .page-hero-btns { gap: 10px; }
  .page-hero-btns .btn { padding: 11px 22px; font-size: 0.85rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Breadcrumb */
  .breadcrumb-current { font-size: 0.76rem; padding: 3px 9px; }
}

@media (max-width: 560px) {
  /* Homepage hero */
  .hero { height: 300px; }
  .hero-title { font-size: clamp(1.2rem, 5vw, 1.7rem); }
  .hero-desc { font-size: 0.85rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-btns .btn { width: auto; }

  /* Subpage hero */
  .page-hero { min-height: 240px; padding: 32px 0; }
  .page-hero-title { font-size: clamp(1.2rem, 5vw, 1.6rem); margin-bottom: 10px; }
  .page-hero-desc { display: none; }
  .page-hero-btns { gap: 8px; }
  .page-hero-btns .btn { padding: 10px 20px; font-size: 0.82rem; }

  /* Steps/categories */
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .hero { height: 260px; }
  .page-hero { min-height: 200px; padding: 24px 0; }
  .page-hero-btns { flex-direction: column; align-items: flex-start; }
  .page-hero-btns .btn { width: 100%; justify-content: center; }
  .hero-btns .btn { font-size: 0.8rem; padding: 10px 18px; }
  .nav-actions .btn-login { display: none; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--bg-card2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* --- Animations --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp 0.5s ease forwards; }
.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeInUp; animation-duration: 0.5s; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeInUp; animation-duration: 0.5s; }

/* --- Esports specific --- */
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.game-tag { background: var(--bg-card2); border: 1px solid var(--border); color: var(--text-light); font-size: 0.8rem; padding: 5px 14px; border-radius: 20px; transition: all var(--transition); cursor: pointer; }
.game-tag:hover, .game-tag.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* --- Promotions page hero banner --- */
.promos-hero-banner {
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1b 50%, #1e1e1f 100%);
  padding: 70px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.promos-hero-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,78,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.promos-hero-banner::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(248,140,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 560px) {
  .promos-hero-banner { padding: 48px 20px; }
}

/* --- Steps --- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
.step-card { text-align: center; padding: 28px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); position: relative; }
.step-number { width: 48px; height: 48px; background: var(--primary-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; color: #fff; margin: 0 auto 16px; }
.step-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 0.83rem; color: var(--text-muted); margin: 0; }
