/**
 * ninogaming apk - Main Stylesheet
 * CSS Class Prefix: g694-
 * Color Palette: #0097A7 (primary) | #0C0C0C (background)
 * Version: 1.0.0
 */

/* CSS Variables with prefix */
:root {
    --g694-primary: #0097A7;
    --g694-primary-dark: #007A8A;
    --g694-primary-light: #00B5C7;
    --g694-bg: #0C0C0C;
    --g694-bg-secondary: #1A1A1A;
    --g694-bg-tertiary: #252525;
    --g694-text: #E8E8E8;
    --g694-text-muted: #A0A0A0;
    --g694-accent: #FFD700;
    --g694-success: #28A745;
    --g694-danger: #DC3545;
    --g694-border: #333333;
    --g694-shadow: rgba(0, 151, 167, 0.3);
    --g694-gradient: linear-gradient(135deg, var(--g694-primary) 0%, var(--g694-primary-dark) 100%);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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(--g694-bg);
    color: var(--g694-text);
    min-height: 100vh;
    overflow-x: hidden;
}

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

.g694-wrapper {
    padding: 2rem 1.5rem;
}

/* Header with prefix */
.g694-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--g694-bg) 0%, rgba(12, 12, 12, 0.95) 100%);
    border-bottom: 1px solid var(--g694-border);
    padding: 1rem 0;
}

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

.g694-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.g694-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.g694-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g694-primary);
    white-space: nowrap;
}

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

.g694-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.g694-btn-primary {
    background: var(--g694-gradient);
    color: #fff;
}

.g694-btn-primary:hover {
    background: var(--g694-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--g694-shadow);
}

.g694-btn-outline {
    background: transparent;
    color: var(--g694-primary);
    border: 2px solid var(--g694-primary);
}

.g694-btn-outline:hover {
    background: var(--g694-primary);
    color: #fff;
}

.g694-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--g694-text);
    font-size: 2.4rem;
    cursor: pointer;
}

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

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

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

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

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

.g694-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--g694-text);
    font-size: 2.4rem;
    cursor: pointer;
}

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

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

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

.g694-nav-link:hover, .g694-nav-active {
    background: var(--g694-bg-tertiary);
    color: var(--g694-primary);
}

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

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

/* Hero/Carousel with prefix */
.g694-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

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

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

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

/* Game Grid with prefix */
.g694-game-section {
    padding: 2rem 0;
}

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

.g694-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.g694-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.g694-game-card:hover {
    transform: scale(1.05);
}

.g694-game-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid var(--g694-border);
}

.g694-game-name {
    font-size: 1.1rem;
    color: var(--g694-text);
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Info Cards with prefix */
.g694-card {
    background: var(--g694-bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--g694-border);
}

.g694-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g694-primary);
    margin-bottom: 1rem;
}

.g694-card-text {
    font-size: 1.4rem;
    color: var(--g694-text-muted);
    line-height: 1.6;
}

/* Promo Link with prefix */
.g694-promo-link {
    color: var(--g694-accent);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.g694-promo-link:hover {
    color: var(--g694-primary-light);
    text-decoration: underline;
}

/* Footer with prefix */
.g694-footer {
    background: var(--g694-bg-secondary);
    border-top: 1px solid var(--g694-border);
    padding: 2rem 0;
    margin-top: 2rem;
}

.g694-footer-brand {
    font-size: 1.4rem;
    color: var(--g694-text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.g694-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.g694-footer-link {
    color: var(--g694-text);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    background: var(--g694-bg-tertiary);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.g694-footer-link:hover {
    background: var(--g694-primary);
    color: #fff;
}

.g694-copyright {
    font-size: 1.2rem;
    color: var(--g694-text-muted);
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--g694-border);
}

/* Bottom Navigation with prefix */
.g694-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--g694-bg-secondary) 0%, var(--g694-bg) 100%);
    border-top: 2px solid var(--g694-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

.g694-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--g694-text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.g694-nav-btn:hover, .g694-nav-btn-active {
    color: var(--g694-primary);
    transform: scale(1.1);
}

.g694-nav-btn-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.g694-nav-btn-text {
    font-size: 11px;
    font-weight: 500;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .g694-bottom-nav {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 430px) {
    .g694-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .g694-game-icon {
        width: 60px;
        height: 60px;
    }

    .g694-game-name {
        font-size: 1rem;
    }
}

/* Utility Classes with prefix */
.g694-text-center { text-align: center; }
.g694-text-primary { color: var(--g694-primary); }
.g694-text-accent { color: var(--g694-accent); }
.g694-mb-1 { margin-bottom: 1rem; }
.g694-mb-2 { margin-bottom: 2rem; }
.g694-mt-2 { margin-top: 2rem; }
.g694-hidden { display: none; }

/* Animation */
@keyframes g694-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.g694-animate-pulse {
    animation: g694-pulse 2s infinite;
}
