/* ===================================================
   GANA777 — gana-777.gt — Bespoke stylesheet
   Palette: blue #007bff · navy #081050 · gold #ffc107
            green #28a745 · red #dc3545
   =================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #081050;
  color: #e8eaf6;
  line-height: 1.65;
  min-width: 320px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #4db3ff; text-decoration: none; }
a:hover { color: #ffc107; }
ul, ol { padding-left: 1.4rem; }
table { border-collapse: collapse; width: 100%; }

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #081050;
  border-bottom: 2px solid #007bff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Wordmark */
.wordmark {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}
.wordmark-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  line-height: 1;
}
.wordmark-text span { color: #ffc107; }

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: .1rem;
  flex: 1;
}
.desktop-nav a {
  color: #c5cae9;
  font-size: .875rem;
  font-weight: 600;
  padding: .35rem .7rem;
  border-radius: 5px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a.active { color: #fff; background: rgba(0,123,255,.25); }
.desktop-nav a.live-dot::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #28a745;
  margin-right: .35rem;
  vertical-align: middle;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; }
  50% { opacity:.4; }
}

/* Desktop CTA / lang */
.header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  overflow: hidden;
  font-size: .8rem;
  font-weight: 700;
}
.lang-switch a {
  padding: .3rem .55rem;
  color: #9fa8da;
  background: transparent;
}
.lang-switch a.active { background: #007bff; color: #fff; }
.lang-switch a:hover:not(.active) { background: rgba(0,123,255,.2); color: #fff; }

.btn-login {
  background: transparent;
  border: 1.5px solid #007bff;
  color: #4db3ff;
  border-radius: 6px;
  padding: .35rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.btn-login:hover { background: #007bff; color: #fff; }

.btn-register {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #081050;
  border: none;
  border-radius: 6px;
  padding: .4rem 1.1rem;
  font-size: .85rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .02em;
  transition: filter .15s, transform .1s;
  box-shadow: 0 2px 8px rgba(255,193,7,.3);
}
.btn-register:hover { filter: brightness(1.1); transform: translateY(-1px); color: #081050; }

/* Burger button */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
  color: #fff;
}
.burger-btn svg { display: block; width: 28px; height: 28px; fill: currentColor; }

/* ===================================================
   MOBILE NAV (slide-down drawer)
   =================================================== */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #0a1563;
  border-top: 1px solid rgba(0,123,255,.3);
  padding: .75rem 1.25rem 1rem;
  gap: .1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #c5cae9;
  font-size: .95rem;
  font-weight: 600;
  padding: .55rem .5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: block;
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { color: #ffc107; }
.mobile-nav a.live-dot::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #28a745;
  margin-right: .4rem;
  vertical-align: middle;
  animation: pulse 1.4s infinite;
}
.mobile-nav-divider { height: 1px; background: rgba(0,123,255,.2); margin: .5rem 0; }
.mobile-lang-switch {
  display: flex;
  gap: .5rem;
  padding: .4rem .5rem;
}
.mobile-lang-switch a {
  border: none;
  background: rgba(0,123,255,.2);
  border-radius: 4px;
  padding: .25rem .7rem;
  font-size: .85rem;
  font-weight: 700;
  color: #9fa8da;
}
.mobile-lang-switch a.active { background: #007bff; color: #fff; }
.mobile-nav-cta {
  display: flex;
  gap: .5rem;
  padding: .5rem .5rem 0;
}
.mobile-nav-cta .btn-login,
.mobile-nav-cta .btn-register { flex: 1; text-align: center; }

/* --- Responsive breakpoint --- */
@media (max-width: 860px) {
  .desktop-nav, .header-actions { display: none !important; }
  .burger-btn { display: flex; }
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: #081050;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero-sports.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: .45;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,16,80,.92) 40%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  width: 100%;
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: #28a745;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.hero-777 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  color: #ffc107;
  line-height: 1;
  letter-spacing: -.02em;
  text-shadow: 0 2px 24px rgba(255,193,7,.4);
  margin-bottom: .4rem;
}
.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.4rem;
  max-width: 500px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.hero-badge {
  background: rgba(0,123,255,.25);
  border: 1px solid rgba(0,123,255,.5);
  border-radius: 20px;
  padding: .25rem .75rem;
  font-size: .8rem;
  font-weight: 600;
  color: #90caf9;
}
.hero-badge.live {
  background: rgba(40,167,69,.2);
  border-color: rgba(40,167,69,.5);
  color: #69f0ae;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.hero-cta .btn-register { font-size: 1rem; padding: .65rem 1.75rem; }
.hero-cta .btn-login { font-size: 1rem; padding: .65rem 1.5rem; }
.hero-bonus-tag {
  font-size: .8rem;
  color: #ffc107;
  font-weight: 600;
}

/* ===================================================
   SECTION UTILITIES
   =================================================== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.3em;
  background: #ffc107;
  border-radius: 2px;
  flex-shrink: 0;
}
.section-divider {
  border: none;
  border-top: 1px solid rgba(0,123,255,.2);
  margin: 0 1.25rem;
}

/* ===================================================
   CATEGORY CHIPS
   =================================================== */
.chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.5rem;
}
.chip {
  background: rgba(0,123,255,.15);
  border: 1px solid rgba(0,123,255,.35);
  border-radius: 20px;
  padding: .3rem .85rem;
  font-size: .82rem;
  font-weight: 700;
  color: #90caf9;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover, .chip.active {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

/* ===================================================
   GAME GRID
   =================================================== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.game-card {
  background: #0d1f6e;
  border: 1px solid rgba(0,123,255,.2);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,123,255,.3);
  border-color: #007bff;
}
.game-card img {
  width: 100%;
  aspect-ratio: 450/428;
  object-fit: cover;
}
.game-card-name {
  padding: .5rem .7rem;
  font-size: .78rem;
  font-weight: 700;
  color: #c5cae9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* ===================================================
   PROMO SECTION CARDS
   =================================================== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.promo-card {
  background: #0d1f6e;
  border: 1px solid rgba(0,123,255,.2);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.promo-card img {
  width: 100%;
  aspect-ratio: 400/500;
  object-fit: cover;
}
.promo-card-body { padding: .9rem 1rem 1rem; }
.promo-card-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffc107;
  margin-bottom: .35rem;
}
.promo-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .4rem;
}
.promo-card-desc { font-size: .82rem; color: #9fa8da; }
.promo-card a {
  display: inline-block;
  margin-top: .65rem;
  font-size: .8rem;
  font-weight: 700;
  color: #4db3ff;
}
.promo-card a:hover { color: #ffc107; }

/* ===================================================
   LIVE ODDS TABLE
   =================================================== */
.odds-table-wrap {
  background: #0a1563;
  border: 1px solid rgba(0,123,255,.25);
  border-radius: 10px;
  overflow: hidden;
}
.odds-table-head {
  background: rgba(0,123,255,.15);
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 700;
  color: #90caf9;
}
.odds-dot { width:8px; height:8px; border-radius:50%; background:#28a745; animation:pulse 1.4s infinite; flex-shrink:0; }
.odds-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: .5rem;
  align-items: center;
  padding: .6rem 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .85rem;
}
.odds-row:hover { background: rgba(0,123,255,.08); }
.odds-match { color: #e8eaf6; font-weight: 600; }
.odds-sport { color: #9fa8da; font-size: .75rem; }
.odds-val {
  background: rgba(0,123,255,.2);
  border: 1px solid rgba(0,123,255,.35);
  border-radius: 5px;
  padding: .25rem .5rem;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-align: center;
  min-width: 46px;
  cursor: pointer;
  transition: background .12s;
}
.odds-val:hover { background: #007bff; }
.odds-label { font-size: .72rem; color: #9fa8da; text-align: center; }

/* ===================================================
   PAYMENT LOGOS STRIP
   =================================================== */
.payment-strip {
  background: #0a1563;
  border-top: 1px solid rgba(0,123,255,.2);
  border-bottom: 1px solid rgba(0,123,255,.2);
}
.payment-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  justify-content: center;
}
.pay-logo-text {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 700;
  color: #9fa8da;
  white-space: nowrap;
}
.pay-logo-text span {
  display: inline-block;
  padding: .2rem .55rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  font-weight: 800;
  color: #c5cae9;
  font-size: .78rem;
}

/* ===================================================
   APP DOWNLOAD BANNER
   =================================================== */
.app-banner {
  background: linear-gradient(135deg, #0a1d6b 0%, #0d2680 50%, #0a1d6b 100%);
  border-top: 2px solid rgba(0,123,255,.3);
  border-bottom: 2px solid rgba(0,123,255,.3);
}
.app-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.app-banner-text { flex: 1; min-width: 200px; }
.app-banner-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #28a745;
  margin-bottom: .4rem;
}
.app-banner-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .4rem;
}
.app-banner-sub { font-size: .88rem; color: #9fa8da; }
.app-banner-img img { width: 140px; height: auto; }
.app-banner-cta {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* ===================================================
   BREADCRUMB
   =================================================== */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: .75rem 1.25rem;
  font-size: .8rem;
  color: #9fa8da;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.breadcrumb a { color: #4db3ff; }
.breadcrumb .sep { color: #3d5afe; }

/* ===================================================
   SEO ARTICLE BLOCK
   =================================================== */
.seo-block {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  color: #c5cae9;
  font-size: .96rem;
  line-height: 1.75;
}
.seo-block h1 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.1rem;
  line-height: 1.25;
}
.seo-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid rgba(0,123,255,.25);
}
.seo-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #90caf9;
  margin: 1.5rem 0 .5rem;
}
.seo-block p { margin-bottom: 1rem; }
.seo-block ul, .seo-block ol { margin-bottom: 1rem; }
.seo-block li { margin-bottom: .35rem; }
.seo-block strong { color: #fff; }
.seo-block em { color: #ffc107; font-style: italic; }
.seo-block a { color: #4db3ff; text-decoration: underline; }
.seo-block a:hover { color: #ffc107; }

/* Responsive tables */
.seo-block table {
  table-layout: fixed;
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #0a1563;
  border: 1px solid rgba(0,123,255,.25);
}
.seo-block th {
  background: rgba(0,123,255,.2);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: .65rem .8rem;
  text-align: left;
  word-break: break-word;
}
.seo-block td {
  padding: .6rem .8rem;
  font-size: .88rem;
  color: #c5cae9;
  border-top: 1px solid rgba(255,255,255,.07);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.seo-block tr:hover td { background: rgba(0,123,255,.07); }

@media (max-width: 560px) {
  .seo-block th, .seo-block td {
    font-size: .78rem;
    padding: .45rem .5rem;
  }
}

/* FAQ accordion */
.faq-item { border-bottom: 1px solid rgba(0,123,255,.15); }
.faq-item h3 {
  margin: 0;
  border-bottom: none;
  padding: 0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  color: #90caf9;
  font-size: .95rem;
  font-weight: 700;
  padding: 1rem 2.5rem 1rem 0;
  cursor: pointer;
  position: relative;
  font-family: inherit;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #007bff;
  line-height: 1;
  transition: transform .2s;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding-bottom: 1rem; }
.faq-item.open .faq-answer { display: block; }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: #060e3a;
  border-top: 2px solid #007bff;
  padding: 2.5rem 1.25rem 1.5rem;
  color: #9fa8da;
  font-size: .83rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.footer-col li a { color: #9fa8da; }
.footer-col li a:hover { color: #ffc107; }

.footer-wordmark {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
}
.footer-wordmark img { width: 38px; height: 38px; border-radius: 6px; }
.footer-wordmark-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.footer-wordmark-text span { color: #ffc107; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(0,123,255,.2);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-copyright { line-height: 1.6; }
.footer-responsible {
  font-size: .8rem;
  color: #7986cb;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #dc3545;
  color: #dc3545;
  font-size: .75rem;
  font-weight: 900;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===================================================
   INTERIOR PAGE BANNER
   =================================================== */
.page-banner {
  background: linear-gradient(135deg, #0a1d6b 0%, #0d2b9e 50%, #081050 100%);
  border-bottom: 2px solid rgba(0,123,255,.35);
  padding: 2.5rem 1.25rem 2rem;
}
.page-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.page-banner-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #ffc107;
  margin-bottom: .5rem;
}
.page-banner-title {
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  max-width: 700px;
  line-height: 1.25;
}

/* ===================================================
   RESPONSIVE UTILITIES
   =================================================== */
@media (max-width: 560px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-777 { font-size: 3.5rem; }
  .odds-row { grid-template-columns: 1fr auto; gap: .3rem; }
  .odds-sport, .odds-label { display: none; }
}
@media (max-width: 400px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .promo-grid { grid-template-columns: 1fr; }
}
