/**
 * JL22 - CSS Stylesheet
 * Website: jl22.club
 * Class Prefix: ge0b-
 * Description: Core styles for JL22 gaming platform
 */

/* CSS Variables */
:root {
    --ge0b-primary: #ADFF2F;
    --ge0b-secondary: #FA8072;
    --ge0b-accent: #FFCCCB;
    --ge0b-bg-dark: #1B263B;
    --ge0b-bg-light: #F5F5F5;
    --ge0b-text-light: #FFFFBA;
    --ge0b-text-dark: #1B263B;
    --ge0b-gold: #FFD700;
    --ge0b-success: #4CAF50;
    --ge0b-warning: #FF9800;
    --ge0b-danger: #F44336;
    --ge0b-header-height: 60px;
    --ge0b-bottom-nav-height: 60px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--ge0b-bg-dark) 0%, #0d1627 100%);
    color: var(--ge0b-bg-light);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.ge0b-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ge0b-wrapper {
    padding-top: var(--ge0b-header-height);
    padding-bottom: calc(var(--ge0b-bottom-nav-height) + 2rem);
}

/* Header */
.ge0b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--ge0b-header-height);
    background: linear-gradient(90deg, var(--ge0b-bg-dark) 0%, #2d3a52 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ge0b-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.ge0b-logo img {
    width: 32px;
    height: 32px;
}

.ge0b-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--ge0b-primary), var(--ge0b-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ge0b-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ge0b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 2.4rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ge0b-btn-register {
    background: linear-gradient(135deg, var(--ge0b-secondary), #ff6b5b);
    color: #fff;
}

.ge0b-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(250, 128, 114, 0.4);
}

.ge0b-btn-login {
    background: linear-gradient(135deg, var(--ge0b-primary), #8bc34a);
    color: var(--ge0b-bg-dark);
}

.ge0b-btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(173, 255, 47, 0.4);
}

.ge0b-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.8rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.ge0b-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--ge0b-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.ge0b-toggle-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.ge0b-toggle-active span:nth-child(2) {
    opacity: 0;
}

.ge0b-toggle-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.ge0b-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--ge0b-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.ge0b-menu-active {
    right: 0;
}

.ge0b-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ge0b-overlay-active {
    opacity: 1;
    visibility: visible;
}

.ge0b-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(173, 255, 47, 0.3);
}

.ge0b-menu-close {
    background: none;
    border: none;
    color: var(--ge0b-primary);
    font-size: 2.4rem;
    cursor: pointer;
}

.ge0b-menu-nav {
    list-style: none;
}

.ge0b-menu-nav li {
    margin-bottom: 0.5rem;
}

.ge0b-menu-nav a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--ge0b-bg-light);
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
}

.ge0b-menu-nav a:hover {
    background: rgba(173, 255, 47, 0.1);
    color: var(--ge0b-primary);
}

/* Carousel */
.ge0b-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.ge0b-slide {
    display: none;
    width: 100%;
    cursor: pointer;
}

.ge0b-slide-active {
    display: block;
}

.ge0b-slide img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Game Grid */
.ge0b-section {
    margin-bottom: 2.5rem;
}

.ge0b-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--ge0b-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ge0b-section-title i {
    font-size: 2rem;
}

.ge0b-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.ge0b-game-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ge0b-game-card:hover {
    transform: scale(1.05);
}

.ge0b-game-card img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.ge0b-game-card:hover img {
    border-color: var(--ge0b-primary);
}

.ge0b-game-name {
    font-size: 1rem;
    color: var(--ge0b-bg-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Section */
.ge0b-content-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.ge0b-content-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ge0b-primary);
    margin-bottom: 1rem;
}

.ge0b-content-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--ge0b-bg-light);
}

.ge0b-content-text p {
    margin-bottom: 1rem;
}

.ge0b-content-text a {
    color: var(--ge0b-secondary);
    text-decoration: underline;
}

.ge0b-content-text a:hover {
    color: var(--ge0b-primary);
}

/* Features List */
.ge0b-features-list {
    list-style: none;
}

.ge0b-features-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ge0b-features-list li:last-child {
    border-bottom: none;
}

.ge0b-features-list i {
    color: var(--ge0b-primary);
    font-size: 1.8rem;
    margin-top: 0.2rem;
}

/* Footer */
.ge0b-footer {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.ge0b-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ge0b-footer-links a {
    color: var(--ge0b-accent);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.ge0b-footer-links a:hover {
    color: var(--ge0b-primary);
}

.ge0b-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ge0b-partners img {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ge0b-partners img:hover {
    opacity: 1;
}

.ge0b-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Bottom Navigation */
.ge0b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--ge0b-bottom-nav-height);
    background: linear-gradient(180deg, #2d3a52 0%, var(--ge0b-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(173, 255, 47, 0.2);
}

.ge0b-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;
    text-decoration: none;
}

.ge0b-nav-item i,
.ge0b-nav-item .material-icons {
    font-size: 24px;
    color: var(--ge0b-accent);
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.ge0b-nav-item span {
    font-size: 10px;
    color: var(--ge0b-accent);
    transition: all 0.3s ease;
}

.ge0b-nav-item:hover i,
.ge0b-nav-item:hover span,
.ge0b-nav-item:hover .material-icons {
    color: var(--ge0b-primary);
    transform: scale(1.1);
}

.ge0b-nav-item.active i,
.ge0b-nav-item.active span,
.ge0b-nav-item.active .material-icons {
    color: var(--ge0b-primary);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .ge0b-bottom-nav {
        display: none;
    }
}

/* Mobile padding for content */
@media (max-width: 768px) {
    .ge0b-wrapper {
        padding-bottom: calc(var(--ge0b-bottom-nav-height) + 2rem);
    }
}

/* Promo Link Styles */
.ge0b-promo-link {
    color: var(--ge0b-secondary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.ge0b-promo-link:hover {
    color: var(--ge0b-primary);
}

.ge0b-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--ge0b-secondary), #ff6b5b);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.ge0b-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(250, 128, 114, 0.5);
}

/* RTP Stats */
.ge0b-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ge0b-rtp-item {
    background: rgba(173, 255, 47, 0.1);
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
}

.ge0b-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ge0b-primary);
}

.ge0b-rtp-label {
    font-size: 1.1rem;
    color: var(--ge0b-bg-light);
}

/* Achievements */
.ge0b-achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
}

.ge0b-achievement-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--ge0b-gold), #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* Utility Classes */
.ge0b-text-center { text-align: center; }
.ge0b-text-left { text-align: left; }
.ge0b-mt-1 { margin-top: 1rem; }
.ge0b-mt-2 { margin-top: 2rem; }
.ge0b-mb-1 { margin-bottom: 1rem; }
.ge0b-mb-2 { margin-bottom: 2rem; }
.ge0b-hidden { display: none; }

/* Desktop Navigation */
@media (min-width: 769px) {
    .ge0b-menu-toggle {
        display: none;
    }

    .ge0b-desktop-nav {
        display: flex;
        gap: 2rem;
    }

    .ge0b-desktop-nav a {
        color: var(--ge0b-bg-light);
        text-decoration: none;
        font-size: 1.3rem;
        transition: color 0.3s ease;
    }

    .ge0b-desktop-nav a:hover {
        color: var(--ge0b-primary);
    }
}

@media (max-width: 768px) {
    .ge0b-desktop-nav {
        display: none;
    }
}
