/* 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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #F0F0F0;
    background: linear-gradient(135deg, #333333 0%, #2a2a2a 100%);
    min-height: 100vh;
}

/* Color Variables */
:root {
    --primary-color: #F4A460;
    --secondary-color: #FFA500;
    --accent-color: #FFB347;
    --text-light: #F0F0F0;
    --text-dark: #333333;
    --bg-dark: #333333;
    --bg-card: rgba(244, 164, 96, 0.1);
    --border-color: rgba(255, 165, 0, 0.3);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.header-hidden {
    transform: translateY(-100%);
}

.header-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-section img {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.4rem;
}

.site-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.header-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn-register, .btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 4.4rem;
    min-width: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-register:hover, .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 164, 96, 0.4);
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.8rem;
    min-height: 4.4rem;
    min-width: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Navigation */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.show {
    right: 0;
}

.mobile-nav-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-links {
    padding: 2rem 0;
}

.nav-links a {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--bg-card);
    color: var(--primary-color);
    padding-left: 2.5rem;
}

/* Main Content */
.main-content {
    margin-top: 7rem;
    min-height: calc(100vh - 7rem);
}

.container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.hero-section {
    padding: 2rem 0;
}

.hero-carousel {
    position: relative;
    border-radius: 1.2rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.carousel-slide {
    position: relative;
    cursor: pointer;
}

.carousel-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(244, 164, 96, 0.3), rgba(255, 165, 0, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-text {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
}

/* Page Title */
.page-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin: 2rem 0;
    line-height: 1.3;
}

/* Game Sections */
.game-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.game-item {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    min-height: 4.4rem;
}

.game-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(244, 164, 96, 0.3);
    background: var(--bg-card);
}

.game-item img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
}

.game-name {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.3;
}

/* Content Sections */
.content-section {
    background: var(--bg-card);
    border-radius: 1.2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.section-heading {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.content-text strong {
    color: var(--accent-color);
}

/* Promotional Links and Buttons */
.promo-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    margin: 0.5rem 0.5rem 0.5rem 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-height: 4.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.promo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 164, 96, 0.4);
}

.promo-text {
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    margin: 0 0.5rem;
}

.promo-text:hover {
    color: var(--secondary-color);
}

/* Lists */
.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
}

.faq-question {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--bg-dark) 100%);
    padding: 3rem 0 8rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-promo-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(4rem, 1fr));
    gap: 1rem;
    max-width: 300px;
    margin: 2rem auto;
}

.partner-logo {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.copyright {
    color: rgba(240, 240, 240, 0.7);
    font-size: 1.2rem;
    margin-top: 2rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    padding: 0.8rem 0;
}

.bottom-nav-container {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    padding: 0.8rem;
    border-radius: 1rem;
    min-height: 4.4rem;
    min-width: 4.4rem;
    justify-content: center;
}

.nav-item:hover {
    color: var(--primary-color);
    background: var(--bg-card);
}

.nav-item i {
    font-size: 2.4rem;
}

.nav-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
        gap: 0.8rem;
    }
    
    .game-item {
        padding: 0.8rem;
    }
    
    .game-item img {
        width: 3.5rem;
        height: 3.5rem;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-bold { font-weight: bold; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; } 