/**
 * minibet88.css - Core Stylesheet for minibet88 gaming platform
 * All classes use prefix 'g9f7-' for namespace isolation
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --g9f7-primary: #00695C;
    --g9f7-secondary: #273746;
    --g9f7-accent: #00FFFF;
    --g9f7-bg-dark: #273746;
    --g9f7-bg-light: #1a252f;
    --g9f7-text-light: #FFCCCB;
    --g9f7-text-gray: #A9A9A9;
    --g9f7-text-muted: #708090;
    --g9f7-border: #3d5a6c;
    --g9f7-success: #00695C;
    --g9f7-warning: #FFCCCB;
    --g9f7-gradient: linear-gradient(135deg, #273746 0%, #00695C 100%);
}

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

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

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

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

/* Header */
.g9f7-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--g9f7-bg-dark) 0%, rgba(39, 55, 70, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--g9f7-border);
    transition: all 0.3s ease;
}

.g9f7-header-scrolled {
    background: rgba(39, 55, 70, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.g9f7-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.g9f7-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g9f7-logo img {
    width: 32px;
    height: 32px;
}

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

.g9f7-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g9f7-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.g9f7-btn-primary {
    background: var(--g9f7-accent);
    color: var(--g9f7-bg-dark);
}

.g9f7-btn-primary:hover {
    background: #00e6e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.g9f7-btn-secondary {
    background: transparent;
    color: var(--g9f7-accent);
    border: 2px solid var(--g9f7-accent);
}

.g9f7-btn-secondary:hover {
    background: var(--g9f7-accent);
    color: var(--g9f7-bg-dark);
}

.g9f7-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.g9f7-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--g9f7-accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

.g9f7-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--g9f7-border);
}

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

.g9f7-nav-list {
    list-style: none;
}

.g9f7-nav-item {
    margin-bottom: 0.5rem;
}

.g9f7-nav-link {
    display: block;
    padding: 1.2rem 1rem;
    font-size: 1.5rem;
    color: var(--g9f7-text-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.g9f7-nav-link:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--g9f7-accent);
}

.g9f7-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;
}

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

/* Main Content */
.g9f7-main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    .g9f7-main {
        padding-bottom: 80px;
    }
}

/* Hero Slider */
.g9f7-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.g9f7-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.g9f7-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.g9f7-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.g9f7-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.g9f7-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.g9f7-dot-active {
    background: var(--g9f7-accent);
    transform: scale(1.2);
}

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

.g9f7-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g9f7-accent);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.g9f7-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--g9f7-accent);
    border-radius: 2px;
}

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

.g9f7-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: var(--g9f7-bg-light);
    border-radius: 10px;
    border: 1px solid var(--g9f7-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.g9f7-game-item:hover {
    transform: translateY(-3px);
    border-color: var(--g9f7-accent);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
}

.g9f7-game-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.g9f7-game-name {
    font-size: 1.1rem;
    color: var(--g9f7-text-light);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/* Category Label */
.g9f7-category-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--g9f7-border);
}

.g9f7-category-label i {
    font-size: 2rem;
    color: var(--g9f7-accent);
}

.g9f7-category-label h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--g9f7-text-light);
}

/* Content Cards */
.g9f7-card {
    background: var(--g9f7-bg-light);
    border-radius: 12px;
    border: 1px solid var(--g9f7-border);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.g9f7-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--g9f7-accent);
    margin-bottom: 1rem;
}

.g9f7-card-content {
    font-size: 1.3rem;
    color: var(--g9f7-text-gray);
    line-height: 1.6;
}

/* Promo Link Styles */
.g9f7-promo-link {
    color: var(--g9f7-accent);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.g9f7-promo-link:hover {
    color: #00e6e6;
    text-decoration: underline;
}

.g9f7-promo-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--g9f7-accent) 0%, #00b3b3 100%);
    color: var(--g9f7-bg-dark);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.g9f7-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
}

/* Footer */
.g9f7-footer {
    background: var(--g9f7-bg-light);
    border-top: 1px solid var(--g9f7-border);
    padding: 2rem 1.5rem 3rem;
}

.g9f7-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.g9f7-footer-brand p {
    font-size: 1.2rem;
    color: var(--g9f7-text-gray);
    line-height: 1.6;
}

.g9f7-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.g9f7-footer-link {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 255, 255, 0.1);
    color: var(--g9f7-accent);
    font-size: 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.g9f7-footer-link:hover {
    background: var(--g9f7-accent);
    color: var(--g9f7-bg-dark);
}

.g9f7-footer-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--g9f7-text-muted);
}

/* Mobile Bottom Navigation */
.g9f7-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--g9f7-bg-light) 0%, var(--g9f7-bg-dark) 100%);
    border-top: 1px solid var(--g9f7-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .g9f7-bottom-nav {
        display: none;
    }
}

.g9f7-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;
}

.g9f7-nav-btn i {
    font-size: 24px;
    color: var(--g9f7-text-gray);
    transition: all 0.3s ease;
}

.g9f7-nav-btn span {
    font-size: 10px;
    color: var(--g9f7-text-muted);
    margin-top: 4px;
    transition: all 0.3s ease;
}

.g9f7-nav-btn:hover i,
.g9f7-nav-btn:hover span,
.g9f7-nav-btn-active i,
.g9f7-nav-btn-active span {
    color: var(--g9f7-accent);
}

.g9f7-nav-btn:active {
    transform: scale(0.95);
}

/* Utility Classes */
.g9f7-text-center { text-align: center; }
.g9f7-text-left { text-align: left; }
.g9f7-text-right { text-align: right; }
.g9f7-mb-1 { margin-bottom: 1rem; }
.g9f7-mb-2 { margin-bottom: 2rem; }
.g9f7-mt-1 { margin-top: 1rem; }
.g9f7-mt-2 { margin-top: 2rem; }

/* Responsive Adjustments */
@media (max-width: 380px) {
    .g9f7-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .g9f7-btn {
        padding: 0.6rem 1rem;
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.g9f7-animate-in {
    animation: fadeIn 0.5s ease forwards;
}

/* List Styles */
.g9f7-list {
    list-style: none;
    padding: 0;
}

.g9f7-list-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--g9f7-border);
    font-size: 1.3rem;
    color: var(--g9f7-text-gray);
}

.g9f7-list-item:last-child {
    border-bottom: none;
}

/* Testimonial */
.g9f7-testimonial {
    background: var(--g9f7-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--g9f7-accent);
}

.g9f7-testimonial-text {
    font-size: 1.3rem;
    color: var(--g9f7-text-gray);
    font-style: italic;
    margin-bottom: 0.8rem;
}

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

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

.g9f7-payment-item {
    padding: 0.8rem 1.5rem;
    background: var(--g9f7-bg-light);
    border-radius: 8px;
    border: 1px solid var(--g9f7-border);
    font-size: 1.2rem;
    color: var(--g9f7-text-light);
}

/* Stats */
.g9f7-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.g9f7-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--g9f7-bg-light);
    border-radius: 10px;
    border: 1px solid var(--g9f7-border);
}

.g9f7-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g9f7-accent);
}

.g9f7-stat-label {
    font-size: 1.1rem;
    color: var(--g9f7-text-muted);
    margin-top: 0.5rem;
}
