/**
 * Jilee Website CSS Stylesheet
 * All classes use 's92b-' prefix for namespace isolation
 * Color palette: #FA8072 | #CD853F | #6A5ACD | #2D2D2D | #BA55D3
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --s92b-primary: #FA8072;
    --s92b-secondary: #CD853F;
    --s92b-accent: #6A5ACD;
    --s92b-bg: #2D2D2D;
    --s92b-highlight: #BA55D3;
    --s92b-text: #FFFFFF;
    --s92b-text-muted: #B0B0B0;
    --s92b-bg-light: #3D3D3D;
    --s92b-border: #4D4D4D;
    --s92b-success: #4CAF50;
    --s92b-warning: #FF9800;
}

/* Reset and Base */
*, *::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.5;
    background-color: var(--s92b-bg);
    color: var(--s92b-text);
    min-height: 100vh;
}

/* Container */
.s92b-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.s92b-wrapper {
    width: 100%;
    padding: 1rem 0;
}

/* Header */
.s92b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--s92b-bg) 0%, var(--s92b-bg-light) 100%);
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.s92b-header-scrolled {
    background: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(10px);
}

.s92b-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.s92b-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.s92b-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.s92b-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s92b-primary);
    text-shadow: 0 0 10px rgba(250, 128, 114, 0.5);
}

.s92b-header-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.s92b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.s92b-btn-register {
    background: linear-gradient(135deg, var(--s92b-primary) 0%, var(--s92b-secondary) 100%);
    color: var(--s92b-text);
    box-shadow: 0 4px 15px rgba(250, 128, 114, 0.4);
}

.s92b-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 128, 114, 0.6);
}

.s92b-btn-login {
    background: transparent;
    color: var(--s92b-text);
    border: 2px solid var(--s92b-accent);
}

.s92b-btn-login:hover {
    background: var(--s92b-accent);
    color: var(--s92b-text);
}

.s92b-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.s92b-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--s92b-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.s92b-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--s92b-bg-light) 0%, var(--s92b-bg) 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.s92b-menu-active {
    right: 0;
}

.s92b-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: all 0.3s ease;
}

.s92b-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s92b-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--s92b-border);
}

.s92b-menu-close {
    background: none;
    border: none;
    color: var(--s92b-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.s92b-menu-nav {
    list-style: none;
}

.s92b-menu-nav li {
    margin-bottom: 1rem;
}

.s92b-menu-nav a {
    display: block;
    color: var(--s92b-text);
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.s92b-menu-nav a:hover {
    background: var(--s92b-accent);
    color: var(--s92b-text);
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Carousel */
.s92b-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.s92b-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.s92b-slide-active {
    opacity: 1;
}

.s92b-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections */
.s92b-section {
    padding: 2rem 0;
}

.s92b-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--s92b-primary);
    text-align: center;
    text-shadow: 0 0 10px rgba(250, 128, 114, 0.3);
}

/* Game Grid */
.s92b-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.s92b-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.s92b-game-item:hover {
    transform: scale(1.05);
}

.s92b-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.s92b-game-name {
    font-size: 1.1rem;
    color: var(--s92b-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Title */
.s92b-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s92b-secondary);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--s92b-secondary);
}

/* Cards */
.s92b-card {
    background: var(--s92b-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.s92b-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--s92b-highlight);
    margin-bottom: 1rem;
}

.s92b-card-text {
    font-size: 1.4rem;
    color: var(--s92b-text-muted);
    line-height: 1.6;
}

/* Footer */
.s92b-footer {
    background: linear-gradient(180deg, var(--s92b-bg-light) 0%, #1D1D1D 100%);
    padding: 2rem 1rem;
    margin-top: 2rem;
}

.s92b-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.s92b-footer-links a {
    color: var(--s92b-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.s92b-footer-links a:hover {
    color: var(--s92b-primary);
}

.s92b-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.s92b-partners img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.s92b-partners img:hover {
    opacity: 1;
}

.s92b-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--s92b-text-muted);
}

/* Mobile Bottom Navigation */
.s92b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--s92b-bg-light) 0%, var(--s92b-bg) 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 var(--s92b-border);
}

.s92b-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--s92b-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.s92b-nav-item:hover,
.s92b-nav-item.active {
    color: var(--s92b-primary);
    transform: scale(1.1);
}

.s92b-nav-item i,
.s92b-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.s92b-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Promo Links */
.s92b-promo-link {
    color: var(--s92b-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.s92b-promo-link:hover {
    color: var(--s92b-secondary);
    text-decoration: underline;
}

/* Utility Classes */
.s92b-text-center { text-align: center; }
.s92b-mt-1 { margin-top: 1rem; }
.s92b-mt-2 { margin-top: 2rem; }
.s92b-mb-1 { margin-bottom: 1rem; }
.s92b-mb-2 { margin-bottom: 2rem; }
.s92b-p-1 { padding: 1rem; }
.s92b-p-2 { padding: 2rem; }

/* Responsive - Desktop */
@media (min-width: 769px) {
    .s92b-bottom-nav {
        display: none;
    }

    .s92b-menu-toggle {
        display: none;
    }

    .s92b-container {
        max-width: 1200px;
    }

    .s92b-game-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* Animations */
@keyframes s92b-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.s92b-animate-pulse {
    animation: s92b-pulse 2s infinite;
}

/* List Styles */
.s92b-list {
    list-style: none;
    padding: 0;
}

.s92b-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--s92b-border);
    font-size: 1.4rem;
}

.s92b-list li:last-child {
    border-bottom: none;
}

/* RTP Badge */
.s92b-rtp-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--s92b-success) 0%, #45a049 100%);
    color: var(--s92b-text);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Highlight Box */
.s92b-highlight-box {
    background: linear-gradient(135deg, rgba(106, 90, 205, 0.2) 0%, rgba(186, 85, 211, 0.2) 100%);
    border: 1px solid var(--s92b-accent);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
