/**
 * jl96 2026 - Main Stylesheet
 * All classes use prefix "w90bd-" for namespace isolation
 * Color palette: #00FA9A | #0A0A0A | #008000 | #006400 | #FFE4B5
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --w90bd-primary: #00FA9A;
    --w90bd-secondary: #008000;
    --w90bd-accent: #FFE4B5;
    --w90bd-bg-dark: #0A0A0A;
    --w90bd-bg-darker: #050505;
    --w90bd-green-dark: #006400;
    --w90bd-text-light: #ffffff;
    --w90bd-text-muted: #a0a0a0;
    --w90bd-border: rgba(0, 250, 154, 0.2);
    --w90bd-shadow: 0 4px 20px rgba(0, 250, 154, 0.15);
    --w90bd-radius: 8px;
    --w90bd-radius-lg: 16px;
    --w90bd-transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--w90bd-bg-dark);
    color: var(--w90bd-text-light);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.w90bd-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.w90bd-wrapper {
    padding-top: 6.4rem;
    padding-bottom: 2rem;
}

/* Header */
.w90bd-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--w90bd-bg-darker) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--w90bd-border);
    padding: 1rem 0;
}

.w90bd-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.6rem;
    max-width: 430px;
    margin: 0 auto;
}

.w90bd-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.w90bd-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.w90bd-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--w90bd-primary) 0%, var(--w90bd-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.w90bd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: var(--w90bd-radius);
    cursor: pointer;
    transition: var(--w90bd-transition);
    text-decoration: none;
    border: none;
    min-height: 44px;
}

.w90bd-btn-primary {
    background: linear-gradient(135deg, var(--w90bd-primary) 0%, var(--w90bd-secondary) 100%);
    color: var(--w90bd-bg-dark);
}

.w90bd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--w90bd-shadow);
}

.w90bd-btn-outline {
    background: transparent;
    border: 2px solid var(--w90bd-primary);
    color: var(--w90bd-primary);
}

.w90bd-btn-outline:hover {
    background: var(--w90bd-primary);
    color: var(--w90bd-bg-dark);
}

.w90bd-menu-toggle {
    background: transparent;
    border: none;
    color: var(--w90bd-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.w90bd-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--w90bd-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.w90bd-menu-active {
    right: 0;
}

.w90bd-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--w90bd-transition);
}

.w90bd-overlay-active {
    opacity: 1;
    visibility: visible;
}

.w90bd-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--w90bd-border);
}

.w90bd-menu-close {
    background: transparent;
    border: none;
    color: var(--w90bd-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.w90bd-menu-nav {
    list-style: none;
}

.w90bd-menu-nav li {
    margin-bottom: 0.5rem;
}

.w90bd-menu-nav a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--w90bd-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: var(--w90bd-radius);
    transition: var(--w90bd-transition);
}

.w90bd-menu-nav a:hover {
    background: rgba(0, 250, 154, 0.1);
    color: var(--w90bd-primary);
}

/* Slider/Carousel */
.w90bd-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--w90bd-radius-lg);
    margin: 1rem 0;
}

.w90bd-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.w90bd-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.w90bd-slide-active {
    opacity: 1;
    position: relative;
}

.w90bd-slide img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.w90bd-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.w90bd-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--w90bd-transition);
}

.w90bd-dot-active {
    background: var(--w90bd-primary);
    width: 20px;
    border-radius: 4px;
}

/* Section Titles */
.w90bd-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--w90bd-text-light);
    position: relative;
    padding-left: 1.2rem;
}

.w90bd-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(180deg, var(--w90bd-primary) 0%, var(--w90bd-secondary) 100%);
    border-radius: 2px;
}

/* Game Grid */
.w90bd-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.w90bd-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--w90bd-transition);
    padding: 0.5rem;
    border-radius: var(--w90bd-radius);
}

.w90bd-game-item:hover {
    background: rgba(0, 250, 154, 0.1);
    transform: translateY(-3px);
}

.w90bd-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--w90bd-radius);
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
    transition: var(--w90bd-transition);
}

.w90bd-game-item:hover .w90bd-game-img {
    border-color: var(--w90bd-primary);
}

.w90bd-game-name {
    font-size: 1.1rem;
    color: var(--w90bd-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Category Section */
.w90bd-category-section {
    margin-bottom: 2.5rem;
}

.w90bd-category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.w90bd-category-icon {
    font-size: 2rem;
    color: var(--w90bd-primary);
}

.w90bd-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--w90bd-text-light);
}

/* Cards */
.w90bd-card {
    background: linear-gradient(145deg, rgba(0, 250, 154, 0.05) 0%, rgba(0, 100, 0, 0.1) 100%);
    border: 1px solid var(--w90bd-border);
    border-radius: var(--w90bd-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.w90bd-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--w90bd-primary);
}

.w90bd-card-text {
    font-size: 1.3rem;
    color: var(--w90bd-text-muted);
    line-height: 1.6;
}

/* Features List */
.w90bd-features {
    display: grid;
    gap: 1rem;
}

.w90bd-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 250, 154, 0.05);
    border-radius: var(--w90bd-radius);
}

.w90bd-feature-icon {
    font-size: 2rem;
    color: var(--w90bd-primary);
    flex-shrink: 0;
}

.w90bd-feature-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--w90bd-text-light);
}

.w90bd-feature-content p {
    font-size: 1.2rem;
    color: var(--w90bd-text-muted);
}

/* Promo Links */
.w90bd-promo-link {
    color: var(--w90bd-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--w90bd-transition);
}

.w90bd-promo-link:hover {
    color: var(--w90bd-accent);
    text-decoration: underline;
}

.w90bd-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--w90bd-primary) 0%, var(--w90bd-secondary) 100%);
    color: var(--w90bd-bg-dark);
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: var(--w90bd-radius);
    text-decoration: none;
    cursor: pointer;
    transition: var(--w90bd-transition);
    text-align: center;
}

.w90bd-promo-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--w90bd-shadow);
}

/* Footer */
.w90bd-footer {
    background: var(--w90bd-bg-darker);
    border-top: 1px solid var(--w90bd-border);
    padding: 2rem 0;
    margin-top: 2rem;
}

.w90bd-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.w90bd-footer-brand p {
    font-size: 1.2rem;
    color: var(--w90bd-text-muted);
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto;
}

.w90bd-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.w90bd-footer-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 250, 154, 0.1);
    color: var(--w90bd-primary);
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: var(--w90bd-radius);
    transition: var(--w90bd-transition);
}

.w90bd-footer-link:hover {
    background: var(--w90bd-primary);
    color: var(--w90bd-bg-dark);
}

.w90bd-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--w90bd-border);
    border-bottom: 1px solid var(--w90bd-border);
}

.w90bd-footer-nav a {
    color: var(--w90bd-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--w90bd-transition);
}

.w90bd-footer-nav a:hover {
    color: var(--w90bd-primary);
}

.w90bd-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--w90bd-text-muted);
}

/* Bottom Navigation - Mobile */
.w90bd-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, var(--w90bd-bg-darker) 100%);
    border-top: 1px solid var(--w90bd-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

.w90bd-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--w90bd-transition);
    text-decoration: none;
    border-radius: var(--w90bd-radius);
    padding: 0.5rem;
}

.w90bd-nav-item:hover,
.w90bd-nav-item.w90bd-nav-active {
    background: rgba(0, 250, 154, 0.15);
}

.w90bd-nav-item:hover .w90bd-nav-icon,
.w90bd-nav-item.w90bd-nav-active .w90bd-nav-icon {
    color: var(--w90bd-primary);
    transform: scale(1.1);
}

.w90bd-nav-icon {
    font-size: 22px;
    color: var(--w90bd-text-muted);
    transition: var(--w90bd-transition);
    margin-bottom: 2px;
}

.w90bd-nav-text {
    font-size: 10px;
    color: var(--w90bd-text-muted);
    transition: var(--w90bd-transition);
}

.w90bd-nav-item:hover .w90bd-nav-text,
.w90bd-nav-item.w90bd-nav-active .w90bd-nav-text {
    color: var(--w90bd-primary);
}

/* Testimonials */
.w90bd-testimonial {
    background: rgba(0, 250, 154, 0.05);
    border-radius: var(--w90bd-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--w90bd-primary);
}

.w90bd-testimonial-text {
    font-size: 1.3rem;
    color: var(--w90bd-text-light);
    font-style: italic;
    margin-bottom: 0.8rem;
}

.w90bd-testimonial-author {
    font-size: 1.2rem;
    color: var(--w90bd-primary);
    font-weight: 600;
}

/* RTP Stats */
.w90bd-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.w90bd-rtp-item {
    background: rgba(0, 250, 154, 0.05);
    border-radius: var(--w90bd-radius);
    padding: 1rem;
    text-align: center;
}

.w90bd-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w90bd-primary);
}

.w90bd-rtp-label {
    font-size: 1.1rem;
    color: var(--w90bd-text-muted);
}

/* Payment Methods */
.w90bd-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.w90bd-payment-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--w90bd-radius);
    padding: 0.8rem 1.2rem;
    font-size: 1.2rem;
    color: var(--w90bd-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Winners Showcase */
.w90bd-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0, 250, 154, 0.05);
    border-radius: var(--w90bd-radius);
    margin-bottom: 0.8rem;
}

.w90bd-winner-game {
    font-size: 1.3rem;
    color: var(--w90bd-text-light);
}

.w90bd-winner-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--w90bd-primary);
}

/* App Download CTA */
.w90bd-app-cta {
    background: linear-gradient(135deg, rgba(0, 250, 154, 0.1) 0%, rgba(0, 100, 0, 0.2) 100%);
    border-radius: var(--w90bd-radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--w90bd-border);
}

.w90bd-app-cta h3 {
    font-size: 1.8rem;
    color: var(--w90bd-primary);
    margin-bottom: 1rem;
}

.w90bd-app-cta p {
    font-size: 1.3rem;
    color: var(--w90bd-text-muted);
    margin-bottom: 1.5rem;
}

/* Utilities */
.w90bd-text-center { text-align: center; }
.w90bd-mb-1 { margin-bottom: 1rem; }
.w90bd-mb-2 { margin-bottom: 2rem; }
.w90bd-mt-2 { margin-top: 2rem; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .w90bd-wrapper {
        padding-bottom: 80px;
    }

    main {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    .w90bd-bottom-nav {
        display: none;
    }

    .w90bd-menu-toggle {
        display: none;
    }
}

/* Touch Feedback */
.w90bd-touch-active {
    opacity: 0.7;
    transform: scale(0.98);
}

/* Animation */
@keyframes w90bd-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.w90bd-pulse {
    animation: w90bd-pulse 2s infinite;
}
