/* Jiliko Casino Theme CSS */
:root {
    --w6c7c-color-primary: #F8F9FA;
    --w6c7c-color-secondary: #6A5ACD;
    --w6c7c-color-dark: #2D2D2D;
    --w6c7c-color-accent: #00CED1;
    --w6c7c-color-highlight: #DA70D6;
    --w6c7c-color-light: #E0FFFF;
    --w6c7c-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --w6c7c-shadow-hover: 0 8px 16px rgba(0,0,0,0.2);
    --w6c7c-border-radius: 8px;
    --w6c7c-transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: var(--w6c7c-color-dark);
    color: var(--w6c7c-color-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Mobile-first container */
.w6c7c-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.w6c7c-header {
    background: linear-gradient(135deg, var(--w6c7c-color-secondary) 0%, var(--w6c7c-color-accent) 100%);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--w6c7c-shadow);
}

.w6c7c-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.w6c7c-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--w6c7c-color-primary);
    text-decoration: none;
}

.w6c7c-header-buttons {
    display: flex;
    gap: 12px;
}

.w6c7c-btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--w6c7c-border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--w6c7c-transition);
    min-width: 80px;
    text-align: center;
}

.w6c7c-btn-primary {
    background-color: var(--w6c7c-color-highlight);
    color: var(--w6c7c-color-primary);
}

.w6c7c-btn-primary:hover {
    background-color: #C71585;
    transform: translateY(-2px);
}

.w6c7c-btn-secondary {
    background-color: transparent;
    color: var(--w6c7c-color-primary);
    border: 2px solid var(--w6c7c-color-primary);
}

.w6c7c-btn-secondary:hover {
    background-color: var(--w6c7c-color-primary);
    color: var(--w6c7c-color-secondary);
}

.w6c7c-menu-toggle {
    background: none;
    border: none;
    color: var(--w6c7c-color-primary);
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* Navigation */
.w6c7c-nav {
    background-color: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
}

.w6c7c-nav.active {
    display: block;
}

.w6c7c-nav-list {
    list-style: none;
    padding: 16px;
}

.w6c7c-nav-item {
    margin-bottom: 8px;
}

.w6c7c-nav-link {
    display: block;
    padding: 12px 16px;
    color: var(--w6c7c-color-primary);
    text-decoration: none;
    border-radius: var(--w6c7c-border-radius);
    transition: var(--w6c7c-transition);
}

.w6c7c-nav-link:hover {
    background-color: var(--w6c7c-color-secondary);
}

/* Main Content */
.w6c7c-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel */
.w6c7c-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--w6c7c-border-radius);
    margin-bottom: 24px;
}

.w6c7c-carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.w6c7c-carousel-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.w6c7c-carousel-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.w6c7c-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 24px 16px 16px;
    color: var(--w6c7c-color-primary);
}

.w6c7c-carousel-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.w6c7c-carousel-description {
    font-size: 14px;
    opacity: 0.9;
}

.w6c7c-carousel-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.w6c7c-carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--w6c7c-transition);
}

.w6c7c-carousel-indicator.active {
    background-color: var(--w6c7c-color-primary);
    width: 24px;
    border-radius: 4px;
}

/* Game Sections */
.w6c7c-section {
    margin-bottom: 32px;
}

.w6c7c-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.w6c7c-section-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--w6c7c-color-primary);
}

.w6c7c-section-more {
    color: var(--w6c7c-color-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.w6c7c-section-more:hover {
    color: var(--w6c7c-color-highlight);
}

.w6c7c-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.w6c7c-game-card {
    background-color: rgba(255,255,255,0.05);
    border-radius: var(--w6c7c-border-radius);
    overflow: hidden;
    transition: var(--w6c7c-transition);
    cursor: pointer;
    position: relative;
}

.w6c7c-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--w6c7c-shadow-hover);
}

.w6c7c-game-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.w6c7c-game-info {
    padding: 12px;
}

.w6c7c-game-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--w6c7c-color-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.w6c7c-game-category {
    font-size: 12px;
    color: var(--w6c7c-color-accent);
}

.w6c7c-game-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--w6c7c-color-highlight);
    color: var(--w6c7c-color-primary);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

/* Content Modules */
.w6c7c-module {
    background-color: rgba(255,255,255,0.05);
    border-radius: var(--w6c7c-border-radius);
    padding: 24px;
    margin-bottom: 24px;
}

.w6c7c-module-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--w6c7c-color-primary);
    margin-bottom: 16px;
}

.w6c7c-module-content {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.w6c7c-module-content p {
    margin-bottom: 12px;
}

.w6c7c-module-content ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.w6c7c-module-content li {
    margin-bottom: 8px;
}

.w6c7c-promo-link {
    color: var(--w6c7c-color-accent);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.w6c7c-promo-link:hover {
    color: var(--w6c7c-color-highlight);
    text-decoration: underline;
}

/* Footer */
.w6c7c-footer {
    background-color: #1a1a1a;
    padding: 32px 0 80px;
    margin-top: 48px;
}

.w6c7c-footer-content {
    margin-bottom: 24px;
}

.w6c7c-footer-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--w6c7c-color-primary);
    margin-bottom: 16px;
}

.w6c7c-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.w6c7c-footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

.w6c7c-footer-link:hover {
    color: var(--w6c7c-color-accent);
}

.w6c7c-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.w6c7c-partner-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(255,255,255,0.6);
}

.w6c7c-copyright {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Bottom Navigation */
.w6c7c-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--w6c7c-color-secondary) 0%, var(--w6c7c-color-accent) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

.w6c7c-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--w6c7c-transition);
    cursor: pointer;
    border: none;
    background: none;
}

.w6c7c-bottom-nav-item:hover,
.w6c7c-bottom-nav-item.active {
    color: var(--w6c7c-color-primary);
    transform: translateY(-4px);
}

.w6c7c-bottom-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.w6c7c-bottom-nav-label {
    font-size: 10px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .w6c7c-menu-toggle {
        display: block;
    }

    .w6c7c-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .w6c7c-main {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    .w6c7c-bottom-nav {
        display: none;
    }

    .w6c7c-header {
        position: relative;
    }

    .w6c7c-main {
        padding-top: 0;
    }

    .w6c7c-nav {
        position: relative;
        top: auto;
        display: block !important;
        background: none;
        backdrop-filter: none;
    }

    .w6c7c-nav-list {
        display: flex;
        padding: 0;
        gap: 8px;
    }

    .w6c7c-nav-item {
        margin-bottom: 0;
    }

    .w6c7c-carousel-slide img {
        height: 300px;
    }

    .w6c7c-game-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animations */
@keyframes w6c7c-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.w6c7c-fade-in {
    animation: w6c7c-fadeIn 0.5s ease forwards;
}

/* Utility Classes */
.w6c7c-text-center {
    text-align: center;
}

.w6c7c-mt-16 {
    margin-top: 16px;
}

.w6c7c-mb-16 {
    margin-bottom: 16px;
}

.w6c7c-hidden {
    display: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.w6c7c-btn:focus,
.w6c7c-nav-link:focus,
.w6c7c-bottom-nav-item:focus {
    outline: 2px solid var(--w6c7c-color-accent);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --w6c7c-color-primary: #ffffff;
        --w6c7c-color-secondary: #0000ff;
        --w6c7c-color-dark: #000000;
        --w6c7c-color-accent: #00ffff;
        --w6c7c-color-highlight: #ff00ff;
        --w6c7c-color-light: #ffffff;
    }
}