/**
 * phjllogin - CSS Design System
 * Prefix: wc04b-
 * Color Palette: #D2691E | #FFDEAD | #FAF0E6 | #34495E
 */

/* CSS Variables */
:root {
    --wc04b-primary: #D2691E;
    --wc04b-secondary: #FFDEAD;
    --wc04b-light: #FAF0E6;
    --wc04b-dark: #34495E;
    --wc04b-accent: #FFD700;
    --wc04b-success: #28a745;
    --wc04b-gradient: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
    --wc04b-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--wc04b-dark);
    color: var(--wc04b-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    overflow-x: hidden;
}

/* Container */
.wc04b-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.wc04b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--wc04b-gradient);
    padding: 0.8rem 1rem;
    z-index: 1000;
    box-shadow: var(--wc04b-shadow);
}

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

.wc04b-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.wc04b-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.wc04b-logo-text {
    color: var(--wc04b-light);
    font-weight: 700;
    font-size: 1.6rem;
}

.wc04b-header-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.wc04b-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.wc04b-btn-primary {
    background: var(--wc04b-accent);
    color: var(--wc04b-dark);
}

.wc04b-btn-primary:hover {
    background: #FFC107;
    transform: scale(1.05);
}

.wc04b-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--wc04b-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wc04b-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.wc04b-menu-toggle {
    background: transparent;
    border: none;
    color: var(--wc04b-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

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

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

.wc04b-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.wc04b-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wc04b-menu-close {
    background: transparent;
    border: none;
    color: var(--wc04b-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.wc04b-menu-nav {
    list-style: none;
}

.wc04b-menu-nav li {
    margin-bottom: 0.8rem;
}

.wc04b-menu-nav a {
    color: var(--wc04b-light);
    text-decoration: none;
    font-size: 1.4rem;
    padding: 0.8rem 1rem;
    display: block;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.wc04b-menu-nav a:hover {
    background: rgba(210, 105, 30, 0.3);
}

/* Carousel Styles */
.wc04b-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-top: 52px;
}

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

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

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

.wc04b-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.wc04b-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.wc04b-dot-active {
    background: var(--wc04b-accent);
}

/* Main Content */
.wc04b-main {
    padding: 1.5rem 1rem 8rem;
    max-width: 430px;
    margin: 0 auto;
}

/* Section Styles */
.wc04b-section {
    margin-bottom: 2.5rem;
}

.wc04b-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--wc04b-secondary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--wc04b-primary);
}

.wc04b-section-content {
    color: var(--wc04b-light);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Game Grid */
.wc04b-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.wc04b-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.wc04b-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 0.4rem;
}

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

/* Category Tabs */
.wc04b-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--wc04b-accent);
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Feature Cards */
.wc04b-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wc04b-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--wc04b-secondary);
    margin-bottom: 0.8rem;
}

/* Promo Links */
.wc04b-promo-link {
    color: var(--wc04b-accent);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wc04b-promo-link:hover {
    color: #FFC107;
    text-decoration: underline;
}

.wc04b-promo-btn {
    display: inline-block;
    background: var(--wc04b-gradient);
    color: var(--wc04b-light);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.wc04b-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.4);
}

/* Footer Styles */
.wc04b-footer {
    background: linear-gradient(180deg, var(--wc04b-dark) 0%, #1a252f 100%);
    padding: 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wc04b-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.wc04b-footer-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.wc04b-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.wc04b-footer-links a {
    color: var(--wc04b-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.wc04b-footer-links a:hover {
    background: rgba(210, 105, 30, 0.3);
}

.wc04b-footer-promos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.wc04b-footer-promos .wc04b-btn {
    font-size: 1.1rem;
    padding: 0.8rem;
}

.wc04b-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Bottom Navigation */
.wc04b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--wc04b-dark) 0%, #1a252f 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wc04b-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.wc04b-nav-item:hover {
    background: rgba(210, 105, 30, 0.2);
}

.wc04b-nav-item.active {
    background: rgba(210, 105, 30, 0.3);
}

.wc04b-nav-icon {
    font-size: 22px;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.wc04b-nav-item:hover .wc04b-nav-icon {
    transform: scale(1.1);
}

.wc04b-nav-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.wc04b-nav-item.active .wc04b-nav-text {
    color: var(--wc04b-accent);
}

/* Partner Logos */
.wc04b-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wc04b-partner-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

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

/* Testimonials */
.wc04b-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--wc04b-primary);
}

.wc04b-testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 0.6rem;
}

.wc04b-testimonial-author {
    font-size: 1.1rem;
    color: var(--wc04b-secondary);
    font-weight: 600;
}

/* RTP Display */
.wc04b-rtp-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.wc04b-rtp-fill {
    height: 100%;
    background: var(--wc04b-gradient);
    border-radius: 6px;
    transition: width 0.5s ease;
}

/* Payment Methods */
.wc04b-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.wc04b-payment-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

/* Winners Display */
.wc04b-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 0.6rem;
}

.wc04b-winner-name {
    font-size: 1.2rem;
}

.wc04b-winner-amount {
    color: var(--wc04b-accent);
    font-weight: 700;
}

/* FAQ Styles */
.wc04b-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.wc04b-faq-question {
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc04b-faq-answer {
    padding: 0 1rem 1rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (min-width: 769px) {
    .wc04b-bottom-nav {
        display: none;
    }

    .wc04b-header-inner,
    .wc04b-main,
    .wc04b-footer {
        max-width: 768px;
    }

    .wc04b-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

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

/* Utility Classes */
.wc04b-text-center { text-align: center; }
.wc04b-mb-1 { margin-bottom: 1rem; }
.wc04b-mb-2 { margin-bottom: 2rem; }
.wc04b-mt-1 { margin-top: 1rem; }
.wc04b-hidden { display: none; }
