/**
 * 333ok app apk - Core Stylesheet
 * All classes prefixed with gc25- for namespace isolation
 * Color palette: #2D2D2D (bg) | #48D1CC (accent) | #4169E1 (primary)
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
    --gc25-bg: #2D2D2D;
    --gc25-bg-dark: #1a1a1a;
    --gc25-bg-card: #363636;
    --gc25-accent: #48D1CC;
    --gc25-primary: #4169E1;
    --gc25-primary-light: #5a7ff7;
    --gc25-text: #f0f0f0;
    --gc25-text-muted: #b0b0b0;
    --gc25-text-dim: #888888;
    --gc25-border: #4a4a4a;
    --gc25-success: #2ecc71;
    --gc25-warning: #f39c12;
    --gc25-danger: #e74c3c;
    --gc25-gold: #FFD700;
    --gc25-radius: 1.2rem;
    --gc25-radius-sm: 0.8rem;
    --gc25-shadow: 0 4px 15px rgba(0,0,0,0.3);
    --gc25-transition: all 0.3s ease;
    font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Bengali', sans-serif;
    background-color: var(--gc25-bg);
    color: var(--gc25-text);
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

a { color: var(--gc25-accent); text-decoration: none; transition: var(--gc25-transition); }
a:hover { color: var(--gc25-primary-light); }

img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.gc25-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: var(--gc25-bg-dark);
    border-bottom: 1px solid var(--gc25-border);
    z-index: 1000;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5.2rem;
}

.gc25-logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

.gc25-logo-area img {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.5rem;
}

.gc25-logo-area span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gc25-accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gc25-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.gc25-btn-register {
    background: var(--gc25-primary);
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--gc25-radius-sm);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--gc25-transition);
    min-height: 3.2rem;
    min-width: 5rem;
}

.gc25-btn-register:hover { background: var(--gc25-primary-light); transform: scale(1.05); }

.gc25-btn-login {
    background: transparent;
    color: var(--gc25-accent);
    border: 1px solid var(--gc25-accent);
    padding: 0.6rem 1.2rem;
    border-radius: var(--gc25-radius-sm);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--gc25-transition);
    min-height: 3.2rem;
    min-width: 5rem;
}

.gc25-btn-login:hover { background: var(--gc25-accent); color: var(--gc25-bg-dark); }

.gc25-menu-btn {
    background: none;
    border: none;
    color: var(--gc25-text);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== MOBILE MENU ===== */
.gc25-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}

.gc25-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    max-width: 300px;
    height: 100%;
    background: var(--gc25-bg-dark);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1.5rem;
}

.gc25-mobile-menu.active { transform: translateX(0); }

.gc25-menu-close {
    background: none;
    border: none;
    color: var(--gc25-text);
    font-size: 2.4rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.gc25-menu-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gc25-accent);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gc25-border);
}

.gc25-menu-link {
    display: block;
    color: var(--gc25-text);
    font-size: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gc25-border);
    transition: var(--gc25-transition);
}

.gc25-menu-link:hover { color: var(--gc25-accent); padding-left: 0.5rem; }

/* ===== MAIN CONTENT ===== */
.gc25-main {
    margin-top: 5.2rem;
    padding: 1rem;
}

@media (max-width: 768px) {
    .gc25-main { padding-bottom: 80px; }
}

/* ===== SLIDER / CAROUSEL ===== */
.gc25-slider {
    position: relative;
    border-radius: var(--gc25-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 16/7;
}

.gc25-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.gc25-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--gc25-radius);
}

.gc25-slide:first-child { display: block; opacity: 1; }

.gc25-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--gc25-transition);
}

.gc25-slider-nav:hover { background: rgba(0,0,0,0.8); }
.gc25-slider-prev { left: 0.5rem; }
.gc25-slider-next { right: 0.5rem; }

.gc25-slider-dots {
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.gc25-slider-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: var(--gc25-transition);
}

.gc25-slider-dot.active { background: var(--gc25-accent); width: 2rem; border-radius: 0.4rem; }

/* ===== SECTION HEADINGS ===== */
.gc25-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gc25-accent);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--gc25-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gc25-section-title i { color: var(--gc25-primary); }

.gc25-h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gc25-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* ===== GAME GRID ===== */
.gc25-game-section { margin-bottom: 2.5rem; }

.gc25-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.gc25-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--gc25-transition);
    padding: 0.5rem;
    border-radius: var(--gc25-radius-sm);
}

.gc25-game-card:hover { background: var(--gc25-bg-card); transform: translateY(-2px); }

.gc25-game-card img {
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 1rem;
    margin-bottom: 0.4rem;
    object-fit: cover;
    border: 2px solid var(--gc25-border);
    transition: var(--gc25-transition);
}

.gc25-game-card:hover img { border-color: var(--gc25-accent); }

.gc25-game-card span {
    font-size: 1.1rem;
    color: var(--gc25-text-muted);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== CONTENT CARDS ===== */
.gc25-card {
    background: var(--gc25-bg-card);
    border-radius: var(--gc25-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gc25-border);
}

.gc25-card h2 {
    font-size: 1.8rem;
    color: var(--gc25-accent);
    margin-bottom: 1rem;
}

.gc25-card h3 {
    font-size: 1.6rem;
    color: var(--gc25-primary-light);
    margin-bottom: 0.8rem;
}

.gc25-card p {
    color: var(--gc25-text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.gc25-card ul, .gc25-card ol {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.gc25-card li {
    color: var(--gc25-text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* ===== PROMO BUTTONS ===== */
.gc25-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--gc25-primary), var(--gc25-accent));
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 1.2rem 2.5rem;
    border-radius: var(--gc25-radius);
    border: none;
    cursor: pointer;
    transition: var(--gc25-transition);
    text-decoration: none;
    box-shadow: var(--gc25-shadow);
    min-height: 4.4rem;
}

.gc25-promo-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(72,209,204,0.4); }

.gc25-promo-text {
    display: inline-block;
    color: var(--gc25-accent);
    font-weight: 600;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--gc25-transition);
    text-decoration: underline;
}

.gc25-promo-text:hover { color: var(--gc25-primary-light); }

/* ===== BOTTOM NAV ===== */
.gc25-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: var(--gc25-bg-dark);
    border-top: 1px solid var(--gc25-border);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 6rem;
    padding: 0 0.3rem;
}

@media (min-width: 769px) {
    .gc25-bottom-nav { display: none; }
}

.gc25-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    min-height: 5.5rem;
    background: none;
    border: none;
    color: var(--gc25-text-dim);
    cursor: pointer;
    transition: var(--gc25-transition);
    border-radius: 0.8rem;
    padding: 0.4rem;
    gap: 0.2rem;
}

.gc25-nav-item:hover, .gc25-nav-item.active {
    color: var(--gc25-accent);
    background: rgba(72,209,204,0.1);
    transform: scale(1.1);
}

.gc25-nav-item .gc25-nav-icon {
    font-size: 2.4rem;
    line-height: 1;
}

.gc25-nav-item .gc25-nav-label {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
}

/* ===== FOOTER ===== */
.gc25-footer {
    background: var(--gc25-bg-dark);
    border-top: 1px solid var(--gc25-border);
    padding: 2rem 1rem;
    margin-top: 2rem;
}

.gc25-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.gc25-footer-brand p {
    color: var(--gc25-text-muted);
    font-size: 1.3rem;
    line-height: 1.5;
}

.gc25-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.gc25-footer-links a {
    background: var(--gc25-bg-card);
    color: var(--gc25-text-muted);
    padding: 0.6rem 1rem;
    border-radius: var(--gc25-radius-sm);
    font-size: 1.2rem;
    border: 1px solid var(--gc25-border);
    transition: var(--gc25-transition);
}

.gc25-footer-links a:hover { border-color: var(--gc25-accent); color: var(--gc25-accent); }

.gc25-footer-copy {
    text-align: center;
    color: var(--gc25-text-dim);
    font-size: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gc25-border);
}

/* ===== UTILITIES ===== */
.gc25-container { max-width: 430px; margin: 0 auto; padding: 0 1rem; }
.gc25-text-center { text-align: center; }
.gc25-text-accent { color: var(--gc25-accent); }
.gc25-text-primary { color: var(--gc25-primary); }
.gc25-text-gold { color: var(--gc25-gold); }
.gc25-mb-1 { margin-bottom: 0.5rem; }
.gc25-mb-2 { margin-bottom: 1rem; }
.gc25-mb-3 { margin-bottom: 1.5rem; }
.gc25-mt-2 { margin-top: 1rem; }
.gc25-mt-3 { margin-top: 1.5rem; }

/* ===== FAQ ACCORDION ===== */
.gc25-faq-item {
    background: var(--gc25-bg-card);
    border: 1px solid var(--gc25-border);
    border-radius: var(--gc25-radius-sm);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.gc25-faq-q {
    padding: 1.2rem;
    font-weight: 600;
    color: var(--gc25-text);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gc25-faq-q::after { content: '+'; color: var(--gc25-accent); font-size: 1.8rem; }
.gc25-faq-item.open .gc25-faq-q::after { content: '-'; }

.gc25-faq-a {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--gc25-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

.gc25-faq-item.open .gc25-faq-a { max-height: 300px; padding-bottom: 1.2rem; }

/* ===== WINNER MARQUEE ===== */
.gc25-winners {
    background: var(--gc25-bg-card);
    border-radius: var(--gc25-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gc25-border);
}

.gc25-winner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1.3rem;
}

.gc25-winner-name { color: var(--gc25-accent); font-weight: 600; }
.gc25-winner-amount { color: var(--gc25-gold); font-weight: 700; }

/* ===== PAYMENT ICONS ===== */
.gc25-payment-row {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.gc25-payment-icon {
    background: var(--gc25-bg-card);
    border: 1px solid var(--gc25-border);
    border-radius: var(--gc25-radius-sm);
    padding: 0.8rem 1.2rem;
    color: var(--gc25-text-muted);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ===== TESTIMONIAL ===== */
.gc25-testimonial {
    background: var(--gc25-bg-card);
    border-left: 3px solid var(--gc25-accent);
    border-radius: 0 var(--gc25-radius-sm) var(--gc25-radius-sm) 0;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
}

.gc25-testimonial-text {
    color: var(--gc25-text-muted);
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.gc25-testimonial-author {
    color: var(--gc25-accent);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
    body { max-width: 430px; }
    .gc25-header { max-width: 430px; }
    .gc25-bottom-nav { display: none; }
    .gc25-main { padding-bottom: 1rem; }
}

/* ===== ANIMATIONS ===== */
@keyframes gc25-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes gc25-shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gc25-animate-pulse { animation: gc25-pulse 2s infinite; }

/* ===== CTA SECTION ===== */
.gc25-cta {
    background: linear-gradient(135deg, var(--gc25-primary), #2a5bd7);
    border-radius: var(--gc25-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.gc25-cta h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.gc25-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}
