/* ============================================================================
   RESET & BASE
   ========================================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-weight: 400; line-height: 1.6; color: #e7e5e4; background: linear-gradient(180deg, #1c1917 0%, #292524 50%, #0c0a09 100%); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }

/* ============================================================================
   CSS VARIABLES
   ========================================================================= */
:root {
  --primary: #fbbf24;
  --primary-glow: rgba(251, 191, 36, 0.4);
  --secondary: #f59e0b;
  --accent: #fb923c;
  --accent-glow: rgba(251, 146, 60, 0.3);
  --bg-dark: #1c1917;
  --bg-mid: #292524;
  --bg-darkest: #0c0a09;
  --card-bg: rgba(41, 37, 36, 0.7);
  --card-border: rgba(251, 191, 36, 0.2);
  --text-light: #e7e5e4;
  --text-muted: #a8a29e;
  --radius: 8px;
  --transition: 0.2s ease-in-out;
}

/* ============================================================================
   DECORATIONS
   ========================================================================= */
.g4i9-grid-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(251, 191, 36, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(251, 191, 36, 0.03) 1px, transparent 1px); background-size: 50px 50px; pointer-events: none; z-index: 0; }
.g4i9-top-accent { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary)); z-index: 100; }

/* ============================================================================
   LAYOUT CONTAINERS
   ========================================================================= */
.g4i9-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.g4i9-section { padding: 60px 0; position: relative; }
.g4i9-section.g4i9-diagonal::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; background: linear-gradient(3deg, var(--bg-darkest) 50%, transparent 50%); pointer-events: none; }

/* ============================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.g4i9-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; backdrop-filter: blur(12px); background: rgba(28, 25, 23, 0.85); border-bottom: 1px solid var(--card-border); }
.g4i9-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(28, 25, 23, 0.3); z-index: -1; }
.g4i9-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; max-width: 1200px; margin: 0 auto; }
.g4i9-logo { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 24px; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.g4i9-logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.g4i9-nav-links { display: flex; align-items: center; gap: 30px; }
.g4i9-nav-links a { font-size: 15px; font-weight: 500; transition: color var(--transition); }
.g4i9-nav-links a:hover { color: var(--primary); }
.g4i9-age-badge { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #000; padding: 6px 14px; border-radius: 20px; font-weight: 700; font-size: 13px; clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%); }
.g4i9-hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; height: 28px; cursor: pointer; }
.g4i9-hamburger span { display: block; width: 100%; height: 3px; background: var(--primary); transition: var(--transition); }
.g4i9-mobile-menu { display: none; position: fixed; top: 72px; left: 0; width: 100%; background: rgba(28, 25, 23, 0.98); backdrop-filter: blur(12px); padding: 30px 20px; flex-direction: column; gap: 20px; border-bottom: 1px solid var(--card-border); }
.g4i9-mobile-menu.active { display: flex; }

/* ============================================================================
   HERO SECTION
   ========================================================================= */
.g4i9-hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; background: linear-gradient(135deg, #1c1917, #292524, #0c0a09); padding: 120px 20px 80px; }
.g4i9-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 146, 60, 0.1)); animation: g4i9-gradient-shift 8s ease infinite; }
@keyframes g4i9-gradient-shift { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.6; } }
.g4i9-hero-content { position: relative; z-index: 2; max-width: 800px; }
.g4i9-hero-badge { position: absolute; top: 100px; right: 20px; width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #000; border: 3px solid rgba(255, 255, 255, 0.2); }
.g4i9-hero h1 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 56px; line-height: 1.1; margin-bottom: 20px; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.g4i9-hero p { font-size: 20px; color: var(--text-muted); margin-bottom: 40px; }
.g4i9-hero-cta { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.g4i9-hero-disclaimer { font-size: 13px; color: var(--text-muted); margin-top: 30px; }

/* ============================================================================
   BUTTONS
   ========================================================================= */
.g4i9-btn { padding: 14px 32px; border-radius: var(--radius); font-weight: 600; font-size: 16px; transition: all var(--transition); display: inline-block; border: 2px solid var(--primary); }
.g4i9-btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #000; border: none; }
.g4i9-btn-primary:hover { transform: scale(1.01); box-shadow: 0 0 20px var(--primary-glow); }
.g4i9-btn-secondary { background: transparent; color: var(--primary); }
.g4i9-btn-secondary:hover { background: var(--primary); color: #000; transform: scale(1.01); }

/* ============================================================================
   GAME CARDS
   ========================================================================= */
.g4i9-games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
[data-game-card] { background: var(--card-bg); border: 2px solid var(--card-border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); backdrop-filter: blur(8px); }
[data-game-card]:hover { transform: scale(1.01); border-color: var(--primary); }
[data-game-image-wrap] { position: relative; width: 100%; height: 200px; overflow: hidden; background: linear-gradient(135deg, #292524, #1c1917); }
[data-game-image] { width: 100%; height: 100%; object-fit: cover; }
[data-game-image-fallback] { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: var(--primary); background: linear-gradient(135deg, #292524, #1c1917); padding: 20px; text-align: center; }
[data-game-meta] { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 0; }
[data-game-category] { font-size: 12px; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }
[data-game-title] { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 20px; padding: 8px 20px 16px; color: var(--text-light); }
[data-play-demo] { width: calc(100% - 40px); margin: 0 20px 20px; padding: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #000; font-weight: 600; border-radius: var(--radius); transition: all var(--transition); }
[data-play-demo]:hover { transform: scale(1.01); box-shadow: 0 0 20px var(--primary-glow); }

/* ============================================================================
   GAME MODAL
   ========================================================================= */
.g4i9-game-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.g4i9-game-modal.active { display: flex; }
.g4i9-modal-content { background: var(--bg-dark); border: 2px solid var(--card-border); border-radius: var(--radius); width: 100%; max-width: 1200px; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; }
.g4i9-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 30px; border-bottom: 1px solid var(--card-border); gap: 20px; }
.g4i9-modal-header h2 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 24px; color: var(--primary); flex: 1; }
.g4i9-close-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--text-light); transition: color var(--transition); background: transparent; }
.g4i9-close-btn:hover { color: var(--primary); }
.g4i9-game-iframe { width: 100%; height: 600px; border: none; flex: 1; }
.g4i9-demo-unavailable { display: none; padding: 60px 20px; text-align: center; color: var(--text-muted); font-size: 18px; }

/* ============================================================================
   SECTION HEADERS
   ========================================================================= */
.g4i9-section-header { text-align: center; margin-bottom: 50px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.g4i9-section-header h2 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 42px; color: var(--text-light); }
.g4i9-section-header p { font-size: 18px; color: var(--text-muted); max-width: 700px; }

/* ============================================================================
   HOW IT WORKS (TIMELINE)
   ========================================================================= */
.g4i9-timeline { display: flex; flex-direction: column; gap: 40px; max-width: 800px; margin: 0 auto; position: relative; }
.g4i9-timeline::before { content: ''; position: absolute; left: 30px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--primary), var(--accent)); }
.g4i9-timeline-item { display: flex; gap: 30px; align-items: flex-start; position: relative; }
.g4i9-timeline-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; z-index: 2; }
.g4i9-timeline-content { background: var(--card-bg); border: 2px solid var(--card-border); border-radius: var(--radius); padding: 24px; flex: 1; }
.g4i9-timeline-content h3 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 22px; margin-bottom: 10px; color: var(--primary); }
.g4i9-timeline-content p { color: var(--text-muted); }

/* ============================================================================
   WHY CHOOSE US
   ========================================================================= */
.g4i9-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.g4i9-feature-card { background: var(--card-bg); border: 2px solid var(--card-border); border-radius: var(--radius); padding: 30px; text-align: center; transition: all var(--transition); }
.g4i9-feature-card:hover { transform: scale(1.01); border-color: var(--primary); }
.g4i9-feature-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.g4i9-feature-card h3 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 12px; color: var(--text-light); }
.g4i9-feature-card p { color: var(--text-muted); font-size: 15px; }

/* ============================================================================
   TRUST BLOCK
   ========================================================================= */
.g4i9-trust { background: var(--card-bg); border: 2px solid var(--card-border); border-radius: var(--radius); padding: 40px; max-width: 900px; margin: 0 auto; text-align: center; }
.g4i9-trust h3 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 28px; margin-bottom: 20px; color: var(--primary); }
.g4i9-trust ul { list-style: none; display: flex; flex-direction: column; gap: 12px; text-align: left; max-width: 600px; margin: 0 auto 20px; }
.g4i9-trust li { color: var(--text-muted); padding-left: 30px; position: relative; }
.g4i9-trust li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.g4i9-trust-note { font-size: 14px; color: var(--text-muted); margin-top: 20px; }

/* ============================================================================
   CTA BAND
   ========================================================================= */
.g4i9-cta-band { background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 146, 60, 0.15)); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); padding: 60px 20px; text-align: center; }
.g4i9-cta-band h2 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 36px; margin-bottom: 16px; color: var(--text-light); }
.g4i9-cta-band p { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; }

/* ============================================================================
   RESPONSIBLE GAMING
   ========================================================================= */
.g4i9-responsible { text-align: center; max-width: 900px; margin: 0 auto; }
.g4i9-responsible-icon { width: 100px; height: 100px; margin: 0 auto 30px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 50px; }
.g4i9-responsible h2 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 36px; margin-bottom: 20px; color: var(--text-light); }
.g4i9-responsible p { font-size: 18px; color: var(--text-muted); line-height: 1.8; margin-bottom: 30px; }
.g4i9-responsible-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.g4i9-responsible-links a { color: var(--primary); text-decoration: underline; font-weight: 600; transition: color var(--transition); }
.g4i9-responsible-links a:hover { color: var(--accent); }

/* ============================================================================
   FAQ (CHAT STYLE)
   ========================================================================= */
.g4i9-faq { max-width: 900px; margin: 0 auto; }
.g4i9-faq-item { background: var(--card-bg); border: 2px solid var(--card-border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; position: relative; padding-left: 70px; }
.g4i9-faq-item::before { content: 'Q'; position: absolute; left: 20px; top: 24px; width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: #000; }
.g4i9-faq-item h3 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 18px; margin-bottom: 12px; color: var(--text-light); }
.g4i9-faq-item p { color: var(--text-muted); line-height: 1.7; }

/* ============================================================================
   FOOTER (COMPACT)
   ========================================================================= */
.g4i9-footer { background: var(--bg-darkest); border-top: 2px solid var(--card-border); padding: 50px 20px 30px; text-align: center; }
.g4i9-footer-logo { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 28px; color: var(--primary); margin-bottom: 20px; }
.g4i9-footer-badge { width: 120px; height: 120px; margin: 0 auto 30px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 40px; color: #000; border: 4px solid rgba(255, 255, 255, 0.2); }
.g4i9-footer-disclaimer { font-size: 14px; color: var(--text-muted); max-width: 800px; margin: 0 auto 30px; line-height: 1.8; }
.g4i9-footer-links { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.g4i9-footer-links a { color: var(--primary); font-weight: 600; transition: color var(--transition); }
.g4i9-footer-links a:hover { color: var(--accent); }
.g4i9-footer-copyright { font-size: 13px; color: var(--text-muted); }

/* ============================================================================
   AGE VERIFICATION MODAL
   ========================================================================= */
.g4i9-age-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.98); z-index: 3000; align-items: center; justify-content: center; padding: 20px; }
.g4i9-age-modal.active { display: flex; }
.g4i9-age-modal-content { background: var(--bg-dark); border: 3px solid var(--primary); border-radius: var(--radius); padding: 50px 40px; text-align: center; max-width: 500px; }
.g4i9-age-modal-icon { width: 100px; height: 100px; margin: 0 auto 30px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 50px; font-weight: 700; color: #000; }
.g4i9-age-modal h2 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 32px; margin-bottom: 20px; color: var(--text-light); }
.g4i9-age-modal p { font-size: 16px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.7; }
.g4i9-age-modal-buttons { display: flex; gap: 20px; justify-content: center; }

/* ============================================================================
   CATEGORY FILTER
   ========================================================================= */
.g4i9-category-filters { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.g4i9-category-filters button { padding: 10px 24px; background: transparent; border: 2px solid var(--card-border); border-radius: var(--radius); color: var(--text-muted); font-weight: 600; transition: all var(--transition); }
.g4i9-category-filters button:hover, .g4i9-category-filters button.active { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #000; border-color: var(--primary); }

/* ============================================================================
   PAGE BANNER
   ========================================================================= */
.g4i9-page-banner { background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 146, 60, 0.15)); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 20px 30px; text-align: center; margin-bottom: 40px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.g4i9-page-banner p { margin: 0; color: var(--text-light); font-weight: 600; }

/* ============================================================================
   SIMPLE PAGE STYLES
   ========================================================================= */
.g4i9-simple-header { padding: 100px 20px 40px; text-align: center; }
.g4i9-simple-content { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.g4i9-simple-content h1 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 42px; margin-bottom: 30px; color: var(--text-light); }
.g4i9-simple-content h2 { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 28px; margin-top: 40px; margin-bottom: 20px; color: var(--primary); }
.g4i9-simple-content p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }
.g4i9-simple-content ul { color: var(--text-muted); margin-bottom: 20px; padding-left: 30px; line-height: 1.8; }

/* ============================================================================
   RESPONSIVE DESIGN
   ========================================================================= */
@media (max-width: 768px) {
  .g4i9-nav-links { display: none; }
  .g4i9-hamburger { display: flex; }
  .g4i9-hero h1 { font-size: 36px; }
  .g4i9-hero p { font-size: 16px; }
  .g4i9-hero-badge { width: 60px; height: 60px; font-size: 16px; top: 80px; right: 10px; }
  .g4i9-hero-cta { flex-direction: column; }
  .g4i9-section-header h2 { font-size: 32px; }
  .g4i9-games-grid { grid-template-columns: 1fr; }
  .g4i9-timeline::before { left: 20px; }
  .g4i9-timeline-icon { width: 40px; height: 40px; font-size: 20px; }
  .g4i9-features-grid { grid-template-columns: 1fr; }
  .g4i9-footer-links { flex-direction: column; gap: 15px; }
  .g4i9-game-iframe { height: 400px; }
  .g4i9-age-modal-buttons { flex-direction: column; }
  .g4i9-page-banner { flex-direction: column; }
}

@media (max-width: 640px) {
  .g4i9-btn { padding: 12px 24px; font-size: 14px; }
  .g4i9-modal-header { padding: 15px 20px; }
  .g4i9-modal-header h2 { font-size: 18px; }
  .g4i9-game-iframe { height: 300px; }
}