/* BossJL Universal CSS Styles */
/* Mobile-First Responsive Design for Casino Gaming Website */

/* 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: 'Arial', 'Helvetica', sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #FFFFBA;
    background: linear-gradient(135deg, #0E1621 0%, #2F2F2F 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Color Palette Variables */
:root {
    --primary-light: #FFFFBA;
    --primary-dark: #34495E;
    --background-dark: #2F2F2F;
    --background-darker: #0E1621;
    --text-muted: #5D5D5D;
    --accent-gold: #FFD700;
    --accent-red: #FF6B6B;
    --success-green: #4ECDC4;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

h1 {
    font-size: 2.4rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

/* Layout Containers */
.container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 186, 0.1);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(14, 22, 33, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--accent-gold);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 430px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-light);
}

.logo img {
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 0.8rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-gold);
}

.header-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-header {
    padding: 0.6rem 1rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 0.4rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 4.4rem;
    line-height: 3.2rem;
}

.btn-register {
    background: var(--accent-gold);
    color: var(--background-darker);
    font-weight: bold;
}

.btn-login {
    background: transparent;
    color: var(--primary-light);
    border: 1px solid var(--primary-light);
}

.nav-toggle {
    background: none;
    border: none;
    color: var(--primary-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-height: 4.4rem;
    min-width: 4.4rem;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--background-darker);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    border-left: 2px solid var(--accent-gold);
}

.mobile-nav.active {
    right: 0;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    display: block;
    padding: 1.5rem 0;
    color: var(--primary-light);
    text-decoration: none;
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 186, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--accent-gold);
}

/* Main Content */
.main-content {
    margin-top: 7rem;
    padding-bottom: 8rem;
}

/* Carousel Styles */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0.8rem;
    margin-bottom: 2rem;
}

.carousel-slide {
    display: none;
    width: 100%;
    cursor: pointer;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 0.8rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border-radius: 0.6rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    min-height: 4.4rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #FFA500);
    color: var(--background-darker);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--background-darker);
}

/* Game Grid Styles */
.games-section {
    margin: 2rem 0;
}

.games-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.game-item {
    background: rgba(52, 73, 94, 0.3);
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 186, 0.1);
}

.game-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
    border-color: var(--accent-gold);
}

.game-icon {
    width: 100%;
    height: 6rem;
    object-fit: cover;
    border-radius: 0.4rem;
    margin-bottom: 0.8rem;
}

.game-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-light);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content Sections */
.content-section {
    background: rgba(52, 73, 94, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 186, 0.1);
}

.section-title {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.promo-link {
    color: var(--accent-gold);
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.promo-link:hover {
    color: var(--primary-light);
}

/* Footer Styles */
.footer {
    background: var(--background-darker);
    padding: 3rem 1rem 10rem;
    border-top: 2px solid var(--accent-gold);
}

.footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: var(--primary-light);
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 0.4rem;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 186, 0.1);
}

.footer-link:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
}

.partners {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.partner-logo {
    width: 100%;
    height: 4rem;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 2rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(14, 22, 33, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--accent-gold);
    z-index: 1000;
}

.bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
    max-width: 430px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 4.4rem;
    min-height: 4.4rem;
    padding: 0.5rem;
}

.bottom-nav-item:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.bottom-nav-icon {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

/* Responsive Design */
@media (min-width: 375px) {
    .games-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 430px) {
    .container {
        padding: 0 2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Loading States */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--accent-gold);
}

.font-bold {
    font-weight: bold;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Special effects for casino theme */
.glow {
    text-shadow: 0 0 10px var(--accent-gold);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
} 