/**
 * jillbb.cfd - Main Stylesheet
 * Color Palette: #212F3D | #FF1493 | #FFB6C1 | #FF0000 | #DCDCDC
 * All classes prefixed with v9cc- for namespace isolation
 */

:root {
    --v9cc-primary: #FF1493;
    --v9cc-secondary: #FFB6C1;
    --v9cc-bg: #212F3D;
    --v9cc-bg-dark: #1a252f;
    --v9cc-bg-card: #2a3b4d;
    --v9cc-text: #DCDCDC;
    --v9cc-text-light: #ffffff;
    --v9cc-accent: #FF0000;
    --v9cc-border: #3a5068;
    --v9cc-gold: #FFD700;
    --v9cc-radius: 10px;
    --v9cc-radius-lg: 16px;
    --v9cc-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --v9cc-max-width: 430px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--v9cc-bg);
    color: var(--v9cc-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    max-width: var(--v9cc-max-width);
    margin: 0 auto;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--v9cc-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--v9cc-secondary); }
ul, ol { list-style: none; }

/* Header */
.v9cc-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--v9cc-max-width);
    background: var(--v9cc-bg-dark);
    padding: 8px 12px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: box-shadow 0.3s;
    border-bottom: 2px solid var(--v9cc-primary);
}

.v9cc-header-scrolled {
    box-shadow: 0 2px 20px rgba(255, 20, 147, 0.3);
}

.v9cc-logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.v9cc-logo-area img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.v9cc-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--v9cc-primary);
    letter-spacing: 1px;
}

.v9cc-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v9cc-btn {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v9cc-btn-register {
    background: linear-gradient(135deg, var(--v9cc-primary), var(--v9cc-accent));
    color: #fff;
    box-shadow: 0 2px 10px rgba(255, 20, 147, 0.4);
}

.v9cc-btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.6);
}

.v9cc-btn-login {
    background: transparent;
    color: var(--v9cc-secondary);
    border: 2px solid var(--v9cc-secondary);
}

.v9cc-btn-login:hover {
    background: var(--v9cc-secondary);
    color: var(--v9cc-bg-dark);
}

.v9cc-menu-toggle {
    background: none;
    border: none;
    color: var(--v9cc-text);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
}

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

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

.v9cc-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--v9cc-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

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

.v9cc-mobile-menu .v9cc-menu-close {
    background: none;
    border: none;
    color: var(--v9cc-text);
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
}

.v9cc-mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--v9cc-text);
    font-size: 15px;
    border-bottom: 1px solid var(--v9cc-border);
    transition: color 0.2s, padding-left 0.2s;
}

.v9cc-mobile-menu a:hover {
    color: var(--v9cc-primary);
    padding-left: 8px;
}

/* Main Content */
.v9cc-main {
    margin-top: 58px;
    padding: 12px;
    padding-bottom: 20px;
}

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

/* Banner Slider */
.v9cc-banner-slider {
    position: relative;
    border-radius: var(--v9cc-radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--v9cc-shadow);
}

.v9cc-banner-slide {
    width: 100%;
    display: none;
}

.v9cc-banner-slide:first-child { display: block; }

.v9cc-slide-active { display: block !important; }

.v9cc-banner-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Section Titles */
.v9cc-section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--v9cc-text-light);
    margin: 20px 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--v9cc-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v9cc-section-title span {
    font-size: 12px;
    color: var(--v9cc-secondary);
    font-weight: 400;
    cursor: pointer;
}

/* Game Grid */
.v9cc-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.v9cc-game-card {
    background: var(--v9cc-bg-card);
    border-radius: var(--v9cc-radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--v9cc-border);
}

.v9cc-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.25);
}

.v9cc-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.v9cc-game-card .v9cc-game-name {
    padding: 4px 6px;
    font-size: 10px;
    color: var(--v9cc-text);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

/* Category Tabs */
.v9cc-category-tabs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 8px 0;
    margin-bottom: 12px;
    scrollbar-width: none;
}

.v9cc-category-tabs::-webkit-scrollbar { display: none; }

.v9cc-cat-tab {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--v9cc-bg-card);
    color: var(--v9cc-text);
    border: 1px solid var(--v9cc-border);
}

.v9cc-cat-tab:hover,
.v9cc-cat-active {
    background: linear-gradient(135deg, var(--v9cc-primary), #ff5c8d);
    color: #fff;
    border-color: var(--v9cc-primary);
}

/* Content Blocks */
.v9cc-content-block {
    background: var(--v9cc-bg-card);
    border-radius: var(--v9cc-radius-lg);
    padding: 20px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--v9cc-border);
}

.v9cc-content-block h2 {
    font-size: 18px;
    color: var(--v9cc-primary);
    margin-bottom: 12px;
    font-weight: 800;
}

.v9cc-content-block h3 {
    font-size: 15px;
    color: var(--v9cc-secondary);
    margin: 12px 0 8px;
    font-weight: 700;
}

.v9cc-content-block p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--v9cc-text);
    margin-bottom: 10px;
}

.v9cc-content-block ul {
    padding-left: 16px;
    margin-bottom: 10px;
}

.v9cc-content-block li {
    font-size: 13px;
    line-height: 1.8;
    color: var(--v9cc-text);
    list-style: disc;
}

/* CTA Button */
.v9cc-cta-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--v9cc-primary), var(--v9cc-accent));
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4);
}

.v9cc-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 20, 147, 0.6);
}

/* Bottom Navigation */
.v9cc-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--v9cc-max-width);
    height: 60px;
    background: linear-gradient(180deg, var(--v9cc-bg-dark), #0d1520);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--v9cc-primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.v9cc-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--v9cc-text);
    transition: all 0.3s;
    padding: 4px 0;
    position: relative;
}

.v9cc-nav-btn:hover {
    color: var(--v9cc-primary);
}

.v9cc-nav-btn .v9cc-nav-icon {
    font-size: 22px;
    margin-bottom: 2px;
    transition: transform 0.3s;
}

.v9cc-nav-btn:hover .v9cc-nav-icon {
    transform: scale(1.15);
}

.v9cc-nav-btn .v9cc-nav-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.v9cc-nav-active {
    color: var(--v9cc-primary) !important;
}

.v9cc-nav-active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--v9cc-primary);
    border-radius: 0 0 3px 3px;
}

@media (min-width: 769px) {
    .v9cc-bottom-nav { display: none; }
}

/* Footer */
.v9cc-footer {
    background: var(--v9cc-bg-dark);
    padding: 24px 16px 40px;
    text-align: center;
    border-top: 1px solid var(--v9cc-border);
}

.v9cc-footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.v9cc-footer-partners img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.v9cc-footer-partners img:hover { opacity: 1; }

.v9cc-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.v9cc-footer-links a {
    font-size: 12px;
    color: var(--v9cc-text);
    transition: color 0.3s;
}

.v9cc-footer-links a:hover { color: var(--v9cc-primary); }

.v9cc-footer-copy {
    font-size: 11px;
    color: #6b7d8d;
    margin-top: 12px;
}

/* FAQ Styles */
.v9cc-faq-item {
    border-bottom: 1px solid var(--v9cc-border);
    padding: 12px 0;
}

.v9cc-faq-item:last-child { border-bottom: none; }

.v9cc-faq-q {
    font-size: 14px;
    font-weight: 700;
    color: var(--v9cc-secondary);
    margin-bottom: 6px;
}

.v9cc-faq-a {
    font-size: 13px;
    color: var(--v9cc-text);
    line-height: 1.7;
}

/* Feature Cards */
.v9cc-feature-card {
    background: var(--v9cc-bg-card);
    border-radius: var(--v9cc-radius);
    padding: 16px;
    margin-bottom: 12px;
    border-left: 3px solid var(--v9cc-primary);
}

.v9cc-feature-card h3 {
    font-size: 15px;
    color: var(--v9cc-primary);
    margin-bottom: 8px;
}

.v9cc-feature-card p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--v9cc-text);
}

/* Internal Link Styling */
.v9cc-internal-link {
    color: var(--v9cc-secondary);
    font-weight: 600;
    border-bottom: 1px dotted var(--v9cc-secondary);
    transition: all 0.3s;
}

.v9cc-internal-link:hover {
    color: var(--v9cc-primary);
    border-bottom-style: solid;
}

/* Winner Ticker */
.v9cc-winner-ticker {
    background: var(--v9cc-bg-card);
    border-radius: var(--v9cc-radius);
    padding: 8px 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--v9cc-border);
}

.v9cc-winner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(58, 80, 104, 0.3);
}

.v9cc-winner-row:last-child { border-bottom: none; }

.v9cc-winner-name { color: var(--v9cc-secondary); font-weight: 600; }
.v9cc-winner-game { color: var(--v9cc-text); }
.v9cc-winner-amount { color: var(--v9cc-gold); font-weight: 800; }

/* Utility */
.v9cc-text-center { text-align: center; }
.v9cc-mt-1 { margin-top: 8px; }
.v9cc-mt-2 { margin-top: 16px; }
.v9cc-mb-1 { margin-bottom: 8px; }
.v9cc-mb-2 { margin-bottom: 16px; }
.v9cc-hidden { display: none; }
