/**
 * xx777 Website Stylesheet
 * Prefix: w15b5-
 * Color Palette: #333333 (bg) | #DEE2E6 (text) | #FF1493 (primary) | #C71585 (accent) | #FFB6C1 (light)
 */

/* CSS Variables */
:root {
    --w15b5-bg: #333333;
    --w15b5-bg-dark: #1a1a1a;
    --w15b5-bg-card: #2a2a2a;
    --w15b5-text: #DEE2E6;
    --w15b5-text-light: #FFB6C1;
    --w15b5-primary: #FF1493;
    --w15b5-accent: #C71585;
    --w15b5-gradient: linear-gradient(135deg, #FF1493 0%, #C71585 100%);
    --w15b5-shadow: 0 4px 20px rgba(255, 20, 147, 0.3);
    --w15b5-radius: 12px;
    --w15b5-radius-sm: 8px;
    --w15b5-transition: all 0.3s ease;
}

/* 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(--w15b5-bg);
    color: var(--w15b5-text);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.w15b5-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

.w15b5-wrapper {
    width: 100%;
    padding: 16px;
}

/* Header */
.w15b5-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--w15b5-bg-dark);
    padding: 12px 16px;
    transition: var(--w15b5-transition);
}

.w15b5-header-scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--w15b5-shadow);
}

.w15b5-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.w15b5-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.w15b5-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.w15b5-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--w15b5-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w15b5-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.w15b5-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--w15b5-text);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* Buttons */
.w15b5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--w15b5-radius-sm);
    font-weight: 600;
    font-size: 1.4rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--w15b5-transition);
    border: none;
    min-height: 44px;
}

.w15b5-btn-primary {
    background: var(--w15b5-gradient);
    color: #fff;
    box-shadow: var(--w15b5-shadow);
}

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

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

.w15b5-btn-secondary:hover {
    background: var(--w15b5-primary);
    color: #fff;
}

.w15b5-btn-small {
    padding: 8px 16px;
    font-size: 1.2rem;
}

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

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

.w15b5-mobile-menu .w15b5-nav-link {
    display: block;
    padding: 15px 0;
    color: var(--w15b5-text);
    text-decoration: none;
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--w15b5-transition);
}

.w15b5-mobile-menu .w15b5-nav-link:hover {
    color: var(--w15b5-primary);
    padding-left: 10px;
}

.w15b5-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--w15b5-transition);
}

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

/* Carousel */
.w15b5-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--w15b5-radius);
    margin-top: 70px;
}

.w15b5-slides {
    position: relative;
    height: 180px;
}

.w15b5-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.w15b5-slide-active {
    opacity: 1;
}

.w15b5-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--w15b5-radius);
}

/* Main Content */
.w15b5-main {
    padding-top: 70px;
    padding-bottom: 20px;
}

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

/* Section */
.w15b5-section {
    padding: 24px 0;
}

.w15b5-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--w15b5-text);
    position: relative;
    padding-left: 16px;
}

.w15b5-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--w15b5-gradient);
    border-radius: 2px;
}

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

.w15b5-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--w15b5-transition);
}

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

.w15b5-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--w15b5-radius-sm);
    object-fit: cover;
    margin-bottom: 6px;
    border: 2px solid transparent;
    transition: var(--w15b5-transition);
}

.w15b5-game-item:hover .w15b5-game-img {
    border-color: var(--w15b5-primary);
    box-shadow: var(--w15b5-shadow);
}

.w15b5-game-name {
    font-size: 1.1rem;
    color: var(--w15b5-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Badge */
.w15b5-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 20, 147, 0.2);
    color: var(--w15b5-primary);
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Cards */
.w15b5-card {
    background: var(--w15b5-bg-card);
    border-radius: var(--w15b5-radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.w15b5-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--w15b5-text-light);
}

.w15b5-card-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--w15b5-text);
}

/* Features Grid */
.w15b5-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.w15b5-feature {
    background: var(--w15b5-bg-card);
    padding: 16px;
    border-radius: var(--w15b5-radius-sm);
    text-align: center;
    border: 1px solid rgba(255, 20, 147, 0.2);
}

.w15b5-feature-icon {
    font-size: 28px;
    color: var(--w15b5-primary);
    margin-bottom: 8px;
}

.w15b5-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--w15b5-text);
}

/* Footer */
.w15b5-footer {
    background: var(--w15b5-bg-dark);
    padding: 30px 16px 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 769px) {
    .w15b5-footer {
        padding-bottom: 30px;
    }
}

.w15b5-footer-brand {
    text-align: center;
    margin-bottom: 20px;
}

.w15b5-footer-desc {
    font-size: 1.3rem;
    color: rgba(222, 226, 230, 0.8);
    margin-bottom: 20px;
    text-align: center;
}

.w15b5-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.w15b5-footer-links .w15b5-btn {
    font-size: 1.2rem;
    padding: 8px 14px;
}

.w15b5-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-bottom: 20px;
}

.w15b5-footer-nav a {
    color: var(--w15b5-text);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--w15b5-transition);
}

.w15b5-footer-nav a:hover {
    color: var(--w15b5-primary);
}

.w15b5-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(222, 226, 230, 0.6);
}

/* Bottom Navigation */
.w15b5-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--w15b5-bg-dark);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(255, 20, 147, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

.w15b5-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(--w15b5-text);
    cursor: pointer;
    transition: var(--w15b5-transition);
    text-decoration: none;
}

.w15b5-nav-btn:hover, .w15b5-nav-btn.active {
    color: var(--w15b5-primary);
}

.w15b5-nav-btn:hover .w15b5-nav-icon, .w15b5-nav-btn.active .w15b5-nav-icon {
    transform: scale(1.1);
}

.w15b5-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
    transition: var(--w15b5-transition);
}

.w15b5-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Promo Links */
.w15b5-promo-link {
    color: var(--w15b5-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--w15b5-transition);
    cursor: pointer;
}

.w15b5-promo-link:hover {
    color: var(--w15b5-text-light);
    text-decoration: underline;
}

/* Partners */
.w15b5-partners {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.w15b5-partner-logo {
    width: 48px;
    height: 32px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--w15b5-transition);
    filter: grayscale(100%);
}

.w15b5-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Testimonials */
.w15b5-testimonials {
    display: grid;
    gap: 12px;
}

.w15b5-testimonial {
    background: var(--w15b5-bg-card);
    padding: 16px;
    border-radius: var(--w15b5-radius-sm);
    border-left: 3px solid var(--w15b5-primary);
}

.w15b5-testimonial-text {
    font-size: 1.3rem;
    color: var(--w15b5-text);
    margin-bottom: 8px;
    font-style: italic;
}

.w15b5-testimonial-author {
    font-size: 1.2rem;
    color: var(--w15b5-primary);
    font-weight: 600;
}

/* Payment Methods */
.w15b5-payments {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.w15b5-payment {
    padding: 10px 16px;
    background: var(--w15b5-bg-card);
    border-radius: var(--w15b5-radius-sm);
    font-size: 1.3rem;
    color: var(--w15b5-text);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Winners */
.w15b5-winners {
    display: grid;
    gap: 10px;
}

.w15b5-winner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--w15b5-bg-card);
    border-radius: var(--w15b5-radius-sm);
}

.w15b5-winner-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.w15b5-winner-name {
    font-size: 1.3rem;
    color: var(--w15b5-text);
}

.w15b5-winner-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--w15b5-primary);
}

/* Utilities */
.w15b5-text-center { text-align: center; }
.w15b5-text-primary { color: var(--w15b5-primary); }
.w15b5-mb-16 { margin-bottom: 16px; }
.w15b5-mb-24 { margin-bottom: 24px; }
.w15b5-hidden { display: none; }

/* Responsive */
@media (max-width: 430px) {
    .w15b5-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .w15b5-game-name {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .w15b5-menu-btn {
        display: none;
    }

    .w15b5-desktop-nav {
        display: flex;
        gap: 24px;
    }

    .w15b5-desktop-nav a {
        color: var(--w15b5-text);
        text-decoration: none;
        font-size: 1.4rem;
        transition: var(--w15b5-transition);
    }

    .w15b5-desktop-nav a:hover {
        color: var(--w15b5-primary);
    }
}

/* FAQ Section */
.w15b5-faq-item {
    background: var(--w15b5-bg-card);
    border-radius: var(--w15b5-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.w15b5-faq-question {
    padding: 14px 16px;
    font-weight: 600;
    color: var(--w15b5-text-light);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.w15b5-faq-answer {
    padding: 0 16px 14px;
    color: var(--w15b5-text);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* List Styles */
.w15b5-list {
    list-style: none;
    padding: 0;
}

.w15b5-list li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--w15b5-text);
    font-size: 1.4rem;
}

.w15b5-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--w15b5-primary);
    border-radius: 50%;
}
