/* JL Boss 2025 - Main CSS Styles */
/* Mobile-first responsive design with color palette: #ADD8E6, #3A3A3A, #FAF0E6, #8B0000 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px base for rem units */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #FAF0E6;
    background-color: #3A3A3A;
    background: linear-gradient(135deg, #3A3A3A 0%, #2A2A2A 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #FAF0E6;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.6rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.5rem;
}

/* Container and layout */
.container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(58, 58, 58, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #8B0000;
    z-index: 1000;
    height: 6rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1rem;
    max-width: 430px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.4rem;
}

.site-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ADD8E6;
    text-decoration: none;
}

.header-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-header {
    padding: 0.6rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 4.4rem;
}

.btn-register {
    background: linear-gradient(135deg, #8B0000, #A50000);
    color: #FAF0E6;
}

.btn-login {
    background: transparent;
    color: #ADD8E6;
    border: 1px solid #ADD8E6;
}

.btn-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.nav-toggle {
    background: none;
    border: none;
    color: #FAF0E6;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 0.5rem;
}

/* Mobile navigation */
.mobile-nav {
    position: fixed;
    top: 6rem;
    left: 0;
    right: 0;
    background: rgba(58, 58, 58, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #8B0000;
    z-index: 999;
}

.nav-menu {
    padding: 1rem;
    max-width: 430px;
    margin: 0 auto;
}

.nav-link {
    display: block;
    padding: 1rem;
    color: #ADD8E6;
    text-decoration: none;
    border-bottom: 1px solid rgba(173, 216, 230, 0.2);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(173, 216, 230, 0.1);
    padding-left: 1.5rem;
}

/* Main content */
.main-content {
    margin-top: 6rem;
    min-height: calc(100vh - 6rem - 8rem);
}

/* Carousel styles */
.carousel {
    position: relative;
    height: 20rem;
    overflow: hidden;
    border-radius: 0.8rem;
    margin: 1rem 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.carousel-indicator {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 4.4rem;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, #8B0000, #A50000);
    color: #FAF0E6;
}

.btn-secondary {
    background: linear-gradient(135deg, #ADD8E6, #87CEEB);
    color: #3A3A3A;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Promotional links */
.promo-link, .promo-btn {
    color: #8B0000 !important;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-link:hover, .promo-btn:hover {
    color: #A50000 !important;
    text-shadow: 0 0 5px rgba(139, 0, 0, 0.5);
}

.promo-btn {
    background: linear-gradient(135deg, #8B0000, #A50000);
    color: #FAF0E6 !important;
    padding: 1rem 2rem;
    border-radius: 0.6rem;
    text-decoration: none;
    display: inline-block;
}

/* Game grid */
.game-category {
    margin: 2rem 0;
}

.category-title {
    color: #ADD8E6;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.game-item {
    background: rgba(173, 216, 230, 0.1);
    border-radius: 0.6rem;
    padding: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(173, 216, 230, 0.3);
}

.game-item:hover {
    background: rgba(173, 216, 230, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.game-icon {
    width: 100%;
    height: 6rem;
    object-fit: cover;
    border-radius: 0.4rem;
    margin-bottom: 0.5rem;
}

.game-name {
    font-size: 1rem;
    color: #FAF0E6;
    font-weight: 600;
    line-height: 1.2;
}

/* Content sections */
.content-section {
    background: rgba(250, 240, 230, 0.05);
    border-radius: 0.8rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(173, 216, 230, 0.2);
}

.section-title {
    color: #ADD8E6;
    border-bottom: 2px solid #8B0000;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Footer styles */
.footer {
    background: linear-gradient(135deg, #2A2A2A, #1A1A1A);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 2px solid #8B0000;
}

.footer-content {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: #ADD8E6;
    text-decoration: none;
    padding: 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #8B0000;
}

.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.partner-logo {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    font-size: 1.2rem;
    color: #ADD8E6;
    margin-top: 1.5rem;
}

/* Bottom navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(58, 58, 58, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid #8B0000;
    z-index: 1000;
    height: 6rem;
}

.bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ADD8E6;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    min-height: 4.4rem;
    justify-content: center;
}

.nav-icon:hover {
    color: #8B0000;
    transform: translateY(-2px);
}

.nav-icon i {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

/* Utility classes */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Touch device optimizations */
.touch-device .btn,
.touch-device .game-item,
.touch-device .nav-icon {
    min-height: 4.4rem;
}

/* Responsive adjustments */
@media (min-width: 375px) {
    .games-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 414px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(6, 1fr);
    }
} 