/* ============================================
   BitCasino — Clean Rebuild
   Single CSS file, zero frameworks
   ============================================ */

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

:root {
  --bg:        #1a1a1a;
  --bg-light:  #242424;
  --bg-card:   #2a2a2a;
  --bg-input:  #141414;
  --border:    #3a3a3a;
  --text:      #d4d4d4;
  --text-dim:  #888;
  --text-bright: #fff;
  --accent:    #4a9eff;
  --green:     #2ecc71;
  --red:       #e74c3c;
  --blue:      #3498db;
  --orange:    #ff5400;
  --yellow:    #f1c40f;
  --magenta:   #9b59b6;
  --radius:    6px;
  --shadow:    0 4px 20px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
  --font:      system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.hidden { display: none !important; }

.link { color: var(--accent); cursor: pointer; }
.link:hover { text-decoration: underline; }

/* --- Loading Overlay --- */
.loading-overlay {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s;
}
.loading-overlay.fade-out { opacity: 0; pointer-events: none; }
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay p { margin-top: 12px; color: var(--text-dim); }

/* --- Header --- */
.header {
  background: #111;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand { display: flex; align-items: center; gap: 8px; }
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Select */
.lang-select { position: relative; }
.lang-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 5px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-btn:hover { border-color: #555; }
.caret {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-dim);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #222;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 160px;
  z-index: 200;
  max-height: 300px;
  overflow-y: auto;
}
.lang-dropdown.open { display: block; }
.lang-dropdown li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-dropdown li:hover { background: #333; }

/* Flags (simple colored circles as placeholders) */
.flag {
  display: inline-block;
  width: 16px; height: 12px;
  border-radius: 2px;
  background: #555;
}
.flag-en { background: #00247d; }
.flag-al { background: #e41e20; }
.flag-it { background: #009246; }
.flag-de { background: #000; }
.flag-fr { background: #002395; }
.flag-es { background: #c60b1e; }
.flag-pt { background: #006600; }
.flag-tr { background: #e30a17; }
.flag-el { background: #0d5eaf; }
.flag-bg { background: #00966e; }
.flag-br { background: #009c3b; }
.flag-sb { background: #c6363c; }

/* Timezone */
.timezone-select select {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 5px 8px;
  border-radius: var(--radius);
  font-size: 13px;
}

.server-time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
  min-width: 70px;
}

/* Header Bottom / Auth */
.header-bottom {
  border-top: 1px solid var(--border);
}
.header-bottom .container {
  padding-top: 8px;
  padding-bottom: 8px;
}

.auth-section { display: flex; align-items: center; }

.login-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.login-form input[type="text"],
.login-form input[type="password"] {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 10px;
  border-radius: var(--radius);
  font-size: 13px;
  width: 150px;
}
.login-form input:focus { border-color: var(--accent); outline: none; }

.remember-me {
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.forgot-link { font-size: 12px; margin-left: 4px; }

.user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.username { font-weight: 700; color: var(--text-bright); }
.balance-display {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
.balance-label { color: var(--text-dim); }
.balance-amount { color: var(--green); font-weight: 700; }
.balance-currency { color: var(--text-dim); font-size: 12px; }

.user-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-card);
  color: var(--text);
  white-space: nowrap;
}
.btn:hover { background: #3a3a3a; text-decoration: none; }
.btn-sm { padding: 4px 10px; font-size: 12px; }

.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #3a8ae6; }

.btn-login { background: var(--green); color: #fff; border-color: var(--green); }
.btn-login:hover { background: #27ae60; }

.btn-register { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-register:hover { background: #e04a00; }

.btn-deposit { background: var(--green); color: #fff; border-color: var(--green); }
.btn-deposit:hover { background: #27ae60; }

.btn-withdraw { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-withdraw:hover { background: #2e86c1; }

.btn-transfer { background: var(--magenta); color: #fff; border-color: var(--magenta); }
.btn-transfer:hover { background: #8e44ad; }

.btn-logout { background: transparent; color: var(--red); border-color: var(--red); }
.btn-logout:hover { background: var(--red); color: #fff; }

.btn-hero {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: #27ae60; }
.btn-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-orange:hover { background: #e04a00; }

.full-width { width: 100%; }

/* --- Main Navigation --- */
.main-nav {
  background: var(--bg-light);
  border-bottom: 2px solid var(--border);
}
.nav-list {
  display: flex;
  gap: 0;
}
.nav-link {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.nav-link:hover {
  color: var(--text-bright);
  text-decoration: none;
}
.nav-link.active { color: var(--text-bright); }
.nav-link.active[data-color="green"]  { border-bottom-color: var(--green); }
.nav-link.active[data-color="blue"]   { border-bottom-color: var(--blue); }
.nav-link.active[data-color="red"]    { border-bottom-color: var(--red); }
.nav-link.active[data-color="yellow"] { border-bottom-color: var(--yellow); }
.nav-link.active[data-color="orange"] { border-bottom-color: var(--orange); }

/* --- Pages (smooth transitions) --- */
.page {
  display: none;
  opacity: 0;
  transform: translateY(12px);
}
.page.active {
  display: block;
  animation: pageIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.page.page-exit {
  display: block;
  animation: pageOut 0.2s ease-out forwards;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pageOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a2a3a, #0d1a2a);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  margin: 20px 0;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-overlay {
  padding: 48px;
  max-width: 600px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 12px;
  line-height: 1.1;
}
.hero p {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-buttons { display: flex; gap: 12px; }

/* Welcome */
.welcome-section {
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.welcome-section h2 {
  font-size: 28px;
  color: var(--text-bright);
  margin-bottom: 8px;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.category-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
img.category-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.category-label {
  padding: 12px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.category-label.green   { background: var(--green); }
.category-label.red     { background: var(--red); }
.category-label.blue    { background: var(--blue); }
.category-label.orange  { background: var(--orange); }
.category-label.yellow  { background: var(--yellow); color: #222; }

/* Info & Mission */
.info-section {
  padding: 24px 0;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-dim);
}
.info-section p { margin-bottom: 8px; }

.mission-section {
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.mission-section h3 {
  font-size: 22px;
  color: var(--text-bright);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Page Headers */
.page-header {
  padding: 48px 32px;
  border-radius: var(--radius);
  margin: 20px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-header h2, .page-header p { position: relative; z-index: 1; }
.page-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.page-header p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.page-header.green  {
  background-image: linear-gradient(135deg, rgba(26,92,42,0.85), rgba(39,174,96,0.75)), url('img/sports.jpg');
}
.page-header.blue {
  background-image: linear-gradient(135deg, rgba(26,58,92,0.85), rgba(52,152,219,0.75)), url('img/casino.jpg');
}
.page-header.red {
  background-image: linear-gradient(135deg, rgba(92,26,26,0.85), rgba(231,76,60,0.75)), url('img/poker.jpg');
}
.page-header.yellow {
  background-image: linear-gradient(135deg, rgba(92,92,26,0.85), rgba(241,196,15,0.75)), url('img/vsports.jpg');
}
.page-header.orange {
  background-image: linear-gradient(135deg, rgba(92,58,26,0.85), rgba(255,84,0,0.75)), url('img/games.jpg');
}

/* Section Content */
.section-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}
.section-content h4 {
  color: var(--text-bright);
  margin-bottom: 12px;
  font-size: 16px;
}
.section-content p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Mock Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.game-tile {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.game-tile:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.game-tile-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  text-align: center;
  padding: 8px;
}
.game-tile .play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.game-tile:hover .play-overlay { opacity: 1; }
.play-btn {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

/* Odds Table */
.odds-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.odds-table th {
  background: var(--bg-input);
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.odds-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
}
.odds-table tr {
  transition: background 0.15s ease;
}
.odds-table tr:hover { background: rgba(255,255,255,0.03); }
.odds-btn {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.odds-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.poker-container p { padding: 16px 0; color: var(--text-dim); }
.poker-info { margin-top: 20px; }
.poker-info h4 { color: var(--text-bright); margin-bottom: 8px; }

/* --- Sidebar --- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  background: #111;
  border-right: 1px solid var(--border);
  z-index: 90;
  padding-top: 80px;
}
.sidebar-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.sidebar-menu a:hover {
  background: var(--bg-card);
  text-decoration: none;
}

/* --- Modals --- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.modal.open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-box {
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  width: 90%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-sm { max-width: 400px; }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 18px; color: var(--text-bright); }
.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.modal-close:hover { color: var(--text-bright); }
.modal-body { padding: 20px; }
.modal-alert { text-align: center; }
.modal-alert p { margin-bottom: 16px; font-size: 15px; }
.alert-buttons { display: flex; justify-content: center; gap: 8px; }

/* --- Forms --- */
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 4px;
  font-weight: 600;
}
.form-row input[type="text"],
.form-row input[type="password"],
.form-row input[type="email"],
.form-row input[type="number"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  transition: border-color var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-row small { font-size: 11px; color: var(--text-dim); }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.radio-group {
  display: flex;
  gap: 16px;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 6px;
  font-weight: 400 !important;
  cursor: pointer;
}

.copy-field {
  display: flex;
  gap: 8px;
}
.copy-field input { flex: 1; }

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.tab {
  padding: 10px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.tab:hover { color: var(--text); }
.tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* --- Payment Methods --- */
.method-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}
.method-btn {
  padding: 10px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.method-btn:hover { border-color: #555; }
.method-btn.active {
  border-color: var(--accent);
  background: rgba(74, 158, 255, 0.1);
  color: var(--accent);
}

.qr-section {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 16px 0;
}
.qr-placeholder {
  width: 150px;
  height: 150px;
  background: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: 700;
  font-size: 24px;
  flex-shrink: 0;
}
.address-box { flex: 1; }
.address-box label { margin-bottom: 4px; display: block; font-size: 13px; color: var(--text-dim); font-weight: 600; }

.deposit-notice, .withdraw-info {
  background: rgba(241, 196, 15, 0.08);
  border: 1px solid rgba(241, 196, 15, 0.2);
  border-radius: var(--radius);
  padding: 12px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.whitelist-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.whitelist-section h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-bright);
  margin-bottom: 4px;
}

/* --- NPS Scale --- */
.nps-scale {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  font-size: 12px;
  color: var(--text-dim);
}
.nps-buttons {
  display: flex;
  gap: 4px;
}
.nps-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-input);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.nps-btn:hover { border-color: var(--accent); }
.nps-btn.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* --- Cookie Notice --- */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  border-top: 1px solid var(--border);
  padding: 12px 0;
  z-index: 200;
}
.cookie-notice .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-notice p { font-size: 13px; color: var(--text-dim); }

/* --- Footer --- */
.footer {
  background: #111;
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 40px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 13px;
}
.footer-links a:hover { color: var(--text); }
.footer-legal {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 20px 0;
  padding: 20px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.age-badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
}
.legal-text p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 8px;
}
.legal-text p:last-child { margin-bottom: 0; }
.legal-text a { color: var(--accent); }

.footer-info {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 36px; }
  .hero-overlay { padding: 32px; }
  .nav-link { padding: 10px 14px; font-size: 12px; }
  .login-form input[type="text"],
  .login-form input[type="password"] { width: 120px; }
}

@media (max-width: 600px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 250px; }
  .hero h1 { font-size: 28px; }
  .hero-overlay { padding: 24px; }
  .hero-buttons { flex-direction: column; }
  .header-top .container { flex-wrap: wrap; gap: 8px; }
  .header-actions { flex-wrap: wrap; }
  .login-form { flex-wrap: wrap; }
  .login-form input[type="text"],
  .login-form input[type="password"] { width: 100%; }
  .nav-list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-link { padding: 10px 12px; font-size: 11px; }
  .qr-section { flex-direction: column; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .nps-scale { flex-wrap: wrap; justify-content: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .user-info, .user-actions { flex-wrap: wrap; }
}
