/**
 * 444 kc - Main Stylesheet
 * Prefix: v288-
 * Colors: #D2B48C (tan), #6F4E37 (coffee), #FFDEAD (navajo), #0F0F23 (dark)
 */

:root {
    --v288-primary: #D2B48C;
    --v288-secondary: #6F4E37;
    --v288-accent: #FFDEAD;
    --v288-bg: #0F0F23;
    --v288-bg-light: #1a1a3e;
    --v288-text: #FFDEAD;
    --v288-text-light: #D2B48C;
    --v288-white: #fff;
    --v288-border: rgba(210,180,140,0.2);
    --v288-shadow: rgba(0,0,0,0.3);
    --v288-radius: 8px;
}

/* 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, sans-serif;
    background: var(--v288-bg);
    color: var(--v288-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--v288-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.v288-header {
    position: fixed; top: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 430px;
    background: linear-gradient(135deg, var(--v288-bg-light), var(--v288-bg));
    border-bottom: 1px solid var(--v288-border);
    z-index: 1000; padding: 0.8rem 1rem;
    display: flex; align-items: center; justify-content: space-between;
}
.v288-header-left { display: flex; align-items: center; gap: 0.6rem; }
.v288-logo { width: 28px; height: 28px; border-radius: 4px; }
.v288-site-name { font-size: 1.6rem; font-weight: 700; color: var(--v288-primary); }
.v288-header-right { display: flex; align-items: center; gap: 0.6rem; }
.v288-btn {
    padding: 0.5rem 1.2rem; border-radius: var(--v288-radius);
    font-size: 1.2rem; font-weight: 600; cursor: pointer;
    border: none; transition: all 0.2s ease;
}
.v288-btn-register {
    background: var(--v288-primary); color: var(--v288-bg);
}
.v288-btn-register:hover { background: #c9a87c; transform: scale(1.05); }
.v288-btn-login {
    background: transparent; color: var(--v288-primary);
    border: 1px solid var(--v288-primary);
}
.v288-btn-login:hover { background: rgba(210,180,140,0.15); }
.v288-menu-btn {
    background: none; border: none; color: var(--v288-primary);
    font-size: 2rem; cursor: pointer; padding: 0.4rem;
    display: flex; align-items: center;
}

/* Mobile Menu */
.v288-menu-overlay {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.6);
    z-index: 9998;
}
.v288-mobile-menu {
    position: fixed; top: 0; left: 0;
    width: 75%; max-width: 300px; height: 100%;
    background: linear-gradient(180deg, #1a1a3e, #0F0F23);
    z-index: 9999; transform: translateX(-100%);
    transition: transform 0.3s ease; padding: 2rem 1.5rem;
    overflow-y: auto;
}
.v288-mobile-menu.v288-open { transform: translateX(0); }
.v288-menu-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--v288-border); }
.v288-menu-logo { width: 32px; height: 32px; border-radius: 6px; }
.v288-menu-title { font-size: 1.8rem; font-weight: 700; color: var(--v288-primary); }
.v288-menu-close { margin-left: auto; background: none; border: none; color: var(--v288-text); font-size: 2rem; cursor: pointer; }
.v288-menu-link {
    display: block; padding: 1rem 0.8rem; color: var(--v288-text-light);
    font-size: 1.4rem; border-bottom: 1px solid var(--v288-border);
    transition: color 0.2s, padding-left 0.2s;
}
.v288-menu-link:hover { color: var(--v288-primary); padding-left: 1.2rem; }

/* Main Content */
.v288-main { padding-top: 5rem; }
@media (max-width: 768px) {
    .v288-main { padding-bottom: 80px; }
}

/* Carousel */
.v288-carousel {
    position: relative; overflow: hidden; width: 100%;
    border-radius: 0 0 var(--v288-radius) var(--v288-radius);
}
.v288-carousel-track { display: flex; transition: transform 0.5s ease; }
.v288-carousel-slide {
    min-width: 100%; cursor: pointer; position: relative;
}
.v288-carousel-slide img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.v288-carousel-dots {
    position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px;
}
.v288-carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer;
    transition: background 0.3s;
}
.v288-dot-active { background: var(--v288-primary); }

/* Sections */
.v288-section {
    padding: 1.5rem 1rem;
}
.v288-section-title {
    font-size: 1.8rem; font-weight: 700; color: var(--v288-primary);
    margin-bottom: 1rem; padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--v288-secondary);
}

/* Game Grid */
.v288-game-category-title {
    font-size: 1.5rem; font-weight: 600; color: var(--v288-accent);
    margin: 1.5rem 0 0.8rem; padding-left: 0.5rem;
    border-left: 3px solid var(--v288-primary);
}
.v288-game-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}
.v288-game-item {
    text-align: center; cursor: pointer; transition: transform 0.2s;
    border-radius: var(--v288-radius); overflow: hidden;
    background: var(--v288-bg-light);
}
.v288-game-item:hover { transform: scale(1.05); }
.v288-game-img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: var(--v288-radius) var(--v288-radius) 0 0;
}
.v288-game-name {
    font-size: 1rem; color: var(--v288-text-light);
    padding: 0.3rem 0.2rem; line-height: 1.2rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Content Blocks */
.v288-content-block {
    background: var(--v288-bg-light); border-radius: var(--v288-radius);
    padding: 1.5rem; margin: 1rem 0;
    border: 1px solid var(--v288-border);
}
.v288-content-block h2 {
    font-size: 1.6rem; color: var(--v288-primary); margin-bottom: 0.8rem;
}
.v288-content-block h3 {
    font-size: 1.4rem; color: var(--v288-accent); margin: 0.8rem 0 0.4rem;
}
.v288-content-block p {
    color: var(--v288-text-light); line-height: 1.6rem; margin-bottom: 0.6rem;
    font-size: 1.3rem;
}
.v288-content-block ul {
    padding-left: 1.5rem; margin-bottom: 0.6rem;
}
.v288-content-block li {
    color: var(--v288-text-light); line-height: 1.6rem; font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

/* Promo CTA */
.v288-cta {
    display: block; text-align: center;
    background: linear-gradient(135deg, var(--v288-secondary), var(--v288-primary));
    color: var(--v288-bg); font-weight: 700; font-size: 1.5rem;
    padding: 1rem 2rem; border-radius: var(--v288-radius);
    margin: 1rem auto; max-width: 90%; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}
.v288-cta:hover { transform: scale(1.03); box-shadow: 0 4px 15px var(--v288-shadow); }
.v288-cta-text {
    color: var(--v288-primary); font-weight: 600;
    text-decoration: underline; cursor: pointer;
}
.v288-cta-text:hover { color: var(--v288-accent); }

/* Footer */
.v288-footer {
    background: linear-gradient(180deg, var(--v288-bg-light), #0a0a1a);
    padding: 2rem 1rem 6rem; text-align: center;
    border-top: 1px solid var(--v288-border);
}
.v288-footer-brand {
    font-size: 1.3rem; color: var(--v288-text-light);
    line-height: 1.6rem; margin-bottom: 1rem;
}
.v288-footer-links {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.v288-footer-link {
    background: var(--v288-bg); color: var(--v288-primary);
    padding: 0.4rem 0.8rem; border-radius: 4px;
    font-size: 1.1rem; border: 1px solid var(--v288-border);
    cursor: pointer; transition: background 0.2s;
}
.v288-footer-link:hover { background: rgba(210,180,140,0.1); }
.v288-footer-copy {
    font-size: 1.1rem; color: rgba(255,253,173,0.5);
    border-top: 1px solid var(--v288-border); padding-top: 1rem;
}

/* Bottom Navigation */
.v288-bottom-nav {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 430px;
    background: linear-gradient(180deg, #1a1a3e, #0a0a1a);
    border-top: 1px solid var(--v288-border);
    display: flex; justify-content: space-around; align-items: center;
    height: 60px; z-index: 1000;
    box-shadow: 0 -2px 10px var(--v288-shadow);
}
.v288-bottom-nav-btn {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-width: 60px; min-height: 60px;
    background: none; border: none; color: var(--v288-text-light);
    cursor: pointer; transition: all 0.2s; padding: 0.4rem;
    position: relative;
}
.v288-bottom-nav-btn:hover { color: var(--v288-primary); }
.v288-bottom-nav-btn .v288-nav-icon { font-size: 2.2rem; line-height: 1; }
.v288-bottom-nav-btn .v288-nav-label { font-size: 1rem; margin-top: 0.2rem; }
.v288-nav-active { color: var(--v288-primary) !important; }
.v288-nav-active::after {
    content: ''; position: absolute; top: 0; left: 50%;
    transform: translateX(-50%); width: 24px; height: 2px;
    background: var(--v288-primary); border-radius: 2px;
}
@media (min-width: 769px) {
    .v288-bottom-nav { display: none; }
    .v288-main { padding-bottom: 0; }
    .v288-footer { padding-bottom: 2rem; }
}

/* FAQ Accordion */
.v288-faq-item { margin-bottom: 0.6rem; }
.v288-faq-q {
    background: var(--v288-bg); color: var(--v288-primary);
    padding: 0.8rem 1rem; border-radius: var(--v288-radius);
    font-weight: 600; font-size: 1.3rem; cursor: pointer;
    border: 1px solid var(--v288-border);
}
.v288-faq-a {
    padding: 0.6rem 1rem; color: var(--v288-text-light);
    font-size: 1.2rem; line-height: 1.5rem;
    background: rgba(15,15,35,0.5); border-radius: 0 0 var(--v288-radius) var(--v288-radius);
    margin-top: 0.2rem;
}

/* Payment Icons */
.v288-payment-row {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem;
    padding: 1rem 0;
}
.v288-payment-item {
    background: var(--v288-bg); padding: 0.6rem 1rem;
    border-radius: var(--v288-radius); font-size: 1.2rem;
    color: var(--v288-text-light); border: 1px solid var(--v288-border);
}

/* Winners List */
.v288-winner-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.6rem 0; border-bottom: 1px solid var(--v288-border);
}
.v288-winner-name { font-size: 1.2rem; color: var(--v288-text-light); }
.v288-winner-amount { font-size: 1.3rem; color: var(--v288-primary); font-weight: 600; }

/* Testimonial Cards */
.v288-testimonial {
    background: var(--v288-bg); border-radius: var(--v288-radius);
    padding: 1rem; margin: 0.6rem 0; border-left: 3px solid var(--v288-primary);
}
.v288-testimonial-text { font-size: 1.2rem; color: var(--v288-text-light); line-height: 1.5rem; }
.v288-testimonial-author { font-size: 1.1rem; color: var(--v288-primary); margin-top: 0.4rem; font-weight: 600; }

/* Responsive Helpers */
@media (max-width: 360px) {
    .v288-game-grid { grid-template-columns: repeat(3, 1fr); }
    .v288-section-title { font-size: 1.6rem; }
}
@media (min-width: 431px) {
    body { border-left: 1px solid var(--v288-border); border-right: 1px solid var(--v288-border); }
}

/* Utility */
.v288-text-center { text-align: center; }
.v288-mt-1 { margin-top: 1rem; }
.v288-mb-1 { margin-bottom: 1rem; }
.v288-hidden { display: none; }
