/* BigWin Casino - Main Stylesheet */
/* All classes use w81e2- prefix */

:root {
    --w81e2-primary: #FFF176;
    --w81e2-accent: #BF360C;
    --w81e2-bg: #212F3D;
    --w81e2-bg-light: #2C3E50;
    --w81e2-bg-card: #1A252F;
    --w81e2-text: #FFFFFF;
    --w81e2-text-muted: #B0BEC5;
    --w81e2-border: #34495E;
    --w81e2-radius: 8px;
    --w81e2-radius-lg: 12px;
    --w81e2-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-size: 62.5%;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--w81e2-bg);
    color: var(--w81e2-text);
    font-size: 1.6rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Container & Layout */
.w81e2-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 12px;
}

.w81e2-wrapper {
    width: 100%;
    overflow: hidden;
}

.w81e2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.w81e2-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

/* Header */
.w81e2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--w81e2-bg) 0%, var(--w81e2-bg-light) 100%);
    border-bottom: 2px solid var(--w81e2-primary);
    padding: 8px 0;
}

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

.w81e2-logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.w81e2-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.w81e2-site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--w81e2-primary);
    letter-spacing: 0.5px;
}

.w81e2-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.w81e2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border: none;
    border-radius: var(--w81e2-radius);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.w81e2-btn-primary {
    background: var(--w81e2-primary);
    color: var(--w81e2-bg);
}

.w81e2-btn-primary:hover {
    background: #FFEE58;
    transform: translateY(-1px);
}

.w81e2-btn-accent {
    background: var(--w81e2-accent);
    color: var(--w81e2-text);
}

.w81e2-btn-accent:hover {
    background: #E65100;
    transform: translateY(-1px);
}

.w81e2-btn-outline {
    background: transparent;
    color: var(--w81e2-primary);
    border: 1.5px solid var(--w81e2-primary);
}

.w81e2-btn-outline:hover {
    background: rgba(255,241,118,0.1);
}

.w81e2-btn-lg {
    padding: 12px 28px;
    font-size: 1.5rem;
    border-radius: var(--w81e2-radius-lg);
}

.w81e2-menu-btn {
    background: none;
    border: none;
    color: var(--w81e2-primary);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 4px;
}

/* Mobile Menu */
.w81e2-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    display: none;
}

.w81e2-overlay-active {
    display: block;
}

.w81e2-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--w81e2-bg-card);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px 16px;
}

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

.w81e2-menu-close {
    background: none;
    border: none;
    color: var(--w81e2-text);
    font-size: 2.4rem;
    cursor: pointer;
    float: right;
    margin-bottom: 16px;
}

.w81e2-menu-links {
    clear: both;
    list-style: none;
}

.w81e2-menu-links li {
    border-bottom: 1px solid var(--w81e2-border);
}

.w81e2-menu-links a {
    display: block;
    padding: 12px 8px;
    color: var(--w81e2-text);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.w81e2-menu-links a:hover {
    color: var(--w81e2-primary);
}

/* Main Content */
.w81e2-main {
    padding-top: 60px;
    min-height: 100vh;
}

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

/* Carousel */
.w81e2-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--w81e2-radius-lg) var(--w81e2-radius-lg);
}

.w81e2-slides-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
}

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

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

.w81e2-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w81e2-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

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

.w81e2-dot-active {
    background: var(--w81e2-primary);
}

/* Section Titles */
.w81e2-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w81e2-primary);
    text-align: center;
    margin: 24px 0 16px;
    position: relative;
}

.w81e2-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--w81e2-accent);
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Cards */
.w81e2-card {
    background: var(--w81e2-bg-card);
    border-radius: var(--w81e2-radius);
    overflow: hidden;
    border: 1px solid var(--w81e2-border);
    transition: transform 0.2s;
}

.w81e2-card:hover {
    transform: translateY(-2px);
}

/* Game Items */
.w81e2-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.w81e2-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--w81e2-radius);
    object-fit: cover;
    border: 2px solid var(--w81e2-border);
}

.w81e2-game-name {
    font-size: 1.1rem;
    color: var(--w81e2-text-muted);
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Tabs */
.w81e2-tabs {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding: 8px 0;
    scrollbar-width: none;
}

.w81e2-tabs::-webkit-scrollbar {
    display: none;
}

.w81e2-tab {
    flex-shrink: 0;
    padding: 6px 16px;
    background: var(--w81e2-bg-light);
    color: var(--w81e2-text-muted);
    border: 1px solid var(--w81e2-border);
    border-radius: 20px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s;
}

.w81e2-tab-active {
    background: var(--w81e2-primary);
    color: var(--w81e2-bg);
    border-color: var(--w81e2-primary);
    font-weight: 600;
}

/* Content Sections */
.w81e2-content-block {
    padding: 16px 0;
}

.w81e2-content-block p {
    color: var(--w81e2-text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.w81e2-content-block h2 {
    color: var(--w81e2-primary);
    font-size: 1.8rem;
    margin: 20px 0 10px;
}

.w81e2-content-block h3 {
    color: var(--w81e2-primary);
    font-size: 1.6rem;
    margin: 16px 0 8px;
}

.w81e2-content-block ul, .w81e2-content-block ol {
    color: var(--w81e2-text-muted);
    padding-left: 20px;
    margin-bottom: 12px;
}

.w81e2-content-block li {
    margin-bottom: 6px;
    font-size: 1.4rem;
}

/* FAQ */
.w81e2-faq-item {
    background: var(--w81e2-bg-card);
    border: 1px solid var(--w81e2-border);
    border-radius: var(--w81e2-radius);
    margin-bottom: 8px;
    overflow: hidden;
}

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

.w81e2-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
    color: var(--w81e2-text-muted);
    font-size: 1.3rem;
}

.w81e2-faq-open {
    max-height: 300px;
    padding: 0 16px 12px;
}

/* Testimonials */
.w81e2-testimonial {
    background: var(--w81e2-bg-card);
    border-left: 3px solid var(--w81e2-primary);
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 0 var(--w81e2-radius) var(--w81e2-radius) 0;
}

.w81e2-testimonial-name {
    font-weight: 600;
    color: var(--w81e2-primary);
    font-size: 1.3rem;
}

.w81e2-testimonial-text {
    color: var(--w81e2-text-muted);
    font-size: 1.3rem;
    margin-top: 4px;
}

/* Promotional CTA */
.w81e2-cta-section {
    text-align: center;
    padding: 24px 0;
}

.w81e2-cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--w81e2-primary);
    margin-bottom: 12px;
}

.w81e2-cta-desc {
    color: var(--w81e2-text-muted);
    margin-bottom: 16px;
    font-size: 1.4rem;
}

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

.w81e2-feature-item {
    background: var(--w81e2-bg-card);
    border: 1px solid var(--w81e2-border);
    border-radius: var(--w81e2-radius);
    padding: 16px 12px;
    text-align: center;
}

.w81e2-feature-icon {
    font-size: 2.8rem;
    color: var(--w81e2-primary);
    margin-bottom: 8px;
}

.w81e2-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--w81e2-text);
    margin-bottom: 4px;
}

.w81e2-feature-desc {
    font-size: 1.2rem;
    color: var(--w81e2-text-muted);
}

/* Winners Showcase */
.w81e2-winner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--w81e2-bg-card);
    border-radius: var(--w81e2-radius);
    padding: 10px 12px;
    margin-bottom: 8px;
}

.w81e2-winner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--w81e2-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--w81e2-primary);
}

.w81e2-winner-info {
    flex: 1;
}

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

.w81e2-winner-game {
    font-size: 1.1rem;
    color: var(--w81e2-text-muted);
}

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

/* Payment Methods */
.w81e2-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.w81e2-payment-item {
    background: var(--w81e2-bg-card);
    border: 1px solid var(--w81e2-border);
    border-radius: var(--w81e2-radius);
    padding: 8px 14px;
    font-size: 1.2rem;
    color: var(--w81e2-text-muted);
}

/* Footer */
.w81e2-footer {
    background: var(--w81e2-bg-card);
    border-top: 2px solid var(--w81e2-primary);
    padding: 24px 0 16px;
    margin-top: 24px;
}

.w81e2-footer-brand {
    text-align: center;
    margin-bottom: 16px;
}

.w81e2-footer-brand p {
    color: var(--w81e2-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

.w81e2-footer-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}

.w81e2-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    margin: 12px 0;
}

.w81e2-footer-links a {
    color: var(--w81e2-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.w81e2-footer-links a:hover {
    color: var(--w81e2-primary);
}

.w81e2-copyright {
    text-align: center;
    color: var(--w81e2-text-muted);
    font-size: 1.1rem;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--w81e2-border);
}

/* Bottom Navigation */
.w81e2-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--w81e2-bg-light) 0%, var(--w81e2-bg-card) 100%);
    border-top: 2px solid var(--w81e2-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    padding: 0 4px;
}

.w81e2-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 52px;
    background: none;
    border: none;
    color: var(--w81e2-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px 0;
    text-decoration: none;
}

.w81e2-nav-item:hover, .w81e2-nav-item:focus {
    color: var(--w81e2-primary);
    transform: scale(1.1);
}

.w81e2-nav-item .material-icons,
.w81e2-nav-item .fas,
.w81e2-nav-item .far,
.w81e2-nav-item .fad,
.w81e2-nav-item ion-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.w81e2-nav-item ion-icon {
    font-size: 26px;
}

.w81e2-nav-label {
    font-size: 10px;
    font-weight: 500;
}

.w81e2-nav-item-active {
    color: var(--w81e2-primary);
}

.w81e2-nav-item-active .w81e2-nav-label {
    font-weight: 700;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .w81e2-bottom-nav {
        display: none;
    }
}

/* Desktop adjustments */
@media (min-width: 769px) {
    .w81e2-header-inner {
        max-width: 768px;
    }
    .w81e2-container {
        max-width: 768px;
    }
    .w81e2-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utility Classes */
.w81e2-text-center {
    text-align: center;
}

.w81e2-mt-8 {
    margin-top: 8px;
}

.w81e2-mt-16 {
    margin-top: 16px;
}

.w81e2-mb-16 {
    margin-bottom: 16px;
}

.w81e2-hidden {
    display: none;
}

/* Anchor links for internal references */
.w81e2-internal-link {
    color: var(--w81e2-primary);
    text-decoration: none;
    border-bottom: 1px dotted var(--w81e2-primary);
}

.w81e2-internal-link:hover {
    color: #FFEE58;
}

/* Category Section */
.w81e2-category-section {
    margin-bottom: 20px;
}

.w81e2-category-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--w81e2-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.w81e2-category-title span {
    font-size: 2rem;
}

/* Promo Badge */
.w81e2-badge {
    display: inline-block;
    background: var(--w81e2-accent);
    color: var(--w81e2-text);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
}

/* Step List */
.w81e2-step {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.w81e2-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--w81e2-primary);
    color: var(--w81e2-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
}

.w81e2-step-text {
    color: var(--w81e2-text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
}
