/**
 * JL8 Gaming Website - Theme Stylesheet
 * @description Mobile-first responsive design for gaming platform
 * @prefix ge71-
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --ge71-primary: #DDA0DD;
    --ge71-secondary: #8B7355;
    --ge71-accent: #7CFC00;
    --ge71-bg: #333333;
    --ge71-bg-light: #2a2a2a;
    --ge71-bg-dark: #1a1a1a;
    --ge71-text: #E6E6FA;
    --ge71-text-light: #ffffff;
    --ge71-text-muted: #b0b0b0;
    --ge71-border: #444444;
    --ge71-gradient: linear-gradient(135deg, #DDA0DD 0%, #8B7355 100%);
    --ge71-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --ge71-radius: 8px;
    --ge71-radius-lg: 16px;
    --ge71-transition: all 0.3s ease;
}

/* Base Styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    background-color: var(--ge71-bg);
    color: var(--ge71-text);
    min-height: 100vh;
}

/* Container */
.ge71-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Header Styles */
.ge71-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--ge71-bg-dark) 0%, rgba(26, 26, 26, 0.95) 100%);
    padding: 0.8rem 1rem;
    transition: var(--ge71-transition);
    border-bottom: 1px solid var(--ge71-border);
}

.ge71-header-scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: var(--ge71-shadow);
}

.ge71-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.ge71-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.ge71-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.ge71-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ge71-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ge71-header-actions {
    display: flex;
    gap: 0.6rem;
}

.ge71-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: var(--ge71-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ge71-transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ge71-btn-primary {
    background: var(--ge71-gradient);
    color: var(--ge71-bg-dark);
}

.ge71-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(221, 160, 221, 0.5);
}

.ge71-btn-secondary {
    background: transparent;
    color: var(--ge71-text);
    border: 1px solid var(--ge71-primary);
}

.ge71-btn-secondary:hover {
    background: var(--ge71-primary);
    color: var(--ge71-bg-dark);
}

/* Mobile Menu Toggle */
.ge71-menu-toggle {
    background: none;
    border: none;
    color: var(--ge71-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.ge71-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--ge71-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.ge71-menu-active {
    right: 0;
}

.ge71-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: var(--ge71-transition);
}

.ge71-overlay-active {
    opacity: 1;
    visibility: visible;
}

.ge71-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--ge71-text);
    font-size: 2rem;
    cursor: pointer;
}

.ge71-menu-nav {
    margin-top: 3rem;
    list-style: none;
    padding: 0;
}

.ge71-menu-nav li {
    margin-bottom: 0.8rem;
}

.ge71-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--ge71-text);
    text-decoration: none;
    border-radius: var(--ge71-radius);
    transition: var(--ge71-transition);
    font-size: 1.4rem;
}

.ge71-menu-nav a:hover {
    background: var(--ge71-bg);
    color: var(--ge71-primary);
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel Styles */
.ge71-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--ge71-radius-lg);
    margin: 1rem 0;
}

.ge71-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.ge71-slide {
    min-width: 100%;
    position: relative;
}

.ge71-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--ge71-radius-lg);
}

.ge71-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.ge71-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--ge71-transition);
}

.ge71-dot-active {
    background: var(--ge71-accent);
    width: 20px;
    border-radius: 4px;
}

/* Section Styles */
.ge71-section {
    padding: 1.5rem 0;
}

.ge71-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ge71-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ge71-secondary);
}

/* Game Grid */
.ge71-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.ge71-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--ge71-transition);
    text-decoration: none;
}

.ge71-game-item:hover {
    transform: translateY(-3px);
}

.ge71-game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--ge71-radius);
    border: 2px solid var(--ge71-border);
    transition: var(--ge71-transition);
}

.ge71-game-item:hover img {
    border-color: var(--ge71-primary);
    box-shadow: 0 0 15px rgba(221, 160, 221, 0.4);
}

.ge71-game-name {
    font-size: 1.1rem;
    color: var(--ge71-text);
    margin-top: 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Label */
.ge71-category-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: var(--ge71-bg-light);
    border-radius: 20px;
    font-size: 1.2rem;
    color: var(--ge71-accent);
    margin-bottom: 0.8rem;
}

/* Card Styles */
.ge71-card {
    background: var(--ge71-bg-light);
    border-radius: var(--ge71-radius-lg);
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--ge71-border);
}

.ge71-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ge71-primary);
    margin-bottom: 0.8rem;
}

.ge71-card-content {
    color: var(--ge71-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Footer Styles */
.ge71-footer {
    background: var(--ge71-bg-dark);
    padding: 2rem 1rem 3rem;
    border-top: 1px solid var(--ge71-border);
}

.ge71-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ge71-footer-links a {
    color: var(--ge71-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--ge71-transition);
}

.ge71-footer-links a:hover {
    color: var(--ge71-primary);
}

.ge71-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ge71-partners img {
    height: 24px;
    opacity: 0.7;
    transition: var(--ge71-transition);
    filter: grayscale(50%);
}

.ge71-partners img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.ge71-copyright {
    text-align: center;
    color: var(--ge71-text-muted);
    font-size: 1.1rem;
}

/* Bottom Navigation */
.ge71-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--ge71-bg-dark) 0%, #0d0d0d 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--ge71-border);
}

@media (min-width: 769px) {
    .ge71-bottom-nav {
        display: none;
    }
}

.ge71-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--ge71-transition);
    text-decoration: none;
}

.ge71-nav-item:hover,
.ge71-nav-item.active {
    transform: scale(1.1);
}

.ge71-nav-item i,
.ge71-nav-item .material-icons-outlined {
    font-size: 22px;
    color: var(--ge71-text-muted);
    transition: var(--ge71-transition);
}

.ge71-nav-item:hover i,
.ge71-nav-item:hover .material-icons-outlined,
.ge71-nav-item.active i,
.ge71-nav-item.active .material-icons-outlined {
    color: var(--ge71-accent);
}

.ge71-nav-item span {
    font-size: 10px;
    color: var(--ge71-text-muted);
    transition: var(--ge71-transition);
}

.ge71-nav-item:hover span,
.ge71-nav-item.active span {
    color: var(--ge71-primary);
}

/* Promo Link Styles */
.ge71-promo-link {
    color: var(--ge71-accent);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--ge71-transition);
}

.ge71-promo-link:hover {
    color: var(--ge71-primary);
    text-decoration: underline;
}

/* Feature List */
.ge71-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ge71-feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--ge71-border);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.ge71-feature-list li:last-child {
    border-bottom: none;
}

.ge71-feature-list i {
    color: var(--ge71-accent);
    font-size: 1.4rem;
    margin-top: 0.2rem;
}

/* FAQ Styles */
.ge71-faq-item {
    margin-bottom: 1rem;
}

.ge71-faq-question {
    font-weight: 600;
    color: var(--ge71-primary);
    margin-bottom: 0.4rem;
}

.ge71-faq-answer {
    color: var(--ge71-text-muted);
    padding-left: 1rem;
    border-left: 3px solid var(--ge71-secondary);
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .ge71-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ge71-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1.1rem;
    }
}

/* Utility Classes */
.ge71-text-center { text-align: center; }
.ge71-mb-1 { margin-bottom: 1rem; }
.ge71-mb-2 { margin-bottom: 2rem; }
.ge71-mt-1 { margin-top: 1rem; }
.ge71-mt-2 { margin-top: 2rem; }
.ge71-hidden { display: none; }
