/* jljl77 Universal Styles - Mobile-First Design */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px for easier calculations */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #333333;
    background: linear-gradient(135deg, #333333 0%, #999999 100%);
    min-height: 100vh;
}

/* Color Variables */
:root {
    --primary-green: #00FA9A;
    --light-green: #9AFF9A;
    --gray-light: #999999;
    --gray-dark: #333333;
    --pink-light: #FFB3BA;
    --pink-dark: #FF91A4;
    --white: #ffffff;
    --black: #000000;
}

/* Container and Layout */
.container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.section {
    padding: 2rem 0;
    margin-bottom: 1rem;
}

/* Header Styles */
.header {
    background: var(--gray-dark);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    min-height: 6rem;
}

.logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-green);
}

.logo-section img {
    width: 3.2rem;
    height: 3.2rem;
    margin-right: 0.8rem;
}

.site-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-green);
}

.header-buttons {
    display: flex;
    gap: 0.8rem;
}

.header-btn {
    padding: 0.8rem 1.2rem;
    background: var(--primary-green);
    color: var(--gray-dark);
    text-decoration: none;
    border-radius: 0.4rem;
    font-weight: bold;
    font-size: 1.2rem;
    min-height: 4.4rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-btn:hover {
    background: var(--light-green);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    background: transparent;
    border: none;
    color: var(--primary-green);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-height: 4.4rem;
    min-width: 4.4rem;
}

/* Mobile Navigation */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gray-dark);
    border-top: 1px solid var(--primary-green);
    max-height: 60vh;
    overflow-y: auto;
}

.mobile-menu.hidden {
    display: none;
}

.mobile-menu-list {
    list-style: none;
    padding: 1rem 0;
}

.mobile-menu-item {
    border-bottom: 1px solid var(--gray-light);
}

.mobile-menu-link {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--light-green);
    text-decoration: none;
    font-size: 1.4rem;
    transition: background 0.3s ease;
}

.mobile-menu-link:hover {
    background: var(--primary-green);
    color: var(--gray-dark);
}

/* Main Content */
.main-content {
    margin-top: 7rem;
    padding-bottom: 8rem;
}

/* Carousel Styles */
.carousel {
    position: relative;
    height: 20rem;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.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;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: bold;
}

h1 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--light-green);
    line-height: 1.6;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.2rem 2rem;
    background: var(--primary-green);
    color: var(--gray-dark);
    text-decoration: none;
    border-radius: 0.6rem;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    min-height: 4.4rem;
}

.btn:hover {
    background: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 250, 154, 0.3);
}

.btn-secondary {
    background: var(--pink-dark);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--pink-light);
}

/* Promotional Links */
.promo-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-green);
    transition: all 0.3s ease;
    cursor: pointer;
}

.promo-link:hover {
    color: var(--light-green);
    border-color: var(--light-green);
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.game-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-green);
    box-shadow: 0 6px 20px rgba(0, 250, 154, 0.2);
}

.game-item img {
    width: 100%;
    height: 6rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.8rem;
}

.game-name {
    font-size: 1.1rem;
    color: var(--light-green);
    font-weight: bold;
}

/* Content Modules */
.content-module {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--primary-green);
}

.module-title {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Footer Styles */
.footer {
    background: var(--gray-dark);
    color: var(--light-green);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--light-green);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    justify-items: center;
}

.partner-logo {
    width: 4rem;
    height: 3rem;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.copyright {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-top: 2rem;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-dark);
    border-top: 2px solid var(--primary-green);
    z-index: 999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.nav-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--light-green);
    transition: all 0.3s ease;
    padding: 0.5rem;
    min-width: 4.4rem;
    min-height: 4.4rem;
    justify-content: center;
}

.nav-icon:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
}

.nav-icon i {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.nav-icon span {
    font-size: 1rem;
    font-weight: bold;
}

/* FAQ Styles */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--primary-green);
}

.faq-question {
    padding: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--light-green);
    line-height: 1.6;
}

/* Responsive Design */
@media (min-width: 430px) {
    .game-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--gray-light);
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-green);
    font-size: 1.4rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 10px rgba(0, 250, 154, 0.3);
}

.form-input.error {
    border-color: var(--pink-dark);
}

/* Utility Classes */
.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; }
.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; } 