/**
 * BIGWI Core Stylesheet
 * Website: bigwi.click
 * Version: 1.0.0
 * All classes use wc449- prefix for namespace isolation
 */

/* CSS Variables */
:root {
    --wc449-primary: #E65100;
    --wc449-secondary: #8B7355;
    --wc449-bg-dark: #1A1A2E;
    --wc449-bg-darker: #12121F;
    --wc449-bg-card: #252538;
    --wc449-text-light: #FFFFFF;
    --wc449-text-muted: #A0A0B0;
    --wc449-border-color: #3A3A50;
    --wc449-gradient-primary: linear-gradient(135deg, #E65100 0%, #FF8C00 100%);
    --wc449-gradient-card: linear-gradient(180deg, #252538 0%, #1A1A2E 100%);
    --wc449-shadow-card: 0 4px 15px rgba(0, 0, 0, 0.3);
    --wc449-radius-sm: 6px;
    --wc449-radius-md: 10px;
    --wc449-radius-lg: 16px;
    --wc449-transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--wc449-bg-dark);
    color: var(--wc449-text-light);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--wc449-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.wc449-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wc449-wrapper {
    width: 100%;
    position: relative;
}

/* Header */
.wc449-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--wc449-bg-darker) 0%, rgba(18, 18, 31, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--wc449-border-color);
}

.wc449-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.wc449-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wc449-logo img {
    width: 32px;
    height: 32px;
}

.wc449-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--wc449-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wc449-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wc449-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--wc449-radius-md);
    font-weight: 600;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--wc449-transition);
    border: none;
    min-height: 44px;
}

.wc449-btn-primary {
    background: var(--wc449-gradient-primary);
    color: var(--wc449-text-light);
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.3);
}

.wc449-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 81, 0, 0.4);
}

.wc449-btn-outline {
    background: transparent;
    color: var(--wc449-primary);
    border: 2px solid var(--wc449-primary);
}

.wc449-btn-outline:hover {
    background: var(--wc449-primary);
    color: var(--wc449-text-light);
}

.wc449-menu-toggle {
    background: transparent;
    border: none;
    color: var(--wc449-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.wc449-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--wc449-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.wc449-menu-open {
    right: 0;
}

.wc449-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(--wc449-transition);
}

.wc449-overlay-visible {
    opacity: 1;
    visibility: visible;
}

.wc449-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--wc449-border-color);
}

.wc449-menu-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--wc449-primary);
}

.wc449-menu-close {
    background: transparent;
    border: none;
    color: var(--wc449-text-muted);
    font-size: 2.4rem;
    cursor: pointer;
}

.wc449-menu-nav {
    list-style: none;
}

.wc449-menu-item {
    margin-bottom: 0.5rem;
}

.wc449-menu-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--wc449-text-light);
    font-size: 1.5rem;
    border-radius: var(--wc449-radius-sm);
    transition: var(--wc449-transition);
}

.wc449-menu-link:hover {
    background: var(--wc449-bg-card);
    color: var(--wc449-primary);
}

/* Main Content */
.wc449-main {
    padding-top: 70px;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .wc449-main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.wc449-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0 0 var(--wc449-radius-lg) var(--wc449-radius-lg);
}

.wc449-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.wc449-slide-active {
    opacity: 1;
}

.wc449-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc449-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.wc449-slide-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--wc449-text-light);
}

/* Section Styles */
.wc449-section {
    padding: 2rem 1.5rem;
}

.wc449-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--wc449-text-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wc449-section-title i {
    color: var(--wc449-primary);
}

/* Game Grid */
.wc449-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.wc449-game-card {
    background: var(--wc449-gradient-card);
    border-radius: var(--wc449-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--wc449-transition);
    border: 1px solid var(--wc449-border-color);
}

.wc449-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wc449-shadow-card);
    border-color: var(--wc449-primary);
}

.wc449-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.wc449-game-name {
    padding: 0.6rem;
    font-size: 1.1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--wc449-text-light);
    background: rgba(0, 0, 0, 0.3);
}

/* Category Tabs */
.wc449-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    padding-left: 1.5rem;
    color: var(--wc449-primary);
    border-left: 3px solid var(--wc449-primary);
}

/* Content Box */
.wc449-content-box {
    background: var(--wc449-bg-card);
    border-radius: var(--wc449-radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--wc449-border-color);
}

.wc449-content-box h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--wc449-primary);
}

.wc449-content-box h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--wc449-text-light);
}

.wc449-content-box p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--wc449-text-muted);
    margin-bottom: 1rem;
}

.wc449-content-box ul {
    list-style: none;
    padding-left: 0;
}

.wc449-content-box li {
    padding: 0.5rem 0;
    font-size: 1.4rem;
    color: var(--wc449-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.wc449-content-box li i {
    color: var(--wc449-primary);
    margin-top: 0.3rem;
}

/* Promo Link */
.wc449-promo-link {
    color: var(--wc449-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--wc449-transition);
}

.wc449-promo-link:hover {
    color: #FF8C00;
    text-decoration: underline;
}

/* Footer */
.wc449-footer {
    background: var(--wc449-bg-darker);
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--wc449-border-color);
}

.wc449-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.wc449-footer-link {
    font-size: 1.3rem;
    color: var(--wc449-text-muted);
    transition: var(--wc449-transition);
}

.wc449-footer-link:hover {
    color: var(--wc449-primary);
}

.wc449-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.wc449-partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--wc449-transition);
    filter: grayscale(50%);
}

.wc449-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.wc449-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--wc449-text-muted);
}

/* Bottom Navigation - Mobile */
.wc449-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, var(--wc449-bg-darker) 100%);
    border-top: 1px solid var(--wc449-border-color);
    display: none;
}

@media (max-width: 768px) {
    .wc449-bottom-nav {
        display: flex;
    }
}

.wc449-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.wc449-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--wc449-transition);
    border-radius: var(--wc449-radius-sm);
    padding: 0.5rem;
}

.wc449-nav-item:hover {
    background: rgba(230, 81, 0, 0.1);
}

.wc449-nav-item:active {
    transform: scale(0.95);
}

.wc449-nav-item i {
    font-size: 22px;
    margin-bottom: 0.2rem;
    color: var(--wc449-text-muted);
    transition: var(--wc449-transition);
}

.wc449-nav-item span {
    font-size: 1rem;
    color: var(--wc449-text-muted);
    transition: var(--wc449-transition);
}

.wc449-nav-item:hover i,
.wc449-nav-item:hover span {
    color: var(--wc449-primary);
}

.wc449-nav-item.active i,
.wc449-nav-item.active span {
    color: var(--wc449-primary);
}

/* RTP Section */
.wc449-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.wc449-rtp-item {
    background: var(--wc449-bg-card);
    padding: 1rem;
    border-radius: var(--wc449-radius-sm);
    border: 1px solid var(--wc449-border-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: var(--wc449-transition);
}

.wc449-rtp-item:hover {
    border-color: var(--wc449-primary);
}

.wc449-rtp-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--wc449-radius-sm);
    object-fit: cover;
}

.wc449-rtp-info {
    flex: 1;
}

.wc449-rtp-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--wc449-text-light);
}

.wc449-rtp-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--wc449-primary);
}

/* Features Grid */
.wc449-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.wc449-feature-item {
    background: var(--wc449-bg-card);
    padding: 1.2rem;
    border-radius: var(--wc449-radius-md);
    border: 1px solid var(--wc449-border-color);
    text-align: center;
    cursor: pointer;
    transition: var(--wc449-transition);
}

.wc449-feature-item:hover {
    border-color: var(--wc449-primary);
    transform: translateY(-2px);
}

.wc449-feature-icon {
    font-size: 2.8rem;
    color: var(--wc449-primary);
    margin-bottom: 0.8rem;
}

.wc449-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--wc449-text-light);
}

/* Promotional Banner */
.wc449-promo-banner {
    background: var(--wc449-gradient-primary);
    padding: 1.5rem;
    border-radius: var(--wc449-radius-md);
    text-align: center;
    margin: 1.5rem 0;
    cursor: pointer;
    transition: var(--wc449-transition);
}

.wc449-promo-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(230, 81, 0, 0.4);
}

.wc449-promo-banner h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--wc449-text-light);
    margin-bottom: 0.5rem;
}

.wc449-promo-banner p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* FAQ Accordion */
.wc449-faq-item {
    background: var(--wc449-bg-card);
    border-radius: var(--wc449-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--wc449-border-color);
}

.wc449-faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--wc449-text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.wc449-faq-question i {
    color: var(--wc449-primary);
    font-size: 1.6rem;
}

.wc449-faq-answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 1.3rem;
    color: var(--wc449-text-muted);
    line-height: 1.6;
}

/* Security Section */
.wc449-security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.wc449-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--wc449-bg-card);
    padding: 0.8rem 1.2rem;
    border-radius: var(--wc449-radius-sm);
    border: 1px solid var(--wc449-border-color);
}

.wc449-badge i {
    color: #4CAF50;
    font-size: 1.8rem;
}

.wc449-badge span {
    font-size: 1.2rem;
    color: var(--wc449-text-light);
}

/* Achievements */
.wc449-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.wc449-achievement {
    text-align: center;
    padding: 1rem;
    background: var(--wc449-bg-card);
    border-radius: var(--wc449-radius-md);
    border: 1px solid var(--wc449-border-color);
}

.wc449-achievement-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--wc449-primary);
    margin-bottom: 0.3rem;
}

.wc449-achievement-label {
    font-size: 1.1rem;
    color: var(--wc449-text-muted);
}

/* Tricks/Tips Section */
.wc449-tricks-list {
    list-style: none;
}

.wc449-trick-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--wc449-bg-card);
    border-radius: var(--wc449-radius-sm);
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--wc449-primary);
}

.wc449-trick-number {
    min-width: 28px;
    height: 28px;
    background: var(--wc449-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--wc449-text-light);
}

.wc449-trick-text {
    font-size: 1.3rem;
    color: var(--wc449-text-muted);
    line-height: 1.5;
}

/* Play Now Button */
.wc449-play-now {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.wc449-play-btn {
    background: var(--wc449-gradient-primary);
    color: var(--wc449-text-light);
    font-size: 1.8rem;
    font-weight: 700;
    padding: 1.5rem 4rem;
    border-radius: var(--wc449-radius-lg);
    border: none;
    cursor: pointer;
    transition: var(--wc449-transition);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.wc449-play-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(230, 81, 0, 0.5);
}

.wc449-play-btn i {
    font-size: 2.2rem;
}

/* Text utilities */
.wc449-text-primary {
    color: var(--wc449-primary);
}

.wc449-text-muted {
    color: var(--wc449-text-muted);
}

.wc449-font-bold {
    font-weight: 700;
}

/* Hide on mobile/desktop */
@media (min-width: 769px) {
    .wc449-hide-desktop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .wc449-hide-mobile {
        display: none !important;
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .wc449-header-inner {
        max-width: 1200px;
    }

    .wc449-container {
        max-width: 1200px;
    }

    .wc449-game-grid {
        grid-template-columns: repeat(8, 1fr);
    }

    .wc449-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .wc449-rtp-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .wc449-achievements {
        grid-template-columns: repeat(6, 1fr);
    }

    .wc449-carousel {
        height: 350px;
    }

    .wc449-desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .wc449-desktop-nav a {
        font-size: 1.4rem;
        color: var(--wc449-text-light);
        transition: var(--wc449-transition);
    }

    .wc449-desktop-nav a:hover {
        color: var(--wc449-primary);
    }

    .wc449-menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .wc449-desktop-nav {
        display: none;
    }
}
