/**
 * 1333be.click - Theme Stylesheet
 * All classes use pg5b- prefix for namespace isolation
 * Colors: #1C2833 (dark bg) | #00E5FF (accent) | #20B2AA (teal) | #48D1CC (medium teal) | #A0522D (sienna)
 * Mobile-first design, max-width 430px
 */

/* === CSS Variables === */
:root {
    --pg5b-primary: #00E5FF;
    --pg5b-bg: #1C2833;
    --pg5b-bg-light: #243342;
    --pg5b-bg-card: #1a2a38;
    --pg5b-text: #E8F4F8;
    --pg5b-text-muted: #8DA4B5;
    --pg5b-accent: #20B2AA;
    --pg5b-accent2: #48D1CC;
    --pg5b-sienna: #A0522D;
    --pg5b-gold: #FFD700;
    --pg5b-gradient: linear-gradient(135deg, #00E5FF 0%, #20B2AA 100%);
    --pg5b-shadow: 0 4px 15px rgba(0, 229, 255, 0.15);
    --pg5b-radius: 0.8rem;
    --pg5b-radius-sm: 0.4rem;
    font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
    background: var(--pg5b-bg);
    color: var(--pg5b-text);
    font-size: 1.6rem;
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}
a { color: var(--pg5b-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Layout === */
.pg5b-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg5b-wrapper { width: 100%; position: relative; }

/* === Header === */
.pg5b-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--pg5b-bg);
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    transition: background 0.3s, box-shadow 0.3s;
}
.pg5b-header-scrolled {
    background: rgba(28, 40, 51, 0.97);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.pg5b-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 430px; margin: 0 auto;
    padding: 0.6rem 1.2rem; height: 5.2rem;
}
.pg5b-logo-area {
    display: flex; align-items: center; gap: 0.6rem;
    flex-shrink: 0;
}
.pg5b-logo-img { width: 2.8rem; height: 2.8rem; border-radius: 50%; }
.pg5b-logo-text {
    font-size: 1.8rem; font-weight: 700;
    background: var(--pg5b-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pg5b-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.pg5b-btn-register {
    background: var(--pg5b-gradient);
    color: var(--pg5b-bg); font-weight: 700; font-size: 1.3rem;
    padding: 0.5rem 1.2rem; border-radius: 2rem; border: none;
    cursor: pointer; min-height: 3.6rem; min-width: 6rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pg5b-btn-register:hover { transform: scale(1.05); box-shadow: var(--pg5b-shadow); }
.pg5b-btn-login {
    background: transparent; color: var(--pg5b-primary);
    font-weight: 600; font-size: 1.3rem;
    padding: 0.5rem 1rem; border-radius: 2rem;
    border: 1.5px solid var(--pg5b-primary);
    cursor: pointer; min-height: 3.6rem;
    transition: background 0.2s;
}
.pg5b-btn-login:hover { background: rgba(0, 229, 255, 0.1); }
.pg5b-menu-toggle {
    background: none; border: none; color: var(--pg5b-primary);
    font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
    display: flex; align-items: center; justify-content: center;
}

/* === Mobile Menu === */
.pg5b-mobile-menu {
    position: fixed; top: 0; right: -280px;
    width: 280px; height: 100vh;
    background: var(--pg5b-bg-light);
    z-index: 9999;
    transition: right 0.35s ease;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
}
.pg5b-menu-active { right: 0; }
.pg5b-menu-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.pg5b-overlay-active { opacity: 1; pointer-events: auto; }
.pg5b-menu-close {
    position: absolute; top: 1.2rem; right: 1.2rem;
    background: none; border: none; color: var(--pg5b-text);
    font-size: 2.4rem; cursor: pointer;
}
.pg5b-menu-link {
    display: block; padding: 1.2rem 0;
    color: var(--pg5b-text); font-size: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s, padding-left 0.2s;
}
.pg5b-menu-link:hover { color: var(--pg5b-primary); padding-left: 0.8rem; }

/* === Main Content === */
.pg5b-main { padding-top: 5.2rem; }

/* === Carousel === */
.pg5b-carousel { position: relative; width: 100%; overflow: hidden; }
.pg5b-slides-wrapper { position: relative; width: 100%; }
.pg5b-slide {
    display: none; width: 100%;
    cursor: pointer;
}
.pg5b-slide-active { display: block; }
.pg5b-slide img {
    width: 100%; height: auto;
    aspect-ratio: 430/200; object-fit: cover;
}
.pg5b-dots {
    position: absolute; bottom: 0.8rem;
    left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.6rem; z-index: 2;
}
.pg5b-slide-dot {
    width: 0.8rem; height: 0.8rem; border-radius: 50%;
    background: rgba(255,255,255,0.4); border: none; cursor: pointer;
    transition: background 0.3s;
}
.pg5b-dot-active { background: var(--pg5b-primary); }

/* === Section Titles === */
.pg5b-section-title {
    font-size: 1.8rem; font-weight: 700;
    margin: 2rem 0 1rem; padding-left: 1rem;
    border-left: 3px solid var(--pg5b-primary);
    color: var(--pg5b-text);
}
.pg5b-section-subtitle {
    font-size: 1.4rem; color: var(--pg5b-text-muted);
    margin-bottom: 1rem;
}

/* === Game Grid === */
.pg5b-game-section { margin-bottom: 2rem; }
.pg5b-game-section-title {
    font-size: 1.6rem; font-weight: 600;
    margin: 1.5rem 0 0.8rem;
    color: var(--pg5b-accent2);
    display: flex; align-items: center; gap: 0.5rem;
}
.pg5b-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.pg5b-game-item {
    display: flex; flex-direction: column; align-items: center;
    cursor: pointer; transition: transform 0.2s;
}
.pg5b-game-item:hover { transform: translateY(-2px); }
.pg5b-game-img {
    width: 100%; aspect-ratio: 1/1;
    border-radius: var(--pg5b-radius-sm);
    object-fit: cover;
    border: 1px solid rgba(0, 229, 255, 0.12);
}
.pg5b-game-name {
    font-size: 1.1rem; text-align: center;
    margin-top: 0.3rem; color: var(--pg5b-text);
    overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap; width: 100%;
}

/* === Content Cards === */
.pg5b-card {
    background: var(--pg5b-bg-card);
    border-radius: var(--pg5b-radius);
    padding: 1.6rem; margin-bottom: 1.2rem;
    border: 1px solid rgba(0, 229, 255, 0.08);
}
.pg5b-card-title {
    font-size: 1.6rem; font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--pg5b-primary);
}
.pg5b-card-text {
    font-size: 1.4rem; line-height: 1.6;
    color: var(--pg5b-text-muted);
}
.pg5b-card-text strong { color: var(--pg5b-primary); }

/* === Promo Link Styles === */
.pg5b-promo-text {
    color: var(--pg5b-gold); font-weight: 700;
    cursor: pointer; transition: color 0.2s;
}
.pg5b-promo-text:hover { color: var(--pg5b-primary); }
.pg5b-promo-btn {
    display: inline-block;
    background: var(--pg5b-gradient);
    color: var(--pg5b-bg); font-weight: 700;
    padding: 1rem 2.4rem; border-radius: 2.5rem;
    font-size: 1.5rem; cursor: pointer;
    border: none; text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pg5b-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

/* === Footer === */
.pg5b-footer {
    background: var(--pg5b-bg-light);
    padding: 2rem 1.2rem 8rem;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}
.pg5b-footer-brand {
    font-size: 1.3rem; color: var(--pg5b-text-muted);
    line-height: 1.6; margin-bottom: 1.5rem;
}
.pg5b-footer-links {
    display: flex; flex-wrap: wrap; gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.pg5b-footer-link {
    background: rgba(0, 229, 255, 0.08);
    color: var(--pg5b-primary); font-size: 1.2rem;
    padding: 0.4rem 0.8rem; border-radius: var(--pg5b-radius-sm);
    transition: background 0.2s;
}
.pg5b-footer-link:hover { background: rgba(0, 229, 255, 0.18); }
.pg5b-footer-nav {
    display: flex; flex-wrap: wrap; gap: 1rem;
    margin-bottom: 1.5rem;
}
.pg5b-footer-nav a {
    color: var(--pg5b-text-muted); font-size: 1.2rem;
    transition: color 0.2s;
}
.pg5b-footer-nav a:hover { color: var(--pg5b-primary); }
.pg5b-copyright {
    font-size: 1.1rem; color: var(--pg5b-text-muted);
    text-align: center; opacity: 0.7;
}

/* === Bottom Navigation === */
.pg5b-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--pg5b-bg-light);
    border-top: 1px solid rgba(0, 229, 255, 0.12);
    display: flex; justify-content: space-around; align-items: center;
    height: 6rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}
.pg5b-bottom-btn {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    min-width: 6rem; min-height: 5.6rem;
    background: none; border: none;
    color: var(--pg5b-text-muted);
    cursor: pointer; transition: color 0.2s, transform 0.15s;
    padding: 0.4rem;
}
.pg5b-bottom-btn:hover { color: var(--pg5b-primary); }
.pg5b-bottom-btn.pg5b-active { color: var(--pg5b-primary); }
.pg5b-btn-pressed { transform: scale(0.92); }
.pg5b-bottom-btn i,
.pg5b-bottom-btn .material-icons,
.pg5b-bottom-btn ion-icon {
    font-size: 2.2rem; margin-bottom: 0.2rem;
}
.pg5b-bottom-btn span {
    font-size: 1rem; font-weight: 500;
}
.pg5b-bottom-btn .badge {
    position: absolute; top: 0.2rem; right: 0.8rem;
    background: var(--pg5b-sienna); color: #fff;
    font-size: 0.9rem; font-weight: 700;
    min-width: 1.6rem; height: 1.6rem;
    border-radius: 0.8rem;
    display: flex; align-items: center; justify-content: center;
}

/* === Responsive === */
@media (min-width: 769px) {
    .pg5b-bottom-nav { display: none; }
    .pg5b-container { max-width: 430px; }
}
@media (max-width: 768px) {
    .pg5b-main { padding-bottom: 8rem; }
}

/* === Utility === */
.pg5b-text-center { text-align: center; }
.pg5b-mt-1 { margin-top: 0.8rem; }
.pg5b-mt-2 { margin-top: 1.6rem; }
.pg5b-mb-1 { margin-bottom: 0.8rem; }
.pg5b-mb-2 { margin-bottom: 1.6rem; }
.pg5b-hidden { display: none; }

/* === Highlight Box === */
.pg5b-highlight {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(32, 178, 170, 0.08));
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--pg5b-radius);
    padding: 1.4rem; margin: 1.2rem 0;
}
.pg5b-highlight-title {
    font-size: 1.5rem; font-weight: 600;
    color: var(--pg5b-gold); margin-bottom: 0.6rem;
}

/* === Winner Ticker === */
.pg5b-winner-list { display: flex; flex-direction: column; gap: 0.6rem; }
.pg5b-winner-item {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(0, 229, 255, 0.04);
    padding: 0.8rem 1rem; border-radius: var(--pg5b-radius-sm);
    font-size: 1.3rem;
}
.pg5b-winner-name { color: var(--pg5b-primary); font-weight: 600; }
.pg5b-winner-amount { color: var(--pg5b-gold); font-weight: 700; }

/* === Payment Icons Row === */
.pg5b-payment-row {
    display: flex; flex-wrap: wrap; gap: 0.8rem;
    justify-content: center; margin: 1rem 0;
}
.pg5b-payment-icon {
    background: rgba(255,255,255,0.06);
    padding: 0.6rem 1.2rem; border-radius: var(--pg5b-radius-sm);
    font-size: 1.2rem; color: var(--pg5b-text-muted);
    border: 1px solid rgba(255,255,255,0.08);
}

/* === FAQ Accordion === */
.pg5b-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 1.2rem 0;
}
.pg5b-faq-q {
    font-size: 1.4rem; font-weight: 600;
    color: var(--pg5b-primary); margin-bottom: 0.4rem;
}
.pg5b-faq-a {
    font-size: 1.3rem; color: var(--pg5b-text-muted);
    line-height: 1.6;
}

/* === Help Page Styles === */
.pg5b-help-section { margin-bottom: 1.6rem; }
.pg5b-help-section h2 {
    font-size: 1.7rem; font-weight: 700;
    color: var(--pg5b-primary); margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(0, 229, 255, 0.15);
}
.pg5b-help-section h3 {
    font-size: 1.5rem; font-weight: 600;
    color: var(--pg5b-accent2); margin: 1rem 0 0.5rem;
}
.pg5b-help-section p {
    font-size: 1.4rem; line-height: 1.7;
    color: var(--pg5b-text-muted); margin-bottom: 0.8rem;
}
.pg5b-help-section ul {
    padding-left: 1.4rem; margin-bottom: 0.8rem;
}
.pg5b-help-section li {
    font-size: 1.3rem; color: var(--pg5b-text-muted);
    line-height: 1.6; margin-bottom: 0.4rem;
    list-style: disc;
}
.pg5b-step-list { counter-reset: pg5b-step; }
.pg5b-step-list li {
    list-style: none; position: relative;
    padding-left: 3rem; margin-bottom: 1rem;
}
.pg5b-step-list li::before {
    counter-increment: pg5b-step;
    content: counter(pg5b-step);
    position: absolute; left: 0; top: 0;
    width: 2.2rem; height: 2.2rem;
    background: var(--pg5b-gradient);
    color: var(--pg5b-bg); font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* === Inner Link Style === */
.pg5b-inner-link {
    color: var(--pg5b-accent2);
    text-decoration: underline;
    transition: color 0.2s;
}
.pg5b-inner-link:hover { color: var(--pg5b-primary); }
