/**
 * Jilibay Casino - Main Stylesheet
 * Class prefix: w50c9-
 * Mobile-first responsive design
 * @version 1.0.0
 */

/* ========================================
   CSS Variables
======================================== */
:root {
    --w50c9-primary: #00FA9A;
    --w50c9-secondary: #00FF7F;
    --w50c9-bg-dark: #1A1A2E;
    --w50c9-bg-darker: #0f0f1a;
    --w50c9-text-light: #FFEFD5;
    --w50c9-text-muted: #D3D3D3;
    --w50c9-accent: #FFE4B5;
    --w50c9-gold: #FFD700;
    --w50c9-success: #00FF7F;
    --w50c9-danger: #FF6B6B;
    --w50c9-header-height: 60px;
    --w50c9-bottom-nav-height: 64px;
    --w50c9-radius: 8px;
    --w50c9-radius-lg: 12px;
    --w50c9-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --w50c9-shadow-lg: 0 8px 30px rgba(0, 250, 154, 0.2);
    --w50c9-transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--w50c9-bg-dark);
    color: var(--w50c9-text-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--w50c9-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ========================================
   Header
======================================== */
.w50c9-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--w50c9-header-height);
    background: linear-gradient(180deg, var(--w50c9-bg-darker) 0%, rgba(26, 26, 46, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    transition: var(--w50c9-transition);
    border-bottom: 1px solid rgba(0, 250, 154, 0.1);
}

.w50c9-header-scrolled {
    background: rgba(15, 15, 26, 0.98);
    box-shadow: var(--w50c9-shadow);
}

.w50c9-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w50c9-logo img {
    width: 32px;
    height: 32px;
}

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

.w50c9-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

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

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

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

.w50c9-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.w50c9-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--w50c9-primary);
    transition: var(--w50c9-transition);
}

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

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

.w50c9-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(--w50c9-transition);
}

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

.w50c9-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 250, 154, 0.2);
}

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

.w50c9-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.w50c9-nav-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--w50c9-text-light);
    font-size: 1.5rem;
    border-radius: var(--w50c9-radius);
    transition: var(--w50c9-transition);
}

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

/* ========================================
   Main Content
======================================== */
.w50c9-main {
    padding-top: var(--w50c9-header-height);
    min-height: 100vh;
}

@media (max-width: 768px) {
    .w50c9-main {
        padding-bottom: calc(var(--w50c9-bottom-nav-height) + 2rem);
    }
}

.w50c9-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   Hero Slider
======================================== */
.w50c9-hero {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.w50c9-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.w50c9-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.w50c9-slide-active {
    opacity: 1;
}

.w50c9-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

.w50c9-dot-active {
    background: var(--w50c9-primary);
    transform: scale(1.2);
}

/* ========================================
   Game Sections
======================================== */
.w50c9-section {
    padding: 2rem 0;
}

.w50c9-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--w50c9-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w50c9-section-title i {
    font-size: 2.4rem;
}

.w50c9-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.w50c9-game-card {
    background: var(--w50c9-bg-darker);
    border-radius: var(--w50c9-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--w50c9-transition);
    border: 1px solid rgba(0, 250, 154, 0.1);
}

.w50c9-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--w50c9-primary);
    box-shadow: var(--w50c9-shadow-lg);
}

.w50c9-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.w50c9-game-name {
    padding: 0.6rem;
    font-size: 1.1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0, 250, 154, 0.05);
}

/* ========================================
   Content Modules
======================================== */
.w50c9-module {
    background: var(--w50c9-bg-darker);
    border-radius: var(--w50c9-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 250, 154, 0.1);
}

.w50c9-module-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--w50c9-primary);
}

.w50c9-module-content {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--w50c9-text-muted);
}

.w50c9-module-content p {
    margin-bottom: 1rem;
}

.w50c9-module-content strong {
    color: var(--w50c9-primary);
}

.w50c9-list {
    padding-left: 2rem;
}

.w50c9-list li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
}

.w50c9-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 6px;
    height: 6px;
    background: var(--w50c9-primary);
    border-radius: 50%;
}

/* ========================================
   CTA Buttons
======================================== */
.w50c9-cta-box {
    background: linear-gradient(135deg, rgba(0, 250, 154, 0.1) 0%, rgba(0, 255, 127, 0.05) 100%);
    border: 2px solid var(--w50c9-primary);
    border-radius: var(--w50c9-radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.w50c9-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--w50c9-primary);
}

.w50c9-cta-text {
    font-size: 1.4rem;
    color: var(--w50c9-text-muted);
    margin-bottom: 1.5rem;
}

.w50c9-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--w50c9-primary) 0%, var(--w50c9-secondary) 100%);
    color: var(--w50c9-bg-dark);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: var(--w50c9-radius-lg);
    cursor: pointer;
    transition: var(--w50c9-transition);
}

.w50c9-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--w50c9-shadow-lg);
}

/* ========================================
   Footer
======================================== */
.w50c9-footer {
    background: var(--w50c9-bg-darker);
    padding: 3rem 1.5rem 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 250, 154, 0.1);
}

@media (max-width: 768px) {
    .w50c9-footer {
        padding-bottom: calc(var(--w50c9-bottom-nav-height) + 2rem);
    }
}

.w50c9-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.w50c9-footer-desc {
    font-size: 1.3rem;
    color: var(--w50c9-text-muted);
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto;
}

.w50c9-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.w50c9-footer-link {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 250, 154, 0.1);
    border-radius: var(--w50c9-radius);
    font-size: 1.2rem;
    color: var(--w50c9-text-light);
    transition: var(--w50c9-transition);
}

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

.w50c9-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 250, 154, 0.1);
}

.w50c9-footer-nav a {
    font-size: 1.3rem;
    color: var(--w50c9-text-muted);
}

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

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

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

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

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

.w50c9-nav-item:hover {
    transform: scale(1.1);
}

.w50c9-nav-item.active {
    color: var(--w50c9-primary);
}

.w50c9-nav-item i {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.w50c9-nav-item span {
    font-size: 1rem;
    color: var(--w50c9-text-muted);
}

.w50c9-nav-item.active span {
    color: var(--w50c9-primary);
}

/* ========================================
   Utilities
======================================== */
.w50c9-text-center {
    text-align: center;
}

.w50c9-text-primary {
    color: var(--w50c9-primary);
}

.w50c9-mb-1 {
    margin-bottom: 1rem;
}

.w50c9-mb-2 {
    margin-bottom: 2rem;
}

.w50c9-mt-2 {
    margin-top: 2rem;
}

/* ========================================
   Payment Methods
======================================== */
.w50c9-payments {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
}

.w50c9-payment-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(0, 250, 154, 0.05);
    border-radius: var(--w50c9-radius);
    font-size: 1.3rem;
}

/* ========================================
   Testimonials
======================================== */
.w50c9-testimonials {
    display: grid;
    gap: 1rem;
}

.w50c9-testimonial {
    background: rgba(0, 250, 154, 0.05);
    border-radius: var(--w50c9-radius);
    padding: 1.5rem;
    border-left: 3px solid var(--w50c9-primary);
}

.w50c9-testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--w50c9-text-muted);
}

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

/* ========================================
   Winners Showcase
======================================== */
.w50c9-winners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

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

.w50c9-winner-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--w50c9-text-light);
    margin-bottom: 0.5rem;
}

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

.w50c9-winner-game {
    font-size: 1.1rem;
    color: var(--w50c9-text-muted);
}

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

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

.w50c9-rtp-game {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--w50c9-text-light);
    margin-bottom: 0.5rem;
}

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

/* ========================================
   FAQ Accordion
======================================== */
.w50c9-faq-item {
    background: rgba(0, 250, 154, 0.05);
    border-radius: var(--w50c9-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.w50c9-faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--w50c9-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.w50c9-faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.3rem;
    color: var(--w50c9-text-muted);
    line-height: 1.6;
}

/* ========================================
   Responsive Adjustments
======================================== */
@media (min-width: 769px) {
    .w50c9-container {
        max-width: 768px;
    }

    .w50c9-games-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .w50c9-hero {
        height: 300px;
    }
}
