/**
 * BigWin Casino - Theme Stylesheet
 * Website: bigwincasino.club
 * Mobile-first responsive design (max-width: 430px)
 */

/* CSS Variables */
:root {
    --w3919-primary: #4DB6AC;
    --w3919-secondary: #FF69B4;
    --w3919-accent: #FFB3BA;
    --w3919-bg: #333333;
    --w3919-bg-light: #3d3d3d;
    --w3919-text: #F0FDFF;
    --w3919-text-muted: #b0b0b0;
    --w3919-border: #555555;
    --w3919-success: #4CAF50;
    --w3919-warning: #FF9800;
    --w3919-gradient: linear-gradient(135deg, #4DB6AC 0%, #FF69B4 100%);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--w3919-text);
    background-color: var(--w3919-bg);
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.8rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--w3919-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--w3919-secondary);
}

/* Container */
.w3919-container {
    width: 100%;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.w3919-wrapper {
    padding: 2rem 0;
}

.w3919-grid {
    display: grid;
    gap: 1.5rem;
}

/* Header */
.w3919-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--w3919-bg);
    padding: 1rem 0;
    border-bottom: 1px solid var(--w3919-border);
    max-width: 430px;
    margin: 0 auto;
}

.w3919-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.w3919-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w3919-logo-img {
    height: 3.5rem;
    width: auto;
}

.w3919-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--w3919-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w3919-header-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.w3919-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 0.8rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.w3919-btn-primary {
    background: var(--w3919-gradient);
    color: var(--w3919-text);
}

.w3919-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(77, 182, 172, 0.4);
}

.w3919-btn-secondary {
    background: transparent;
    color: var(--w3919-primary);
    border: 2px solid var(--w3919-primary);
}

.w3919-btn-secondary:hover {
    background: var(--w3919-primary);
    color: var(--w3919-bg);
}

.w3919-btn-play {
    background: var(--w3919-secondary);
    color: var(--w3919-text);
    padding: 1rem 2.5rem;
    font-size: 1.6rem;
    border-radius: 5rem;
}

.w3919-btn-play:hover {
    background: var(--w3919-accent);
    transform: scale(1.05);
}

/* Main Content */
.w3919-main {
    padding-top: 6rem;
    padding-bottom: 8rem;
}

/* Carousel/Slider */
.w3919-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.w3919-slides {
    position: relative;
    width: 100%;
}

.w3919-slide {
    display: none;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.w3919-slide-active {
    display: block;
}

.w3919-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.w3919-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.w3919-slide-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.w3919-dot-active {
    background: var(--w3919-primary);
}

/* Section Titles */
.w3919-section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.w3919-section-title::after {
    content: '';
    display: block;
    width: 6rem;
    height: 3px;
    background: var(--w3919-gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Game Grid */
.w3919-game-section {
    padding: 2rem 0;
}

.w3919-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.w3919-game-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--w3919-bg-light);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.w3919-game-card:hover {
    transform: translateY(-5px);
}

.w3919-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.w3919-game-card-title {
    padding: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
    color: var(--w3919-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cards */
.w3919-card {
    background: var(--w3919-bg-light);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--w3919-border);
    transition: all 0.3s ease;
}

.w3919-card:hover {
    border-color: var(--w3919-primary);
    box-shadow: 0 5px 20px rgba(77, 182, 172, 0.2);
}

/* Features Grid */
.w3919-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.w3919-feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--w3919-bg-light);
    border-radius: 1rem;
    border: 1px solid var(--w3919-border);
}

.w3919-feature-icon {
    font-size: 3rem;
    color: var(--w3919-primary);
    margin-bottom: 1rem;
}

.w3919-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.w3919-feature-desc {
    font-size: 1.2rem;
    color: var(--w3919-text-muted);
}

/* FAQ Accordion */
.w3919-faq-item {
    background: var(--w3919-bg-light);
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--w3919-border);
}

.w3919-faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.w3919-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--w3919-text-muted);
}

/* Mobile Menu */
.w3919-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.w3919-menu-toggle span {
    width: 2.5rem;
    height: 3px;
    background: var(--w3919-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.w3919-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--w3919-bg);
    z-index: 9999;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.w3919-menu-active {
    right: 0;
}

.w3919-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
}

.w3919-overlay-active {
    display: block;
}

.w3919-mobile-menu-list {
    list-style: none;
}

.w3919-mobile-menu-list li {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--w3919-border);
}

.w3919-mobile-menu-list a {
    color: var(--w3919-text);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Bottom Navigation */
.w3919-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-top: 2px solid var(--w3919-primary);
    padding: 0.5rem 0;
    max-width: 430px;
    margin: 0 auto;
}

.w3919-bottom-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
}

.w3919-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.8rem;
}

.w3919-bottom-nav-item:hover {
    background: rgba(77, 182, 172, 0.1);
}

.w3919-bottom-nav-item i,
.w3919-bottom-nav-item .material-icons {
    font-size: 2.4rem;
    color: var(--w3919-text-muted);
    transition: color 0.3s ease;
}

.w3919-bottom-nav-item:hover i,
.w3919-bottom-nav-item:hover .material-icons {
    color: var(--w3919-primary);
}

.w3919-bottom-nav-item span {
    font-size: 1rem;
    color: var(--w3919-text-muted);
    text-align: center;
}

.w3919-bottom-nav-item:hover span {
    color: var(--w3919-primary);
}

/* Footer */
.w3919-footer {
    background: var(--w3919-bg-light);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--w3919-border);
}

.w3919-partners {
    margin-bottom: 2rem;
}

.w3919-partners-title {
    text-align: center;
    font-size: 1.4rem;
    color: var(--w3919-text-muted);
    margin-bottom: 1.5rem;
}

.w3919-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.w3919-partner-logo {
    background: var(--w3919-bg);
    border-radius: 0.5rem;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.w3919-partner-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.w3919-partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.w3919-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.w3919-footer-links a {
    color: var(--w3919-text-muted);
    font-size: 1.3rem;
}

.w3919-footer-links a:hover {
    color: var(--w3919-primary);
}

.w3919-copyright {
    text-align: center;
    color: var(--w3919-text-muted);
    font-size: 1.2rem;
}

/* Utilities */
.w3919-text-center { text-align: center; }
.w3919-text-primary { color: var(--w3919-primary); }
.w3919-text-secondary { color: var(--w3919-secondary); }
.w3919-mb-1 { margin-bottom: 1rem; }
.w3919-mb-2 { margin-bottom: 2rem; }
.w3919-mb-3 { margin-bottom: 3rem; }
.w3919-mt-2 { margin-top: 2rem; }
.w3919-hidden { display: none; }

/* Desktop Styles */
@media (min-width: 769px) {
    .w3919-bottom-nav {
        display: none;
    }

    .w3919-main {
        padding-bottom: 2rem;
    }

    body {
        max-width: 100%;
    }

    .w3919-container {
        max-width: 1200px;
    }

    .w3919-game-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* Animation */
@keyframes w3919-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.w3919-fade-in {
    animation: w3919-fadeIn 0.5s ease forwards;
}
