/**
 * Big Buck Bunny - Core Stylesheet
 * All classes use 'ga02-' prefix for namespace isolation
 * Mobile-first responsive design
 * @version 1.0.0
 */

/* CSS Custom Properties */
:root {
    --ga02-primary: #8B008B;
    --ga02-secondary: #DDA0DD;
    --ga02-bg-dark: #212F3D;
    --ga02-bg-light: #E6E6FA;
    --ga02-text-light: #E6E6FA;
    --ga02-text-dark: #212F3D;
    --ga02-accent: #DDA0DD;
    --ga02-gradient: linear-gradient(135deg, #8B008B 0%, #DDA0DD 100%);
    --ga02-shadow: 0 4px 15px rgba(139, 0, 139, 0.3);
    --ga02-radius: 8px;
    --ga02-radius-lg: 16px;
    --ga02-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::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: var(--ga02-bg-dark);
    color: var(--ga02-text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
.ga02-h1, .ga02-h2, .ga02-h3, .ga02-h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.ga02-h1 { font-size: 2.4rem; }
.ga02-h2 { font-size: 2rem; }
.ga02-h3 { font-size: 1.8rem; }
.ga02-h4 { font-size: 1.6rem; }

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

.ga02-wrapper {
    padding: 2rem 0;
}

/* Header */
.ga02-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--ga02-bg-dark) 0%, rgba(33, 47, 61, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(221, 160, 221, 0.2);
}

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

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

.ga02-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.ga02-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ga02-secondary);
}

.ga02-header-actions {
    display: flex;
    gap: 0.8rem;
}

.ga02-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: var(--ga02-radius);
    cursor: pointer;
    transition: var(--ga02-transition);
    text-decoration: none;
    min-height: 44px;
    min-width: 44px;
}

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

.ga02-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 139, 0.4);
}

.ga02-btn-secondary {
    background: transparent;
    color: var(--ga02-secondary);
    border: 2px solid var(--ga02-secondary);
}

.ga02-btn-secondary:hover {
    background: var(--ga02-secondary);
    color: var(--ga02-bg-dark);
}

/* Menu Toggle */
.ga02-menu-toggle {
    background: transparent;
    border: none;
    color: var(--ga02-secondary);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

/* Mobile Menu */
.ga02-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--ga02-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 1px solid rgba(221, 160, 221, 0.2);
}

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

.ga02-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(221, 160, 221, 0.2);
}

.ga02-menu-close {
    background: transparent;
    border: none;
    color: var(--ga02-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.ga02-menu-nav {
    padding: 1.5rem;
}

.ga02-menu-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--ga02-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: var(--ga02-radius);
    transition: var(--ga02-transition);
}

.ga02-menu-link:hover {
    background: rgba(139, 0, 139, 0.2);
    color: var(--ga02-secondary);
}

/* Menu Overlay */
.ga02-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: var(--ga02-transition);
}

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

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

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

/* Carousel/Slider */
.ga02-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--ga02-radius-lg) var(--ga02-radius-lg);
}

.ga02-slides {
    position: relative;
    height: 200px;
}

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

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

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

.ga02-slide-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.ga02-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--ga02-transition);
}

.ga02-dot-active {
    background: var(--ga02-secondary);
}

/* Game Grid */
.ga02-section {
    padding: 2rem 1.5rem;
}

.ga02-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--ga02-secondary);
}

.ga02-section-title i {
    font-size: 2.4rem;
}

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

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

.ga02-game-item:hover {
    transform: scale(1.05);
}

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

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

/* Cards */
.ga02-card {
    background: rgba(139, 0, 139, 0.1);
    border: 1px solid rgba(221, 160, 221, 0.2);
    border-radius: var(--ga02-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.ga02-card-title {
    font-size: 1.6rem;
    color: var(--ga02-secondary);
    margin-bottom: 1rem;
}

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

/* Promo Links */
.ga02-promo-link {
    color: var(--ga02-secondary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--ga02-transition);
}

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

.ga02-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--ga02-gradient);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border: none;
    border-radius: var(--ga02-radius-lg);
    cursor: pointer;
    box-shadow: var(--ga02-shadow);
    transition: var(--ga02-transition);
}

.ga02-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 139, 0.5);
}

/* Footer */
.ga02-footer {
    background: linear-gradient(180deg, rgba(33, 47, 61, 0.95) 0%, var(--ga02-bg-dark) 100%);
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(221, 160, 221, 0.2);
}

.ga02-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.ga02-footer-brand p {
    font-size: 1.3rem;
    color: rgba(230, 230, 250, 0.8);
    line-height: 1.6;
    margin-top: 1rem;
}

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

.ga02-footer-link {
    padding: 0.6rem 1.2rem;
    background: rgba(139, 0, 139, 0.2);
    color: var(--ga02-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    border-radius: var(--ga02-radius);
    transition: var(--ga02-transition);
}

.ga02-footer-link:hover {
    background: var(--ga02-primary);
}

.ga02-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(230, 230, 250, 0.6);
}

/* Mobile Bottom Navigation */
.ga02-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(33, 47, 61, 0.98) 0%, var(--ga02-bg-dark) 100%);
    border-top: 1px solid rgba(221, 160, 221, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.ga02-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--ga02-text-light);
    text-decoration: none;
    transition: var(--ga02-transition);
    cursor: pointer;
}

.ga02-nav-item:hover,
.ga02-nav-item.active {
    color: var(--ga02-secondary);
}

.ga02-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.ga02-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

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

/* Lists */
.ga02-list {
    list-style: none;
    padding: 0;
}

.ga02-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(221, 160, 221, 0.1);
    font-size: 1.4rem;
}

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

/* Tags */
.ga02-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(139, 0, 139, 0.3);
    color: var(--ga02-secondary);
    font-size: 1.2rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

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

/* Responsive Adjustments */
@media (min-width: 431px) {
    .ga02-container {
        max-width: 430px;
    }
}

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

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