/**
 * 3666 bet apk - Core CSS Layout
 * All classes prefixed with vca8- for namespace isolation
 * Color palette: #0F0F23 | #EE82EE | #8B008B | #800080 | #495057
 * Mobile-first design, max-width 430px
 */

:root {
    --vca8-bg-dark: #0F0F23;
    --vca8-accent: #EE82EE;
    --vca8-deep: #8B008B;
    --vca8-purple: #800080;
    --vca8-muted: #495057;
    --vca8-text: #f0f0f0;
    --vca8-text-dim: #b0b0b0;
    --vca8-gold: #FFD700;
    --vca8-white: #ffffff;
    --vca8-radius: 8px;
    --vca8-shadow: 0 2px 12px rgba(0,0,0,0.3);
    --vca8-primary: #EE82EE;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--vca8-bg-dark);
    color: var(--vca8-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

a {
    color: var(--vca8-accent);
    text-decoration: none;
}

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

/* ===== HEADER ===== */
.vca8-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    z-index: 1000;
    background: linear-gradient(135deg, #0F0F23 0%, #1a0a2e 100%);
    border-bottom: 2px solid var(--vca8-deep);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vca8-logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.vca8-logo-area img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.vca8-logo-area span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--vca8-accent);
    white-space: nowrap;
}

.vca8-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vca8-btn-register,
.vca8-btn-login {
    padding: 0.5rem 1.2rem;
    border-radius: var(--vca8-radius);
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    min-height: 36px;
}

.vca8-btn-register {
    background: linear-gradient(135deg, var(--vca8-accent), var(--vca8-deep));
    color: var(--vca8-white);
}

.vca8-btn-login {
    background: transparent;
    color: var(--vca8-accent);
    border: 1px solid var(--vca8-accent);
}

.vca8-btn-register:hover,
.vca8-btn-login:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.vca8-menu-toggle {
    background: none;
    border: none;
    color: var(--vca8-accent);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
}

/* ===== MOBILE MENU ===== */
.vca8-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #0F0F23, #1a0a2e);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.vca8-menu-active {
    right: 0;
}

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

.vca8-overlay-active {
    display: block;
}

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

.vca8-menu-list {
    list-style: none;
    margin-top: 3rem;
}

.vca8-menu-list li {
    border-bottom: 1px solid rgba(238,130,238,0.15);
}

.vca8-menu-list a {
    display: block;
    padding: 1.2rem 0;
    color: var(--vca8-text);
    font-size: 1.4rem;
    transition: color 0.2s;
}

.vca8-menu-list a:hover {
    color: var(--vca8-accent);
}

/* ===== BOTTOM NAV ===== */
.vca8-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    height: 60px;
    background: linear-gradient(180deg, #1a0a2e, #0F0F23);
    border-top: 1px solid var(--vca8-purple);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.3rem;
}

.vca8-bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    background: none;
    border: none;
    color: var(--vca8-text-dim);
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
    padding: 0.3rem;
    border-radius: 8px;
}

.vca8-bottom-btn:hover,
.vca8-bottom-btn:active {
    transform: scale(1.1);
    color: var(--vca8-accent);
}

.vca8-bottom-btn .vca8-bnav-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.vca8-bottom-btn .vca8-bnav-label {
    font-size: 1rem;
    margin-top: 0.2rem;
    white-space: nowrap;
}

.vca8-bottom-active {
    color: var(--vca8-accent);
}

.vca8-bottom-active .vca8-bnav-icon {
    filter: drop-shadow(0 0 4px rgba(238,130,238,0.5));
}

/* ===== MAIN CONTENT ===== */
.vca8-main {
    padding-top: 56px;
    padding-bottom: 20px;
    min-height: 100vh;
}

/* ===== CAROUSEL ===== */
.vca8-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--vca8-radius) var(--vca8-radius);
}

.vca8-slide {
    display: none;
    cursor: pointer;
}

.vca8-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.vca8-dots {
    text-align: center;
    padding: 0.6rem 0;
    background: var(--vca8-bg-dark);
}

.vca8-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vca8-muted);
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.vca8-dot-active {
    background: var(--vca8-accent);
    width: 20px;
    border-radius: 4px;
}

/* ===== SECTION ===== */
.vca8-section {
    padding: 1.5rem 1rem;
}

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

.vca8-section-title i {
    margin-right: 0.5rem;
}

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

.vca8-cat-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vca8-gold);
    margin: 1rem 0 0.8rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--vca8-accent);
}

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

.vca8-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    background: rgba(139,0,139,0.1);
    border-radius: var(--vca8-radius);
    padding: 0.5rem;
}

.vca8-game-item:hover {
    transform: scale(1.05);
}

.vca8-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
}

.vca8-game-item span {
    display: block;
    font-size: 1.1rem;
    color: var(--vca8-text-dim);
    margin-top: 0.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== CONTENT BLOCKS ===== */
.vca8-content-block {
    background: linear-gradient(135deg, rgba(139,0,139,0.1), rgba(128,0,128,0.05));
    border: 1px solid rgba(238,130,238,0.15);
    border-radius: var(--vca8-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.vca8-content-block h2 {
    font-size: 1.7rem;
    color: var(--vca8-accent);
    margin-bottom: 0.8rem;
}

.vca8-content-block h3 {
    font-size: 1.5rem;
    color: var(--vca8-accent);
    margin-bottom: 0.6rem;
}

.vca8-content-block p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--vca8-text-dim);
    margin-bottom: 0.8rem;
}

.vca8-promo-text {
    color: var(--vca8-accent);
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s;
}

.vca8-promo-text:hover {
    color: var(--vca8-gold);
    text-decoration: underline;
}

/* ===== CTA BUTTONS ===== */
.vca8-cta-wrap {
    text-align: center;
    padding: 1.5rem 0;
}

.vca8-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--vca8-accent), var(--vca8-deep));
    color: var(--vca8-white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 48px;
}

.vca8-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(238,130,238,0.4);
}

/* ===== TESTIMONIALS ===== */
.vca8-testimonial {
    background: rgba(128,0,128,0.1);
    border-left: 3px solid var(--vca8-accent);
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    border-radius: 0 var(--vca8-radius) var(--vca8-radius) 0;
}

.vca8-testimonial p {
    font-style: italic;
    margin-bottom: 0.3rem;
}

.vca8-testimonial strong {
    color: var(--vca8-accent);
    font-size: 1.2rem;
}

/* ===== PAYMENT / WINNER ===== */
.vca8-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1rem 0;
}

.vca8-badge {
    background: rgba(238,130,238,0.1);
    border: 1px solid rgba(238,130,238,0.2);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 1.2rem;
    color: var(--vca8-text-dim);
}

.vca8-winner-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(238,130,238,0.1);
}

.vca8-winner-item span {
    font-size: 1.2rem;
}

.vca8-winner-amount {
    color: var(--vca8-gold);
    font-weight: 700;
}

/* ===== FOOTER ===== */
.vca8-footer {
    background: linear-gradient(180deg, #0F0F23, #080816);
    padding: 2rem 1rem 3rem;
    text-align: center;
    border-top: 2px solid var(--vca8-deep);
}

.vca8-footer-desc {
    font-size: 1.2rem;
    color: var(--vca8-text-dim);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

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

.vca8-footer-links a {
    color: var(--vca8-accent);
    font-size: 1.2rem;
    padding: 0.3rem 0.6rem;
}

.vca8-footer-links a:hover {
    text-decoration: underline;
}

.vca8-footer-copy {
    font-size: 1.1rem;
    color: var(--vca8-muted);
    margin-top: 1rem;
}

/* ===== FAQ ===== */
.vca8-faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(238,130,238,0.1);
    padding-bottom: 0.8rem;
}

.vca8-faq-item h3 {
    color: var(--vca8-accent);
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.vca8-faq-item p {
    color: var(--vca8-text-dim);
    font-size: 1.2rem;
}

/* ===== RTP TABLE ===== */
.vca8-rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 1.2rem;
}

.vca8-rtp-table th,
.vca8-rtp-table td {
    padding: 0.6rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(238,130,238,0.15);
}

.vca8-rtp-table th {
    color: var(--vca8-accent);
    font-weight: 700;
}

.vca8-rtp-table td {
    color: var(--vca8-text-dim);
}

/* ===== ACHIEVEMENT ===== */
.vca8-achieve-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
}

.vca8-achieve-item i {
    font-size: 2rem;
    color: var(--vca8-gold);
}

.vca8-achieve-item span {
    font-size: 1.2rem;
    color: var(--vca8-text-dim);
}

/* ===== TRICKS ===== */
.vca8-trick-item {
    background: rgba(128,0,128,0.08);
    border-radius: var(--vca8-radius);
    padding: 1rem;
    margin-bottom: 0.8rem;
}

.vca8-trick-item strong {
    color: var(--vca8-accent);
    display: block;
    margin-bottom: 0.3rem;
}

.vca8-trick-item span {
    color: var(--vca8-text-dim);
    font-size: 1.2rem;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
    .vca8-bottom-nav {
        display: none;
    }
}

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