/**
 * Fastwin Register - Core Stylesheet
 * All classes use w9e20- prefix for namespace isolation
 * Color palette: #CD853F | #FAF0E6 | #FFE4B5 | #1A1A1A
 * Mobile-first responsive design (max-width: 430px)
 */

/* CSS Variables */
:root {
    --w9e20-primary: #CD853F;
    --w9e20-primary-dark: #A0692E;
    --w9e20-primary-light: #E8A84C;
    --w9e20-bg: #1A1A1A;
    --w9e20-bg-light: #2A2A2A;
    --w9e20-bg-card: #252525;
    --w9e20-text: #FAF0E6;
    --w9e20-text-muted: #C4B99A;
    --w9e20-accent: #FFE4B5;
    --w9e20-border: #3A3A3A;
    --w9e20-success: #4CAF50;
    --w9e20-danger: #E74C3C;
    --w9e20-gold: #FFD700;
    --w9e20-shadow: rgba(205,133,63,0.15);
    --w9e20-radius: 8px;
    --w9e20-radius-lg: 12px;
    --w9e20-header-h: 56px;
    --w9e20-bottom-nav-h: 60px;
}

/* Reset and Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--w9e20-bg);
    color: var(--w9e20-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--w9e20-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--w9e20-primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.w9e20-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; width: 100%; }
.w9e20-wrapper { padding-top: var(--w9e20-header-h); }

/* Header */
.w9e20-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: linear-gradient(135deg, #1A1A1A 0%, #2A2520 100%);
    border-bottom: 1px solid var(--w9e20-primary-dark);
    height: var(--w9e20-header-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 1.2rem;
    transition: box-shadow 0.3s;
}
.w9e20-header-scrolled { box-shadow: 0 2px 12px var(--w9e20-shadow); }
.w9e20-header-brand {
    display: flex; align-items: center; gap: 0.8rem;
    text-decoration: none; color: var(--w9e20-text);
}
.w9e20-header-logo { width: 28px; height: 28px; border-radius: 6px; }
.w9e20-header-title {
    font-size: 1.6rem; font-weight: 700; color: var(--w9e20-primary);
    white-space: nowrap;
}
.w9e20-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.w9e20-btn-register, .w9e20-btn-login {
    padding: 0.5rem 1.2rem; border-radius: 20px; border: none;
    font-size: 1.2rem; font-weight: 600; cursor: pointer;
    transition: all 0.2s; white-space: nowrap;
}
.w9e20-btn-register {
    background: linear-gradient(135deg, var(--w9e20-primary), var(--w9e20-primary-light));
    color: #1A1A1A;
}
.w9e20-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 8px var(--w9e20-shadow); }
.w9e20-btn-login {
    background: transparent; color: var(--w9e20-primary);
    border: 1.5px solid var(--w9e20-primary);
}
.w9e20-btn-login:hover { background: rgba(205,133,63,0.1); }

/* Hamburger */
.w9e20-hamburger {
    background: none; border: none; cursor: pointer; padding: 0.4rem;
    display: flex; flex-direction: column; gap: 4px;
}
.w9e20-hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--w9e20-text); border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Menu Overlay */
.w9e20-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); z-index: 9998;
}
.w9e20-mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: 260px;
    background: var(--w9e20-bg-light); z-index: 9999;
    transform: translateX(100%); transition: transform 0.3s ease;
    padding: 2rem 1.5rem; overflow-y: auto;
}
.w9e20-mobile-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 2rem; padding-bottom: 1rem;
    border-bottom: 1px solid var(--w9e20-border);
}
.w9e20-mobile-menu-title {
    font-size: 1.6rem; font-weight: 700; color: var(--w9e20-primary);
}
.w9e20-mobile-menu-close {
    background: none; border: none; color: var(--w9e20-text);
    font-size: 2rem; cursor: pointer; padding: 0.2rem 0.6rem;
}
.w9e20-mobile-menu-nav a {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 1rem 0; color: var(--w9e20-text);
    border-bottom: 1px solid var(--w9e20-border);
    font-size: 1.3rem; transition: color 0.2s;
}
.w9e20-mobile-menu-nav a:hover { color: var(--w9e20-primary); }
.w9e20-mobile-menu-nav .material-icons { font-size: 2rem; color: var(--w9e20-primary); }

/* Carousel / Slider */
.w9e20-carousel {
    position: relative; overflow: hidden; border-radius: var(--w9e20-radius-lg);
    margin: 1.2rem 0;
}
.w9e20-slides { position: relative; height: 200px; }
.w9e20-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; display: none; transition: opacity 0.5s ease;
}
.w9e20-slide img { width: 100%; height: 100%; object-fit: cover; }
.w9e20-slide-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(26,26,26,0.9));
    padding: 1.5rem 1rem 1rem;
}
.w9e20-slide-title { font-size: 1.6rem; font-weight: 700; color: var(--w9e20-primary); }
.w9e20-slide-desc { font-size: 1.2rem; color: var(--w9e20-text-muted); margin-top: 0.3rem; }
.w9e20-carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); color: #fff; border: none;
    width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
    font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; z-index: 2;
}
.w9e20-carousel-btn:hover { background: var(--w9e20-primary); }
.w9e20-carousel-prev { left: 8px; }
.w9e20-carousel-next { right: 8px; }
.w9e20-dots {
    display: flex; justify-content: center; gap: 6px;
    padding: 0.8rem 0;
}
.w9e20-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--w9e20-border); cursor: pointer;
    transition: background 0.2s; border: none;
}
.w9e20-dot-active { background: var(--w9e20-primary); width: 20px; border-radius: 4px; }

/* Section Headings */
.w9e20-section { margin: 2rem 0; }
.w9e20-section-title {
    font-size: 1.8rem; font-weight: 700; color: var(--w9e20-primary);
    margin-bottom: 1rem; padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--w9e20-primary-dark);
    display: flex; align-items: center; gap: 0.6rem;
}
.w9e20-section-title i, .w9e20-section-title .material-icons {
    font-size: 2rem;
}

/* Game Grid */
.w9e20-category-title {
    font-size: 1.5rem; font-weight: 600; color: var(--w9e20-accent);
    margin: 1.5rem 0 0.8rem; padding-left: 0.5rem;
    border-left: 3px solid var(--w9e20-primary);
}
.w9e20-game-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.w9e20-game-card {
    display: flex; flex-direction: column; align-items: center;
    cursor: pointer; transition: transform 0.2s;
    text-decoration: none; color: var(--w9e20-text);
}
.w9e20-game-card:hover { transform: translateY(-2px); }
.w9e20-game-card:active { transform: scale(0.95); }
.w9e20-game-img {
    width: 72px; height: 72px; border-radius: var(--w9e20-radius);
    object-fit: cover; border: 2px solid var(--w9e20-border);
    transition: border-color 0.2s;
}
.w9e20-game-card:hover .w9e20-game-img { border-color: var(--w9e20-primary); }
.w9e20-game-name {
    font-size: 1.1rem; text-align: center; margin-top: 0.3rem;
    line-height: 1.3rem; color: var(--w9e20-text-muted);
    max-width: 80px; overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Cards */
.w9e20-card {
    background: var(--w9e20-bg-card); border-radius: var(--w9e20-radius-lg);
    padding: 1.5rem; margin: 1rem 0;
    border: 1px solid var(--w9e20-border);
}
.w9e20-card-title {
    font-size: 1.5rem; font-weight: 600; color: var(--w9e20-primary);
    margin-bottom: 0.8rem;
}
.w9e20-card p { color: var(--w9e20-text-muted); line-height: 1.7rem; margin-bottom: 0.6rem; }

/* Promo Button */
.w9e20-promo-btn {
    display: inline-block; padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--w9e20-primary), var(--w9e20-primary-light));
    color: #1A1A1A; font-weight: 700; font-size: 1.4rem;
    border-radius: 25px; border: none; cursor: pointer;
    text-align: center; transition: all 0.2s;
    box-shadow: 0 3px 10px var(--w9e20-shadow);
}
.w9e20-promo-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px var(--w9e20-shadow); }
.w9e20-promo-btn:active { transform: scale(0.97); }

/* Promo Link Text */
.w9e20-promo-link {
    color: var(--w9e20-primary); font-weight: 600;
    cursor: pointer; border-bottom: 1px dashed var(--w9e20-primary);
    transition: color 0.2s;
}
.w9e20-promo-link:hover { color: var(--w9e20-primary-light); }

/* Feature List */
.w9e20-feature-list { display: flex; flex-direction: column; gap: 1rem; }
.w9e20-feature-item {
    display: flex; align-items: flex-start; gap: 0.8rem;
    padding: 0.8rem; background: var(--w9e20-bg-light);
    border-radius: var(--w9e20-radius);
}
.w9e20-feature-icon {
    min-width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--w9e20-primary), var(--w9e20-primary-dark));
    display: flex; align-items: center; justify-content: center;
    color: #1A1A1A; font-size: 1.4rem;
}
.w9e20-feature-text h4 { font-size: 1.3rem; color: var(--w9e20-text); margin-bottom: 0.2rem; }
.w9e20-feature-text p { font-size: 1.2rem; color: var(--w9e20-text-muted); }

/* Winner Showcase */
.w9e20-winner-grid { display: flex; flex-direction: column; gap: 0.6rem; }
.w9e20-winner-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.8rem 1rem; background: var(--w9e20-bg-light);
    border-radius: var(--w9e20-radius);
}
.w9e20-winner-name { font-size: 1.2rem; color: var(--w9e20-text); }
.w9e20-winner-game { font-size: 1.1rem; color: var(--w9e20-text-muted); }
.w9e20-winner-amount { font-size: 1.3rem; font-weight: 700; color: var(--w9e20-gold); }

/* Testimonials */
.w9e20-testimonial {
    background: var(--w9e20-bg-light); border-radius: var(--w9e20-radius-lg);
    padding: 1.2rem; margin: 0.6rem 0; border-left: 3px solid var(--w9e20-primary);
}
.w9e20-testimonial-text { font-style: italic; color: var(--w9e20-text-muted); font-size: 1.2rem; line-height: 1.6rem; }
.w9e20-testimonial-author { font-size: 1.1rem; color: var(--w9e20-primary); margin-top: 0.5rem; font-weight: 600; }

/* Payment Methods */
.w9e20-payment-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem; text-align: center;
}
.w9e20-payment-item {
    background: var(--w9e20-bg-light); border-radius: var(--w9e20-radius);
    padding: 0.8rem; font-size: 1.1rem; color: var(--w9e20-text-muted);
}

/* CTA Section */
.w9e20-cta {
    text-align: center; padding: 2rem;
    background: linear-gradient(135deg, rgba(205,133,63,0.15), rgba(205,133,63,0.05));
    border-radius: var(--w9e20-radius-lg);
    border: 1px solid var(--w9e20-primary-dark);
    margin: 1.5rem 0;
}
.w9e20-cta-title { font-size: 1.8rem; font-weight: 700; color: var(--w9e20-primary); margin-bottom: 0.8rem; }
.w9e20-cta p { color: var(--w9e20-text-muted); margin-bottom: 1.2rem; font-size: 1.3rem; }

/* Footer */
.w9e20-footer {
    background: var(--w9e20-bg-light); padding: 2rem 1.2rem 8rem;
    border-top: 1px solid var(--w9e20-border);
    margin-top: 2rem;
}
.w9e20-footer-brand {
    text-align: center; margin-bottom: 1.5rem;
    padding-bottom: 1rem; border-bottom: 1px solid var(--w9e20-border);
}
.w9e20-footer-brand p { color: var(--w9e20-text-muted); font-size: 1.2rem; line-height: 1.6rem; }
.w9e20-footer-links {
    display: flex; flex-wrap: wrap; gap: 0.6rem;
    justify-content: center; margin: 1rem 0;
}
.w9e20-footer-links a {
    padding: 0.5rem 1rem; background: var(--w9e20-bg);
    border-radius: 20px; font-size: 1.1rem; color: var(--w9e20-text-muted);
    border: 1px solid var(--w9e20-border); transition: all 0.2s;
}
.w9e20-footer-links a:hover { color: var(--w9e20-primary); border-color: var(--w9e20-primary); }
.w9e20-footer-promos {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    justify-content: center; margin: 1rem 0;
}
.w9e20-footer-promos .w9e20-promo-btn { padding: 0.6rem 1.2rem; font-size: 1.1rem; }
.w9e20-footer-copyright {
    text-align: center; font-size: 1.1rem; color: var(--w9e20-text-muted);
    margin-top: 1rem; padding-top: 1rem;
    border-top: 1px solid var(--w9e20-border);
}
.w9e20-footer-partners {
    display: flex; flex-wrap: wrap; gap: 1rem;
    justify-content: center; margin: 1rem 0;
    opacity: 0.6;
}
.w9e20-footer-partners img { height: 24px; filter: grayscale(100%); }

/* Bottom Navigation */
.w9e20-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #2A2520 0%, #1A1A1A 100%);
    border-top: 1px solid var(--w9e20-primary-dark);
    height: var(--w9e20-bottom-nav-h);
    display: flex; justify-content: space-around; align-items: center;
    padding: 0 0.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.w9e20-bottom-nav-btn {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-width: 60px; min-height: 50px;
    background: none; border: none; cursor: pointer;
    color: var(--w9e20-text-muted); transition: all 0.2s;
    text-decoration: none; gap: 2px; padding: 0.4rem;
}
.w9e20-bottom-nav-btn:hover, .w9e20-bottom-nav-btn:active { color: var(--w9e20-primary); }
.w9e20-bottom-nav-btn.active { color: var(--w9e20-primary); }
.w9e20-bottom-nav-btn i,
.w9e20-bottom-nav-btn .material-icons,
.w9e20-bottom-nav-btn ion-icon,
.w9e20-bottom-nav-btn .bi {
    font-size: 22px; margin-bottom: 1px;
}
.w9e20-bottom-nav-btn .material-icons { font-size: 24px; }
.w9e20-bottom-nav-btn ion-icon { font-size: 24px; }
.w9e20-bottom-nav-label { font-size: 1rem; font-weight: 500; }

/* Utility Classes */
.w9e20-text-center { text-align: center; }
.w9e20-text-gold { color: var(--w9e20-gold); }
.w9e20-text-primary { color: var(--w9e20-primary); }
.w9e20-text-muted { color: var(--w9e20-text-muted); }
.w9e20-mt-1 { margin-top: 1rem; }
.w9e20-mt-2 { margin-top: 2rem; }
.w9e20-mb-1 { margin-bottom: 1rem; }
.w9e20-mb-2 { margin-bottom: 2rem; }
.w9e20-img-responsive { width: 100%; border-radius: var(--w9e20-radius); }

/* Badge */
.w9e20-badge {
    display: inline-block; padding: 0.2rem 0.6rem;
    background: var(--w9e20-primary); color: #1A1A1A;
    font-size: 1rem; font-weight: 600; border-radius: 10px;
}

/* FAQ Accordion */
.w9e20-faq-item {
    background: var(--w9e20-bg-card); border-radius: var(--w9e20-radius);
    margin: 0.6rem 0; border: 1px solid var(--w9e20-border);
    overflow: hidden;
}
.w9e20-faq-q {
    padding: 1rem 1.2rem; font-weight: 600; color: var(--w9e20-text);
    font-size: 1.3rem; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
}
.w9e20-faq-a {
    padding: 0 1.2rem 1rem; color: var(--w9e20-text-muted);
    font-size: 1.2rem; line-height: 1.6rem;
}

/* Star Rating */
.w9e20-stars { color: var(--w9e20-gold); font-size: 1.4rem; }

/* Responsive */
@media (min-width: 769px) {
    .w9e20-bottom-nav { display: none; }
    .w9e20-container { max-width: 430px; }
    .w9e20-footer { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
    .w9e20-wrapper { padding-bottom: 80px; }
}
