/* JL96 2026 - CSS Stylesheet */
/* All classes use v954 prefix for namespace isolation */

/* CSS Variables */
:root {
    --v954-primary: #FA8072;
    --v954-secondary: #FF7F50;
    --v954-accent: #FF8A80;
    --v954-dark: #273746;
    --v954-darker: #BF360C;
    --v954-light: #FFD1CC;
    --v954-white: #ffffff;
    --v954-gray: #f5f5f5;
    --v954-text: #2c3e50;
    --v954-shadow: rgba(39, 55, 70, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--v954-text);
    background: var(--v954-gray);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.v954-header {
    background: linear-gradient(135deg, var(--v954-darker) 0%, var(--v954-dark) 100%);
    color: var(--v954-white);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--v954-shadow);
}

.v954-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.v954-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v954-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--v954-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.v954-header-buttons {
    display: flex;
    gap: 10px;
}

.v954-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v954-btn-register {
    background: linear-gradient(135deg, var(--v954-primary) 0%, var(--v954-secondary) 100%);
    color: var(--v954-white);
    box-shadow: 0 4px 15px rgba(250, 128, 114, 0.4);
}

.v954-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 128, 114, 0.6);
}

.v954-btn-login {
    background: transparent;
    color: var(--v954-white);
    border: 2px solid var(--v954-white);
}

.v954-btn-login:hover {
    background: var(--v954-white);
    color: var(--v954-dark);
}

.v954-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.v954-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--v954-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.v954-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.v954-menu-overlay.v954-active {
    display: block;
    opacity: 1;
}

.v954-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--v954-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.v954-mobile-menu.v954-active {
    right: 0;
}

.v954-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v954-menu-close {
    background: none;
    border: none;
    color: var(--v954-white);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v954-menu-nav {
    padding: 20px 0;
}

.v954-menu-item {
    display: block;
    padding: 15px 20px;
    color: var(--v954-white);
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.v954-menu-item:hover {
    background: rgba(250, 128, 114, 0.1);
    padding-left: 25px;
}

/* Carousel */
.v954-carousel {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    height: 200px;
    overflow: hidden;
    background: var(--v954-dark);
}

.v954-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.v954-carousel-slide.v954-active {
    opacity: 1;
}

.v954-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v954-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.v954-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v954-carousel-indicator.v954-active {
    background: var(--v954-primary);
    width: 25px;
    border-radius: 5px;
}

/* Main Content */
.v954-main {
    max-width: 430px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.v954-section {
    background: var(--v954-white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px var(--v954-shadow);
}

.v954-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--v954-darker);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.v954-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--v954-primary), var(--v954-secondary));
    border-radius: 2px;
}

/* Game Grid */
.v954-category-filter {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.v954-category-btn {
    padding: 8px 16px;
    background: var(--v954-white);
    border: 2px solid var(--v954-primary);
    border-radius: 20px;
    color: var(--v954-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.v954-category-btn.v954-active,
.v954-category-btn:hover {
    background: var(--v954-primary);
    color: var(--v954-white);
}

.v954-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.v954-game-card {
    background: var(--v954-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--v954-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.v954-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--v954-shadow);
}

.v954-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.v954-game-name {
    padding: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--v954-dark);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Features Section */
.v954-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.v954-feature-card {
    background: linear-gradient(135deg, var(--v954-light) 0%, var(--v954-white) 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px var(--v954-shadow);
    transition: all 0.3s ease;
}

.v954-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--v954-shadow);
}

.v954-feature-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.v954-feature-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--v954-darker);
    margin-bottom: 5px;
}

.v954-feature-text {
    font-size: 12px;
    color: var(--v954-text);
    line-height: 1.5;
}

/* FAQ Section */
.v954-faq-item {
    background: var(--v954-gray);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.v954-faq-question {
    padding: 15px 20px;
    font-weight: 600;
    color: var(--v954-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.v954-faq-question:hover {
    background: var(--v954-light);
}

.v954-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.6;
}

.v954-faq-item.v954-active .v954-faq-answer {
    padding: 15px 20px;
    max-height: 500px;
}

/* Play Now Button */
.v954-play-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--v954-primary) 0%, var(--v954-secondary) 100%);
    color: var(--v954-white);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(250, 128, 114, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.v954-play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(250, 128, 114, 0.7);
}

/* Footer */
.v954-footer {
    background: var(--v954-dark);
    color: var(--v954-white);
    padding: 30px 20px 100px;
    text-align: center;
}

.v954-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.v954-footer-link {
    color: var(--v954-light);
    font-size: 14px;
    transition: color 0.3s ease;
}

.v954-footer-link:hover {
    color: var(--v954-primary);
}

.v954-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.v954-partner-logo {
    width: 80px;
    height: 40px;
    background: var(--v954-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.v954-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.v954-copyright {
    font-size: 13px;
    color: var(--v954-light);
    margin-top: 20px;
}

/* Mobile Bottom Navigation */
.v954-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: linear-gradient(180deg, var(--v954-dark) 0%, #1a2634 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.v954-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--v954-light);
    text-decoration: none;
    padding: 5px;
}

.v954-nav-item:hover,
.v954-nav-item.v954-active {
    color: var(--v954-primary);
}

.v954-nav-icon {
    font-size: 24px;
    margin-bottom: 3px;
}

.v954-nav-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (min-width: 769px) {
    .v954-carousel {
        max-width: 100%;
        height: 350px;
    }

    .v954-main {
        max-width: 1200px;
        padding-bottom: 20px;
    }

    .v954-games-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }

    .v954-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .v954-bottom-nav {
        display: none;
    }

    .v954-hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .v954-hamburger {
        display: flex;
    }

    .v954-main {
        padding-bottom: 80px;
    }
}

/* Animations */
@keyframes v954fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.v954-animate-in {
    animation: v954fadeIn 0.5s ease forwards;
}
