/**
 * JL90 Gaming Platform - Theme Stylesheet
 * Version: 1.0.0
 * All classes use g07b- prefix for namespace isolation
 * Color Palette: #F8F9FA | #FFFACD | #2F2F2F | #0A0A0A
 */

:root {
    --g07b-light: #F8F9FA;
    --g07b-accent: #FFFACD;
    --g07b-dark: #2F2F2F;
    --g07b-darker: #0A0A0A;
    --g07b-primary: #1A1A1A;
    --g07b-gradient: linear-gradient(135deg, #0A0A0A 0%, #2F2F2F 100%);
    --g07b-gradient-accent: linear-gradient(135deg, #FFFACD 0%, #FFE4B5 100%);
    --g07b-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    --g07b-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--g07b-darker);
    color: var(--g07b-light);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

/* Header Styles */
.g07b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--g07b-gradient);
    padding: 12px 16px;
    z-index: 1000;
    box-shadow: var(--g07b-shadow);
    border-bottom: 1px solid var(--g07b-dark);
}

.g07b-header-inner {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g07b-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.g07b-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.g07b-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g07b-accent);
}

.g07b-logo-text span {
    color: var(--g07b-light);
}

.g07b-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.g07b-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.g07b-btn-login {
    background: transparent;
    color: var(--g07b-light);
    border: 2px solid var(--g07b-accent);
}

.g07b-btn-login:hover {
    background: var(--g07b-accent);
    color: var(--g07b-darker);
}

.g07b-btn-register {
    background: var(--g07b-accent);
    color: var(--g07b-darker);
}

.g07b-btn-register:hover {
    background: var(--g07b-light);
    transform: scale(1.05);
}

.g07b-menu-toggle {
    background: transparent;
    border: none;
    color: var(--g07b-light);
    font-size: 2.4rem;
    cursor: pointer;
    display: none;
}

/* Mobile Menu */
.g07b-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g07b-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 60px 20px 20px;
    border-left: 1px solid var(--g07b-dark);
}

.g07b-menu-active {
    right: 0;
}

.g07b-mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--g07b-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.g07b-mobile-nav-list {
    list-style: none;
}

.g07b-mobile-nav-item {
    margin-bottom: 8px;
}

.g07b-mobile-nav-link {
    display: block;
    padding: 14px 16px;
    color: var(--g07b-light);
    text-decoration: none;
    font-size: 1.6rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.g07b-mobile-nav-link:hover {
    background: var(--g07b-dark);
    color: var(--g07b-accent);
}

.g07b-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.g07b-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.g07b-main {
    max-width: 430px;
    margin: 0 auto;
    padding: 80px 16px 100px;
}

/* Hero Section */
.g07b-hero {
    background: var(--g07b-gradient);
    padding: 100px 16px 40px;
    text-align: center;
    margin-top: 56px;
}

.g07b-hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--g07b-accent);
    margin-bottom: 12px;
}

.g07b-hero-title span {
    color: var(--g07b-light);
}

.g07b-hero-desc {
    font-size: 1.6rem;
    color: var(--g07b-light);
    margin-bottom: 24px;
    opacity: 0.9;
}

.g07b-btn-hero {
    padding: 14px 32px;
    font-size: 1.6rem;
}

/* Carousel */
.g07b-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--g07b-radius);
    margin-bottom: 24px;
}

.g07b-carousel img {
    width: 100%;
    display: block;
    border-radius: var(--g07b-radius);
    cursor: pointer;
}

/* Section Styles */
.g07b-section {
    margin-bottom: 32px;
}

.g07b-section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--g07b-accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.g07b-section-title i {
    font-size: 2.4rem;
}

/* Game Grid */
.g07b-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.g07b-game-card {
    background: var(--g07b-dark);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 250, 205, 0.1);
}

.g07b-game-card:hover {
    transform: scale(1.05);
    border-color: var(--g07b-accent);
}

.g07b-game-img-wrapper {
    padding: 8px;
}

.g07b-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.g07b-game-info {
    padding: 8px;
    text-align: center;
}

.g07b-game-name {
    font-size: 1.1rem;
    color: var(--g07b-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Features */
.g07b-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.g07b-feature-card {
    background: var(--g07b-dark);
    padding: 20px;
    border-radius: var(--g07b-radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 250, 205, 0.1);
}

.g07b-feature-card:hover {
    border-color: var(--g07b-accent);
    transform: translateY(-4px);
}

.g07b-feature-icon {
    font-size: 2.8rem;
    color: var(--g07b-accent);
    margin-bottom: 12px;
}

.g07b-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--g07b-light);
    margin-bottom: 6px;
}

.g07b-feature-desc {
    font-size: 1.2rem;
    color: #888;
}

/* Help Section */
.g07b-help-section {
    background: var(--g07b-dark);
    padding: 24px;
    border-radius: var(--g07b-radius);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 250, 205, 0.05);
}

.g07b-help-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--g07b-accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.g07b-help-content {
    color: var(--g07b-light);
    font-size: 1.4rem;
    line-height: 1.8;
}

.g07b-help-content p {
    margin-bottom: 12px;
}

.g07b-help-link {
    color: var(--g07b-accent);
    text-decoration: none;
    font-weight: 600;
}

.g07b-help-link:hover {
    text-decoration: underline;
}

/* Promo Banner */
.g07b-promo-banner {
    background: var(--g07b-gradient-accent);
    padding: 24px;
    border-radius: var(--g07b-radius);
    text-align: center;
    cursor: pointer;
    margin-top: 24px;
}

.g07b-promo-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g07b-darker);
    margin-bottom: 8px;
}

.g07b-promo-desc {
    font-size: 1.4rem;
    color: var(--g07b-dark);
    margin-bottom: 16px;
}

/* Footer */
.g07b-footer {
    background: var(--g07b-darker);
    padding: 24px 16px;
    text-align: center;
    border-top: 1px solid var(--g07b-dark);
}

.g07b-footer-inner {
    max-width: 430px;
    margin: 0 auto;
}

.g07b-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.g07b-footer-link {
    color: #888;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.g07b-footer-link:hover {
    color: var(--g07b-accent);
}

.g07b-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.g07b-partner-img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.g07b-partner-img:hover {
    opacity: 1;
}

.g07b-copyright {
    font-size: 1.2rem;
    color: #666;
}

/* Bottom Navigation */
.g07b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--g07b-darker);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--g07b-dark);
}

.g07b-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888;
    font-size: 1rem;
    min-width: 60px;
    min-height: 60px;
    transition: color 0.3s ease;
}

.g07b-nav-item i,
.g07b-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.g07b-nav-item:hover,
.g07b-nav-item-active {
    color: var(--g07b-accent);
}

.g07b-nav-item-active {
    background: rgba(255, 250, 205, 0.1);
}

/* Page Header */
.g07b-page-header {
    background: var(--g07b-gradient);
    padding: 80px 16px 30px;
    text-align: center;
}

.g07b-page-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--g07b-accent);
    margin-bottom: 8px;
}

.g07b-page-breadcrumb {
    font-size: 1.3rem;
    color: var(--g07b-light);
    opacity: 0.8;
}

.g07b-breadcrumb-link {
    color: var(--g07b-accent);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .g07b-menu-toggle {
        display: block;
    }

    .g07b-btn-login,
    .g07b-btn-register {
        padding: 8px 14px;
        font-size: 1.2rem;
    }

    .g07b-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .g07b-main {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    .g07b-bottom-nav {
        display: none;
    }
}
