/**
 * okbetcom.css - Core stylesheet for okbetcom.club
 * All classes use g9a1- prefix for namespace isolation
 * Color palette: #FF9800 | #FF8C00 | #B03060 | #FF7F50 | #0F0F23
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --g9a1-primary: #FF9800;
    --g9a1-secondary: #FF8C00;
    --g9a1-accent: #B03060;
    --g9a1-highlight: #FF7F50;
    --g9a1-bg: #0F0F23;
    --g9a1-bg-light: #1a1a2e;
    --g9a1-bg-card: #16213e;
    --g9a1-text: #ffffff;
    --g9a1-text-muted: #b8b8b8;
    --g9a1-border: #2d2d44;
    --g9a1-gradient: linear-gradient(135deg, #FF9800, #FF7F50);
    --g9a1-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--g9a1-bg);
    color: var(--g9a1-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    color: var(--g9a1-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--g9a1-highlight);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.g9a1-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.g9a1-wrapper {
    padding: 1.5rem 0;
}

/* Header */
.g9a1-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--g9a1-bg) 0%, rgba(15, 15, 35, 0.95) 100%);
    border-bottom: 1px solid var(--g9a1-border);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.g9a1-header-scrolled {
    background: rgba(15, 15, 35, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.g9a1-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.2rem;
}

.g9a1-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g9a1-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.g9a1-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--g9a1-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g9a1-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g9a1-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
    min-width: 70px;
}

.g9a1-btn-primary {
    background: var(--g9a1-gradient);
    color: var(--g9a1-bg);
}

.g9a1-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--g9a1-shadow);
}

.g9a1-btn-outline {
    background: transparent;
    color: var(--g9a1-primary);
    border: 2px solid var(--g9a1-primary);
}

.g9a1-btn-outline:hover {
    background: var(--g9a1-primary);
    color: var(--g9a1-bg);
}

/* Hamburger Menu */
.g9a1-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 10001;
}

.g9a1-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--g9a1-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.g9a1-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.g9a1-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.g9a1-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.g9a1-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 35, 0.98);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.g9a1-menu-active {
    opacity: 1;
    visibility: visible;
}

.g9a1-mobile-menu a {
    display: block;
    padding: 1.2rem 2rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--g9a1-text);
    transition: color 0.3s ease;
}

.g9a1-mobile-menu a:hover {
    color: var(--g9a1-primary);
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Carousel */
.g9a1-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.g9a1-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.g9a1-slide-active {
    opacity: 1;
}

.g9a1-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g9a1-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.g9a1-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.g9a1-dot-active {
    background: var(--g9a1-primary);
    transform: scale(1.2);
}

/* Sections */
.g9a1-section {
    padding: 1.5rem 0;
}

.g9a1-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--g9a1-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g9a1-section-title i {
    font-size: 2rem;
}

/* Game Grid */
.g9a1-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.g9a1-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.g9a1-game-item:hover {
    transform: scale(1.05);
}

.g9a1-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 2px solid var(--g9a1-border);
    transition: border-color 0.3s ease;
}

.g9a1-game-item:hover .g9a1-game-icon {
    border-color: var(--g9a1-primary);
}

.g9a1-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g9a1-game-name {
    font-size: 1rem;
    text-align: center;
    color: var(--g9a1-text);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Header */
.g9a1-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--g9a1-border);
}

.g9a1-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g9a1-highlight);
}

/* Cards */
.g9a1-card {
    background: var(--g9a1-bg-card);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--g9a1-border);
}

.g9a1-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--g9a1-primary);
    margin-bottom: 0.8rem;
}

.g9a1-card-text {
    color: var(--g9a1-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Promo Links */
.g9a1-promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--g9a1-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.g9a1-promo-link:hover {
    color: var(--g9a1-highlight);
    transform: translateX(5px);
}

.g9a1-promo-btn {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: var(--g9a1-gradient);
    color: var(--g9a1-bg);
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.g9a1-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--g9a1-shadow);
}

/* Footer */
.g9a1-footer {
    background: var(--g9a1-bg-light);
    padding: 2rem 0 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--g9a1-border);
}

.g9a1-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.g9a1-footer-links a {
    font-size: 1.1rem;
    color: var(--g9a1-text-muted);
    padding: 0.4rem 0.8rem;
}

.g9a1-footer-links a:hover {
    color: var(--g9a1-primary);
}

.g9a1-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.g9a1-partners img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.g9a1-partners img:hover {
    opacity: 1;
}

.g9a1-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--g9a1-text-muted);
}

/* Bottom Navigation */
.g9a1-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.98) 0%, var(--g9a1-bg) 100%);
    border-top: 1px solid var(--g9a1-border);
    padding: 0.5rem 0;
    display: none;
}

@media (max-width: 768px) {
    .g9a1-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 60px;
    }
}

.g9a1-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--g9a1-text-muted);
}

.g9a1-nav-item:hover,
.g9a1-nav-item-active {
    color: var(--g9a1-primary);
}

.g9a1-nav-item i,
.g9a1-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.g9a1-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

.g9a1-nav-item:active {
    transform: scale(0.95);
}

/* Utility Classes */
.g9a1-text-center { text-align: center; }
.g9a1-text-left { text-align: left; }
.g9a1-text-right { text-align: right; }
.g9a1-mt-1 { margin-top: 0.5rem; }
.g9a1-mt-2 { margin-top: 1rem; }
.g9a1-mt-3 { margin-top: 1.5rem; }
.g9a1-mb-1 { margin-bottom: 0.5rem; }
.g9a1-mb-2 { margin-bottom: 1rem; }
.g9a1-mb-3 { margin-bottom: 1.5rem; }
.g9a1-p-1 { padding: 0.5rem; }
.g9a1-p-2 { padding: 1rem; }
.g9a1-p-3 { padding: 1.5rem; }

/* H1 Title */
.g9a1-h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g9a1-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Responsive */
@media (min-width: 769px) {
    .g9a1-container {
        max-width: 800px;
    }

    .g9a1-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .g9a1-carousel {
        height: 280px;
    }
}

/* Animations */
@keyframes g9a1-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.g9a1-fade-in {
    animation: g9a1-fadeIn 0.5s ease forwards;
}

/* List Styles */
.g9a1-list {
    list-style: none;
    padding: 0;
}

.g9a1-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--g9a1-border);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.g9a1-list li:last-child {
    border-bottom: none;
}

.g9a1-list li i {
    color: var(--g9a1-primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Info Box */
.g9a1-info-box {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 127, 80, 0.1) 100%);
    border-left: 4px solid var(--g9a1-primary);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0;
}

.g9a1-info-box p {
    margin: 0;
    font-size: 1.2rem;
}

/* Stats Grid */
.g9a1-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.g9a1-stat-item {
    background: var(--g9a1-bg-card);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.g9a1-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g9a1-primary);
}

.g9a1-stat-label {
    font-size: 1rem;
    color: var(--g9a1-text-muted);
}
