/* GT99 - Global Stylesheet */
/* Design System: Dark premium casino theme with gold accents */
/* Competitor skeleton: aggregation+distribution homepage, heavy footer, card-based nav */

:root {
  --color-primary: #e8b830;
  --color-primary-dark: #c9a227;
  --color-primary-light: #f0d060;
  --color-secondary: #4a90d9;
  --color-accent: #50c878;
  --color-danger: #e07050;
  --color-purple: #b060d0;
  --color-bg-dark: #0d0d2b;
  --color-bg-section: #111133;
  --color-bg-card: #1a1a3e;
  --color-bg-card-hover: #222255;
  --color-bg-light: #f5f5f0;
  --color-text: #e0e4ec;
  --color-text-muted: #8890a0;
  --color-text-dark: #1a1a2e;
  --color-border: rgba(232,184,48,0.15);
  --color-border-light: rgba(255,255,255,0.08);
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-bn: "Noto Sans Bengali", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-light: 0 2px 12px rgba(0,0,0,0.1);
  --max-width: 1200px;
  --header-height: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-bn);
  background: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-light); }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
  background: rgba(13,13,43,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.logo { display: flex; align-items: center; gap: 8px; }
.logo svg, .logo img { height: 44px; width: auto; max-width: 160px; }

.main-nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
.main-nav a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s, background 0.2s;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-primary);
  background: rgba(232,184,48,0.08);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-register {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-text-dark);
  border-color: var(--color-primary);
}
.btn-register:hover {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: var(--color-text-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,184,48,0.3);
}
.btn-login {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-login:hover {
  background: rgba(232,184,48,0.1);
  color: var(--color-primary-light);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO / BANNER ===== */
.hero-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.hero-banner img, .hero-banner svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== NEWS TICKER (competitor: breaking news marquee) ===== */
.news-ticker {
  background: var(--color-bg-section);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
  overflow: hidden;
}
.news-ticker-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ticker-label {
  background: var(--color-primary);
  color: var(--color-text-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.ticker-content {
  overflow: hidden;
  flex: 1;
  position: relative;
}
.ticker-scroll {
  display: flex;
  gap: 40px;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}
.ticker-scroll a {
  color: var(--color-text-muted);
  font-size: 14px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.ticker-scroll a:hover { color: var(--color-primary); }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTION SYSTEM ===== */
.section { padding: 60px 0; }
.section-dark { background: var(--color-bg-dark); }
.section-mid { background: var(--color-bg-section); }
.section-gradient {
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-section) 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.section-title p {
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.section-title .accent-line {
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== SHORTCUT CARDS (competitor: service blocks) ===== */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shortcut-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.shortcut-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}
.shortcut-card .card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shortcut-card h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}
.shortcut-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== CATEGORY ENTRY GRID (competitor: game category blocks) ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.category-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.category-card .card-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.category-card .card-body {
  padding: 20px;
}
.category-card h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}
.category-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.category-card .card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
}

/* ===== CONTENT FEED (competitor: article slider) ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.article-card .card-thumb {
  height: 200px;
  background: var(--color-bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.article-card .card-thumb .date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: var(--color-text-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.article-card .card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card h3 {
  font-size: 18px;
  word-break: break-word;
  overflow-wrap: break-word;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}
.article-card .excerpt {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
.article-card .read-more {
  margin-top: 12px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
}

/* ===== LONGFORM CONTENT ===== */
.longform-content {
  max-width: 900px;
  word-break: break-word;
  overflow-wrap: break-word;
  margin: 0 auto;
  padding: 40px 20px;
}
.longform-content h2 {
  font-size: 26px;
  color: #fff;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}
.longform-content h3 {
  font-size: 20px;
  color: var(--color-primary);
  margin: 28px 0 12px;
}
.longform-content p {
  margin-bottom: 16px;
  color: var(--color-text);
  line-height: 1.8;
}
.longform-content ul, .longform-content ol {
  margin: 16px 0 16px 24px;
}
.longform-content li {
  margin-bottom: 8px;
  color: var(--color-text);
  line-height: 1.7;
  list-style: disc;
}
.longform-content ol li { list-style: decimal; }
.longform-content a { color: var(--color-primary); text-decoration: underline; }
.longform-content a:hover { color: var(--color-primary-light); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-bg-card);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-bn);
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-question .toggle-icon {
  font-size: 20px;
  transition: transform 0.3s;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-question .toggle-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 18px;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.faq-answer-inner a { color: var(--color-primary); }

/* ===== CTA BLOCK ===== */
.cta-block {
  background: linear-gradient(135deg, var(--color-bg-section) 0%, #1a1a4e 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.cta-block h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 16px;
}
.cta-block p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-block .btn { padding: 14px 36px; font-size: 16px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 16px 0;
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: 14px;
  color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 8px; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 48px 0 32px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-section), var(--color-bg-dark));
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.page-hero p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FOOTER (heavy, competitor-mapped) ===== */
.site-footer {
  background: #080820;
  border-top: 1px solid var(--color-border);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand .footer-logo { margin-bottom: 16px; }
.footer-brand .footer-logo svg, .footer-brand .footer-logo img {
  height: 40px; width: auto;
}
.footer-brand p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: var(--color-text-muted);
  font-size: 14px;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col ul li a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}
.footer-contact li {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer-contact li strong { color: var(--color-text); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
}
.footer-bottom a { color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-primary); }

/* ===== INNER PAGE LAYOUTS ===== */
.page-content { padding: 40px 0 60px; }
.content-wrapper { max-width: 900px; margin: 0 auto; }

/* Archive / Listing style for news, category pages */
.listing-header {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
}
.listing-header h1 {
  font-size: 32px;
  color: #fff;
  font-weight: 800;
}

/* Steps list (for download page) */
.steps-list { counter-reset: step; }
.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}
.step-content h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 6px;
}
.step-content p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Bonus cards */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.bonus-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.bonus-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.bonus-card h3 {
  color: var(--color-primary);
  font-size: 20px;
  margin-bottom: 12px;
}
.bonus-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Related links block */
.related-links {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}
.related-links h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
}
.related-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.related-links-grid a {
  display: block;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.related-links-grid a:hover {
  background: rgba(232,184,48,0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ===== 404 PAGE ===== */
.page-404 {
  text-align: center;
  padding: 100px 20px;
}
.page-404 .error-code {
  font-size: 120px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}
.page-404 h1 {
  font-size: 28px;
  color: #fff;
  margin: 20px 0 16px;
}
.page-404 p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(13,13,43,0.98);
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    z-index: 999;
  }
  .main-nav.active a { padding: 12px 16px; width: 100%; }
  .menu-toggle { display: block; }
  .shortcut-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-actions .btn { padding: 8px 16px; font-size: 12px; }
  .logo svg, .logo img { height: 36px; }
  .page-hero h1 { font-size: 26px; }
}

@media (max-width: 768px) {
  .shortcut-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .cta-block { padding: 32px 20px; }
  .cta-block h2 { font-size: 22px; }
  .longform-content h2 { font-size: 22px; }
  .bonus-grid { grid-template-columns: 1fr; }
  .step-item { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .header-actions .btn { padding: 7px 12px; font-size: 11px; }
}
