/* JL Boss - Universal Stylesheet */
/* Author: JL Boss Tech Team */
/* Version: 1.0 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #F8F8FF;
    background: linear-gradient(135deg, #1E1E1E 0%, #2C2C2C 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Color System */
:root {
    --primary-dark: #1E1E1E;
    --secondary-gray: #D3D3D3;
    --accent-white: #F8F8FF;
    --highlight-pink: #FF69B4;
    --action-orange: #FF4500;
    --muted-blue: #95A5A6;
    --gradient-bg: linear-gradient(135deg, #1E1E1E 0%, #2C2C2C 100%);
    --card-bg: rgba(211, 211, 211, 0.1);
    --border-color: rgba(248, 248, 255, 0.2);
}

/* Container and Layout */
.container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

.section {
    padding: 2rem 0;
    margin-bottom: 1rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.6rem;
}

.site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--highlight-pink);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 0.8rem;
}

.btn-register,
.btn-login {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 0.6rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-register {
    background: var(--action-orange);
    color: white;
}

.btn-login {
    background: transparent;
    color: var(--accent-white);
    border: 1px solid var(--border-color);
}

.btn-register:hover,
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--accent-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Navigation */
.mobile-menu {
    position: fixed;
    top: 7rem;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    z-index: 999;
}

.mobile-menu a {
    color: var(--accent-white);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--highlight-pink);
}

/* Main Content */
.main-content {
    margin-top: 8rem;
    padding-bottom: 8rem;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    height: 20rem;
    border-radius: 1.2rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-slide:hover {
    transform: scale(1.05);
}

/* Typography */
.h1-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--highlight-pink);
    text-align: center;
    margin: 2rem 0;
    line-height: 1.3;
}

.h2-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-white);
    margin: 1.5rem 0 1rem 0;
}

.h3-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-gray);
    margin: 1rem 0 0.5rem 0;
}

/* Game Grid */
.games-section {
    margin: 2rem 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.game-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.game-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
    border-color: var(--highlight-pink);
}

.game-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.6rem;
    object-fit: cover;
}

.game-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-white);
    text-align: center;
    line-height: 1.2;
}

/* Content Modules */
.content-module {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    padding: 2rem;
    margin: 2rem 0;
}

.content-module p {
    margin-bottom: 1rem;
    color: var(--secondary-gray);
    line-height: 1.6;
}

.content-module ul {
    list-style: none;
    padding: 0;
}

.content-module li {
    padding: 0.5rem 0;
    color: var(--secondary-gray);
    border-bottom: 1px solid var(--border-color);
}

.content-module li:last-child {
    border-bottom: none;
}

/* Promotional Links and Buttons */
.promo-link {
    color: var(--highlight-pink);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.promo-link:hover {
    color: var(--action-orange);
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.5);
}

.promo-btn {
    background: linear-gradient(135deg, var(--highlight-pink), var(--action-orange));
    color: white;
    border: none;
    padding: 1.2rem 2.4rem;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin: 1rem 0;
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

/* Footer Styles */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 10rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.footer-links a {
    color: var(--secondary-gray);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.8rem;
    border-radius: 0.6rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--highlight-pink);
    background: var(--card-bg);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.partner-logo {
    width: 100%;
    height: 4rem;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
}

.copyright {
    text-align: center;
    color: var(--muted-blue);
    font-size: 1.2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
    z-index: 1000;
}

.bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--secondary-gray);
    padding: 0.5rem;
    border-radius: 0.6rem;
}

.nav-item:hover {
    color: var(--highlight-pink);
    background: var(--card-bg);
}

.nav-icon {
    font-size: 2rem;
}

.nav-label {
    font-size: 1rem;
    font-weight: 500;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.flex {
    display: flex !important;
}

.text-center {
    text-align: center;
}

.text-highlight {
    color: var(--highlight-pink);
    font-weight: 600;
}

.loading {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
    
    .header-content {
        max-width: 768px;
    }
    
    .games-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .bottom-nav {
        display: none;
    }
    
    .footer {
        padding-bottom: 3rem;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .game-item {
        padding: 0.8rem;
    }
    
    .game-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
} 