:root{
--primary: #FF9F43;
--secondary: #F76F5E;
--accent: #FFE082;
--bg: #141127;
--surface: #221B3A;
--text-primary: #FFF6EA;
--text-secondary: #D8C4AF;
--font-heading: 'Playfair Display', sans-serif;
--font-body: 'Lato', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background-color: var(--bg); color: var(--text-primary); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; margin-bottom: 1rem; color: var(--accent); }
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; } .text-center { text-align: center; } .full-width { width: 100%; }
.bg-surface { background-color: var(--surface); } .bg-dark { background-color: var(--bg); }
.btn-primary, .btn-secondary, .btn-cta-large, .btn-action { display: inline-block; padding: 0.8rem 1.5rem; font-family: var(--font-body); font-weight: 700; border: none; cursor: pointer; border-radius: 4px; transition: transform 0.2s, background 0.2s; text-align: center; }
.btn-primary { background-color: var(--primary); color: #141127; }
.btn-primary:hover { background-color: var(--accent); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-secondary:hover { background-color: var(--primary); color: #141127; }
.btn-cta-large { background-color: var(--accent); color: #141127; font-size: 1.2rem; padding: 1rem 2rem; border-radius: 8px; }
.btn-cta-large:hover { transform: scale(1.05); }
.btn-action { background-color: var(--primary); color: #141127; width: 100%; padding: 1rem; font-size: 1.1rem; }
.btn-action:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.site-header { background-color: var(--surface); border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 100; }
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; max-width: 1280px; margin: 0 auto; }
.header-left { display: flex; align-items: center; gap: 1rem; }
.brand-logo { font-family: var(--font-heading); font-size: 1.5rem; color: var(--accent); font-weight: 700; letter-spacing: 1px; }
.age-badge-header { background: var(--secondary); color: #fff; font-size: 0.8rem; font-weight: bold; padding: 0.2rem 0.5rem; border-radius: 4px; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { list-style: none; display: flex; gap: 1.5rem; }
.main-nav a { color: var(--text-primary); font-weight: 700; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.auth-controls { display: flex; gap: 1rem; }
.btn-auth { background: none; border: none; color: var(--text-primary); font-weight: 700; cursor: pointer; }
.btn-auth:hover { color: var(--primary); }
.mobile-nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; width: 30px; }
.mobile-nav-toggle span { display: block; width: 100%; height: 3px; background: var(--primary); }

.hero-bg-image-overlay { position: relative; min-height: 60vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; padding: 3rem 1.5rem; }
.hero-bg-image-overlay::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(20, 17, 39, 0.7); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; color: var(--text-secondary); }
.hero-timer { margin-top: 2rem; display: inline-block; background: rgba(34, 27, 58, 0.8); padding: 0.5rem 1rem; border-radius: 4px; border: 1px solid var(--primary); font-weight: 700; }

.age-badge-hero-strip { background-color: var(--secondary); color: #fff; text-align: center; padding: 0.8rem; font-weight: 700; }
.strip-content { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.strip-icon { border: 2px solid #fff; border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }

.page-section { padding: 4rem 0; }
.split-content { display: flex; gap: 3rem; align-items: center; }
.split-content.reverse { flex-direction: row-reverse; }
.content-text { flex: 1; }
.content-image { flex: 1; position: relative; }
.radius-img { border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); border: 2px solid var(--surface); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.game-card-teaser, .card-feature { background: var(--surface); padding: 1.5rem; border-radius: 8px; border-top: 4px solid var(--primary); text-align: left; }

.layout-faq-right-rail { display: flex; gap: 3rem; }
.faq-main { flex: 2; }
.faq-sidebar { flex: 1; }
.accordion-btn { background: var(--bg); color: var(--text-primary); border: 1px solid var(--primary); padding: 1rem; width: 100%; text-align: left; font-size: 1.1rem; cursor: pointer; font-family: var(--font-heading); margin-bottom: 0.5rem; border-radius: 4px; }
.accordion-content { background: var(--surface); padding: 0 1rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; border-radius: 0 0 4px 4px; }
.accordion-content.open { padding: 1rem; max-height: 500px; margin-bottom: 1rem; }
.card-support { background: var(--bg); padding: 2rem; border-radius: 8px; border: 1px solid var(--secondary); text-align: center; }

.lobby-featured-split { display: grid; grid-template-columns: 1fr 350px; min-height: calc(100vh - 80px); }
.lobby-main-stage { padding: 2rem; display: flex; flex-direction: column; position: relative; }
.disclaimer-top { background: var(--secondary); padding: 0.5rem; text-align: center; font-weight: bold; border-radius: 4px; margin-bottom: 1rem; }
.game-view-container { display: none; flex-direction: column; align-items: center; background: var(--surface); padding: 2rem; border-radius: 12px; box-shadow: inset 0 0 20px rgba(0,0,0,0.5); flex-grow: 1; }
.game-view-container.active { display: flex; animation: fadeIn 0.5s ease; }
.game-header { text-align: center; margin-bottom: 1.5rem; }
.slot-board { position: relative; width: 100%; max-width: 600px; margin: 0 auto; }
.slot-frame { width: 100%; z-index: 2; position: relative; pointer-events: none; }
.slot-reels { position: absolute; top: 18%; left: 10%; width: 80%; height: 60%; display: flex; justify-content: space-between; z-index: 1; overflow: hidden; }
.reel { width: 30%; height: 100%; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.reel img { width: 80%; object-fit: contain; }
.payline { position: absolute; top: 50%; left: 5%; width: 90%; height: 4px; background: rgba(255, 159, 67, 0.7); z-index: 3; box-shadow: 0 0 10px var(--primary); display: none; }
.payline.show { display: block; }

.wheel-board { position: relative; width: 100%; max-width: 400px; margin: 0 auto 2rem; }
.wheel-img { width: 100%; display: block; border-radius: 50%; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.wheel-pointer { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 3rem; color: var(--accent); z-index: 10; text-shadow: 0 2px 4px #000; }

.game-controls { display: flex; gap: 1rem; width: 100%; max-width: 400px; margin-top: 1rem; }
.bet-select { padding: 1rem; background: var(--bg); color: var(--text-primary); border: 2px solid var(--primary); border-radius: 4px; font-weight: 700; outline: none; width: 50%; }

.game-result { margin-top: 1.5rem; min-height: 40px; font-size: 1.2rem; font-weight: 700; color: var(--accent); text-align: center; padding: 0.5rem; border: 1px dashed var(--primary); width: 100%; max-width: 400px; }

.game-rail { display: flex; gap: 1rem; overflow-x: auto; padding: 1rem 0; margin-top: auto; }
.rail-btn { padding: 1rem; background: var(--surface); color: var(--text-primary); border: 1px solid var(--primary); border-radius: 4px; font-family: var(--font-heading); cursor: pointer; white-space: nowrap; transition: 0.2s; }
.rail-btn.active, .rail-btn:hover { background: var(--primary); color: #141127; font-weight: 700; }

.wallet-sidebar-terminal { background: #1a1528; border-left: 2px solid var(--primary); padding: 2rem; display: flex; flex-direction: column; gap: 2rem; }
.terminal-header h3 { color: var(--accent); font-size: 1.4rem; }
.terminal-balance { background: var(--bg); border: 2px solid var(--primary); padding: 1.5rem; border-radius: 8px; text-align: center; }
.currency-sym { font-size: 1.2rem; color: var(--text-secondary); display: block; }
.balance-amount { font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.terminal-combo { background: var(--surface); padding: 1.5rem; border-radius: 8px; text-align: center; }
.combo-visual { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.combo-visual img { width: 40px; height: 40px; }
.combo-bars { display: flex; gap: 5px; }
.c-bar { width: 20px; height: 20px; border: 2px solid var(--primary); border-radius: 3px; transition: background 0.3s; }
.c-bar.filled { background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.terminal-history { flex-grow: 1; }
.terminal-history ul { list-style: none; }
.terminal-history li { padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }

.page-header { background-size: cover; background-position: center; position: relative; padding: 4rem 1.5rem; text-align: center; }
.page-header::before { content: ''; position: absolute; top:0; left:0; right:0; bottom:0; background: rgba(20,17,39,0.8); }
.page-header-content { position: relative; z-index: 2; }
.text-content-only { max-width: 800px; margin: 0 auto; }
.text-content-only h2 { margin-top: 2rem; }

.contact-form-wrapper, .contact-info { background: var(--surface); padding: 2rem; border-radius: 8px; }
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 700; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.8rem; background: var(--bg); border: 1px solid var(--primary); color: var(--text-primary); border-radius: 4px; }
.hours-list { list-style: inside; margin-top: 1rem; color: var(--text-secondary); }

.rank-dashboard { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; }
.rank-status { background: var(--surface); padding: 3rem; border-radius: 12px; text-align: center; border: 2px solid var(--accent); }
.rank-badge span { display: inline-block; background: var(--primary); color: #141127; font-size: 1.5rem; font-weight: bold; padding: 1rem 2rem; border-radius: 30px; margin-top: 1rem; }
.daily-claim-box { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.relic-card { background: var(--bg); padding: 1.5rem; border-radius: 8px; text-align: center; border: 1px solid var(--secondary); }
.relic-card img { width: 80px; margin: 0 auto 1rem; }
.relic-reward { display: block; margin-top: 1rem; color: var(--accent); font-weight: bold; }

.site-footer { background-color: #0d0b1a; border-top: 2px solid var(--surface); padding: 3rem 1.5rem 1rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 1280px; margin: 0 auto 2rem; }
.footer-links ul { list-style: none; }
.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: var(--primary); }
.partner-links { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.partner-links a { background: var(--surface); padding: 0.5rem 1rem; border-radius: 4px; border: 1px solid var(--text-secondary); }
.footer-identity, .footer-disclaimer-inline, .footer-copyright { max-width: 1280px; margin: 0 auto; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; margin-top: 1rem; color: var(--text-secondary); }
.footer-disclaimer-inline p { font-size: 0.85rem; max-width: 800px; margin: 0 auto; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: none; align-items: center; justify-content: center; z-index: 1000; opacity: 0; transition: opacity 0.3s; }
.modal-overlay.open { display: flex; opacity: 1; }
.modal-box { background: var(--surface); padding: 2rem; border-radius: 8px; width: 100%; max-width: 400px; position: relative; border: 2px solid var(--primary); }
.modal-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 1.5rem; color: var(--text-primary); cursor: pointer; }

.toast-container { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 9999; }
.toast { background: var(--secondary); color: #fff; padding: 1rem; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); font-weight: bold; animation: slideIn 0.3s forwards; }

.easter-egg-trigger-container { position: relative; }
.telescope-hotspot { position: absolute; bottom: 20%; right: 20%; width: 40px; height: 40px; cursor: crosshair; border-radius: 50%; }

@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 768px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .split-content, .split-content.reverse, .layout-faq-right-rail { flex-direction: column; }
  .lobby-featured-split { grid-template-columns: 1fr; }
  .mobile-nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--surface); flex-direction: column; padding: 1rem; border-bottom: 2px solid var(--primary); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; width: 100%; text-align: center; }
  .auth-controls { flex-direction: column; width: 100%; text-align: center; }
  .hero-content h1 { font-size: 2rem; }
  .game-controls { flex-direction: column; }
  .bet-select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
