/**
 * JL56 Website Stylesheet
 * All classes use v632- prefix for namespace isolation
 * Colors: #212F3D (bg) | #EEEEEE (text) | #9400D3 (accent)
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --v632-primary: #9400D3;
    --v632-bg: #212F3D;
    --v632-text: #EEEEEE;
    --v632-bg-light: #2C3E50;
    --v632-bg-card: #1B2631;
    --v632-border: #34495E;
    --v632-accent-hover: #A833D8;
    --v632-gradient: linear-gradient(135deg, #9400D3, #6A00A0);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--v632-bg);
    color: var(--v632-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--v632-primary); text-decoration: none; }
a:hover { color: var(--v632-accent-hover); }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.v632-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 56px;
    background: var(--v632-bg);
    border-bottom: 1px solid var(--v632-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.2rem;
    z-index: 1000;
}
.v632-logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}
.v632-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.v632-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v632-primary);
    letter-spacing: 0.5px;
}
.v632-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.v632-btn-register, .v632-btn-login {
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.v632-btn-register {
    background: var(--v632-primary);
    color: #fff;
}
.v632-btn-register:hover { background: var(--v632-accent-hover); transform: scale(1.04); }
.v632-btn-login {
    background: transparent;
    color: var(--v632-text);
    border: 1px solid var(--v632-primary);
}
.v632-btn-login:hover { background: var(--v632-primary); color: #fff; }
.v632-menu-toggle {
    background: none;
    border: none;
    color: var(--v632-text);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
}

/* ===== MOBILE MENU ===== */
.v632-menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    display: none;
}
.v632-overlay-active { display: block; }
.v632-mobile-menu {
    position: fixed;
    top: 0; right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v632-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 1.6rem;
}
.v632-menu-active { right: 0; }
.v632-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.6rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--v632-border);
}
.v632-menu-close {
    background: none;
    border: none;
    color: var(--v632-text);
    font-size: 2.4rem;
    cursor: pointer;
}
.v632-menu-section { margin-bottom: 1.6rem; }
.v632-menu-title {
    font-size: 1.1rem;
    color: var(--v632-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    font-weight: 600;
}
.v632-menu-link {
    display: block;
    padding: 0.7rem 0;
    color: var(--v632-text);
    font-size: 1.4rem;
    transition: color 0.2s;
}
.v632-menu-link:hover { color: var(--v632-primary); }

/* ===== BANNER ===== */
.v632-banner-wrap {
    margin-top: 56px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
}
.v632-banner-slide {
    display: none;
    cursor: pointer;
}
.v632-banner-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.v632-banner-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}
.v632-banner-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}
.v632-dot-active { background: var(--v632-primary); }

/* ===== MAIN CONTENT ===== */
.v632-main {
    padding: 1.2rem;
    padding-top: 0.8rem;
}
.v632-section {
    margin-bottom: 2rem;
}
.v632-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v632-text);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--v632-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.v632-section-title .material-symbols-outlined {
    font-size: 2.2rem;
    color: var(--v632-primary);
}

/* ===== GAME GRID ===== */
.v632-cat-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v632-primary);
    margin: 1.2rem 0 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.v632-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.v632-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.v632-game-item:hover { transform: translateY(-2px); }
.v632-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    border: 1px solid var(--v632-border);
    object-fit: cover;
    margin-bottom: 0.3rem;
}
.v632-game-name {
    font-size: 1.05rem;
    color: var(--v632-text);
    line-height: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== CONTENT BLOCKS ===== */
.v632-content-block {
    background: var(--v632-bg-card);
    border-radius: 8px;
    padding: 1.4rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--v632-border);
}
.v632-content-block h2 {
    font-size: 1.6rem;
    color: var(--v632-primary);
    margin-bottom: 0.8rem;
}
.v632-content-block h3 {
    font-size: 1.4rem;
    color: var(--v632-text);
    margin: 0.8rem 0 0.4rem;
}
.v632-content-block p {
    font-size: 1.3rem;
    line-height: 1.8rem;
    color: #ccc;
    margin-bottom: 0.6rem;
}
.v632-content-block ul {
    padding-left: 1.6rem;
    margin-bottom: 0.6rem;
}
.v632-content-block li {
    font-size: 1.3rem;
    line-height: 1.8rem;
    color: #ccc;
    margin-bottom: 0.3rem;
}

/* ===== CTA BUTTONS ===== */
.v632-cta-btn {
    display: inline-block;
    background: var(--v632-gradient);
    color: #fff;
    padding: 1rem 2.4rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}
.v632-cta-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(148,0,211,0.4);
}
.v632-text-link {
    color: var(--v632-primary);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
.v632-text-link:hover { color: var(--v632-accent-hover); }

/* ===== TESTIMONIALS ===== */
.v632-testimonial {
    background: var(--v632-bg-card);
    border-left: 3px solid var(--v632-primary);
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
    border-radius: 0 6px 6px 0;
}
.v632-testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: #ccc;
    margin-bottom: 0.4rem;
}
.v632-testimonial-author {
    font-size: 1.1rem;
    color: var(--v632-primary);
    font-weight: 600;
}

/* ===== WINNER SHOWCASE ===== */
.v632-winner-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--v632-border);
}
.v632-winner-item:last-child { border-bottom: none; }
.v632-winner-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--v632-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.v632-winner-info { flex: 1; }
.v632-winner-name { font-size: 1.2rem; color: var(--v632-text); font-weight: 600; }
.v632-winner-game { font-size: 1.1rem; color: #999; }
.v632-winner-amount { font-size: 1.3rem; color: #FFD700; font-weight: 700; }

/* ===== PAYMENT METHODS ===== */
.v632-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}
.v632-payment-item {
    background: var(--v632-bg-card);
    border: 1px solid var(--v632-border);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    font-size: 1.2rem;
    color: var(--v632-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== FAQ ===== */
.v632-faq-item {
    margin-bottom: 0.8rem;
}
.v632-faq-q {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v632-primary);
    margin-bottom: 0.3rem;
}
.v632-faq-a {
    font-size: 1.25rem;
    color: #ccc;
    line-height: 1.6rem;
    padding-left: 1.2rem;
}

/* ===== FOOTER ===== */
.v632-footer {
    background: var(--v632-bg-card);
    border-top: 1px solid var(--v632-border);
    padding: 2rem 1.2rem 1rem;
    margin-top: 2rem;
}
.v632-footer-brand {
    font-size: 1.3rem;
    color: #aaa;
    line-height: 1.6rem;
    margin-bottom: 1.2rem;
}
.v632-footer-brand strong { color: var(--v632-primary); }
.v632-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    margin-bottom: 1.2rem;
}
.v632-footer-link {
    font-size: 1.15rem;
    color: #999;
    transition: color 0.2s;
}
.v632-footer-link:hover { color: var(--v632-primary); }
.v632-footer-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}
.v632-footer-cta a {
    background: var(--v632-gradient);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 1.15rem;
    font-weight: 600;
}
.v632-footer-copy {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--v632-border);
}

/* ===== BOTTOM NAV ===== */
.v632-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 60px;
    background: var(--v632-bg-card);
    border-top: 1px solid var(--v632-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.4rem;
}
.v632-bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 52px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    transition: color 0.2s, transform 0.15s;
    border-radius: 8px;
    padding: 0.3rem;
}
.v632-bottom-btn:hover, .v632-bottom-btn.v632-active {
    color: var(--v632-primary);
}
.v632-bottom-btn .material-symbols-outlined,
.v632-bottom-btn i,
.v632-bottom-btn .bi {
    font-size: 2.2rem;
    margin-bottom: 0.1rem;
}
.v632-bottom-btn span:last-child {
    font-size: 1rem;
    font-weight: 500;
}

/* ===== HELP PAGE STYLES ===== */
.v632-help-header {
    margin-top: 56px;
    padding: 1.6rem 1.2rem;
    text-align: center;
    background: var(--v632-bg-card);
    border-bottom: 1px solid var(--v632-border);
}
.v632-help-header h1 {
    font-size: 2rem;
    color: var(--v632-primary);
    margin-bottom: 0.4rem;
}
.v632-help-header p {
    font-size: 1.3rem;
    color: #aaa;
}
.v632-help-content {
    padding: 1.2rem;
}
.v632-help-section {
    margin-bottom: 1.6rem;
}
.v632-help-section h2 {
    font-size: 1.6rem;
    color: var(--v632-primary);
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--v632-border);
}
.v632-help-section h3 {
    font-size: 1.4rem;
    color: var(--v632-text);
    margin: 1rem 0 0.5rem;
}
.v632-help-section p {
    font-size: 1.3rem;
    line-height: 1.8rem;
    color: #ccc;
    margin-bottom: 0.6rem;
}
.v632-help-section ol, .v632-help-section ul {
    padding-left: 1.6rem;
    margin-bottom: 0.8rem;
}
.v632-help-section li {
    font-size: 1.3rem;
    line-height: 1.8rem;
    color: #ccc;
    margin-bottom: 0.4rem;
}
.v632-step-card {
    background: var(--v632-bg-card);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--v632-primary);
}
.v632-step-num {
    display: inline-block;
    background: var(--v632-gradient);
    color: #fff;
    width: 24px; height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 0.6rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .v632-main { padding-bottom: 80px; }
    .v632-help-content { padding-bottom: 80px; }
}
@media (min-width: 769px) {
    .v632-bottom-nav { display: none; }
}
