/**
 * 68Win App - Main Stylesheet
 * Website: 68winapp.click
 * Prefix: g5f0-
 * Color Scheme: Teal/Navy professional theme
 */

/* CSS Variables */
:root {
    --g5f0-primary: #4DB6AC;
    --g5f0-primary-dark: #273746;
    --g5f0-secondary: #5F9EA0;
    --g5f0-accent: #191970;
    --g5f0-highlight: #0000FF;
    --g5f0-bg-dark: #1a2332;
    --g5f0-bg-darker: #0f141c;
    --g5f0-bg-card: #232f3e;
    --g5f0-text-light: #ffffff;
    --g5f0-text-muted: #999999;
    --g5f0-border: #3d4f5f;
    --g5f0-success: #4CAF50;
    --g5f0-gold: #FFD700;
    --g5f0-gradient: linear-gradient(135deg, #191970 0%, #4DB6AC 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--g5f0-bg-darker);
    color: var(--g5f0-text-light);
    min-height: 100vh;
}

/* Container */
.g5f0-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.g5f0-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--g5f0-bg-darker) 0%, var(--g5f0-bg-dark) 100%);
    border-bottom: 1px solid var(--g5f0-border);
    z-index: 1000;
    padding: 1rem 0;
}

.g5f0-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.g5f0-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.g5f0-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.g5f0-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g5f0-primary);
}

.g5f0-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g5f0-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.g5f0-btn-primary {
    background: var(--g5f0-gradient);
    color: var(--g5f0-text-light);
    box-shadow: 0 4px 15px rgba(77, 182, 172, 0.3);
}

.g5f0-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 182, 172, 0.4);
}

.g5f0-btn-secondary {
    background: transparent;
    color: var(--g5f0-primary);
    border: 2px solid var(--g5f0-primary);
}

.g5f0-btn-secondary:hover {
    background: var(--g5f0-primary);
    color: var(--g5f0-bg-darker);
}

.g5f0-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.g5f0-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--g5f0-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.g5f0-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g5f0-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.g5f0-menu-active {
    right: 0;
}

.g5f0-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--g5f0-border);
}

.g5f0-close-menu {
    background: none;
    border: none;
    color: var(--g5f0-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.g5f0-nav-list {
    list-style: none;
}

.g5f0-nav-item {
    margin-bottom: 1rem;
}

.g5f0-nav-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--g5f0-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.g5f0-nav-link:hover {
    background: var(--g5f0-bg-card);
    color: var(--g5f0-primary);
}

.g5f0-nav-section-title {
    color: var(--g5f0-primary);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1rem 1rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Overlay */
.g5f0-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;
}

.g5f0-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.g5f0-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel Styles */
.g5f0-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.g5f0-slides-container {
    display: flex;
    transition: transform 0.5s ease;
}

.g5f0-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.g5f0-slide-active {
    opacity: 1;
    position: relative;
}

.g5f0-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    cursor: pointer;
}

.g5f0-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.g5f0-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--g5f0-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.g5f0-dot-active {
    background: var(--g5f0-primary);
    transform: scale(1.2);
}

/* Section Styles */
.g5f0-section {
    padding: 2rem 0;
}

.g5f0-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g5f0-text-light);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--g5f0-primary);
}

.g5f0-section-subtitle {
    font-size: 1.4rem;
    color: var(--g5f0-text-muted);
    margin-bottom: 2rem;
}

/* Game Grid */
.g5f0-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.g5f0-game-card {
    background: var(--g5f0-bg-card);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.g5f0-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(77, 182, 172, 0.2);
}

.g5f0-game-icon {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g5f0-game-name {
    font-size: 1.1rem;
    color: var(--g5f0-text-light);
    text-align: center;
    padding: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Tabs */
.g5f0-category-section {
    margin-bottom: 2.5rem;
}

.g5f0-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.g5f0-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--g5f0-primary);
}

/* Feature Cards */
.g5f0-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.g5f0-feature-card {
    background: var(--g5f0-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--g5f0-border);
    transition: all 0.3s ease;
}

.g5f0-feature-card:hover {
    border-color: var(--g5f0-primary);
    transform: translateY(-2px);
}

.g5f0-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--g5f0-primary);
}

.g5f0-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--g5f0-text-light);
}

.g5f0-feature-desc {
    font-size: 1.2rem;
    color: var(--g5f0-text-muted);
}

/* Info Box */
.g5f0-info-box {
    background: var(--g5f0-bg-card);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--g5f0-primary);
}

.g5f0-info-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--g5f0-primary);
}

.g5f0-info-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--g5f0-text-light);
}

.g5f0-info-text p {
    margin-bottom: 1rem;
}

/* Promo Banner */
.g5f0-promo-banner {
    background: var(--g5f0-gradient);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.g5f0-promo-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--g5f0-text-light);
}

.g5f0-promo-desc {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.g5f0-footer {
    background: var(--g5f0-bg-dark);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--g5f0-border);
}

.g5f0-footer-partners {
    margin-bottom: 2rem;
}

.g5f0-footer-partners-title {
    font-size: 1.4rem;
    color: var(--g5f0-text-muted);
    text-align: center;
    margin-bottom: 1rem;
}

.g5f0-partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.g5f0-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.g5f0-partner-logo:hover {
    opacity: 1;
}

.g5f0-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
}

.g5f0-footer-link {
    color: var(--g5f0-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.g5f0-footer-link:hover {
    color: var(--g5f0-primary);
}

.g5f0-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--g5f0-text-muted);
    padding-top: 1.5rem;
    border-top: 1px solid var(--g5f0-border);
}

/* Bottom Navigation */
.g5f0-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--g5f0-bg-dark) 0%, var(--g5f0-bg-darker) 100%);
    border-top: 1px solid var(--g5f0-border);
    z-index: 1000;
    padding: 0.5rem 0;
}

.g5f0-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.g5f0-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.g5f0-nav-btn:hover {
    transform: scale(1.1);
}

.g5f0-nav-btn-icon {
    font-size: 24px;
    margin-bottom: 4px;
    color: var(--g5f0-text-muted);
    transition: color 0.3s ease;
}

.g5f0-nav-btn:hover .g5f0-nav-btn-icon,
.g5f0-nav-btn.active .g5f0-nav-btn-icon {
    color: var(--g5f0-primary);
}

.g5f0-nav-btn-text {
    font-size: 1rem;
    color: var(--g5f0-text-muted);
    transition: color 0.3s ease;
}

.g5f0-nav-btn:hover .g5f0-nav-btn-text,
.g5f0-nav-btn.active .g5f0-nav-btn-text {
    color: var(--g5f0-primary);
}

/* Link Styles */
.g5f0-link {
    color: var(--g5f0-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.g5f0-link:hover {
    color: var(--g5f0-secondary);
    text-decoration: underline;
}

.g5f0-promo-link {
    color: var(--g5f0-gold);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.g5f0-promo-link:hover {
    color: var(--g5f0-primary);
    text-shadow: 0 0 10px rgba(77, 182, 172, 0.5);
}

/* Utility Classes */
.g5f0-text-center {
    text-align: center;
}

.g5f0-mb-1 {
    margin-bottom: 1rem;
}

.g5f0-mb-2 {
    margin-bottom: 2rem;
}

.g5f0-mt-2 {
    margin-top: 2rem;
}

/* Desktop - Hide bottom nav */
@media (min-width: 769px) {
    .g5f0-bottom-nav {
        display: none;
    }

    .g5f0-main {
        padding-bottom: 2rem;
    }

    .g5f0-container {
        max-width: 768px;
    }

    .g5f0-header-inner {
        max-width: 768px;
    }

    .g5f0-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .g5f0-feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .g5f0-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .g5f0-game-name {
        font-size: 1rem;
    }

    .g5f0-btn {
        padding: 0.6rem 1rem;
        font-size: 1.2rem;
    }
}
