/*
 * layout-03c2.css - Stylesheet for gbajje.click
 * All classes prefixed with gc2b- to avoid conflicts
 * Color palette: #FFA500 (orange), #1C2833 (dark), #FFD700 (gold)
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
    --gc2b-primary: #FFA500;
    --gc2b-secondary: #FFD700;
    --gc2b-bg: #1C2833;
    --gc2b-bg-light: #2C3E50;
    --gc2b-bg-dark: #0D1117;
    --gc2b-text: #FFFFFF;
    --gc2b-text-muted: #B0BEC5;
    --gc2b-accent: #FF6B35;
    --gc2b-success: #00E676;
    --gc2b-danger: #FF5252;
    --gc2b-border: rgba(255, 165, 0, 0.2);
    --gc2b-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    --gc2b-radius: 8px;
    --gc2b-radius-lg: 12px;
    --gc2b-transition: all 0.3s ease;
    --gc2b-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --gc2b-header-h: 56px;
    --gc2b-bottom-nav-h: 60px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--gc2b-font);
    background: var(--gc2b-bg);
    color: var(--gc2b-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--gc2b-primary); text-decoration: none; transition: var(--gc2b-transition); }
a:hover { color: var(--gc2b-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.gc2b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    height: var(--gc2b-header-h);
    background: linear-gradient(135deg, var(--gc2b-bg-dark), var(--gc2b-bg));
    border-bottom: 1px solid var(--gc2b-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.2rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.gc2b-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.gc2b-logo img { width: 28px; height: 28px; border-radius: 4px; }
.gc2b-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gc2b-primary), var(--gc2b-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gc2b-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.gc2b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: var(--gc2b-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--gc2b-transition);
    text-decoration: none;
    min-height: 36px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
}
.gc2b-btn-register {
    background: linear-gradient(135deg, var(--gc2b-primary), var(--gc2b-accent));
    color: var(--gc2b-bg-dark);
}
.gc2b-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 16px rgba(255, 165, 0, 0.4); }
.gc2b-btn-login {
    background: transparent;
    color: var(--gc2b-primary);
    border: 1.5px solid var(--gc2b-primary);
}
.gc2b-btn-login:hover { background: rgba(255, 165, 0, 0.1); }
.gc2b-menu-toggle {
    background: none;
    border: none;
    color: var(--gc2b-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.gc2b-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--gc2b-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
}
.gc2b-menu-active { right: 0; }
.gc2b-mobile-menu .gc2b-menu-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--gc2b-text);
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--gc2b-transition);
}
.gc2b-mobile-menu .gc2b-menu-link:hover {
    color: var(--gc2b-primary);
    padding-left: 1.5rem;
    background: rgba(255, 165, 0, 0.05);
}
.gc2b-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.gc2b-overlay-active { opacity: 1; pointer-events: all; }

/* Main Content */
.gc2b-main {
    padding-top: calc(var(--gc2b-header-h) + 0.8rem);
    padding-bottom: 1rem;
    min-height: 100vh;
}
@media (max-width: 768px) {
    .gc2b-main { padding-bottom: calc(var(--gc2b-bottom-nav-h) + 1rem); }
}

/* Carousel */
.gc2b-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--gc2b-radius-lg);
    margin-bottom: 1.5rem;
}
.gc2b-carousel-track {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.gc2b-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--gc2b-transition);
    cursor: pointer;
}
.gc2b-slide-active { opacity: 1; z-index: 1; }
.gc2b-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gc2b-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.gc2b-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--gc2b-transition);
}
.gc2b-dot-active { background: var(--gc2b-primary); transform: scale(1.3); }

/* Section */
.gc2b-section {
    padding: 1.2rem 1rem;
    margin-bottom: 1rem;
}
.gc2b-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gc2b-text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.gc2b-section-title::before {
    content: '';
    width: 4px;
    height: 1.8rem;
    background: linear-gradient(to bottom, var(--gc2b-primary), var(--gc2b-secondary));
    border-radius: 2px;
}

/* Game Grid */
.gc2b-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.gc2b-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--gc2b-transition);
    -webkit-tap-highlight-color: transparent;
}
.gc2b-game-card:hover { transform: translateY(-2px); }
.gc2b-game-card:active { transform: scale(0.95); }
.gc2b-game-img {
    width: 70px;
    height: 70px;
    border-radius: var(--gc2b-radius);
    object-fit: cover;
    border: 2px solid rgba(255, 165, 0, 0.15);
    transition: var(--gc2b-transition);
    margin-bottom: 0.4rem;
}
.gc2b-game-card:hover .gc2b-game-img { border-color: var(--gc2b-primary); box-shadow: 0 0 10px rgba(255, 165, 0, 0.3); }
.gc2b-game-name {
    font-size: 1.05rem;
    color: var(--gc2b-text-muted);
    line-height: 1.3;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Category Header */
.gc2b-cat-header {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gc2b-primary);
    margin: 1.5rem 0 0.8rem;
    padding-left: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Promo Banner */
.gc2b-promo-banner {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), rgba(255, 215, 0, 0.08));
    border: 1px solid var(--gc2b-border);
    border-radius: var(--gc2b-radius-lg);
    padding: 1.5rem;
    margin: 1rem;
    text-align: center;
}
.gc2b-promo-banner h2 {
    font-size: 1.8rem;
    color: var(--gc2b-secondary);
    margin-bottom: 0.8rem;
}
.gc2b-promo-banner p {
    color: var(--gc2b-text-muted);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Content Module */
.gc2b-module {
    background: var(--gc2b-bg-light);
    border-radius: var(--gc2b-radius-lg);
    padding: 1.5rem;
    margin: 1rem;
}
.gc2b-module h2 {
    font-size: 1.6rem;
    color: var(--gc2b-primary);
    margin-bottom: 1rem;
}
.gc2b-module h3 {
    font-size: 1.3rem;
    color: var(--gc2b-secondary);
    margin: 0.8rem 0 0.4rem;
}
.gc2b-module p {
    color: var(--gc2b-text-muted);
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

/* CTA Button */
.gc2b-cta {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 1rem auto;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--gc2b-primary), var(--gc2b-accent));
    color: var(--gc2b-bg-dark);
    border: none;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: var(--gc2b-transition);
    -webkit-tap-highlight-color: transparent;
}
.gc2b-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.5);
}
.gc2b-cta:active { transform: scale(0.97); }

/* Stats Grid */
.gc2b-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1rem 0;
}
.gc2b-stat-card {
    background: var(--gc2b-bg-dark);
    border: 1px solid var(--gc2b-border);
    border-radius: var(--gc2b-radius);
    padding: 1rem;
    text-align: center;
}
.gc2b-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gc2b-secondary);
}
.gc2b-stat-label {
    font-size: 1.1rem;
    color: var(--gc2b-text-muted);
    margin-top: 0.3rem;
}

/* Footer */
.gc2b-footer {
    background: var(--gc2b-bg-dark);
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--gc2b-border);
}
.gc2b-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}
.gc2b-footer-brand p {
    color: var(--gc2b-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 340px;
    margin: 0 auto;
}
.gc2b-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.gc2b-footer-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gc2b-bg-light);
    border: 1px solid var(--gc2b-border);
    border-radius: var(--gc2b-radius);
    color: var(--gc2b-text-muted);
    font-size: 1.1rem;
    transition: var(--gc2b-transition);
    cursor: pointer;
}
.gc2b-footer-link:hover { color: var(--gc2b-primary); border-color: var(--gc2b-primary); }
.gc2b-footer-copy {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Bottom Navigation */
.gc2b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    height: var(--gc2b-bottom-nav-h);
    background: linear-gradient(to top, var(--gc2b-bg-dark), rgba(28, 40, 51, 0.98));
    border-top: 1px solid var(--gc2b-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.3rem;
    backdrop-filter: blur(10px);
}
.gc2b-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    cursor: pointer;
    color: var(--gc2b-text-muted);
    transition: var(--gc2b-transition);
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0.4rem;
}
.gc2b-bottom-nav-item:hover { color: var(--gc2b-primary); }
.gc2b-bottom-nav-item:active { transform: scale(0.9); }
.gc2b-nav-active { color: var(--gc2b-primary); }
.gc2b-nav-active .gc2b-nav-icon { transform: scale(1.15); }
.gc2b-nav-icon {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
    transition: var(--gc2b-transition);
}
.gc2b-nav-label {
    font-size: 1rem;
    line-height: 1.2;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .gc2b-bottom-nav { display: none; }
    .gc2b-menu-toggle { display: none; }
}

/* Testimonial */
.gc2b-testimonial {
    background: var(--gc2b-bg-dark);
    border: 1px solid var(--gc2b-border);
    border-radius: var(--gc2b-radius);
    padding: 1rem;
    margin-bottom: 0.8rem;
}
.gc2b-testimonial-text {
    color: var(--gc2b-text-muted);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}
.gc2b-testimonial-author {
    color: var(--gc2b-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Winners */
.gc2b-winners-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.gc2b-winner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.8rem;
    background: var(--gc2b-bg-dark);
    border-radius: var(--gc2b-radius);
    border-left: 3px solid var(--gc2b-primary);
}
.gc2b-winner-name { font-size: 1.2rem; color: var(--gc2b-text); }
.gc2b-winner-amount { font-size: 1.3rem; color: var(--gc2b-secondary); font-weight: 700; }

/* Payment Icons */
.gc2b-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin: 1rem 0;
}
.gc2b-payment-item {
    background: var(--gc2b-bg-dark);
    border: 1px solid var(--gc2b-border);
    border-radius: var(--gc2b-radius);
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
    color: var(--gc2b-text-muted);
}

/* FAQ */
.gc2b-faq-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--gc2b-bg-dark);
    border-radius: var(--gc2b-radius);
    border-left: 3px solid var(--gc2b-primary);
}
.gc2b-faq-q {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gc2b-secondary);
    margin-bottom: 0.4rem;
}
.gc2b-faq-a {
    font-size: 1.2rem;
    color: var(--gc2b-text-muted);
    line-height: 1.6;
}

/* Responsive Helpers */
.gc2b-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0;
}
.gc2b-text-center { text-align: center; }
.gc2b-text-gold { color: var(--gc2b-secondary); }
.gc2b-text-orange { color: var(--gc2b-primary); }
.gc2b-text-muted { color: var(--gc2b-text-muted); }
.gc2b-mb-1 { margin-bottom: 0.5rem; }
.gc2b-mb-2 { margin-bottom: 1rem; }
.gc2b-mb-3 { margin-bottom: 1.5rem; }
.gc2b-mt-2 { margin-top: 1rem; }
.gc2b-hidden { display: none; }

/* Desktop adjustments */
@media (min-width: 769px) {
    body { max-width: 430px; }
}
