/**
 * MagicJili CSS Styles
 * All classes use prefix: vc0b-
 * Color palette: #5F9EA0, #D8BFD8, #BF360C, #FFAA00, #0D1117
 */

:root {
    --vc0b-bg-dark: #0D1117;
    --vc0b-bg-secondary: #161B22;
    --vc0b-primary: #5F9EA0;
    --vc0b-accent: #FFAA00;
    --vc0b-highlight: #BF360C;
    --vc0b-light: #D8BFD8;
    --vc0b-text: #E6EDF3;
    --vc0b-text-muted: #8B949E;
    --vc0b-border: #30363D;
    --vc0b-success: #3FB950;
    --vc0b-radius: 0.8rem;
    --vc0b-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--vc0b-bg-dark);
    color: var(--vc0b-text);
    min-height: 100vh;
    padding-top: 6rem;
}

/* Header */
.vc0b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(135deg, var(--vc0b-bg-dark) 0%, var(--vc0b-bg-secondary) 100%);
    border-bottom: 1px solid var(--vc0b-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.vc0b-header-inner {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vc0b-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.vc0b-logo-icon { width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; }
.vc0b-logo-text { font-size: 1.8rem; font-weight: 700; color: var(--vc0b-accent); letter-spacing: 0.5px; }

.vc0b-header-btns { display: flex; align-items: center; gap: 0.8rem; }

.vc0b-btn {
    padding: 0.8rem 1.4rem;
    border-radius: var(--vc0b-radius);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vc0b-btn-primary { background: linear-gradient(135deg, var(--vc0b-accent) 0%, var(--vc0b-highlight) 100%); color: #fff; }
.vc0b-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255,170,0,0.4); }
.vc0b-btn-outline { background: transparent; border: 2px solid var(--vc0b-primary); color: var(--vc0b-primary); }
.vc0b-btn-outline:hover { background: var(--vc0b-primary); color: var(--vc0b-bg-dark); }
.vc0b-btn-secondary { background: var(--vc0b-primary); color: var(--vc0b-bg-dark); }
.vc0b-btn-lg { padding: 1.2rem 2.4rem; font-size: 1.5rem; }

.vc0b-menu-btn {
    width: 4rem;
    height: 4rem;
    background: var(--vc0b-bg-secondary);
    border: 1px solid var(--vc0b-border);
    border-radius: 0.6rem;
    color: var(--vc0b-text);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Menu Overlay */
.vc0b-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.vc0b-overlay-active { opacity: 1; visibility: visible; }

/* Mobile Menu */
.vc0b-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vc0b-bg-secondary);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}
.vc0b-menu-active { right: 0; }

.vc0b-menu-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--vc0b-border);
}

.vc0b-menu-close {
    width: 3.6rem;
    height: 3.6rem;
    background: var(--vc0b-bg-dark);
    border: none;
    border-radius: 0.6rem;
    color: var(--vc0b-text);
    font-size: 1.8rem;
    cursor: pointer;
}

.vc0b-menu-nav { list-style: none; padding: 1rem 0; }
.vc0b-menu-nav li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    color: var(--vc0b-text);
    text-decoration: none;
    font-size: 1.5rem;
    transition: background 0.2s;
}
.vc0b-menu-nav li a:hover { background: var(--vc0b-bg-dark); color: var(--vc0b-accent); }
.vc0b-menu-nav li a i { width: 2.4rem; text-align: center; color: var(--vc0b-primary); }

/* Main Content */
.vc0b-main { padding-bottom: 8rem; }
.vc0b-container { max-width: 430px; margin: 0 auto; padding: 1.5rem; }

/* Carousel */
.vc0b-carousel {
    position: relative;
    border-radius: var(--vc0b-radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.vc0b-slide {
    display: none;
    cursor: pointer;
}
.vc0b-slide-active { display: block; }
.vc0b-slide img { width: 100%; height: auto; display: block; }

.vc0b-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.vc0b-dot {
    width: 1rem;
    height: 1rem;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}
.vc0b-dot-active { background: var(--vc0b-accent); transform: scale(1.2); }

/* Cards */
.vc0b-card {
    background: var(--vc0b-bg-secondary);
    border-radius: var(--vc0b-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--vc0b-border);
}

.vc0b-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vc0b-accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.vc0b-card-title i { color: var(--vc0b-primary); }

.vc0b-content-text {
    color: var(--vc0b-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.vc0b-content-text a { color: var(--vc0b-accent); text-decoration: underline; }
.vc0b-content-text strong { color: var(--vc0b-light); }

/* Game Section */
.vc0b-game-section { margin-bottom: 2rem; }

.vc0b-game-section-title {
    font-size: 1.6rem;
    color: var(--vc0b-accent);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--vc0b-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vc0b-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.vc0b-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s;
}
.vc0b-game-item:hover { transform: translateY(-3px); }
.vc0b-game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 1rem;
    border: 2px solid var(--vc0b-border);
}
.vc0b-game-item span {
    font-size: 1.1rem;
    color: var(--vc0b-text-muted);
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Game Hero */
.vc0b-game-hero {
    text-align: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
}
.vc0b-game-icon-lg {
    width: 16rem;
    height: 16rem;
    border-radius: 2rem;
    border: 3px solid var(--vc0b-accent);
    box-shadow: var(--vc0b-shadow);
}

/* Stats Grid */
.vc0b-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vc0b-stat-card {
    background: var(--vc0b-bg-dark);
    border-radius: var(--vc0b-radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--vc0b-border);
}
.vc0b-stat-value { font-size: 2rem; font-weight: 700; color: var(--vc0b-accent); }
.vc0b-stat-label { font-size: 1.2rem; color: var(--vc0b-text-muted); margin-top: 0.3rem; }

/* RTP Grid */
.vc0b-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}
.vc0b-rtp-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--vc0b-bg-dark);
    border-radius: 0.6rem;
    border: 1px solid var(--vc0b-border);
}
.vc0b-rtp-game { color: var(--vc0b-text-muted); font-size: 1.2rem; }
.vc0b-rtp-value { color: var(--vc0b-success); font-weight: 600; font-size: 1.3rem; }

/* Feature List */
.vc0b-feature-list { list-style: none; }
.vc0b-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--vc0b-border);
}
.vc0b-feature-list li:last-child { border-bottom: none; }
.vc0b-feature-list li i { color: var(--vc0b-primary); font-size: 2rem; min-width: 2.4rem; text-align: center; margin-top: 0.2rem; }
.vc0b-feature-list li div { flex: 1; }
.vc0b-feature-list li strong { color: var(--vc0b-accent); }

/* Steps List */
.vc0b-steps-list { list-style: none; counter-reset: steps; }
.vc0b-steps-list li {
    counter-increment: steps;
    position: relative;
    padding: 1rem 0 1rem 4rem;
    border-bottom: 1px solid var(--vc0b-border);
}
.vc0b-steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 1rem;
    width: 2.8rem;
    height: 2.8rem;
    background: var(--vc0b-primary);
    color: var(--vc0b-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.vc0b-steps-list li strong { color: var(--vc0b-accent); }

/* Accordion */
.vc0b-accordion-item { border-bottom: 1px solid var(--vc0b-border); }
.vc0b-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    font-weight: 600;
}
.vc0b-accordion-header i { color: var(--vc0b-primary); transition: transform 0.3s; }
.vc0b-accordion-active .vc0b-accordion-header i { transform: rotate(180deg); }
.vc0b-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.vc0b-accordion-content p { padding-bottom: 1.5rem; color: var(--vc0b-text-muted); }

/* CTA Banner */
.vc0b-cta-banner {
    background: linear-gradient(135deg, var(--vc0b-highlight) 0%, var(--vc0b-accent) 100%);
    border-radius: var(--vc0b-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}
.vc0b-cta-title { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.vc0b-cta-text { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.vc0b-cta-banner .vc0b-btn { background: #fff; color: var(--vc0b-highlight); }

/* Footer */
.vc0b-footer {
    background: var(--vc0b-bg-secondary);
    border-top: 1px solid var(--vc0b-border);
    padding: 2rem 0;
}

.vc0b-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.vc0b-footer-links a {
    color: var(--vc0b-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem;
}
.vc0b-footer-links a:hover { color: var(--vc0b-accent); }

.vc0b-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}
.vc0b-partners img { height: 2.4rem; width: auto; opacity: 0.7; }

.vc0b-footer-copy {
    text-align: center;
    color: var(--vc0b-text-muted);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.vc0b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--vc0b-bg-secondary);
    border-top: 1px solid var(--vc0b-border);
    z-index: 1000;
    padding: 0.6rem 0;
}

.vc0b-bottom-nav-inner {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.vc0b-bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    color: var(--vc0b-text-muted);
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    min-width: 6rem;
    min-height: 5.6rem;
    transition: all 0.2s;
    border-radius: 0.8rem;
}
.vc0b-bottom-btn:hover, .vc0b-bottom-btn.vc0b-nav-active {
    color: var(--vc0b-accent);
    background: var(--vc0b-bg-dark);
}
.vc0b-bottom-btn i, .vc0b-bottom-btn .material-icons {
    font-size: 2.2rem;
}
.vc0b-bottom-btn span { font-size: 1rem; }

/* Responsive */
@media (min-width: 769px) {
    .vc0b-bottom-nav { display: none; }
    body { padding-bottom: 0; }
}

@media (max-width: 768px) {
    .vc0b-main { padding-bottom: 8rem; }
    .vc0b-game-grid { grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
}

@media (max-width: 380px) {
    .vc0b-game-grid { grid-template-columns: repeat(3, 1fr); }
    .vc0b-header-btns .vc0b-btn { padding: 0.6rem 1rem; font-size: 1.2rem; }
}
