/**
 * slo100 Core CSS Layout
 * All classes use s29e- prefix for namespace isolation
 * Color Palette: #1B263B (dark bg) | #C71585 (accent) | #00FF7F (highlight)
 * Secondary: #DEE2E6 (text) | #9AFF9A (success) | #32CD32 (green)
 */

/* CSS Variables */
:root {
    --s29e-primary: #C71585;
    --s29e-bg: #1B263B;
    --s29e-bg-light: #243352;
    --s29e-bg-card: #1e2d47;
    --s29e-text: #DEE2E6;
    --s29e-text-muted: #9aa5b4;
    --s29e-accent: #00FF7F;
    --s29e-accent2: #32CD32;
    --s29e-success: #9AFF9A;
    --s29e-gold: #FFD700;
    --s29e-radius: 0.8rem;
    --s29e-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
    background: var(--s29e-bg);
    color: var(--s29e-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    overflow-x: hidden;
    max-width: 430px;
    margin: 0 auto;
}
a { color: var(--s29e-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.s29e-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1rem; }
.s29e-wrapper { padding: 1rem 0; }
.s29e-grid { display: grid; gap: 0.8rem; }

/* Header */
.s29e-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--s29e-bg);
    border-bottom: 1px solid rgba(199,21,133,0.3);
    max-width: 430px;
    margin: 0 auto;
    height: 5rem;
}
.s29e-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.5rem 1rem; height: 100%;
}
.s29e-logo { display: flex; align-items: center; gap: 0.6rem; }
.s29e-logo img { width: 3rem; height: 3rem; border-radius: 50%; }
.s29e-logo-text { font-size: 1.8rem; font-weight: 700; color: var(--s29e-primary); }
.s29e-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.s29e-btn-register {
    background: var(--s29e-primary); color: #fff;
    border: none; padding: 0.6rem 1.2rem; border-radius: var(--s29e-radius);
    font-size: 1.3rem; font-weight: 600; cursor: pointer;
    transition: all 0.2s ease;
}
.s29e-btn-register:hover { background: #d92898; transform: scale(1.05); }
.s29e-btn-login {
    background: transparent; color: var(--s29e-accent);
    border: 1px solid var(--s29e-accent); padding: 0.6rem 1.2rem;
    border-radius: var(--s29e-radius); font-size: 1.3rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
}
.s29e-btn-login:hover { background: rgba(0,255,127,0.1); }
.s29e-menu-toggle {
    background: none; border: none; color: var(--s29e-text);
    font-size: 2rem; cursor: pointer; padding: 0.4rem;
}

/* Mobile Menu */
.s29e-menu-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); z-index: 9998;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.s29e-overlay-active { opacity: 1; visibility: visible; }
.s29e-mobile-menu {
    position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
    background: var(--s29e-bg-light); z-index: 9999;
    transition: right 0.3s ease; padding: 2rem 1.5rem;
    overflow-y: auto;
}
.s29e-menu-active { right: 0; }
.s29e-menu-close {
    background: none; border: none; color: var(--s29e-text);
    font-size: 2rem; position: absolute; top: 1rem; right: 1rem; cursor: pointer;
}
.s29e-menu-links { list-style: none; margin-top: 3rem; }
.s29e-menu-links li { border-bottom: 1px solid rgba(222,226,230,0.1); }
.s29e-menu-links a {
    display: block; padding: 1.2rem 0.5rem; color: var(--s29e-text);
    font-size: 1.4rem; transition: color 0.2s;
}
.s29e-menu-links a:hover { color: var(--s29e-accent); }

/* Carousel */
.s29e-carousel { position: relative; overflow: hidden; border-radius: var(--s29e-radius); margin-top: 5.5rem; }
.s29e-carousel-track { display: flex; transition: transform 0.5s ease; }
.s29e-slide { min-width: 100%; cursor: pointer; }
.s29e-slide img { width: 100%; height: 18rem; object-fit: cover; border-radius: var(--s29e-radius); }
.s29e-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.8rem; }
.s29e-dot {
    width: 0.8rem; height: 0.8rem; border-radius: 50%;
    background: rgba(222,226,230,0.3); border: none; cursor: pointer;
    transition: background 0.3s;
}
.s29e-dot-active { background: var(--s29e-primary); }

/* Section */
.s29e-section { padding: 1.5rem 0; }
.s29e-section-title {
    font-size: 1.6rem; font-weight: 700; color: var(--s29e-text);
    margin-bottom: 1rem; padding-left: 1rem;
    border-left: 3px solid var(--s29e-primary);
}

/* Game Grid */
.s29e-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.s29e-game-card {
    background: var(--s29e-bg-card); border-radius: var(--s29e-radius);
    overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}
.s29e-game-card:hover { transform: translateY(-2px); box-shadow: var(--s29e-shadow); }
.s29e-game-card img { width: 100%; height: 7rem; object-fit: cover; }
.s29e-game-card span {
    display: block; padding: 0.4rem 0.2rem; font-size: 1.1rem;
    color: var(--s29e-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Content Blocks */
.s29e-content-block {
    background: var(--s29e-bg-card); border-radius: var(--s29e-radius);
    padding: 1.5rem; margin-bottom: 1.2rem;
}
.s29e-content-block h2 {
    font-size: 1.5rem; color: var(--s29e-primary); margin-bottom: 0.8rem;
}
.s29e-content-block h3 {
    font-size: 1.3rem; color: var(--s29e-accent); margin: 1rem 0 0.5rem;
}
.s29e-content-block p {
    font-size: 1.3rem; line-height: 1.8rem; color: var(--s29e-text-muted);
    margin-bottom: 0.6rem;
}

/* Promo Link Button */
.s29e-promo-btn {
    display: inline-block; background: linear-gradient(135deg, var(--s29e-primary), #d92898);
    color: #fff; padding: 1rem 2rem; border-radius: var(--s29e-radius);
    font-size: 1.4rem; font-weight: 700; cursor: pointer; border: none;
    text-align: center; transition: all 0.3s ease; margin: 0.5rem 0;
}
.s29e-promo-btn:hover { transform: scale(1.03); box-shadow: 0 4px 15px rgba(199,21,133,0.4); }
.s29e-promo-link {
    color: var(--s29e-accent); font-weight: 600; cursor: pointer;
    border-bottom: 1px dashed var(--s29e-accent);
}
.s29e-promo-link:hover { color: var(--s29e-gold); }

/* Features Grid */
.s29e-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.s29e-feature-item {
    background: var(--s29e-bg-card); padding: 1rem; border-radius: var(--s29e-radius);
    text-align: center;
}
.s29e-feature-item i { font-size: 2rem; color: var(--s29e-primary); margin-bottom: 0.5rem; }
.s29e-feature-item h4 { font-size: 1.2rem; color: var(--s29e-accent); margin-bottom: 0.3rem; }
.s29e-feature-item p { font-size: 1.1rem; color: var(--s29e-text-muted); }

/* Testimonials */
.s29e-testimonial {
    background: var(--s29e-bg-card); border-radius: var(--s29e-radius);
    padding: 1rem; margin-bottom: 0.8rem; border-left: 3px solid var(--s29e-accent);
}
.s29e-testimonial p { font-size: 1.2rem; color: var(--s29e-text-muted); font-style: italic; }
.s29e-testimonial strong { color: var(--s29e-accent); font-style: normal; }

/* Winners */
.s29e-winner-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.6rem 0; border-bottom: 1px solid rgba(222,226,230,0.05);
}
.s29e-winner-name { font-size: 1.2rem; color: var(--s29e-text); }
.s29e-winner-amount { font-size: 1.3rem; color: var(--s29e-accent2); font-weight: 700; }
.s29e-winner-game { font-size: 1.1rem; color: var(--s29e-text-muted); }

/* Payment Icons */
.s29e-payment-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.s29e-payment-item {
    background: var(--s29e-bg-card); padding: 0.6rem 1rem; border-radius: 0.5rem;
    font-size: 1.2rem; color: var(--s29e-text); border: 1px solid rgba(222,226,230,0.1);
}

/* Footer */
.s29e-footer {
    background: var(--s29e-bg-light); padding: 2rem 1rem 1rem;
    margin-top: 2rem; border-top: 2px solid var(--s29e-primary);
}
.s29e-footer-text { font-size: 1.2rem; color: var(--s29e-text-muted); line-height: 1.8rem; margin-bottom: 1rem; }
.s29e-footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem; }
.s29e-footer-links a {
    color: var(--s29e-accent); font-size: 1.1rem;
    padding: 0.3rem 0.6rem; background: var(--s29e-bg); border-radius: 0.4rem;
}
.s29e-footer-copy { text-align: center; font-size: 1.1rem; color: var(--s29e-text-muted); padding-top: 1rem; border-top: 1px solid rgba(222,226,230,0.1); }

/* Bottom Navigation */
.s29e-bnav {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 1000; background: var(--s29e-bg-light);
    border-top: 1px solid rgba(199,21,133,0.3);
    height: 6rem; display: flex; justify-content: space-around; align-items: center;
    max-width: 430px; margin: 0 auto;
}
.s29e-bnav-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: none; border: none; color: var(--s29e-text-muted); cursor: pointer;
    min-width: 6rem; min-height: 5.5rem; padding: 0.4rem;
    transition: all 0.2s ease; position: relative;
}
.s29e-bnav-btn i, .s29e-bnav-btn .material-icons-outlined { font-size: 2.2rem; margin-bottom: 0.2rem; }
.s29e-bnav-btn span { font-size: 1rem; }
.s29e-bnav-btn:hover { color: var(--s29e-accent); }
.s29e-bnav-active { color: var(--s29e-primary) !important; }
.s29e-bnav-active::after {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 3rem; height: 2px; background: var(--s29e-primary); border-radius: 2px;
}

/* FAQ Accordion */
.s29e-faq-item { margin-bottom: 0.6rem; }
.s29e-faq-q {
    background: var(--s29e-bg-card); padding: 1rem; border-radius: var(--s29e-radius);
    font-weight: 600; color: var(--s29e-text); font-size: 1.3rem; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    border-left: 3px solid var(--s29e-primary);
}
.s29e-faq-a {
    background: rgba(27,38,59,0.5); padding: 1rem; font-size: 1.2rem;
    color: var(--s29e-text-muted); line-height: 1.8rem; border-radius: 0 0 var(--s29e-radius) var(--s29e-radius);
}

/* Responsive */
@media (max-width: 768px) {
    main { padding-bottom: 8rem; }
}
@media (min-width: 769px) {
    .s29e-bnav { display: none; }
}
