/**
 * Gbets Login - Main Stylesheet
 * Version: 1.0.0
 * Prefix: v41b-
 * Color Palette: #CD853F | #212F3D | #BDB76B | #FFB6C1 | #B8860B
 */

/* CSS Variables */
:root {
    --v41b-primary: #CD853F;
    --v41b-secondary: #BDB76B;
    --v41b-accent: #FFB6C1;
    --v41b-gold: #B8860B;
    --v41b-bg-dark: #212F3D;
    --v41b-bg-darker: #1a252f;
    --v41b-text-light: #ffffff;
    --v41b-text-muted: #b0b0b0;
    --v41b-border: rgba(205, 133, 63, 0.3);
    --v41b-shadow: rgba(0, 0, 0, 0.3);
    --v41b-gradient: linear-gradient(135deg, #CD853F 0%, #B8860B 100%);
}

/* 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-color: var(--v41b-bg-dark);
    color: var(--v41b-text-light);
    line-height: 1.5rem;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.v41b-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.v41b-wrapper {
    padding: 1rem;
}

/* Header */
.v41b-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v41b-bg-darker) 0%, var(--v41b-bg-dark) 100%);
    border-bottom: 1px solid var(--v41b-border);
    padding: 0.8rem 1rem;
}

.v41b-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.v41b-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.v41b-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.v41b-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--v41b-primary);
    text-shadow: 0 0 10px rgba(205, 133, 63, 0.5);
}

.v41b-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v41b-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.v41b-btn-primary {
    background: var(--v41b-gradient);
    color: var(--v41b-bg-dark);
}

.v41b-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.4);
}

.v41b-btn-outline {
    background: transparent;
    border: 2px solid var(--v41b-primary);
    color: var(--v41b-primary);
}

.v41b-btn-outline:hover {
    background: var(--v41b-primary);
    color: var(--v41b-bg-dark);
}

.v41b-menu-toggle {
    background: none;
    border: none;
    color: var(--v41b-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.v41b-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v41b-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
}

.v41b-mobile-menu.app93f-active {
    right: 0;
}

.v41b-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;
}

.v41b-menu-overlay.app93f-active {
    opacity: 1;
    visibility: visible;
}

.v41b-nav-list {
    list-style: none;
}

.v41b-nav-item {
    border-bottom: 1px solid var(--v41b-border);
}

.v41b-nav-link {
    display: block;
    padding: 1.2rem 0;
    color: var(--v41b-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.v41b-nav-link:hover {
    color: var(--v41b-primary);
}

/* Slider/Carousel */
.v41b-slider {
    position: relative;
    overflow: hidden;
    margin-top: 5.6rem;
}

.v41b-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.v41b-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.v41b-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.v41b-slide.app93f-active {
    display: block;
}

.v41b-slide:not(.app93f-active) {
    display: none;
}

.v41b-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.v41b-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v41b-dot.app93f-active {
    background: var(--v41b-primary);
    transform: scale(1.2);
}

/* Main Content */
.v41b-main {
    padding-bottom: 80px;
    margin-top: 5.6rem;
}

/* Section Styles */
.v41b-section {
    padding: 2rem 1rem;
}

.v41b-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v41b-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(205, 133, 63, 0.3);
}

.v41b-section-subtitle {
    font-size: 1.4rem;
    color: var(--v41b-secondary);
    margin-bottom: 1rem;
}

/* Game Grid */
.v41b-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.v41b-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.v41b-game-item:hover {
    transform: scale(1.05);
}

.v41b-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    margin: 0 auto 0.4rem;
    border: 2px solid var(--v41b-border);
}

.v41b-game-name {
    font-size: 1rem;
    color: var(--v41b-text-light);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Category Title */
.v41b-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v41b-secondary);
    margin: 1.5rem 0 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--v41b-primary);
}

/* Content Cards */
.v41b-card {
    background: rgba(33, 47, 61, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--v41b-border);
}

.v41b-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v41b-primary);
    margin-bottom: 1rem;
}

.v41b-card-text {
    font-size: 1.2rem;
    color: var(--v41b-text-muted);
    line-height: 1.6;
}

.v41b-card-text a {
    color: var(--v41b-secondary);
    text-decoration: none;
}

.v41b-card-text a:hover {
    color: var(--v41b-primary);
    text-decoration: underline;
}

/* Promo Link */
.v41b-promo-link {
    color: var(--v41b-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.v41b-promo-link:hover {
    color: var(--v41b-secondary);
    text-decoration: underline;
}

/* Footer */
.v41b-footer {
    background: var(--v41b-bg-darker);
    padding: 2rem 1rem 1rem;
    border-top: 1px solid var(--v41b-border);
}

.v41b-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.v41b-footer-link {
    color: var(--v41b-text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.v41b-footer-link:hover {
    color: var(--v41b-primary);
}

.v41b-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.v41b-partner-logo {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.v41b-partner-logo:hover {
    opacity: 1;
}

.v41b-copyright {
    text-align: center;
    font-size: 1rem;
    color: var(--v41b-text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--v41b-border);
}

/* Bottom Navigation */
.v41b-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--v41b-bg-dark) 0%, var(--v41b-bg-darker) 100%);
    border-top: 1px solid var(--v41b-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

.v41b-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--v41b-text-muted);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
}

.v41b-nav-btn:hover,
.v41b-nav-btn.active {
    color: var(--v41b-primary);
}

.v41b-nav-btn i,
.v41b-nav-btn .material-icons {
    font-size: 22px;
    margin-bottom: 2px;
}

.v41b-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Utility Classes */
.v41b-text-center { text-align: center; }
.v41b-text-left { text-align: left; }
.v41b-text-right { text-align: right; }
.v41b-mt-1 { margin-top: 1rem; }
.v41b-mb-1 { margin-bottom: 1rem; }
.v41b-mt-2 { margin-top: 2rem; }
.v41b-mb-2 { margin-bottom: 2rem; }
.v41b-p-1 { padding: 1rem; }
.v41b-p-2 { padding: 2rem; }

/* Desktop - Hide bottom nav */
@media (min-width: 769px) {
    .v41b-bottom-nav {
        display: none;
    }

    .v41b-main {
        padding-bottom: 2rem;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .v41b-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .v41b-game-icon {
        width: 55px;
        height: 55px;
    }

    .v41b-game-name {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes v41b-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.v41b-animate-pulse {
    animation: v41b-pulse 2s infinite;
}

@keyframes v41b-glow {
    0%, 100% { box-shadow: 0 0 5px var(--v41b-primary); }
    50% { box-shadow: 0 0 20px var(--v41b-primary); }
}

.v41b-animate-glow {
    animation: v41b-glow 2s infinite;
}
