/**
 * okbit.css - Core styles for okbit gaming platform
 * Mobile-first responsive design
 * @version 1.0.0
 */

/* CSS Variables with prefix */
:root {
    --g2f9-primary: #B22222;
    --g2f9-secondary: #F08080;
    --g2f9-accent: #FF69B4;
    --g2f9-bg-dark: #1A1A2E;
    --g2f9-bg-light: #CCCCCC;
    --g2f9-text-light: #FFFFFF;
    --g2f9-text-dark: #1A1A2E;
    --g2f9-maroon: #B03060;
    --g2f9-header-height: 60px;
    --g2f9-bottom-nav-height: 64px;
    --g2f9-border-radius: 8px;
    --g2f9-transition: all 0.3s ease;
}

/* Reset and Base */
* {
    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;
    background-color: var(--g2f9-bg-dark);
    color: var(--g2f9-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.g2f9-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.g2f9-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--g2f9-header-height);
    background: linear-gradient(135deg, var(--g2f9-primary) 0%, var(--g2f9-maroon) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--g2f9-transition);
}

.g2f9-header-scrolled {
    background: rgba(178, 34, 34, 0.95);
    backdrop-filter: blur(10px);
}

.g2f9-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g2f9-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.g2f9-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g2f9-text-light);
    letter-spacing: 1px;
}

.g2f9-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g2f9-btn {
    padding: 0.8rem 1.6rem;
    border-radius: var(--g2f9-border-radius);
    font-weight: 600;
    font-size: 1.3rem;
    cursor: pointer;
    border: none;
    transition: var(--g2f9-transition);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.g2f9-btn-primary {
    background: var(--g2f9-text-light);
    color: var(--g2f9-primary);
}

.g2f9-btn-primary:hover {
    background: var(--g2f9-secondary);
    transform: scale(1.05);
}

.g2f9-btn-secondary {
    background: transparent;
    color: var(--g2f9-text-light);
    border: 2px solid var(--g2f9-text-light);
}

.g2f9-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.g2f9-menu-toggle {
    background: none;
    border: none;
    color: var(--g2f9-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.g2f9-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g2f9-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.g2f9-menu-active {
    right: 0;
}

.g2f9-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--g2f9-transition);
}

.g2f9-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g2f9-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.g2f9-menu-close {
    background: none;
    border: none;
    color: var(--g2f9-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.g2f9-menu-nav {
    list-style: none;
}

.g2f9-menu-nav li {
    margin-bottom: 1rem;
}

.g2f9-menu-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--g2f9-text-light);
    font-size: 1.5rem;
    border-radius: var(--g2f9-border-radius);
    transition: var(--g2f9-transition);
}

.g2f9-menu-nav a:hover {
    background: var(--g2f9-primary);
    padding-left: 2rem;
}

/* Main Content */
.g2f9-main {
    padding-top: var(--g2f9-header-height);
    padding-bottom: calc(var(--g2f9-bottom-nav-height) + 2rem);
    min-height: 100vh;
}

/* Hero/Slider Section */
.g2f9-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.g2f9-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.g2f9-slide-active {
    opacity: 1;
}

.g2f9-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Styles */
.g2f9-section {
    padding: 2rem 0;
}

.g2f9-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--g2f9-text-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g2f9-section-title i {
    color: var(--g2f9-accent);
}

/* Game Grid */
.g2f9-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.g2f9-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--g2f9-border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--g2f9-transition);
    text-align: center;
}

.g2f9-game-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.g2f9-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g2f9-game-name {
    padding: 0.5rem;
    font-size: 1.1rem;
    color: var(--g2f9-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Title */
.g2f9-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--g2f9-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-left: 1rem;
    border-left: 3px solid var(--g2f9-primary);
}

/* Info Cards */
.g2f9-info-card {
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.2) 0%, rgba(176, 48, 96, 0.2) 100%);
    border-radius: var(--g2f9-border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.g2f9-info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--g2f9-accent);
}

.g2f9-info-card p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--g2f9-bg-light);
}

/* Feature List */
.g2f9-feature-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.g2f9-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--g2f9-border-radius);
}

.g2f9-feature-item i {
    color: var(--g2f9-primary);
    font-size: 2rem;
    flex-shrink: 0;
}

.g2f9-feature-item span {
    font-size: 1.3rem;
    color: var(--g2f9-bg-light);
}

/* Promo Button */
.g2f9-promo-btn {
    display: block;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--g2f9-primary) 0%, var(--g2f9-maroon) 100%);
    color: var(--g2f9-text-light);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--g2f9-border-radius);
    margin: 2rem 0;
    cursor: pointer;
    transition: var(--g2f9-transition);
}

.g2f9-promo-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(178, 34, 34, 0.4);
}

/* Footer */
.g2f9-footer {
    background: linear-gradient(180deg, var(--g2f9-bg-dark) 0%, rgba(26, 26, 46, 0.95) 100%);
    padding: 3rem 1.5rem;
    padding-bottom: calc(var(--g2f9-bottom-nav-height) + 3rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.g2f9-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.g2f9-footer-brand p {
    font-size: 1.3rem;
    color: var(--g2f9-bg-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.g2f9-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.g2f9-footer-link {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--g2f9-text-light);
    border-radius: var(--g2f9-border-radius);
    font-size: 1.2rem;
    transition: var(--g2f9-transition);
}

.g2f9-footer-link:hover {
    background: var(--g2f9-primary);
}

.g2f9-footer-sitemap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.g2f9-footer-sitemap a {
    color: var(--g2f9-secondary);
    font-size: 1.2rem;
    transition: var(--g2f9-transition);
}

.g2f9-footer-sitemap a:hover {
    color: var(--g2f9-accent);
}

.g2f9-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--g2f9-bg-light);
    opacity: 0.7;
}

/* Bottom Navigation */
.g2f9-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--g2f9-bottom-nav-height);
    background: linear-gradient(180deg, rgba(178, 34, 34, 0.98) 0%, rgba(176, 48, 96, 0.98) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.g2f9-bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--g2f9-transition);
    padding: 0.5rem;
}

.g2f9-bottom-nav-btn:hover,
.g2f9-nav-active {
    color: var(--g2f9-text-light);
    transform: scale(1.1);
}

.g2f9-bottom-nav-btn i {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.g2f9-bottom-nav-btn span {
    font-size: 1rem;
    font-weight: 500;
}

/* Testimonials */
.g2f9-testimonials {
    display: grid;
    gap: 1rem;
}

.g2f9-testimonial {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--g2f9-border-radius);
    border-left: 3px solid var(--g2f9-primary);
}

.g2f9-testimonial-text {
    font-size: 1.3rem;
    color: var(--g2f9-bg-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.g2f9-testimonial-author {
    font-size: 1.2rem;
    color: var(--g2f9-secondary);
    font-weight: 600;
}

/* Payment Methods */
.g2f9-payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.g2f9-payment-item {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--g2f9-border-radius);
    font-size: 1.2rem;
    color: var(--g2f9-bg-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Winners Showcase */
.g2f9-winners {
    display: grid;
    gap: 0.8rem;
}

.g2f9-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--g2f9-border-radius);
}

.g2f9-winner-name {
    font-size: 1.3rem;
    color: var(--g2f9-text-light);
}

.g2f9-winner-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--g2f9-accent);
}

/* FAQ Section */
.g2f9-faq-item {
    margin-bottom: 1rem;
    border-radius: var(--g2f9-border-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.g2f9-faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--g2f9-text-light);
    background: rgba(178, 34, 34, 0.2);
    cursor: pointer;
}

.g2f9-faq-answer {
    padding: 1.2rem 1.5rem;
    font-size: 1.3rem;
    color: var(--g2f9-bg-light);
    line-height: 1.6;
}

/* Text Links */
.g2f9-text-link {
    color: var(--g2f9-secondary);
    text-decoration: underline;
    transition: var(--g2f9-transition);
}

.g2f9-text-link:hover {
    color: var(--g2f9-accent);
}

/* Responsive adjustments for desktop */
@media (min-width: 769px) {
    .g2f9-bottom-nav {
        display: none;
    }

    .g2f9-main {
        padding-bottom: 2rem;
    }

    .g2f9-footer {
        padding-bottom: 3rem;
    }

    .g2f9-container {
        max-width: 768px;
    }

    .g2f9-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Mobile specific */
@media (max-width: 768px) {
    .g2f9-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .g2f9-game-name {
        font-size: 1rem;
        padding: 0.4rem;
    }
}
