/**
 * okbet app download - Main Stylesheet
 * All classes use prefix: g24f-
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --g24f-primary: #00FA9A;
    --g24f-secondary: #90EE90;
    --g24f-accent: #FFE4B5;
    --g24f-bg: #333333;
    --g24f-bg-light: #2a2a2a;
    --g24f-text: #FFDEAD;
    --g24f-text-light: #ffffff;
    --g24f-border: #444444;
    --g24f-gradient: linear-gradient(135deg, #00FA9A 0%, #90EE90 100%);
    --g24f-shadow: 0 4px 15px rgba(0, 250, 154, 0.3);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--g24f-bg);
    color: var(--g24f-text);
    line-height: 1.5;
    min-height: 100vh;
}

/* Container */
.g24f-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.g24f-wrapper {
    width: 100%;
    padding: 1rem;
}

/* Header */
.g24f-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--g24f-bg) 0%, rgba(51, 51, 51, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem;
    border-bottom: 1px solid var(--g24f-border);
}

.g24f-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.g24f-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.g24f-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.g24f-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--g24f-primary);
    white-space: nowrap;
}

.g24f-header-buttons {
    display: flex;
    gap: 0.6rem;
}

.g24f-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.g24f-btn-primary {
    background: var(--g24f-gradient);
    color: var(--g24f-bg);
}

.g24f-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--g24f-shadow);
}

.g24f-btn-secondary {
    background: transparent;
    color: var(--g24f-primary);
    border: 2px solid var(--g24f-primary);
}

.g24f-btn-secondary:hover {
    background: var(--g24f-primary);
    color: var(--g24f-bg);
}

.g24f-menu-toggle {
    background: none;
    border: none;
    color: var(--g24f-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.g24f-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g24f-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1.5rem;
}

.g24f-menu-open {
    right: 0;
}

.g24f-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.g24f-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g24f-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--g24f-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.g24f-menu-links {
    list-style: none;
    margin-top: 3rem;
}

.g24f-menu-link {
    display: block;
    padding: 1.2rem 0;
    color: var(--g24f-text);
    text-decoration: none;
    font-size: 1.4rem;
    border-bottom: 1px solid var(--g24f-border);
    transition: color 0.3s ease;
}

.g24f-menu-link:hover {
    color: var(--g24f-primary);
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.g24f-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.g24f-slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.g24f-slide {
    min-width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.g24f-slide-active {
    opacity: 1;
}

.g24f-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g24f-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.g24f-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.g24f-dot-active {
    background: var(--g24f-primary);
    transform: scale(1.2);
}

/* Section Titles */
.g24f-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g24f-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.g24f-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--g24f-gradient);
    border-radius: 2px;
}

/* Game Grid */
.g24f-game-section {
    margin-bottom: 2.5rem;
}

.g24f-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.g24f-game-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.g24f-game-card:hover {
    transform: translateY(-5px);
}

.g24f-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid var(--g24f-border);
    transition: border-color 0.3s ease;
}

.g24f-game-card:hover .g24f-game-icon {
    border-color: var(--g24f-primary);
}

.g24f-game-name {
    font-size: 1.1rem;
    color: var(--g24f-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content Sections */
.g24f-content-section {
    background: var(--g24f-bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--g24f-border);
}

.g24f-content-title {
    font-size: 1.6rem;
    color: var(--g24f-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.g24f-content-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--g24f-text);
}

.g24f-content-text p {
    margin-bottom: 1rem;
}

.g24f-link {
    color: var(--g24f-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.g24f-link:hover {
    color: var(--g24f-secondary);
    text-decoration: underline;
}

/* FAQ Section */
.g24f-faq-item {
    background: var(--g24f-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--g24f-primary);
}

.g24f-faq-question {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--g24f-primary);
    margin-bottom: 0.8rem;
}

.g24f-faq-answer {
    font-size: 1.2rem;
    color: var(--g24f-text);
    line-height: 1.5;
}

/* Features Grid */
.g24f-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.g24f-feature-card {
    background: var(--g24f-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--g24f-border);
    transition: all 0.3s ease;
}

.g24f-feature-card:hover {
    border-color: var(--g24f-primary);
    transform: translateY(-3px);
}

.g24f-feature-icon {
    font-size: 2.4rem;
    color: var(--g24f-primary);
    margin-bottom: 0.8rem;
}

.g24f-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--g24f-text-light);
    margin-bottom: 0.5rem;
}

.g24f-feature-desc {
    font-size: 1rem;
    color: var(--g24f-text);
}

/* Footer */
.g24f-footer {
    background: var(--g24f-bg-light);
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--g24f-border);
}

.g24f-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.g24f-footer-link {
    color: var(--g24f-text);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.g24f-footer-link:hover {
    color: var(--g24f-primary);
    background: rgba(0, 250, 154, 0.1);
}

.g24f-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.g24f-partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.g24f-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.g24f-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--g24f-text);
    opacity: 0.8;
}

/* Bottom Navigation */
.g24f-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(42, 42, 42, 0.98) 0%, var(--g24f-bg) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--g24f-border);
    padding: 0 0.5rem;
}

.g24f-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--g24f-text);
    transition: all 0.3s ease;
    cursor: pointer;
}

.g24f-nav-item:hover {
    color: var(--g24f-primary);
}

.g24f-nav-item.active {
    color: var(--g24f-primary);
}

.g24f-nav-icon {
    font-size: 22px;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.g24f-nav-item:hover .g24f-nav-icon {
    transform: scale(1.15);
}

.g24f-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .g24f-bottom-nav {
        display: none;
    }
}

/* Promo Button */
.g24f-promo-btn {
    display: inline-block;
    background: var(--g24f-gradient);
    color: var(--g24f-bg);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin: 1rem 0;
}

.g24f-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--g24f-shadow);
}

/* Animation */
.g24f-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.g24f-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 380px) {
    .g24f-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .g24f-features-grid {
        grid-template-columns: 1fr;
    }
}
