/* Winbet SBS Theme - All classes prefixed with w6215- */
/* Mobile-first design, max-width 430px */

:root {
    --w6215-primary: #FF1493;
    --w6215-bg: #1A1A1A;
    --w6215-bg-light: #242424;
    --w6215-bg-card: #2A2A2A;
    --w6215-text: #BAFFC9;
    --w6215-text-pink: #FFB3BA;
    --w6215-accent: #FF1493;
    --w6215-accent-hover: #FF3399;
    --w6215-border: #3A3A3A;
    --w6215-shadow: rgba(255, 20, 147, 0.3);
    --w6215-radius: 8px;
    --w6215-radius-lg: 12px;
    --w6215-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 62.5%;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--w6215-font);
    background: var(--w6215-bg);
    color: var(--w6215-text);
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--w6215-text); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.w6215-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: var(--w6215-bg);
    border-bottom: 1px solid var(--w6215-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    height: 56px;
}

.w6215-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.w6215-header-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.w6215-header-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--w6215-accent);
    letter-spacing: 1px;
}

.w6215-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.w6215-menu-btn {
    background: none;
    border: none;
    color: var(--w6215-text);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* Buttons */
.w6215-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--w6215-radius);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 4px;
}

.w6215-btn-register {
    background: var(--w6215-accent);
    color: #fff;
    padding: 6px 14px;
    font-size: 1.2rem;
}

.w6215-btn-register:hover {
    background: var(--w6215-accent-hover);
    transform: translateY(-1px);
}

.w6215-btn-login {
    background: transparent;
    color: var(--w6215-text-pink);
    border: 1px solid var(--w6215-text-pink);
    padding: 5px 13px;
    font-size: 1.2rem;
}

.w6215-btn-login:hover {
    background: var(--w6215-text-pink);
    color: var(--w6215-bg);
}

.w6215-btn-promo {
    background: linear-gradient(135deg, var(--w6215-accent), #FF66B2);
    color: #fff;
    padding: 12px 24px;
    font-size: 1.6rem;
    border-radius: var(--w6215-radius-lg);
    width: 100%;
    text-align: center;
}

.w6215-btn-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--w6215-shadow);
}

/* Promo glow animation */
.w6215-promo-btn {
    animation: w6215glow 2s ease-in-out infinite alternate;
}

@keyframes w6215glow {
    from { box-shadow: 0 0 5px var(--w6215-shadow); }
    to { box-shadow: 0 0 20px var(--w6215-shadow), 0 0 40px rgba(255, 20, 147, 0.15); }
}

/* Mobile menu overlay */
.w6215-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.w6215-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Mobile slide-out menu */
.w6215-mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--w6215-bg-light);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px 16px;
}

.w6215-menu-open { left: 0; }

.w6215-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--w6215-border);
}

.w6215-mobile-menu-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w6215-accent);
}

.w6215-menu-close {
    background: none;
    border: none;
    color: var(--w6215-text);
    font-size: 2.4rem;
    cursor: pointer;
    line-height: 1;
}

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

.w6215-mobile-menu a:hover {
    color: var(--w6215-accent);
}

/* Main content */
.w6215-main {
    padding-top: 56px;
    padding-bottom: 80px;
    min-height: 100vh;
}

/* Carousel */
.w6215-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.w6215-carousel-slide {
    display: none;
    width: 100%;
}

.w6215-carousel-slide img {
    width: 100%;
    height: auto;
    min-height: 180px;
    object-fit: cover;
}

.w6215-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.w6215-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}

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

.w6215-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 2;
}

.w6215-carousel-prev { left: 6px; }
.w6215-carousel-next { right: 6px; }

/* Sections */
.w6215-section {
    padding: 20px 14px;
}

.w6215-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w6215-accent);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--w6215-accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.w6215-section-title .material-icons {
    font-size: 2.2rem;
}

/* Game grid */
.w6215-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.w6215-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: var(--w6215-radius);
    padding: 6px;
    background: var(--w6215-bg-card);
}

.w6215-game-item:hover {
    transform: translateY(-2px);
}

.w6215-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--w6215-radius);
    object-fit: cover;
    margin-bottom: 4px;
}

.w6215-game-name {
    font-size: 1.1rem;
    color: var(--w6215-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category tabs */
.w6215-cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.w6215-cat-tabs::-webkit-scrollbar { display: none; }

.w6215-cat-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    background: var(--w6215-bg-card);
    color: var(--w6215-text);
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--w6215-border);
    transition: all 0.2s;
    white-space: nowrap;
}

.w6215-cat-tab:hover, .w6215-cat-tab.active {
    background: var(--w6215-accent);
    color: #fff;
    border-color: var(--w6215-accent);
}

/* Cards */
.w6215-card {
    background: var(--w6215-bg-card);
    border-radius: var(--w6215-radius-lg);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--w6215-border);
}

.w6215-card-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--w6215-accent);
    margin-bottom: 10px;
}

.w6215-card p {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--w6215-text);
    margin-bottom: 10px;
}

/* FAQ */
.w6215-faq-item {
    background: var(--w6215-bg-card);
    border-radius: var(--w6215-radius);
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--w6215-border);
}

.w6215-faq-q {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--w6215-text-pink);
    margin-bottom: 6px;
}

.w6215-faq-a {
    font-size: 1.3rem;
    color: var(--w6215-text);
    line-height: 1.6;
}

/* Feature list */
.w6215-feature-list {
    list-style: none;
    padding: 0;
}

.w6215-feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--w6215-border);
    font-size: 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.w6215-feature-list li:last-child { border-bottom: none; }

.w6215-feature-icon {
    color: var(--w6215-accent);
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer */
.w6215-footer {
    background: var(--w6215-bg-light);
    padding: 24px 14px;
    border-top: 1px solid var(--w6215-border);
}

.w6215-footer-brand {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w6215-accent);
    margin-bottom: 10px;
}

.w6215-footer-text {
    font-size: 1.3rem;
    color: var(--w6215-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.w6215-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.w6215-footer-links a {
    font-size: 1.2rem;
    color: var(--w6215-text-pink);
    padding: 4px 8px;
    background: var(--w6215-bg-card);
    border-radius: 4px;
    transition: color 0.2s;
}

.w6215-footer-links a:hover { color: var(--w6215-accent); }

.w6215-footer-copy {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--w6215-border);
}

/* Bottom navigation */
.w6215-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 60px;
    background: var(--w6215-bg-light);
    border-top: 1px solid var(--w6215-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 4px;
}

.w6215-bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 56px;
    background: none;
    border: none;
    color: var(--w6215-text);
    cursor: pointer;
    transition: all 0.2s;
    padding: 4px 2px;
    border-radius: 8px;
    text-decoration: none;
}

.w6215-bottom-nav-btn:hover, .w6215-bottom-nav-btn.active {
    color: var(--w6215-accent);
    background: rgba(255, 20, 147, 0.1);
}

.w6215-bottom-nav-btn .bi,
.w6215-bottom-nav-btn .fas,
.w6215-bottom-nav-btn .material-icons,
.w6215-bottom-nav-btn ion-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.w6215-bottom-nav-btn span {
    font-size: 1rem;
    line-height: 1.2;
}

/* Winners ticker */
.w6215-winners {
    background: var(--w6215-bg-card);
    border-radius: var(--w6215-radius-lg);
    padding: 14px;
    border: 1px solid var(--w6215-border);
}

.w6215-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--w6215-border);
    font-size: 1.3rem;
}

.w6215-winner-item:last-child { border-bottom: none; }

.w6215-winner-amount {
    color: var(--w6215-accent);
    font-weight: 700;
}

/* App CTA */
.w6215-app-cta {
    background: linear-gradient(135deg, #2A2A2A, #1A1A1A);
    border: 2px solid var(--w6215-accent);
    border-radius: var(--w6215-radius-lg);
    padding: 20px;
    text-align: center;
}

.w6215-app-cta h3 {
    color: var(--w6215-accent);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.w6215-app-cta p {
    font-size: 1.3rem;
    color: var(--w6215-text);
    margin-bottom: 14px;
}

/* Desktop: hide bottom nav, adjust layout */
@media (min-width: 769px) {
    .w6215-bottom-nav { display: none; }
    .w6215-main { padding-bottom: 20px; }
}

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

/* Utility classes */
.w6215-text-center { text-align: center; }
.w6215-text-pink { color: var(--w6215-text-pink); }
.w6215-text-accent { color: var(--w6215-accent); }
.w6215-mb-10 { margin-bottom: 10px; }
.w6215-mb-16 { margin-bottom: 16px; }
.w6215-mb-20 { margin-bottom: 20px; }
.w6215-mt-10 { margin-top: 10px; }
.w6215-gap-8 { gap: 8px; }
.w6215-bold { font-weight: 700; }
