/**
 * Queen PH - Stylesheet
 * All classes use prefix: gba2-
 * Color Theme: Royal Purple & Gold Luxury
 */

:root {
    --gba2-primary: #6B46C1;
    --gba2-secondary: #D4AF37;
    --gba2-accent: #9F7AEA;
    --gba2-dark: #1A1A2E;
    --gba2-darker: #0F0F1A;
    --gba2-light: #F5F5F5;
    --gba2-gold: #FFD700;
    --gba2-gray: #4A4A6A;
    --gba2-white: #FFFFFF;
    --gba2-shadow: rgba(107, 70, 193, 0.3);
}

* {
    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;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--gba2-light);
    background: linear-gradient(135deg, var(--gba2-darker) 0%, var(--gba2-dark) 100%);
    min-height: 100vh;
}

/* Container */
.gba2-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.gba2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gba2-darker) 0%, var(--gba2-dark) 100%);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--gba2-shadow);
    border-bottom: 2px solid var(--gba2-secondary);
}

.gba2-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.gba2-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--gba2-white);
    font-size: 1.6rem;
    font-weight: 700;
}

.gba2-logo img {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
    border-radius: 4px;
}

.gba2-header-buttons {
    display: flex;
    gap: 0.8rem;
}

.gba2-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.gba2-btn-register {
    background: linear-gradient(135deg, var(--gba2-secondary) 0%, var(--gba2-gold) 100%);
    color: var(--gba2-dark);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.gba2-btn-login {
    background: linear-gradient(135deg, var(--gba2-primary) 0%, var(--gba2-accent) 100%);
    color: var(--gba2-white);
    box-shadow: 0 2px 8px var(--gba2-shadow);
}

.gba2-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.6);
}

.gba2-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gba2-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.gba2-mobile-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 60px);
    background: linear-gradient(180deg, var(--gba2-dark) 0%, var(--gba2-darker) 100%);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-right: 2px solid var(--gba2-secondary);
}

.gba2-menu-active {
    left: 0;
}

.gba2-menu-item {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--gba2-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.gba2-menu-item:hover {
    background: var(--gba2-primary);
    color: var(--gba2-white);
    padding-left: 2rem;
}

/* Main Content */
.gba2-main {
    margin-top: 70px;
    padding-bottom: 80px;
}

.gba2-section {
    padding: 2rem 0;
}

.gba2-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gba2-white);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.gba2-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gba2-primary), var(--gba2-secondary), var(--gba2-primary));
}

/* Carousel */
.gba2-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--gba2-shadow);
}

.gba2-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gba2-carousel-slide.active {
    opacity: 1;
}

.gba2-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Game Grid */
.gba2-games-section {
    margin: 2rem 0;
}

.gba2-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.gba2-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gba2-game-item:hover {
    transform: scale(1.08);
}

.gba2-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gba2-primary), var(--gba2-dark));
    padding: 0.3rem;
    box-shadow: 0 2px 8px var(--gba2-shadow);
    transition: all 0.3s ease;
}

.gba2-game-item:hover .gba2-game-icon {
    box-shadow: 0 4px 16px var(--gba2-shadow);
}

.gba2-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.gba2-game-name {
    font-size: 0.9rem;
    color: var(--gba2-white);
    margin-top: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Cards */
.gba2-card {
    background: linear-gradient(135deg, var(--gba2-dark) 0%, rgba(107, 70, 193, 0.2) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid var(--gba2-primary);
    box-shadow: 0 4px 12px var(--gba2-shadow);
}

.gba2-card-title {
    font-size: 1.6rem;
    color: var(--gba2-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.gba2-card-content {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--gba2-light);
}

/* Bottom Navigation */
.gba2-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gba2-darker) 0%, var(--gba2-dark) 100%);
    border-top: 2px solid var(--gba2-secondary);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px var(--gba2-shadow);
}

.gba2-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--gba2-light);
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
}

.gba2-nav-item:hover {
    color: var(--gba2-gold);
    background: rgba(212, 175, 55, 0.1);
}

.gba2-nav-item.gba2-active {
    color: var(--gba2-gold);
}

.gba2-nav-icon {
    font-size: 24px;
    margin-bottom: 0.3rem;
}

.gba2-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Footer */
.gba2-footer {
    background: linear-gradient(135deg, var(--gba2-dark) 0%, var(--gba2-darker) 100%);
    padding: 2rem 0 5rem 0;
    margin-top: 3rem;
    border-top: 2px solid var(--gba2-secondary);
}

.gba2-footer-content {
    text-align: center;
}

.gba2-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.gba2-footer-link {
    color: var(--gba2-accent);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.gba2-footer-link:hover {
    color: var(--gba2-gold);
}

.gba2-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.gba2-partner-logo {
    width: 50px;
    height: 30px;
    object-fit: contain;
    opacity: 0.8;
}

.gba2-copyright {
    color: var(--gba2-gray);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Responsive */
@media (min-width: 769px) {
    .gba2-bottom-nav {
        display: none;
    }

    .gba2-main {
        padding-bottom: 2rem;
    }

    .gba2-menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .gba2-menu-toggle {
        display: block;
    }

    .gba2-mobile-menu {
        display: block;
    }
}

/* Utility */
.gba2-text-center {
    text-align: center;
}

.gba2-mt-1 {
    margin-top: 1rem;
}

.gba2-mb-1 {
    margin-bottom: 1rem;
}

.gba2-mt-2 {
    margin-top: 2rem;
}

.gba2-mb-2 {
    margin-bottom: 2rem;
}

.gba2-promo-link {
    color: var(--gba2-secondary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.gba2-promo-link:hover {
    color: var(--gba2-gold);
    text-decoration: underline;
}
