/**
 * Jilib Website Main Stylesheet
 * All classes use prefix: gb26-
 * Color palette: #DB7093 | #0F0F23 | #8B0000 | #B22222
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --gb26-primary: #DB7093;
    --gb26-bg-dark: #0F0F23;
    --gb26-accent-1: #8B0000;
    --gb26-accent-2: #B22222;
    --gb26-text-light: #FFFFFF;
    --gb26-text-muted: #B0B0B0;
    --gb26-border: rgba(219, 112, 147, 0.3);
    --gb26-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --gb26-radius: 8px;
    --gb26-radius-lg: 16px;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--gb26-bg-dark);
    color: var(--gb26-text-light);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

a {
    color: var(--gb26-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gb26-text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.gb26-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

/* Header */
.gb26-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--gb26-bg-dark) 0%, #1a1a35 100%);
    border-bottom: 1px solid var(--gb26-border);
    padding: 1rem 0;
}

.gb26-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.6rem;
    max-width: 430px;
    margin: 0 auto;
}

.gb26-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gb26-logo img {
    width: 32px;
    height: 32px;
}

.gb26-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gb26-primary);
    letter-spacing: 1px;
}

.gb26-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gb26-btn {
    padding: 0.8rem 1.6rem;
    border-radius: var(--gb26-radius);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.gb26-btn-primary {
    background: linear-gradient(135deg, var(--gb26-primary) 0%, var(--gb26-accent-2) 100%);
    color: var(--gb26-text-light);
}

.gb26-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(219, 112, 147, 0.4);
}

.gb26-btn-outline {
    background: transparent;
    border: 2px solid var(--gb26-primary);
    color: var(--gb26-primary);
}

.gb26-btn-outline:hover {
    background: var(--gb26-primary);
    color: var(--gb26-bg-dark);
}

.gb26-menu-toggle {
    background: none;
    border: none;
    color: var(--gb26-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.gb26-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--gb26-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    border-left: 1px solid var(--gb26-border);
    overflow-y: auto;
}

.gb26-menu-active {
    right: 0 !important;
}

.gb26-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;
}

.gb26-overlay-active {
    opacity: 1;
    visibility: visible;
}

.gb26-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gb26-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.gb26-nav-links {
    list-style: none;
    margin-top: 4rem;
}

.gb26-nav-links li {
    margin-bottom: 1.5rem;
}

.gb26-nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--gb26-text-light);
    font-size: 1.6rem;
    border-radius: var(--gb26-radius);
    transition: all 0.3s ease;
}

.gb26-nav-links a:hover {
    background: rgba(219, 112, 147, 0.2);
    color: var(--gb26-primary);
}

/* Main Content */
main {
    padding-top: 70px;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Slider */
.gb26-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--gb26-radius-lg) var(--gb26-radius-lg);
}

.gb26-slider {
    position: relative;
    height: 200px;
}

.gb26-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gb26-slide-active {
    opacity: 1;
}

.gb26-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Styles */
.gb26-section {
    padding: 2rem 0;
}

.gb26-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gb26-primary);
    text-align: center;
}

.gb26-section-content {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--gb26-text-muted);
}

/* Game Grid */
.gb26-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem 0;
}

.gb26-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gb26-game-item:hover {
    transform: scale(1.05);
}

.gb26-game-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--gb26-radius);
    margin: 0 auto 0.5rem;
    overflow: hidden;
    border: 2px solid var(--gb26-border);
}

.gb26-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb26-game-name {
    font-size: 1.2rem;
    color: var(--gb26-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Title */
.gb26-category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1rem;
    padding: 1rem;
    background: linear-gradient(90deg, rgba(219, 112, 147, 0.2) 0%, transparent 100%);
    border-left: 4px solid var(--gb26-primary);
}

.gb26-category-title i {
    font-size: 2rem;
    color: var(--gb26-primary);
}

.gb26-category-title h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gb26-text-light);
}

/* Card Component */
.gb26-card {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.9) 0%, rgba(26, 26, 53, 0.9) 100%);
    border: 1px solid var(--gb26-border);
    border-radius: var(--gb26-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.gb26-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gb26-primary);
    margin-bottom: 1rem;
}

.gb26-card-text {
    font-size: 1.4rem;
    color: var(--gb26-text-muted);
    line-height: 1.7;
}

/* Footer */
.gb26-footer {
    background: linear-gradient(180deg, var(--gb26-bg-dark) 0%, #0a0a18 100%);
    padding: 2rem 0;
    border-top: 1px solid var(--gb26-border);
}

.gb26-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.gb26-footer-links a {
    color: var(--gb26-text-muted);
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    border-radius: var(--gb26-radius);
    transition: all 0.3s ease;
}

.gb26-footer-links a:hover {
    color: var(--gb26-primary);
    background: rgba(219, 112, 147, 0.1);
}

.gb26-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.gb26-partners img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gb26-partners img:hover {
    opacity: 1;
}

.gb26-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gb26-text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--gb26-border);
}

/* Bottom Navigation (Mobile) */
.gb26-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.98) 0%, #0F0F23 100%);
    border-top: 1px solid var(--gb26-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .gb26-bottom-nav {
        display: none;
    }
}

.gb26-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--gb26-radius);
}

.gb26-nav-item:hover {
    background: rgba(219, 112, 147, 0.1);
}

.gb26-nav-item.active {
    color: var(--gb26-primary);
}

.gb26-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.gb26-nav-item span {
    font-size: 11px;
    color: var(--gb26-text-muted);
}

.gb26-nav-item:hover span,
.gb26-nav-item.active span {
    color: var(--gb26-primary);
}

/* Promotional CTA */
.gb26-cta-box {
    background: linear-gradient(135deg, var(--gb26-accent-1) 0%, var(--gb26-accent-2) 100%);
    border-radius: var(--gb26-radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.gb26-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gb26-text-light);
    margin-bottom: 1rem;
}

.gb26-cta-text {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Feature List */
.gb26-feature-list {
    list-style: none;
}

.gb26-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gb26-border);
}

.gb26-feature-item:last-child {
    border-bottom: none;
}

.gb26-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(219, 112, 147, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gb26-feature-icon i {
    font-size: 1.8rem;
    color: var(--gb26-primary);
}

.gb26-feature-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gb26-text-light);
    margin-bottom: 0.3rem;
}

.gb26-feature-content p {
    font-size: 1.3rem;
    color: var(--gb26-text-muted);
}

/* FAQ Accordion */
.gb26-faq-item {
    border: 1px solid var(--gb26-border);
    border-radius: var(--gb26-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.gb26-faq-question {
    padding: 1.2rem 1.5rem;
    background: rgba(219, 112, 147, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--gb26-text-light);
}

.gb26-faq-answer {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    color: var(--gb26-text-muted);
    background: rgba(15, 15, 35, 0.5);
}

/* Responsive */
@media (max-width: 430px) {
    .gb26-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gb26-game-icon {
        width: 60px;
        height: 60px;
    }
}

/* Utility Classes */
.gb26-text-center {
    text-align: center;
}

.gb26-mb-1 {
    margin-bottom: 1rem;
}

.gb26-mb-2 {
    margin-bottom: 2rem;
}

.gb26-mt-2 {
    margin-top: 2rem;
}

.gb26-highlight {
    color: var(--gb26-primary);
    font-weight: 600;
}
