/**
 * VVJL - Gaming Platform Stylesheet
 * Class prefix: w7f24-
 * Color scheme: Medium Spring Green primary
 */

/* CSS Variables */
:root {
    --w7f24-primary: #00FA9A;
    --w7f24-secondary: #DCDCDC;
    --w7f24-dark: #0C0C0C;
    --w7f24-light: #C0C0C0;
    --w7f24-accent: #36454F;
    --w7f24-text: #FFFFFF;
    --w7f24-border: rgba(0, 250, 154, 0.2);
    --w7f24-gradient: linear-gradient(135deg, #00FA9A 0%, #36454F 100%);
    --w7f24-shadow: 0 4px 20px rgba(0, 250, 154, 0.3);
    --w7f24-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--w7f24-dark);
    color: var(--w7f24-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 320px;
    max-width: 100%;
}

/* Container */
.w7f24-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 431px) {
    .w7f24-container {
        max-width: 1200px;
    }
}

/* Header Styles */
.w7f24-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.98) 0%, rgba(12, 12, 12, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--w7f24-primary);
    box-shadow: 0 2px 20px rgba(0, 250, 154, 0.2);
}

.w7f24-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    max-width: 430px;
    margin: 0 auto;
}

@media (min-width: 431px) {
    .w7f24-header-inner {
        max-width: 1200px;
    }
}

.w7f24-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--w7f24-primary);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.w7f24-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--w7f24-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.w7f24-header-buttons {
    display: flex;
    gap: 10px;
}

.w7f24-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--w7f24-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.w7f24-btn-register {
    background: var(--w7f24-primary);
    color: var(--w7f24-dark);
}

.w7f24-btn-register:hover {
    background: #00E88A;
    transform: translateY(-2px);
    box-shadow: var(--w7f24-shadow);
}

.w7f24-btn-login {
    background: transparent;
    color: var(--w7f24-primary);
    border: 2px solid var(--w7f24-primary);
}

.w7f24-btn-login:hover {
    background: var(--w7f24-primary);
    color: var(--w7f24-dark);
    transform: translateY(-2px);
}

/* Mobile Menu */
.w7f24-mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--w7f24-primary);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 769px) {
    .w7f24-mobile-menu-btn {
        display: none;
    }
}

#game7f00-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(12, 12, 12, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 80px 20px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

#game7f00-mobile-menu.game7f00-menu-active {
    transform: translateX(0);
}

.w7f24-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--w7f24-primary);
    font-size: 32px;
    cursor: pointer;
    padding: 10px;
}

.w7f24-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.w7f24-menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    color: var(--w7f24-text);
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: var(--w7f24-transition);
    border: 1px solid transparent;
}

.w7f24-menu-link:hover {
    background: rgba(0, 250, 154, 0.1);
    border-color: var(--w7f24-border);
    color: var(--w7f24-primary);
}

.w7f24-menu-link i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

/* Main Content */
main {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (min-width: 769px) {
    main {
        padding-bottom: 40px;
    }
}

/* Carousel */
.w7f24-carousel {
    position: relative;
    width: 100%;
    max-width: 430px;
    height: 200px;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--w7f24-shadow);
}

@media (min-width: 431px) {
    .w7f24-carousel {
        max-width: 1200px;
        height: 400px;
    }
}

.w7f24-carousel-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.w7f24-carousel-slide:first-child {
    display: block;
}

.w7f24-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.w7f24-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--w7f24-primary);
    cursor: pointer;
    transition: var(--w7f24-transition);
}

.w7f24-carousel-indicator.game7f00-active,
.w7f24-carousel-indicator:hover {
    background: var(--w7f24-primary);
    transform: scale(1.2);
}

/* Section Styles */
.w7f24-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--w7f24-border);
}

.w7f24-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--w7f24-primary);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.w7f24-section-subtitle {
    font-size: 18px;
    color: var(--w7f24-light);
    text-align: center;
    margin-bottom: 30px;
}

/* Game Grid */
.w7f24-games-section {
    padding: 40px 0;
}

.w7f24-category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.w7f24-category-tab {
    padding: 10px 20px;
    background: rgba(0, 250, 154, 0.1);
    border: 1px solid var(--w7f24-border);
    border-radius: 20px;
    color: var(--w7f24-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--w7f24-transition);
}

.w7f24-category-tab:hover,
.w7f24-category-tab.game7f00-active {
    background: var(--w7f24-primary);
    color: var(--w7f24-dark);
    border-color: var(--w7f24-primary);
}

.w7f24-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 431px) {
    .w7f24-game-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }
}

.w7f24-game-card {
    position: relative;
    aspect-ratio: 1;
    background: var(--w7f24-accent);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--w7f24-transition);
    border: 2px solid transparent;
}

.w7f24-game-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--w7f24-primary);
    box-shadow: var(--w7f24-shadow);
}

.w7f24-game-card.game7f00-touch-active {
    transform: scale(0.98);
}

.w7f24-game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w7f24-game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 20px 8px 8px;
    color: var(--w7f24-text);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Cards */
.w7f24-content-card {
    background: rgba(54, 69, 79, 0.3);
    border: 1px solid var(--w7f24-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: var(--w7f24-transition);
}

.w7f24-content-card:hover {
    border-color: var(--w7f24-primary);
    box-shadow: var(--w7f24-shadow);
}

.w7f24-content-card h3 {
    color: var(--w7f24-primary);
    font-size: 20px;
    margin-bottom: 15px;
}

.w7f24-content-card p {
    color: var(--w7f24-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Feature List */
.w7f24-feature-list {
    list-style: none;
    padding: 0;
}

.w7f24-feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--w7f24-border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.w7f24-feature-list li:last-child {
    border-bottom: none;
}

.w7f24-feature-list li i {
    color: var(--w7f24-primary);
    font-size: 20px;
    margin-top: 2px;
}

.w7f24-feature-list li strong {
    color: var(--w7f24-text);
    font-weight: 600;
}

/* FAQ Accordion */
.w7f24-faq-item {
    background: rgba(54, 69, 79, 0.3);
    border: 1px solid var(--w7f24-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.w7f24-faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--w7f24-text);
    transition: var(--w7f24-transition);
}

.w7f24-faq-question:hover {
    background: rgba(0, 250, 154, 0.1);
    color: var(--w7f24-primary);
}

.w7f24-faq-answer {
    padding: 0 20px 16px;
    color: var(--w7f24-light);
    line-height: 1.8;
}

/* CTA Button */
.w7f24-cta-btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--w7f24-primary);
    color: var(--w7f24-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--w7f24-transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--w7f24-shadow);
}

.w7f24-cta-btn:hover {
    background: #00E88A;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 250, 154, 0.5);
}

.w7f24-cta-container {
    text-align: center;
    margin: 30px 0;
}

/* Footer */
.w7f24-footer {
    background: rgba(12, 12, 12, 0.98);
    border-top: 2px solid var(--w7f24-primary);
    padding: 40px 0 100px;
    margin-top: 40px;
}

@media (min-width: 769px) {
    .w7f24-footer {
        padding-bottom: 40px;
    }
}

.w7f24-footer-inner {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 431px) {
    .w7f24-footer-inner {
        max-width: 1200px;
    }
}

.w7f24-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.w7f24-partner-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--w7f24-transition);
}

.w7f24-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.w7f24-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.w7f24-footer-link {
    color: var(--w7f24-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--w7f24-transition);
}

.w7f24-footer-link:hover {
    color: var(--w7f24-primary);
}

.w7f24-copyright {
    text-align: center;
    color: var(--w7f24-light);
    font-size: 13px;
    padding-top: 20px;
    border-top: 1px solid var(--w7f24-border);
}

/* Bottom Navigation */
.w7f24-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.98) 0%, rgba(12, 12, 12, 1) 100%);
    border-top: 2px solid var(--w7f24-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    z-index: 1000;
    box-shadow: 0 -2px 20px rgba(0, 250, 154, 0.2);
}

@media (min-width: 769px) {
    .w7f24-bottom-nav {
        display: none;
    }
}

.w7f24-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 8px;
    color: var(--w7f24-light);
    text-decoration: none;
    transition: var(--w7f24-transition);
    border-radius: 8px;
    gap: 4px;
}

.w7f24-nav-item:hover {
    background: rgba(0, 250, 154, 0.1);
    color: var(--w7f24-primary);
    transform: translateY(-2px);
}

.w7f24-nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.w7f24-nav-item span {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Utility Classes */
.w7f24-text-center {
    text-align: center;
}

.w7f24-mb-20 {
    margin-bottom: 20px;
}

.w7f24-mt-20 {
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 430px) {
    .w7f24-section-title {
        font-size: 24px;
    }

    .w7f24-cta-btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .w7f24-content-card {
        padding: 20px;
    }
}
