/**
 * Nino Gaming Core Stylesheet
 * Website: nino-gaming.cfd
 * Prefix: g37b-
 * Colors: #2E4057 (bg), #87CEFA (text)
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --g37b-primary: #2E4057;
    --g37b-secondary: #87CEFA;
    --g37b-accent: #FFD700;
    --g37b-bg: #1a2838;
    --g37b-bg-light: #243447;
    --g37b-text: #87CEFA;
    --g37b-text-light: #b8e2ff;
    --g37b-text-white: #ffffff;
    --g37b-border: #3d5a80;
    --g37b-shadow: rgba(0, 0, 0, 0.3);
    --g37b-gradient: linear-gradient(135deg, #2E4057 0%, #1a2838 100%);
    --g37b-radius: 12px;
    --g37b-radius-sm: 8px;
    --g37b-transition: all 0.3s ease;
}

/* Reset & 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: var(--g37b-bg);
    color: var(--g37b-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--g37b-secondary);
    text-decoration: none;
    transition: var(--g37b-transition);
}

a:hover {
    color: var(--g37b-text-light);
}

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

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

/* Header */
.g37b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--g37b-primary);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--g37b-shadow);
}

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

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

.g37b-logo img {
    width: 28px;
    height: 28px;
}

.g37b-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g37b-text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.g37b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: var(--g37b-radius-sm);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--g37b-transition);
    border: none;
    text-transform: uppercase;
}

.g37b-btn-login {
    background: transparent;
    color: var(--g37b-secondary);
    border: 1px solid var(--g37b-secondary);
}

.g37b-btn-login:hover {
    background: var(--g37b-secondary);
    color: var(--g37b-primary);
}

.g37b-btn-register {
    background: var(--g37b-accent);
    color: var(--g37b-primary);
}

.g37b-btn-register:hover {
    background: #ffed4a;
    transform: scale(1.05);
}

.g37b-menu-toggle {
    background: transparent;
    border: none;
    color: var(--g37b-text-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

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

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

.g37b-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--g37b-text);
    font-size: 2rem;
    cursor: pointer;
}

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

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

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

.g37b-menu-nav a:hover {
    background: var(--g37b-primary);
    color: var(--g37b-text-white);
}

.g37b-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(--g37b-transition);
}

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

/* Main Content */
main {
    padding-top: 6rem;
}

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

/* Carousel */
.g37b-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--g37b-radius);
    margin: 1.5rem 0;
}

.g37b-slides-container {
    display: flex;
    transition: transform 0.5s ease;
}

.g37b-slide {
    min-width: 100%;
    cursor: pointer;
}

.g37b-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--g37b-radius);
}

.g37b-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 0;
}

.g37b-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--g37b-border);
    cursor: pointer;
    transition: var(--g37b-transition);
}

.g37b-dot-active {
    background: var(--g37b-secondary);
    transform: scale(1.2);
}

/* Sections */
.g37b-section {
    padding: 2rem 0;
}

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

.g37b-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--g37b-accent);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

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

.g37b-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--g37b-transition);
}

.g37b-game-item:hover {
    transform: translateY(-3px);
}

.g37b-game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--g37b-radius-sm);
    margin-bottom: 0.5rem;
}

.g37b-game-item span {
    display: block;
    font-size: 1.1rem;
    color: var(--g37b-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Title */
.g37b-cat-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g37b-accent);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--g37b-accent);
}

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

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

.g37b-card-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Promo Buttons */
.g37b-promo-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--g37b-accent), #ffa500);
    color: var(--g37b-primary);
    padding: 0.8rem 1.5rem;
    border-radius: var(--g37b-radius-sm);
    font-weight: 700;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--g37b-transition);
    text-transform: uppercase;
}

.g37b-promo-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Feature List */
.g37b-feature-list {
    list-style: none;
}

.g37b-feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--g37b-border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g37b-feature-list li:last-child {
    border-bottom: none;
}

.g37b-feature-list i {
    color: var(--g37b-accent);
    font-size: 1.4rem;
}

/* Footer */
.g37b-footer {
    background: var(--g37b-primary);
    padding: 2rem 0 3rem;
    margin-top: 2rem;
}

.g37b-footer-desc {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--g37b-text);
    line-height: 1.6;
}

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

.g37b-footer-links a {
    background: var(--g37b-bg-light);
    padding: 0.6rem 1.2rem;
    border-radius: var(--g37b-radius-sm);
    font-size: 1.2rem;
    color: var(--g37b-text);
    border: 1px solid var(--g37b-border);
}

.g37b-footer-links a:hover {
    background: var(--g37b-accent);
    color: var(--g37b-primary);
    border-color: var(--g37b-accent);
}

.g37b-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--g37b-border);
    border-bottom: 1px solid var(--g37b-border);
}

.g37b-footer-nav a {
    color: var(--g37b-text);
    font-size: 1.2rem;
}

.g37b-footer-nav a:hover {
    color: var(--g37b-accent);
}

.g37b-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--g37b-text);
    opacity: 0.8;
}

/* Bottom Navigation */
.g37b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--g37b-primary) 0%, #1a2838 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    z-index: 1000;
    border-top: 2px solid var(--g37b-accent);
    box-shadow: 0 -4px 20px var(--g37b-shadow);
}

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

.g37b-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--g37b-transition);
    border-radius: 12px;
    padding: 0.5rem;
}

.g37b-nav-item:hover {
    background: rgba(135, 206, 250, 0.1);
}

.g37b-nav-item.active {
    background: rgba(255, 215, 0, 0.15);
}

.g37b-nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
    transition: var(--g37b-transition);
}

.g37b-nav-item span {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.g37b-nav-item:nth-child(1) i { color: #87CEFA; }
.g37b-nav-item:nth-child(2) i { color: #FF6B6B; }
.g37b-nav-item:nth-child(3) i { color: #FFD700; }
.g37b-nav-item:nth-child(4) i { color: #4ECDC4; }
.g37b-nav-item:nth-child(5) i { color: #A78BFA; }

.g37b-nav-item:hover i {
    transform: scale(1.15);
}

/* Testimonials */
.g37b-testimonial {
    background: var(--g37b-bg-light);
    border-radius: var(--g37b-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--g37b-accent);
}

.g37b-testimonial-author {
    font-weight: 600;
    color: var(--g37b-text-white);
    margin-bottom: 0.5rem;
}

.g37b-testimonial-text {
    font-style: italic;
    color: var(--g37b-text);
}

/* Stats */
.g37b-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.g37b-stat-item {
    text-align: center;
    background: var(--g37b-bg-light);
    padding: 1rem;
    border-radius: var(--g37b-radius-sm);
}

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

.g37b-stat-label {
    font-size: 1.1rem;
    color: var(--g37b-text);
    margin-top: 0.3rem;
}

/* Payment Methods */
.g37b-payments {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

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

/* FAQ Accordion */
.g37b-faq-item {
    background: var(--g37b-bg-light);
    border-radius: var(--g37b-radius-sm);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.g37b-faq-question {
    padding: 1rem;
    font-weight: 600;
    color: var(--g37b-text-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g37b-faq-answer {
    padding: 0 1rem 1rem;
    color: var(--g37b-text);
    line-height: 1.6;
}

/* Winner List */
.g37b-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: var(--g37b-bg-light);
    border-radius: var(--g37b-radius-sm);
    margin-bottom: 0.5rem;
}

.g37b-winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--g37b-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--g37b-primary);
}

.g37b-winner-info {
    flex: 1;
}

.g37b-winner-name {
    font-weight: 600;
    color: var(--g37b-text-white);
}

.g37b-winner-game {
    font-size: 1.1rem;
    color: var(--g37b-text);
}

.g37b-winner-amount {
    font-weight: 700;
    color: var(--g37b-accent);
}

/* App Download Section */
.g37b-app-download {
    background: linear-gradient(135deg, var(--g37b-primary) 0%, var(--g37b-bg-light) 100%);
    border-radius: var(--g37b-radius);
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
    border: 2px solid var(--g37b-accent);
}

.g37b-app-download h3 {
    color: var(--g37b-text-white);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.g37b-app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.g37b-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--g37b-bg);
    padding: 0.8rem 1.5rem;
    border-radius: var(--g37b-radius-sm);
    color: var(--g37b-text-white);
    font-size: 1.2rem;
    border: 1px solid var(--g37b-border);
    cursor: pointer;
    transition: var(--g37b-transition);
}

.g37b-app-btn:hover {
    background: var(--g37b-accent);
    color: var(--g37b-primary);
    border-color: var(--g37b-accent);
}

/* Utilities */
.g37b-text-center { text-align: center; }
.g37b-text-left { text-align: left; }
.g37b-mt-1 { margin-top: 1rem; }
.g37b-mt-2 { margin-top: 2rem; }
.g37b-mb-1 { margin-bottom: 1rem; }
.g37b-mb-2 { margin-bottom: 2rem; }
.g37b-hidden { display: none; }

/* Animation */
.g37b-loaded .g37b-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
