/* jljl77 Main CSS - Mobile-First Casino Gaming Site */
/* 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', sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #B2DFDB;
    background: linear-gradient(135deg, #2E4057 0%, #1a2332 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-light: #B2DFDB;
    --primary-orange: #FF5722;
    --primary-amber: #FF9500;
    --primary-pink: #DB7093;
    --primary-dark: #2E4057;
    --secondary-dark: #1a2332;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: #3a4a5e;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Container and Layout */
.container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px var(--shadow-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    max-width: 430px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-section img {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
}

.logo-section h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-orange);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-auth {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 44px;
    min-height: 44px;
    line-height: 1.2;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-amber) 100%);
    color: var(--text-light);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-orange) 100%);
    color: var(--text-light);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--primary-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 1rem;
}

.mobile-menu li {
    margin-bottom: 0.5rem;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    color: var(--primary-light);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-orange);
}

/* Main Content */
.main-content {
    margin-top: 70px;
    padding-bottom: 80px;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    margin: 2rem 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--text-light);
    padding: 2rem 1rem 1rem;
    text-align: center;
}

.slide-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Slideshow Dots */
.dots-container {
    text-align: center;
    padding: 1rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary-orange);
}

/* Section Styles */
.section {
    margin: 2rem 0;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.section h2 {
    color: var(--primary-orange);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: bold;
}

.section h3 {
    color: var(--primary-pink);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.section p {
    margin-bottom: 1rem;
    color: var(--primary-light);
    text-align: justify;
}

/* Game Grid Styles */
.game-category {
    margin: 2rem 0;
}

.game-category h3 {
    color: var(--primary-orange);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.game-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.game-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-color);
    background: rgba(255, 255, 255, 0.15);
}

.game-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.game-item .game-name {
    font-size: 1.1rem;
    color: var(--primary-light);
    font-weight: 500;
    line-height: 1.3;
}

/* Promotional Links */
.promo-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-amber) 100%);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 2rem;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    min-width: 44px;
    min-height: 44px;
    line-height: 1.2;
}

.promo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.promo-link.secondary {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-orange) 100%);
}

.promo-text {
    color: var(--primary-orange);
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.promo-text:hover {
    color: var(--primary-amber);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 -2px 10px var(--shadow-color);
}

.bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.8rem 0;
    max-width: 430px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}

.bottom-nav-item:hover {
    color: var(--primary-orange);
}

.bottom-nav-item i {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.bottom-nav-item span {
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--secondary-dark);
    border-top: 1px solid var(--border-color);
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.partners img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partners img:hover {
    opacity: 1;
}

.copyright {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (min-width: 360px) {
    .game-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 400px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 2.5rem 1.5rem;
    }
}

/* Touch Device Optimizations */
.touch-device .game-item:hover {
    transform: none;
}

.touch-device .promo-link:hover {
    transform: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .bottom-nav,
    .mobile-menu {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
        padding-bottom: 0;
    }
} 