/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
img { max-width: 100%; display: block; }

/* ===== CSS VARIABLES ===== */
:root {
  /* Primary */
  --primary: #3535f3;
  --primary-dark: #2828cc;
  --primary-light: #4a4aff;

  /* Accent */
  --accent-green: #00e676;
  --accent-green-dark: #00c853;
  --accent-green-light: #69f0ae;

  /* Backgrounds */
  --bg-main: #f0f2f5;
  --bg-white: #ffffff;
  --bg-card: #ffffff;

  /* Text */
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --text-white: #ffffff;

  /* Utility */
  --border: #e5e7eb;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;

  /* Status */
  --danger: #e53935;
  --warning: #ff9800;
  --success: #16a34a;
}

/* ===== TOP ANNOUNCEMENT BAR ===== */
.top-bar {
  background: var(--accent-green);
  color: var(--text-dark);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.top-bar .bell-icon,
.top-bar .bell {
  font-size: 20px;
  margin-right: 12px;
  animation: bellShake 2s infinite;
}
@keyframes bellShake {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(12deg); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(0); }
}
.top-bar .marquee {
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
}
.top-bar .marquee span {
  display: inline-block;
  animation: marqueeScroll 20s linear infinite;
}
@keyframes marqueeScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.top-bar .close-btn {
  background: none;
  color: var(--text-dark);
  font-size: 18px;
  margin-left: 12px;
  opacity: 0.7;
}
.top-bar .close-btn:hover { opacity: 1; }

/* ===== HEADER ===== */
.header {
  background: var(--primary);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo,
.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-left { gap: 32px; }
.header-logo .logo-icon,
.logo .icon {
  width: 32px;
  height: 32px;
  background: var(--text-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--primary);
}
.header-logo .logo-text,
.logo .text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}
.header-logo .logo-text span { font-weight: 400; }
.header-actions,
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-login {
  background: transparent;
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  letter-spacing: 0.5px;
}
.btn-login:hover { opacity: 0.85; }
.btn-register {
  background: var(--accent-green);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 6px;
  transition: background 0.2s;
}
.btn-register:hover { background: var(--accent-green-dark); }

/* ===== MAIN NAV (header) ===== */
.main-nav {
  display: flex;
  gap: 4px;
}
.main-nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  border-radius: 6px;
  transition: all .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.main-nav a.active { color: #fff; font-weight: 700; border-bottom: 2px solid #fff; }

/* ===== FOOTER (shared structure) ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 20px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  padding: 3px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-green); }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.footer-logo .logo-icon,
.footer-logo .fi {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 12px;
}
.footer-logo .logo-text,
.footer-logo .ft {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.payment-methods,
.payment-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}
.payment-icon { font-size: 24px; color: var(--text-muted); }
.payment-text { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.license-info,
.license-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px auto;
  padding: 16px;
  border-radius: var(--radius);
  max-width: 700px;
}
.license-badge {
  width: 80px;
  height: 60px;
  background: #e53935;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  flex-shrink: 0;
}
.license-badge .cga-text,
.license-badge .lt { font-size: 18px; }
.license-badge .cga-sub,
.license-badge .ls { font-size: 7px; font-weight: 400; }
.license-text {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
  flex: 1;
}
.age-badge,
.age-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
}
.age-circle {
  width: 40px;
  height: 40px;
  background: #e53935;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 14px;
}
.age-text {
  font-size: 14px;
  font-weight: 700;
}
.age-text span { color: #e53935; }
.footer-disclaimer,
.footer-disc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 800px;
  margin: 16px auto 0;
}
.footer-copyright,
.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===== COOKIE BAR ===== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: white;
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-bar .btn-ok,
.cookie-bar .btn-approve {
  background: var(--accent-green);
  color: var(--text-dark);
  padding: 8px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}

/* ===== SHARED RESPONSIVE ===== */
@media (max-width: 768px) {
  .header { padding: 10px 12px; }
  .header-logo .logo-text,
  .logo .text { font-size: 18px; }
  .header-logo .logo-icon,
  .logo .icon { width: 28px; height: 28px; font-size: 12px; }
  .btn-login { font-size: 12px; padding: 6px 10px; }
  .btn-register { font-size: 12px; padding: 8px 14px; }
  .main-nav { display: none; }
  .top-bar { font-size: 11px; padding: 6px 10px; }
  .top-bar .bell-icon,
  .top-bar .bell { font-size: 16px; margin-right: 8px; }
  .footer { padding: 24px 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-col h5 { font-size: 12px; margin-bottom: 10px; }
  .footer-col a { font-size: 11px; }
  .cookie-bar { font-size: 11px; padding: 12px 14px; }
  .cookie-bar .btn-ok,
  .cookie-bar .btn-approve { padding: 6px 16px; font-size: 12px; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .logo .text,
  .header-logo .logo-text { font-size: 16px; }
}
