/* JL Boss 2025 - Universal Styles */
/* Mobile-first responsive design with casino theme */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px for easy calculation */
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #FFB6C1;
    background: linear-gradient(135deg, #273746 0%, #1a252f 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Color scheme variables */
:root {
    --primary-dark: #273746;
    --primary-light: #F08080;
    --secondary-light: #FFB6C1;
    --accent-gold: #FFD700;
    --success-green: #28a745;
    --warning-red: #dc3545;
    --border-color: rgba(255, 182, 193, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-light);
    font-weight: bold;
    margin-bottom: 1rem;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.6rem; }

p {
    margin-bottom: 1rem;
    color: var(--secondary-light);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Layout containers */
.container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 2rem 0;
    margin-bottom: 1rem;
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(39, 55, 70, 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 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo img {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--primary-light);
}

.header-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-header {
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, var(--primary-light), var(--accent-gold));
    color: #273746;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 4.4rem;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

/* Navigation toggle */
.nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.hamburger {
    width: 2.4rem;
    height: 0.3rem;
    background: var(--primary-light);
    transition: all 0.3s ease;
}

.hamburger.active {
    background: var(--accent-gold);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 7rem;
    left: 0;
    right: 0;
    background: rgba(39, 55, 70, 0.98);
    backdrop-filter: blur(15px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-list {
    list-style: none;
    padding: 2rem 0;
}

.mobile-menu-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-link {
    display: block;
    padding: 1.5rem 2rem;
    color: var(--secondary-light);
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    background: rgba(240, 128, 128, 0.1);
    color: var(--primary-light);
}

/* Main content spacing */
.main-content {
    margin-top: 7rem;
    padding-bottom: 8rem; /* Space for bottom nav */
}

/* Carousel styles */
.carousel-container {
    position: relative;
    height: 20rem;
    margin: 2rem 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.carousel-indicator {
    width: 1rem;
    height: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-light), var(--accent-gold));
    color: var(--primary-dark);
    border: none;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    min-height: 4.4rem;
    line-height: 1.2;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(240, 128, 128, 0.4);
    color: var(--primary-dark);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--secondary-light), var(--primary-light));
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Game grid styles */
.games-section {
    margin: 3rem 0;
}

.games-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.3rem;
    background: linear-gradient(45deg, var(--primary-light), var(--accent-gold));
    border-radius: 0.2rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.game-item {
    background: rgba(255, 182, 193, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-item:hover {
    transform: translateY(-3px);
    background: rgba(240, 128, 128, 0.15);
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(240, 128, 128, 0.3);
}

.game-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.game-item:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.game-icon {
    width: 100%;
    max-width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.game-item:hover .game-icon {
    transform: scale(1.1);
}

.game-name {
    font-size: 1rem;
    color: var(--secondary-light);
    line-height: 1.2;
    font-weight: 500;
}

/* Content sections */
.content-section {
    background: rgba(255, 182, 193, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.3rem;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-gold), var(--primary-light));
    border-radius: 1rem 1rem 0 0;
}

.section-title {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.promo-link {
    color: var(--accent-gold);
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-link:hover {
    color: var(--primary-light);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Footer styles */
.footer {
    background: rgba(39, 55, 70, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: var(--secondary-light);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-light);
}

.partners-section {
    margin: 2rem 0;
}

.partners-title {
    font-size: 1.4rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 30rem;
    margin: 0 auto;
}

.partner-logo {
    width: 100%;
    height: 4rem;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: brightness(1.2);
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.copyright {
    font-size: 1.2rem;
    color: rgba(255, 182, 193, 0.7);
    margin-top: 2rem;
}

/* Bottom navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(39, 55, 70, 0.98);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--secondary-light);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
    min-width: 4.4rem;
    min-height: 4.4rem;
    justify-content: center;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--accent-gold);
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.bottom-nav-icon {
    font-size: 2rem;
    line-height: 1;
}

.bottom-nav-text {
    font-size: 1rem;
    line-height: 1;
}

/* Responsive utilities */
.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; }

.hidden { display: none; }
.visible { display: block; }

/* Loading animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow {
    0%, 100% { 
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    50% { 
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

.pulse { animation: pulse 2s infinite; }
.glow { animation: glow 2s infinite; }

/* Media queries for larger screens */
@media (min-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .container {
        max-width: 480px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 65%;
    }
    
    .games-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Print styles */
@media print {
    .header,
    .bottom-nav,
    .mobile-menu {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    body {
        background: white;
        color: black;
    }
} 