/**
 * betbingo Core Stylesheet
 * @version 1.0.0
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --w9d79-primary: #4169E1;
    --w9d79-bg: #1A1A1A;
    --w9d79-bg-secondary: #2A2A2A;
    --w9d79-accent: #87CEEB;
    --w9d79-highlight: #191970;
    --w9d79-text: #FFFFFF;
    --w9d79-text-muted: #B0B0B0;
    --w9d79-border: #3A3A3A;
    --w9d79-success: #28a745;
    --w9d79-warning: #ffc107;
    --w9d79-danger: #dc3545;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--w9d79-bg);
    color: var(--w9d79-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* Container */
.w9d79-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* Header */
.w9d79-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--w9d79-border);
    transition: all 0.3s ease;
}

.w9d79-header.w9d79-scrolled {
    box-shadow: 0 4px 20px rgba(65, 105, 225, 0.3);
}

.w9d79-header-inner {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.w9d79-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--w9d79-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.w9d79-header-buttons {
    display: flex;
    gap: 8px;
}

.w9d79-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.w9d79-btn-primary {
    background: linear-gradient(135deg, var(--w9d79-primary) 0%, var(--w9d79-highlight) 100%);
    color: var(--w9d79-text);
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.4);
}

.w9d79-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.6);
}

.w9d79-btn-secondary {
    background: transparent;
    color: var(--w9d79-accent);
    border: 2px solid var(--w9d79-accent);
}

.w9d79-btn-secondary:hover {
    background: var(--w9d79-accent);
    color: var(--w9d79-bg);
}

.w9d79-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.w9d79-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--w9d79-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.w9d79-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.w9d79-mobile-menu.w9d79-active {
    transform: translateX(0);
}

.w9d79-mobile-menu a {
    color: var(--w9d79-text);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.w9d79-mobile-menu a:hover {
    background: var(--w9d79-primary);
    color: var(--w9d79-text);
}

.w9d79-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--w9d79-text);
    font-size: 32px;
    cursor: pointer;
    padding: 10px;
}

/* Carousel */
.w9d79-carousel {
    position: relative;
    margin-top: 60px;
    overflow: hidden;
}

.w9d79-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.w9d79-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.w9d79-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.w9d79-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
}

.w9d79-carousel-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.w9d79-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.w9d79-carousel-dot.w9d79-active {
    background: var(--w9d79-primary);
    width: 24px;
    border-radius: 4px;
}

/* Section */
.w9d79-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--w9d79-border);
}

.w9d79-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--w9d79-primary);
    margin-bottom: 20px;
    text-align: center;
}

.w9d79-section-subtitle {
    font-size: 14px;
    color: var(--w9d79-text-muted);
    text-align: center;
    margin-bottom: 30px;
}

/* Game Grid */
.w9d79-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.w9d79-game-card {
    background: var(--w9d79-bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--w9d79-border);
}

.w9d79-game-card:hover {
    transform: translateY(-5px);
    border-color: var(--w9d79-primary);
    box-shadow: 0 8px 25px rgba(65, 105, 225, 0.3);
}

.w9d79-game-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.w9d79-game-card-title {
    padding: 8px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: var(--w9d79-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card */
.w9d79-card {
    background: var(--w9d79-bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--w9d79-border);
    transition: all 0.3s ease;
}

.w9d79-card:hover {
    border-color: var(--w9d79-primary);
    box-shadow: 0 4px 20px rgba(65, 105, 225, 0.2);
}

.w9d79-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--w9d79-accent);
    margin-bottom: 12px;
}

.w9d79-card-content {
    font-size: 14px;
    color: var(--w9d79-text-muted);
    line-height: 1.6;
}

/* Feature List */
.w9d79-feature-list {
    list-style: none;
    padding: 0;
}

.w9d79-feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--w9d79-border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.w9d79-feature-list li:last-child {
    border-bottom: none;
}

.w9d79-feature-icon {
    color: var(--w9d79-primary);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.w9d79-feature-text {
    flex: 1;
}

.w9d79-feature-title {
    font-weight: 600;
    color: var(--w9d79-text);
    margin-bottom: 4px;
}

.w9d79-feature-desc {
    font-size: 13px;
    color: var(--w9d79-text-muted);
}

/* FAQ */
.w9d79-faq-item {
    background: var(--w9d79-bg-secondary);
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid var(--w9d79-border);
    overflow: hidden;
}

.w9d79-faq-question {
    padding: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: var(--w9d79-text);
}

.w9d79-faq-answer {
    padding: 0 16px 16px;
    color: var(--w9d79-text-muted);
    font-size: 14px;
    line-height: 1.6;
    display: none;
}

.w9d79-faq-item.w9d79-active .w9d79-faq-answer {
    display: block;
}

.w9d79-faq-icon {
    transition: transform 0.3s ease;
}

.w9d79-faq-item.w9d79-active .w9d79-faq-icon {
    transform: rotate(180deg);
}

/* Promo Link */
.w9d79-promo-link {
    display: inline-block;
    color: var(--w9d79-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.w9d79-promo-link:hover {
    color: var(--w9d79-accent);
    text-decoration: underline;
}

/* Footer */
.w9d79-footer {
    background: var(--w9d79-bg-secondary);
    padding: 40px 0 100px;
    margin-top: 40px;
    border-top: 1px solid var(--w9d79-border);
}

.w9d79-footer-logo {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--w9d79-primary);
    margin-bottom: 20px;
}

.w9d79-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.w9d79-partner-logo {
    width: 60px;
    height: 60px;
    background: var(--w9d79-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--w9d79-border);
}

.w9d79-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.w9d79-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.w9d79-footer-links a {
    color: var(--w9d79-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.w9d79-footer-links a:hover {
    color: var(--w9d79-primary);
}

.w9d79-footer-copyright {
    text-align: center;
    color: var(--w9d79-text-muted);
    font-size: 12px;
}

/* Mobile Bottom Navigation */
.w9d79-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(26, 26, 26, 1) 100%);
    border-top: 2px solid var(--w9d79-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(65, 105, 225, 0.3);
}

@media (min-width: 769px) {
    .w9d79-bottom-nav {
        display: none;
    }
}

.w9d79-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
    min-height: 60px;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: var(--w9d79-text-muted);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px 12px;
}

.w9d79-nav-item:hover {
    background: rgba(65, 105, 225, 0.2);
    color: var(--w9d79-primary);
}

.w9d79-nav-item.w9d79-active {
    color: var(--w9d79-primary);
}

.w9d79-nav-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.w9d79-nav-text {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
}

/* Main Content Padding */
@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Typography */
h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--w9d79-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--w9d79-accent);
    margin-bottom: 12px;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--w9d79-text);
    margin-bottom: 10px;
}

p {
    margin-bottom: 16px;
    color: var(--w9d79-text-muted);
}

/* Utility Classes */
.w9d79-text-center {
    text-align: center;
}

.w9d79-mb-1 {
    margin-bottom: 8px;
}

.w9d79-mb-2 {
    margin-bottom: 16px;
}

.w9d79-mb-3 {
    margin-bottom: 24px;
}

.w9d79-mt-1 {
    margin-top: 8px;
}

.w9d79-mt-2 {
    margin-top: 16px;
}

.w9d79-mt-3 {
    margin-top: 24px;
}

/* Animations */
@keyframes w9d79pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.w9d79-pulse {
    animation: w9d79pulse 2s infinite;
}

/* Responsive */
@media (min-width: 769px) {
    .w9d79-container {
        max-width: 1200px;
    }

    .w9d79-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
