/**
 * jljlboss Mobile-First CSS Framework
 * Casino gaming theme with responsive design
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px for easier calculations */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    background: linear-gradient(135deg, #262626 0%, #0097A7 100%);
    color: #AFEEEE;
    font-size: 1.4rem;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Mobile-first container */
.container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(38, 38, 38, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid #20B2AA;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-section img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.site-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #20B2AA;
    text-decoration: none;
}

.auth-buttons {
    display: flex;
    gap: 0.8rem;
}

.btn-auth {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(45deg, #20B2AA, #0097A7);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
}

.mobile-nav-toggle {
    background: none;
    border: none;
    color: #20B2AA;
    font-size: 2.4rem;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Navigation Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(38, 38, 38, 0.98);
    backdrop-filter: blur(15px);
    transition: left 0.3s ease;
    z-index: 999;
    padding: 2rem 0;
    border-right: 2px solid #20B2AA;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    border-bottom: 1px solid rgba(32, 178, 170, 0.2);
}

.mobile-menu a {
    display: block;
    padding: 1.5rem 2rem;
    color: #AFEEEE;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: rgba(32, 178, 170, 0.1);
    color: #20B2AA;
    padding-left: 2.5rem;
}

/* Main Content */
main {
    margin-top: 70px;
    padding-bottom: 80px; /* Space for bottom navigation */
}

/* Carousel Styles */
.carousel-section {
    position: relative;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.carousel-container {
    position: relative;
    height: 200px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    cursor: pointer;
}

.carousel-slide.active {
    display: block;
}

.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.8rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #20B2AA;
    transform: scale(1.2);
}

/* Section Styles */
.section {
    margin: 3rem 0;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(32, 178, 170, 0.2);
}

.section h1, .section h2 {
    color: #FFB6C1;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.section h1 {
    font-size: 2.4rem;
    line-height: 1.2;
}

.section h2 {
    font-size: 2rem;
    line-height: 1.3;
}

.section h3 {
    color: #20B2AA;
    font-size: 1.6rem;
    margin: 1.5rem 0 1rem;
}

.section p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: justify;
}

/* Game Grid Styles */
.games-section {
    margin: 2rem 0;
}

.games-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.8rem;
    color: #FFB6C1;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    min-height: 80px;
}

.game-item:hover {
    transform: translateY(-3px);
    background: rgba(32, 178, 170, 0.1);
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.2);
}

.game-item img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(32, 178, 170, 0.3);
}

.game-item span {
    font-size: 1rem;
    color: #AFEEEE;
    line-height: 1.2;
    word-break: break-word;
}

/* Promotional Links */
.promo-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #FFB6C1, #20B2AA);
    color: #262626;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0.5rem;
    min-width: 120px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.promo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 182, 193, 0.4);
    background: linear-gradient(45deg, #20B2AA, #FFB6C1);
    color: white;
}

.promo-text {
    color: #20B2AA;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.promo-text:hover {
    color: #FFB6C1;
}

/* Content Modules */
.content-module {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 4px solid #20B2AA;
}

.content-module h3 {
    color: #FFB6C1;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(32, 178, 170, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list li:before {
    content: "✓";
    color: #20B2AA;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #262626 0%, #0097A7 100%);
    padding: 3rem 1rem 2rem;
    margin-top: 4rem;
    border-top: 2px solid #20B2AA;
}

.footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #AFEEEE;
    text-decoration: none;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-links a:hover {
    background: rgba(32, 178, 170, 0.2);
    color: #20B2AA;
}

.partners-section {
    margin: 2rem 0;
}

.partners-title {
    color: #FFB6C1;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.partner-logo {
    width: 100%;
    height: 32px;
    object-fit: contain;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
}

.copyright {
    text-align: center;
    color: #AFEEEE;
    font-size: 1.2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(32, 178, 170, 0.3);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(38, 38, 38, 0.95);
    backdrop-filter: blur(15px);
    border-top: 2px solid #20B2AA;
    z-index: 1000;
    padding: 1rem 0;
}

.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;
    text-decoration: none;
    color: #AFEEEE;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}

.nav-item:hover {
    color: #20B2AA;
    background: rgba(32, 178, 170, 0.1);
}

.nav-item i {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.nav-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
    
    .header-content {
        max-width: 768px;
    }
    
    .games-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .bottom-nav-content {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
    
    .header-content {
        max-width: 1024px;
    }
    
    .games-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 