/* assets/css/style.css - DmFirst Professional Luxury Gaming Design System */

:root {
  --primary-gold: #f3d41d;
  --secondary-gold: #e39024;
  --gold-gradient: linear-gradient(180deg, #f3d41d, #e39024);
  --gold-glow: 0 3px 15px rgba(243, 212, 29, 0.35);
  
  --primary-green: #0cc551;
  --secondary-green: #088538;
  --green-gradient: linear-gradient(180deg, #0cc551, #088538);
  --green-glow: 0 4px 18px rgba(12, 197, 81, 0.4);

  --bg-dark: #070a0e;
  --bg-surface: #0c1219;
  --bg-surface-elevated: #111a24;
  --bg-card: rgba(14, 21, 30, 0.85);
  --bg-card-hover: rgba(20, 30, 44, 0.95);
  
  --border-gold: rgba(243, 212, 29, 0.25);
  --border-green: rgba(12, 197, 81, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #f3d41d;
  --text-green: #0cc551;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(243, 212, 29, 0.035) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(12, 197, 81, 0.04) 0%, transparent 45%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-narrow {
  max-width: 860px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.gradient-text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-green {
  background: var(--green-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 0.98rem;
  border-radius: var(--radius-md);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #111;
  box-shadow: var(--gold-glow);
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(243, 212, 29, 0.45);
  color: #000;
}

.btn-green {
  background: var(--green-gradient);
  color: #ffffff;
  box-shadow: var(--green-glow);
  font-weight: 700;
}

.btn-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(12, 197, 81, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  border: 1px solid var(--border-subtle);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

.btn-pulse {
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(12, 197, 81, 0.6); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(12, 197, 81, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(12, 197, 81, 0); }
}

/* FontAwesome and Icon Rendering Guarantee */
.fa, .fas, .fa-solid, .far, .fa-regular, .fab, .fa-brands {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome", sans-serif !important;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.ri, [class^="ri-"], [class*=" ri-"] {
  font-family: 'remixicon' !important;
  font-style: normal;
  display: inline-block;
  line-height: 1;
}

/* Icon Badges (Glossy & Glowing) */
.icon-badge-gold {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(243, 212, 29, 0.2), rgba(243, 212, 29, 0.04));
  border: 1px solid rgba(243, 212, 29, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 1.3rem;
  box-shadow: 0 0 16px rgba(243, 212, 29, 0.18);
  flex-shrink: 0;
  margin-bottom: 0.85rem;
}

.icon-badge-green {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(12, 197, 81, 0.2), rgba(12, 197, 81, 0.04));
  border: 1px solid rgba(12, 197, 81, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.3rem;
  box-shadow: 0 0 16px rgba(12, 197, 81, 0.18);
  flex-shrink: 0;
  margin-bottom: 0.85rem;
}

/* Hero Section Enhancements */
.hero-wrapper {
  position: relative;
  margin-bottom: 2.5rem;
}

.hero-ambient-glow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 350px;
  background: radial-gradient(circle, rgba(12, 197, 81, 0.08) 0%, rgba(243, 212, 29, 0.05) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 23, 34, 0.85);
  border: 1px solid rgba(243, 212, 29, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: #f1f5f9;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-green);
  box-shadow: 0 0 8px var(--primary-green);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-main-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-app-title-bar {
  background: var(--green-gradient);
  color: #ffffff;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 6px 25px rgba(12, 197, 81, 0.45);
  letter-spacing: 0.5px;
  margin: 2rem 0 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* App Logo Centered Badge */
.app-logo-badge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1.75rem auto;
  text-align: center;
}

.app-logo-box {
  width: 144px;
  height: 144px;
  border-radius: 26px;
  background: radial-gradient(circle at 30% 30%, #0d1722, #060a0f);
  border: 2px solid rgba(12, 197, 81, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 30px rgba(12, 197, 81, 0.3);
  margin-bottom: 1.4rem;
  transition: var(--transition);
}

.app-logo-box:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(12, 197, 81, 0.8);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 40px rgba(12, 197, 81, 0.5);
}

.app-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.btn-hero-download {
  padding: 0.9rem 3.25rem !important;
  font-weight: 800 !important;
  font-size: 1.18rem !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 25px rgba(12, 197, 81, 0.5) !important;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-hero-download:hover {
  box-shadow: 0 8px 30px rgba(12, 197, 81, 0.7) !important;
}

/* Full Width Section Promotional Strips */
.full-width-promo-strip {
  margin: 2.5rem 0;
  background: linear-gradient(135deg, #0e1a26, #070d14);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.full-width-promo-strip-green {
  border-color: var(--border-green);
  background: linear-gradient(135deg, #091722, #060f17);
}

.promo-strip-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.promo-strip-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
  position: relative;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.glass-card-gold {
  border-color: var(--border-gold);
  box-shadow: 0 2px 14px rgba(243, 212, 29, 0.08);
}

.glass-card-green {
  border-color: var(--border-green);
  box-shadow: 0 2px 14px rgba(12, 197, 81, 0.08);
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 14, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}

.header-logo {
  display: inline-flex;
  align-items: center;
}

.header-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-gold);
  background: rgba(243, 212, 29, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 1.1rem;
}

/* Marquee Bar (Clickable Notice Dialog Trigger) */
.announcement-bar {
  background: linear-gradient(90deg, #091018, #0f1a26, #091018);
  border-bottom: 1px solid rgba(243, 212, 29, 0.22);
  padding: 0.42rem 0;
  font-size: 0.82rem;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  position: relative;
  z-index: 999;
  transition: background 0.25s ease, border-color 0.25s ease;
  user-select: none;
}

.announcement-bar:hover {
  background: linear-gradient(90deg, #0e1824, #152538, #0e1824);
  border-bottom-color: rgba(243, 212, 29, 0.45);
}

.announcement-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 0.85rem;
  gap: 0.6rem;
}

.announcement-label {
  background: var(--gold-gradient);
  color: #111;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(243, 212, 29, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.announcement-label:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(243, 212, 29, 0.55);
}

.marquee-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee-scroll 24s linear infinite;
  font-weight: 500;
  color: #f1f5f9;
}

.marquee-track:hover .marquee-content,
.announcement-bar:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.announcement-click-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 0.8rem;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.announcement-bar:hover .announcement-click-hint {
  transform: translateX(3px);
  opacity: 1;
}

.header-notice-btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.88rem;
  box-shadow: var(--green-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Notice Modal Specific Styles */
.notice-modal-card {
  max-width: 520px !important;
  width: 100%;
  border: 1px solid rgba(243, 212, 29, 0.45) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.85), 0 0 30px rgba(243, 212, 29, 0.2) !important;
  background: radial-gradient(circle at 10% 10%, #152232, #0c141e) !important;
}

.notice-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.notice-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-gradient);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--gold-glow);
  flex-shrink: 0;
}

.notice-alert-box {
  background: rgba(243, 212, 29, 0.08);
  border-left: 4px solid var(--primary-gold);
  padding: 0.9rem 1.15rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.25rem;
}

.notice-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.notice-point-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.notice-invite-box {
  background: #070c12;
  border: 1px dashed rgba(243, 212, 29, 0.45);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.notice-modal-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 480px) {
  .notice-points-grid {
    grid-template-columns: 1fr;
  }
}

/* Tables System */
.custom-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background: #0f1823;
  color: var(--primary-gold);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-gold);
  white-space: nowrap;
}

.custom-table td {
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-subtle);
  color: #e2e8f0;
}

.custom-table tr:hover td {
  background: rgba(243, 212, 29, 0.04);
}

.custom-table .highlight-row td {
  background: rgba(243, 212, 29, 0.08);
  font-weight: 700;
  color: #fff;
}

/* Promo Image Card */
.promo-showcase-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.promo-img-box {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  border: 1px solid rgba(243, 212, 29, 0.3);
  cursor: pointer;
}

.promo-img-box img {
  width: 100%;
  transition: transform 0.3s ease;
}

.promo-img-box:hover img {
  transform: scale(1.02);
}

/* Table of Contents */
.toc-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.75rem 0;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.toc-item a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.toc-item a:hover {
  color: var(--primary-gold);
  background: rgba(243, 212, 29, 0.06);
  border-color: rgba(243, 212, 29, 0.15);
  transform: translateX(2px);
}

/* Step Guides Grid (6 Cards) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(243, 212, 29, 0.3);
  transform: translateY(-2px);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-card ol, .step-card ul {
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-left: 1.1rem;
  line-height: 1.5;
}

.step-card ol { list-style: decimal; }
.step-card ul { list-style: disc; }

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq-header i {
  transition: transform 0.25s ease;
  color: var(--primary-gold);
  font-size: 0.85rem;
}

.faq-item.active .faq-header i {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

.faq-item.active .faq-body {
  padding-bottom: 1rem;
}

/* Rating Widget */
.rating-widget-card {
  background: #0c121a;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  max-width: 480px;
  margin: 2.5rem auto;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.star-rating-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 1.6rem;
  color: #334155;
  cursor: pointer;
  margin: 0.75rem 0;
}

.star-rating-box i {
  transition: var(--transition);
}

.star-rating-box i.active, .star-rating-box i.hovered {
  color: #f59e0b;
}

/* Footer */
.site-footer {
  background: #04070a;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 38px;
  margin-bottom: 0.75rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* Modals System */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.custom-modal-backdrop.open {
  display: flex;
  opacity: 1;
  animation: modalBackdropFadeIn 0.25s ease forwards;
}

@keyframes modalBackdropFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.custom-modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.85), 0 0 30px rgba(243, 212, 29, 0.15);
  transform: scale(0.92) translateY(16px);
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalPopIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ef4444;
  transform: rotate(90deg);
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

/* Badges */
.badge-hot { background: #dc2626; color: #fff; padding: 0.15rem 0.45rem; border-radius: 3px; font-size: 0.7rem; font-weight: 700; }
.badge-jackpot { background: var(--gold-gradient); color: #111; padding: 0.15rem 0.45rem; border-radius: 3px; font-size: 0.7rem; font-weight: 800; }
.badge-new { background: var(--green-gradient); color: #fff; padding: 0.15rem 0.45rem; border-radius: 3px; font-size: 0.7rem; font-weight: 700; }
.badge-top { background: #7c3aed; color: #fff; padding: 0.15rem 0.45rem; border-radius: 3px; font-size: 0.7rem; }
.badge-vip { background: #db2777; color: #fff; padding: 0.15rem 0.45rem; border-radius: 3px; font-size: 0.7rem; }

/* Responsive Media Queries (Mobile First & Tablet System) */
@media (max-width: 992px) {
  .hero-main-title {
    font-size: 2.2rem;
  }
  .app-logo-badge-container {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.2rem 0;
  }
  .header-inner {
    padding: 0.5rem 0;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    gap: 0.75rem;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .header-actions .btn-login-text {
    display: none;
  }
  .promo-showcase-card {
    grid-template-columns: 1fr;
  }
  .hero-main-title {
    font-size: 1.85rem;
  }
  .hero-trust-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .full-width-promo-strip {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }
  .full-width-promo-strip .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .hero-main-title {
    font-size: 1.55rem;
  }
  .hero-app-title-bar {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }
  .app-logo-box {
    width: 90px;
    height: 90px;
  }
  .app-logo-box img {
    height: 38px;
  }
  .btn-hero-download {
    font-size: 0.95rem;
    padding: 0.7rem 1.4rem;
  }
  .custom-table th, .custom-table td {
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
  }
  .glass-card {
    padding: 1rem;
  }
  .announcement-bar {
    font-size: 0.75rem;
  }
  .announcement-label {
    padding: 0.18rem 0.5rem;
    font-size: 0.68rem;
  }
  .header-logo img {
    height: 32px;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .header-actions .btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
  .custom-modal {
    padding: 1.2rem 1rem;
    border-radius: var(--radius-md);
  }
  .notice-modal-header {
    gap: 0.75rem;
  }
  .notice-icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
}

@media (max-width: 360px) {
  .hero-main-title {
    font-size: 1.35rem;
  }
  .btn-hero-download {
    width: 100%;
    font-size: 0.88rem;
  }
  .header-actions .btn {
    padding: 0.25rem 0.45rem;
    font-size: 0.75rem;
  }
}
