:root {
  --primary-color: #E11D48;
  --primary-color-light: #F59E0B;
  --primary-glow: rgba(225, 29, 72, 0.45);
  --gold-glow: rgba(245, 158, 11, 0.55);
  --border-radius: 23px;
  --bg-cream: #FFF8E7;
  --bg-white: #FFFFFF;
  --bg-dark: #1A0414;
  --text-black: #1A0414;
  --text-muted: #6B5A4F;
  --font-gaming: 'Luckiest Guy', cursive;
  --font-accent: 'Space Grotesk', sans-serif;
  --font-main: 'Lexend', sans-serif;
  --card-shadow: 0 15px 35px rgba(225, 29, 72, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-main); background-color: var(--bg-cream); color: var(--text-black); line-height: 1.5; overflow-x: hidden; }
.container { max-width: 500px; margin: 0 auto; padding: 0 24px; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes toastIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes kenburns { 0% { transform: scale(1.1); } 50% { transform: scale(1.2) translate(-2%, -2%); } 100% { transform: scale(1.1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1); }
.reveal-on-scroll.active { opacity: 1; transform: translateY(0); }
.pulse-animation { animation: pulse 2s infinite ease-in-out; }

.bg-grid { background-image: radial-gradient(var(--primary-color-light) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.07; position: absolute; inset: 0; pointer-events: none; }

.qx_section-title {
  font-family: var(--font-gaming);
  font-size: 2.8rem; text-align: center; margin-bottom: 40px;
  color: var(--text-black); text-transform: uppercase; letter-spacing: -1px;
  background: linear-gradient(180deg, #B45309 0%, #E11D48 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

section { padding: 60px 0; border-bottom: 1px solid rgba(0,0,0,0.03); position: relative; }
.section-white { background-color: #FFFFFF; }
.section-cream { background-color: #FFF4D6; }
.section-dark { background-color: #0A0410; color: white; }

#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(15, 4, 20, 0.98); backdrop-filter: blur(10px); padding: 20px; z-index: 9999; border-top: 1px solid rgba(245, 158, 11, 0.25); transform: translateY(100%); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
#cookie-banner.visible { transform: translateY(0); }
.cookie-content { display: flex; flex-direction: column; gap: 15px; align-items: center; text-align: center; }
@media(min-width: 768px) { .cookie-content { flex-direction: row; text-align: left; justify-content: space-between; } }
.cookie-text { color: #FDE68A; font-size: 0.9rem; line-height: 1.5; }
.cookie-text a { color: var(--primary-color-light); }
.cookie-btns { display: flex; gap: 10px; }
.btn-cookie { padding: 10px 20px; border-radius: 12px; font-weight: 700; cursor: pointer; border: none; font-family: var(--font-accent); font-size: 0.8rem; transition: 0.2s; }
.btn-accept { background: linear-gradient(180deg, var(--primary-color-light), var(--primary-color)); color: white; box-shadow: 0 4px 12px var(--primary-glow); }
.btn-settings { background: rgba(255,255,255,0.1); color: white; }

header { padding: 10px 0; background: rgba(255, 248, 231, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(225,29,72,0.08); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-black); }
.logo img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 4px 12px var(--gold-glow); }
.logo span { font-family: var(--font-accent); font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }

.server-status { font-size: 0.7rem; color: #047857; font-weight: 800; display: flex; align-items: center; gap: 6px; background: rgba(16, 185, 129, 0.12); padding: 4px 10px; border-radius: 20px; }
.server-dot { width: 6px; height: 6px; background: #10B981; border-radius: 50%; animation: pulse 1s infinite; }

.qx_hero { padding: 60px 0 80px; text-align: center; position: relative; overflow: hidden; background: #0A0410; display: flex; align-items: center; min-height: 78vh; }
.qx_hero::before { content: ''; position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(15px) brightness(0.45); z-index: 1; animation: kenburns 20s infinite alternate ease-in-out; }
.qx_hero .container { position: relative; z-index: 2; width: 100%; }

.qx_badge-live { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(90deg, var(--primary-color), #B91C1C); color: white; padding: 6px 16px; border-radius: 100px; font-family: var(--font-accent); font-size: 0.75rem; font-weight: 900; text-transform: uppercase; margin-bottom: 25px; letter-spacing: 1px; box-shadow: 0 0 20px var(--primary-glow); }

.qx_hero-title { font-family: var(--font-gaming); font-size: 3.6rem; line-height: 1; margin-bottom: 20px; text-transform: uppercase; color: white; text-shadow: 0 8px 25px rgba(0,0,0,0.7); letter-spacing: -1px; }
.qx_hero-title span { display: block; }
.primary-accent { background: linear-gradient(180deg, #FCD34D, #F59E0B); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 25px var(--gold-glow)); }

.qx_hero-desc { font-size: 1rem; color: white; margin-bottom: 30px; max-width: 420px; margin-left: auto; margin-right: auto; font-weight: 500; line-height: 1.5; text-shadow: 0 2px 10px rgba(0,0,0,0.6); opacity: 0.92; }

.qx_btn-large { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 30px; background: linear-gradient(180deg, var(--primary-color-light), var(--primary-color)); color: white; border-radius: 20px; font-family: var(--font-gaming); font-size: 1.8rem; text-decoration: none; box-shadow: 0 15px 35px var(--primary-glow); width: 100%; border-bottom: 6px solid rgba(0,0,0,0.25); transition: 0.2s; cursor: pointer; border-left: none; border-right: none; border-top: none; position: relative; overflow: hidden; letter-spacing: 1px; }
.qx_btn-large::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); animation: shimmer 3s infinite; }
.qx_btn-large:active { transform: translateY(4px); border-bottom-width: 2px; }

.trust-badges { display: flex; justify-content: center; gap: 15px; margin-top: 20px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); padding: 6px 12px; border-radius: 8px; font-size: 0.7rem; color: white; font-weight: 700; backdrop-filter: blur(5px); border: 1px solid rgba(245,158,11,0.2); }
.system-check { margin-top: 15px; font-size: 0.8rem; color: #4ADE80; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: -50px; position: relative; z-index: 10; }
.qx_stat-card { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); padding: 25px 15px; border-radius: var(--border-radius); box-shadow: 0 20px 40px rgba(225,29,72,0.15); text-align: center; border: 1px solid rgba(245,158,11,0.3); }
.qx_stat-card .val { font-family: var(--font-gaming); font-size: 2.2rem; background: linear-gradient(180deg, var(--primary-color-light), var(--primary-color)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; line-height: 1; margin-bottom: 5px; }
.qx_stat-card .lbl { font-size: 0.75rem; font-weight: 900; color: #78350F; text-transform: uppercase; letter-spacing: 1px; }

.live-counter { text-align: center; margin-top: 15px; font-size: 0.8rem; color: #78350F; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; background: #EF4444; border-radius: 50%; animation: pulse 1s infinite; }

.gallery-container { overflow-x: auto; white-space: nowrap; padding-bottom: 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; display: flex; gap: 16px; margin: 0 -24px; padding: 0 24px 20px; }
.qx_gallery-item { scroll-snap-align: center; flex: 0 0 85%; }
.qx_phone-mockup { background: #1A0414; border-radius: 28px; padding: 6px; border: 6px solid #2D0A1F; box-shadow: 0 20px 40px rgba(0,0,0,0.25); position: relative; }
.qx_phone-mockup img { width: 100%; border-radius: 20px; aspect-ratio: 9/19; object-fit: cover; pointer-events: none; display: block; }

.leaderboard-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #FDE68A; }
.leaderboard-row:last-child { border-bottom: none; }
.lb-rank { font-family: var(--font-gaming); color: var(--primary-color); font-size: 1.3rem; width: 30px; }
.lb-user { font-weight: 800; font-size: 0.9rem; flex-grow: 1; }
.lb-score { font-family: var(--font-accent); font-weight: 900; color: #B45309; }

.qx_review-card { background: white; padding: 25px; border-radius: 20px; margin-bottom: 15px; box-shadow: var(--card-shadow); border: 1px solid rgba(245,158,11,0.15); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; color: white; }
.streamer-badge { color: white; font-size: 0.6rem; padding: 3px 8px; border-radius: 4px; margin-left: auto; font-weight: 800; letter-spacing: 0.5px; }
.review-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

.news-item { background: white; border-radius: 20px; padding: 20px; margin-bottom: 15px; border-left: 5px solid var(--primary-color); box-shadow: var(--card-shadow); }
.news-date { font-size: 0.75rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.news-title { font-weight: 900; font-size: 1rem; margin-bottom: 8px; }
.news-desc { font-size: 0.85rem; color: var(--text-muted); }

.countdown-bar { background: #0A0410; color: white; text-align: center; padding: 10px; font-weight: 800; font-size: 0.9rem; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; }
.timer-val { color: var(--primary-color-light); font-family: var(--font-accent); letter-spacing: 1px; }

#preloader, #conn-check { position: fixed; inset: 0; background: #0A0410; z-index: 100000; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; text-align: center; padding: 20px; }
#conn-check { z-index: 200000; transition: 0.5s; }
.loader-spinner { width: 50px; height: 50px; border: 4px solid rgba(255,255,255,0.1); border-top-color: var(--primary-color-light); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 20px; }

#activity-toast { position: fixed; top: 70px; right: 20px; background: white; padding: 12px 18px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 10px; z-index: 995; animation: toastIn 0.5s ease-out; }
.avatar-mini { width: 30px; height: 30px; background: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.8rem; }

.qx_faq-item { background: white; border-radius: 16px; margin-bottom: 12px; box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.06); border: 1px solid #FDE68A; overflow: hidden; transition: 0.3s; }
.qx_faq-item:hover { transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.12); }
.qx_faq-item.faq-open { border-color: var(--primary-color); }
.faq-q { padding: 20px 24px; font-family: var(--font-accent); font-weight: 700; font-size: 0.95rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--text-black); background: white; }
.faq-q span.chev { color: var(--primary-color); font-size: 1.2rem; transition: 0.3s; }
.qx_faq-item.faq-open .faq-q span.chev { transform: rotate(180deg); }
.faq-a { padding: 0 24px 24px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; background: #FFFBEB; border-top: 1px solid #FDE68A; padding-top: 20px; }

.qx_contact-form { background: white; padding: 25px; border-radius: 20px; box-shadow: var(--card-shadow); max-width: 500px; margin: 0 auto; }
.form-group { margin-bottom: 15px; text-align: left; }
.form-label { display: block; font-weight: 700; margin-bottom: 5px; font-size: 0.9rem; }
.form-input { width: 100%; padding: 12px; border: 2px solid #FDE68A; border-radius: 12px; font-family: var(--font-main); font-size: 0.95rem; transition: 0.3s; background: #FFFBEB; }
.form-input:focus { border-color: var(--primary-color); outline: none; background: white; }
textarea.form-input { height: 110px; resize: none; }
.btn-submit { width: 100%; padding: 14px; background: linear-gradient(180deg, var(--primary-color-light), var(--primary-color)); color: white; border: none; border-radius: 12px; font-weight: 800; font-size: 1rem; cursor: pointer; transition: 0.2s; letter-spacing: 1px; }
.btn-submit:active { transform: scale(0.98); opacity: 0.9; }
.form-success { background: #DCFCE7; color: #166534; padding: 15px; border-radius: 12px; margin-top: 15px; font-weight: 600; text-align: center; }

footer { padding: 60px 0 160px; background: #060108; text-align: center; border-top: 1px solid rgba(245,158,11,0.1); }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 30px; }
.footer-logo img { width: 40px; height: 40px; border-radius: 10px; }
.footer-logo span { color: white; font-family: var(--font-accent); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; }

.partner-logos { display: flex; justify-content: center; gap: 30px; margin: 30px 0; opacity: 0.5; flex-wrap: wrap; }
.partner-logos span { color: var(--primary-color-light); font-weight: 900; font-family: var(--font-accent); font-size: 0.9rem; letter-spacing: 1.5px; }

.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 400px; margin: 0 auto 40px; }
.footer-col { text-align: left; padding-left: 20px; }
.footer-col h4 { color: var(--primary-color-light); font-size: 0.8rem; font-weight: 900; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 1px; }
.footer-col a { color: #94A3B8; text-decoration: none; font-size: 0.9rem; display: block; margin-bottom: 10px; transition: 0.3s; font-weight: 500; }
.footer-col a:hover { color: var(--primary-color-light); transform: translateX(5px); }

.legal-note { color: #64748B; font-size: 0.7rem; margin-top: 30px; line-height: 1.7; max-width: 460px; margin-left: auto; margin-right: auto; padding: 0 16px; }

#sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(10, 4, 16, 0.95); backdrop-filter: blur(16px); padding: 16px 24px 24px; z-index: 1000; border-top: 1px solid rgba(245,158,11,0.2); display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateY(120%); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 -10px 40px rgba(0,0,0,0.6); }
#sticky-bar.active { transform: translateY(0); }
.timer-badge { background: rgba(245, 158, 11, 0.12); padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; color: #FBBF24; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(245,158,11,0.25); }
.btn-sticky { width: 100%; max-width: 450px; padding: 18px; font-size: 1.4rem; border-radius: 18px; background: linear-gradient(180deg, var(--primary-color-light), var(--primary-color)); color: white; font-family: var(--font-gaming); border: none; box-shadow: 0 0 20px var(--primary-glow); text-shadow: 0 2px 5px rgba(0,0,0,0.25); cursor: pointer; letter-spacing: 1px; }
.btn-sticky:active { transform: scale(0.98); }

/* Legal pages */
.legal-page { padding: 60px 0; min-height: 70vh; background: var(--bg-cream); }
.legal-page h1 { font-family: var(--font-gaming); font-size: 2.4rem; margin-bottom: 24px; color: var(--text-black); letter-spacing: -1px; }
.legal-page h2 { font-family: var(--font-accent); font-size: 1.2rem; margin: 28px 0 10px; color: var(--primary-color); font-weight: 800; }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; }
.legal-page a { color: var(--primary-color); }
