/**
 * jl77 Website CSS Design
 * Prefix: wcaeb-
 * Color Scheme: #1A1A2E (dark) | #7FFF00 (accent)
 */

/* CSS Variables */
:root {
    --wcaeb-primary: #7FFF00;
    --wcaeb-secondary: #00D4AA;
    --wcaeb-bg: #1A1A2E;
    --wcaeb-bg-dark: #0F0F1A;
    --wcaeb-bg-card: #252542;
    --wcaeb-text: #FFFFFF;
    --wcaeb-text-muted: #B8B8D1;
    --wcaeb-border: #3D3D5C;
    --wcaeb-gradient: linear-gradient(135deg, #7FFF00 0%, #00D4AA 100%);
    --wcaeb-shadow: 0 4px 20px rgba(127, 255, 0, 0.15);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--wcaeb-bg);
    color: var(--wcaeb-text);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.wcaeb-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.wcaeb-wrapper {
    padding-top: 7rem;
}

/* Header */
.wcaeb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--wcaeb-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.wcaeb-header-scrolled {
    background: rgba(15, 15, 26, 0.98);
    box-shadow: var(--wcaeb-shadow);
}

.wcaeb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.wcaeb-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wcaeb-logo img {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.6rem;
}

.wcaeb-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--wcaeb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wcaeb-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wcaeb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 4.4rem;
}

.wcaeb-btn-primary {
    background: var(--wcaeb-gradient);
    color: var(--wcaeb-bg);
}

.wcaeb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 255, 0, 0.4);
}

.wcaeb-btn-outline {
    background: transparent;
    color: var(--wcaeb-primary);
    border: 2px solid var(--wcaeb-primary);
}

.wcaeb-btn-outline:hover {
    background: var(--wcaeb-primary);
    color: var(--wcaeb-bg);
}

.wcaeb-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    background: transparent;
    border: none;
    color: var(--wcaeb-text);
    font-size: 2.4rem;
    cursor: pointer;
}

/* Mobile Menu */
.wcaeb-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--wcaeb-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.gameca67-active {
    right: 0 !important;
}

.wcaeb-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: all 0.3s ease;
}

.wcaeb-menu-overlay.gameca67-active {
    opacity: 1;
    visibility: visible;
}

.wcaeb-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--wcaeb-border);
}

.wcaeb-menu-close {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wcaeb-bg-card);
    border-radius: 0.8rem;
    font-size: 2rem;
    cursor: pointer;
}

.wcaeb-nav-list {
    list-style: none;
}

.wcaeb-nav-item {
    margin-bottom: 0.5rem;
}

.wcaeb-nav-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.6rem;
    border-radius: 0.8rem;
    color: var(--wcaeb-text);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.wcaeb-nav-link:hover {
    background: var(--wcaeb-bg-card);
    color: var(--wcaeb-primary);
}

.wcaeb-nav-link i {
    width: 2.4rem;
    font-size: 1.8rem;
}

/* Slider/Carousel */
.wcaeb-slider {
    position: relative;
    overflow: hidden;
    border-radius: 1.2rem;
    margin-bottom: 2rem;
}

.wcaeb-slides {
    position: relative;
}

.gameca67-slide {
    display: none;
    cursor: pointer;
}

.gameca67-slide.gameca67-active {
    display: block;
}

.gameca67-slide img {
    width: 100%;
    border-radius: 1.2rem;
}

.wcaeb-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.gameca67-slide-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gameca67-slide-dot.gameca67-active {
    background: var(--wcaeb-primary);
    width: 2.4rem;
    border-radius: 0.5rem;
}

/* Section Styles */
.wcaeb-section {
    padding: 2.5rem 0;
}

.wcaeb-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--wcaeb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wcaeb-subtitle {
    color: var(--wcaeb-text-muted);
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

/* Game Grid */
.wcaeb-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.wcaeb-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wcaeb-game-item:hover {
    transform: translateY(-3px);
}

.wcaeb-game-icon {
    width: 7rem;
    height: 7rem;
    border-radius: 1rem;
    object-fit: cover;
    margin-bottom: 0.6rem;
    border: 2px solid var(--wcaeb-border);
    transition: border-color 0.3s ease;
}

.wcaeb-game-item:hover .wcaeb-game-icon {
    border-color: var(--wcaeb-primary);
}

.wcaeb-game-name {
    font-size: 1.1rem;
    color: var(--wcaeb-text-muted);
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Title */
.wcaeb-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--wcaeb-primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wcaeb-category-title i {
    font-size: 2rem;
}

/* Cards */
.wcaeb-card {
    background: var(--wcaeb-bg-card);
    border-radius: 1.2rem;
    padding: 1.6rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--wcaeb-border);
}

.wcaeb-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--wcaeb-primary);
}

.wcaeb-card-text {
    color: var(--wcaeb-text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
}

/* FAQ Accordion */
.wcaeb-faq-item {
    background: var(--wcaeb-bg-card);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.wcaeb-faq-question {
    padding: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--wcaeb-text);
}

.wcaeb-faq-answer {
    padding: 0 1.4rem 1.4rem;
    color: var(--wcaeb-text-muted);
    font-size: 1.4rem;
}

/* Promo Links */
.wcaeb-promo-text {
    color: var(--wcaeb-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wcaeb-promo-text:hover {
    text-decoration: underline;
}

/* Footer */
.wcaeb-footer {
    background: var(--wcaeb-bg-dark);
    padding: 3rem 0 10rem;
    border-top: 1px solid var(--wcaeb-border);
}

.wcaeb-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.wcaeb-footer-link {
    color: var(--wcaeb-text-muted);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.wcaeb-footer-link:hover {
    color: var(--wcaeb-primary);
}

.wcaeb-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.wcaeb-partner {
    width: 4rem;
    height: 2.5rem;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.wcaeb-partner:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.wcaeb-copyright {
    text-align: center;
    color: var(--wcaeb-text-muted);
    font-size: 1.2rem;
}

/* Bottom Navigation - Mobile */
.wcaeb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, rgba(15, 15, 26, 1) 100%);
    border-top: 1px solid var(--wcaeb-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 6.4rem;
    padding: 0 0.5rem;
}

.wcaeb-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
    min-height: 6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.wcaeb-nav-btn:hover {
    background: rgba(127, 255, 0, 0.1);
}

.wcaeb-nav-btn.active {
    color: var(--wcaeb-primary);
}

.wcaeb-nav-btn i {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.wcaeb-nav-btn span {
    font-size: 1rem;
    color: var(--wcaeb-text-muted);
}

.wcaeb-nav-btn.active span,
.wcaeb-nav-btn:hover span {
    color: var(--wcaeb-primary);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .wcaeb-bottom-nav {
        display: none;
    }

    .wcaeb-wrapper {
        padding-bottom: 0;
    }
}

/* Mobile content padding for bottom nav */
@media (max-width: 768px) {
    main, .wcaeb-main {
        padding-bottom: 8rem;
    }
}

/* Utility Classes */
.wcaeb-text-center {
    text-align: center;
}

.wcaeb-mb-1 { margin-bottom: 1rem; }
.wcaeb-mb-2 { margin-bottom: 2rem; }
.wcaeb-mb-3 { margin-bottom: 3rem; }

.wcaeb-mt-1 { margin-top: 1rem; }
.wcaeb-mt-2 { margin-top: 2rem; }

/* Responsive adjustments */
@media (max-width: 380px) {
    .wcaeb-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .wcaeb-game-icon {
        width: 6rem;
        height: 6rem;
    }

    .wcaeb-game-name {
        font-size: 1rem;
    }
}

/* H1 Title */
.wcaeb-h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Feature List */
.wcaeb-feature-list {
    list-style: none;
}

.wcaeb-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.wcaeb-feature-icon {
    width: 4rem;
    height: 4rem;
    background: var(--wcaeb-bg-card);
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wcaeb-primary);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.wcaeb-feature-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.wcaeb-feature-content p {
    font-size: 1.3rem;
    color: var(--wcaeb-text-muted);
}

/* Promo Banner */
.wcaeb-promo-banner {
    background: var(--wcaeb-gradient);
    border-radius: 1.2rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.wcaeb-promo-banner h3 {
    font-size: 2rem;
    color: var(--wcaeb-bg);
    margin-bottom: 0.8rem;
}

.wcaeb-promo-banner p {
    color: var(--wcaeb-bg);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.wcaeb-promo-banner .wcaeb-btn {
    background: var(--wcaeb-bg);
    color: var(--wcaeb-primary);
}

/* List styles */
.wcaeb-list {
    list-style: none;
    padding-left: 0;
}

.wcaeb-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--wcaeb-text-muted);
}

.wcaeb-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.4rem;
    width: 0.8rem;
    height: 0.8rem;
    background: var(--wcaeb-primary);
    border-radius: 50%;
}
