/**
 * 2026jl Layout CSS
 * Class prefix: g0c7-
 * Site: 2026jl.click
 */

/* CSS Variables - Color Palette */
:root {
    --g0c7-primary: #8B0000;
    --g0c7-primary-dark: #6B0000;
    --g0c7-secondary: #DB7093;
    --g0c7-bg: #2C2C2C;
    --g0c7-bg-light: #3C3C3C;
    --g0c7-text: #F0F0F0;
    --g0c7-text-muted: #B0B0B0;
    --g0c7-white: #FFFFFF;
    --g0c7-black: #1A1A1A;
    --g0c7-accent: #FF6B8A;
    --g0c7-success: #4CAF50;
    --g0c7-warning: #FF9800;
    --g0c7-error: #F44336;
    --g0c7-gold: #FFD700;
    --g0c7-border: #4A4A4A;
    --g0c7-shadow: rgba(0, 0, 0, 0.4);
    --g0c7-transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--g0c7-bg);
    color: var(--g0c7-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--g0c7-transition);
}

ul, ol {
    list-style: none;
}

/* Container */
.g0c7-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 12px;
}

.g0c7-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.g0c7-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, var(--g0c7-primary) 0%, var(--g0c7-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--g0c7-shadow);
}

.g0c7-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.g0c7-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--g0c7-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: var(--g0c7-white);
}

.g0c7-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--g0c7-white);
    letter-spacing: -0.5px;
}

.g0c7-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.g0c7-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--g0c7-transition);
    white-space: nowrap;
}

.g0c7-btn-register {
    background: var(--g0c7-secondary);
    color: var(--g0c7-white);
}

.g0c7-btn-register:hover {
    background: var(--g0c7-accent);
    transform: scale(1.05);
}

.g0c7-btn-login {
    background: transparent;
    color: var(--g0c7-white);
    border: 2px solid var(--g0c7-white);
}

.g0c7-btn-login:hover {
    background: var(--g0c7-white);
    color: var(--g0c7-primary);
}

.g0c7-menu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--g0c7-white);
    font-size: 24px;
}

/* Main Content */
.g0c7-main {
    flex: 1;
    padding-top: 72px;
    padding-bottom: 100px;
}

/* Carousel */
.g0c7-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.g0c7-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.g0c7-slide.g0c7-active {
    opacity: 1;
}

.g0c7-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g0c7-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.g0c7-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--g0c7-transition);
}

.g0c7-dot.g0c7-active {
    background: var(--g0c7-secondary);
    width: 24px;
    border-radius: 4px;
}

/* Section Styles */
.g0c7-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--g0c7-border);
}

.g0c7-section:last-child {
    border-bottom: none;
}

.g0c7-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--g0c7-white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.g0c7-section-title i {
    color: var(--g0c7-secondary);
}

/* Category Tabs */
.g0c7-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.g0c7-tab {
    padding: 10px 16px;
    background: var(--g0c7-bg-light);
    border: none;
    border-radius: 20px;
    color: var(--g0c7-text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--g0c7-transition);
}

.g0c7-tab:hover,
.g0c7-tab.g0c7-active {
    background: var(--g0c7-primary);
    color: var(--g0c7-white);
}

/* Game Grid */
.g0c7-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.g0c7-game-card {
    background: var(--g0c7-bg-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--g0c7-transition);
}

.g0c7-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--g0c7-shadow);
}

.g0c7-game-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--g0c7-bg);
}

.g0c7-game-info {
    padding: 8px;
}

.g0c7-game-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--g0c7-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.g0c7-game-rtp {
    font-size: 10px;
    color: var(--g0c7-success);
    margin-top: 2px;
}

/* Info Cards */
.g0c7-info-card {
    background: var(--g0c7-bg-light);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid var(--g0c7-secondary);
}

.g0c7-info-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--g0c7-white);
    margin-bottom: 8px;
}

.g0c7-info-card p {
    font-size: 13px;
    color: var(--g0c7-text-muted);
    line-height: 1.7;
}

/* Feature Grid */
.g0c7-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.g0c7-feature-item {
    background: var(--g0c7-bg-light);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.g0c7-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, var(--g0c7-primary) 0%, var(--g0c7-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--g0c7-white);
}

.g0c7-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--g0c7-white);
    margin-bottom: 4px;
}

.g0c7-feature-desc {
    font-size: 11px;
    color: var(--g0c7-text-muted);
}

/* FAQ Accordion */
.g0c7-accordion {
    background: var(--g0c7-bg-light);
    border-radius: 12px;
    overflow: hidden;
}

.g0c7-accordion-item {
    border-bottom: 1px solid var(--g0c7-border);
}

.g0c7-accordion-item:last-child {
    border-bottom: none;
}

.g0c7-accordion-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--g0c7-white);
}

.g0c7-accordion-header i {
    transition: var(--g0c7-transition);
}

.g0c7-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.g0c7-accordion-content p {
    padding: 0 16px 16px;
    font-size: 13px;
    color: var(--g0c7-text-muted);
    line-height: 1.7;
}

/* Bottom Navigation */
.g0c7-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--g0c7-bg);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--g0c7-border);
    box-shadow: 0 -2px 10px var(--g0c7-shadow);
}

.g0c7-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    cursor: pointer;
    color: var(--g0c7-text-muted);
    transition: var(--g0c7-transition);
}

.g0c7-nav-item:hover,
.g0c7-nav-item.g0c7-active {
    color: var(--g0c7-secondary);
}

.g0c7-nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.g0c7-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Mobile Menu */
.g0c7-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--g0c7-transition);
}

.g0c7-menu-overlay.g0c7-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g0c7-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g0c7-bg);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.g0c7-mobile-menu.g0c7-menu-active {
    right: 0;
}

.g0c7-menu-header {
    padding: 16px;
    background: var(--g0c7-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g0c7-menu-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--g0c7-white);
    font-size: 20px;
}

.g0c7-menu-links {
    padding: 16px 0;
}

.g0c7-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--g0c7-text);
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: var(--g0c7-transition);
}

.g0c7-menu-link:hover {
    background: var(--g0c7-bg-light);
    border-left-color: var(--g0c7-secondary);
    color: var(--g0c7-white);
}

.g0c7-menu-link i {
    width: 24px;
    font-size: 18px;
    color: var(--g0c7-secondary);
}

/* Footer */
.g0c7-footer {
    background: var(--g0c7-black);
    padding: 24px 16px;
    margin-top: auto;
}

.g0c7-footer-content {
    text-align: center;
}

.g0c7-footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--g0c7-white);
    margin-bottom: 12px;
}

.g0c7-footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.g0c7-footer-link {
    font-size: 12px;
    color: var(--g0c7-text-muted);
}

.g0c7-footer-link:hover {
    color: var(--g0c7-secondary);
}

.g0c7-footer-text {
    font-size: 11px;
    color: var(--g0c7-text-muted);
    line-height: 1.8;
}

.g0c7-footer-partners {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.g0c7-partner-logo {
    width: 60px;
    height: 30px;
    background: var(--g0c7-bg-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--g0c7-text-muted);
}

/* Responsive - Desktop */
@media (min-width: 769px) {
    .g0c7-container {
        max-width: 1200px;
    }

    .g0c7-bottom-nav {
        display: none;
    }

    .g0c7-main {
        padding-bottom: 40px;
    }

    .g0c7-carousel {
        height: 350px;
    }

    .g0c7-game-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .g0c7-feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Specific */
@media (max-width: 768px) {
    .g0c7-main {
        padding-bottom: 80px;
    }
}

/* Utility Classes */
.g0c7-text-center {
    text-align: center;
}

.g0c7-mt-10 {
    margin-top: 10px;
}

.g0c7-mt-20 {
    margin-top: 20px;
}

.g0c7-mb-10 {
    margin-bottom: 10px;
}

.g0c7-mb-20 {
    margin-bottom: 20px;
}

/* Animation Classes */
@keyframes g0c7Pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.g0c7-animate-pulse {
    animation: g0c7Pulse 2s infinite;
}

@keyframes g0c7FadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.g0c7-animate-fade-in {
    animation: g0c7FadeIn 0.5s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--g0c7-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--g0c7-border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--g0c7-secondary);
}
