/**
 * Love PH - Main Stylesheet
 * All classes use gb05- prefix for namespace isolation
 * Mobile-first responsive design
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --gb05-primary: #F08080;
    --gb05-secondary: #FF6347;
    --gb05-accent: #FFCC02;
    --gb05-bg-dark: #0C0C0C;
    --gb05-bg-card: #1a1a1a;
    --gb05-text-light: #ADB5BD;
    --gb05-text-white: #ffffff;
    --gb05-border: rgba(255, 255, 255, 0.1);
    --gb05-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --gb05-gradient: linear-gradient(135deg, #F08080, #FF6347);
    --gb05-radius: 8px;
    --gb05-radius-lg: 16px;
    --gb05-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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--gb05-bg-dark);
    color: var(--gb05-text-light);
    overflow-x: hidden;
}

/* Container */
.gb05-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gb05-wrapper {
    padding: 2rem 0;
}

/* Header */
.gb05-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gb05-border);
    transition: var(--gb05-transition);
}

.gb05-header-scrolled {
    background: rgba(12, 12, 12, 0.98);
    box-shadow: var(--gb05-shadow);
}

.gb05-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.gb05-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.gb05-logo img {
    width: 32px;
    height: 32px;
}

.gb05-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gb05-primary);
}

.gb05-header-actions {
    display: flex;
    gap: 1rem;
}

.gb05-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: var(--gb05-radius);
    cursor: pointer;
    transition: var(--gb05-transition);
    text-decoration: none;
}

.gb05-btn-primary {
    background: var(--gb05-gradient);
    color: var(--gb05-text-white);
}

.gb05-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 128, 128, 0.4);
}

.gb05-btn-outline {
    background: transparent;
    color: var(--gb05-text-white);
    border: 2px solid var(--gb05-primary);
}

.gb05-btn-outline:hover {
    background: var(--gb05-primary);
    color: var(--gb05-bg-dark);
}

/* Hamburger Menu */
.gb05-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.gb05-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gb05-text-white);
    transition: var(--gb05-transition);
}

.gb05-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.gb05-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.gb05-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.gb05-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--gb05-bg-dark);
    z-index: 9999;
    padding: 8rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.gb05-menu-active {
    right: 0;
}

.gb05-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(--gb05-transition);
}

.gb05-overlay-active {
    opacity: 1;
    visibility: visible;
}

.gb05-menu-list {
    list-style: none;
}

.gb05-menu-item {
    border-bottom: 1px solid var(--gb05-border);
}

.gb05-menu-link {
    display: block;
    padding: 1.5rem 0;
    color: var(--gb05-text-light);
    text-decoration: none;
    font-size: 1.6rem;
    transition: var(--gb05-transition);
}

.gb05-menu-link:hover {
    color: var(--gb05-primary);
    padding-left: 1rem;
}

/* Carousel */
.gb05-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-top: 6rem;
}

.gb05-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.gb05-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.gb05-slide-active {
    opacity: 1;
}

.gb05-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--gb05-radius);
}

/* Main Content */
.gb05-main {
    padding-top: 7rem;
    padding-bottom: 8rem;
}

/* Section Titles */
.gb05-section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gb05-text-white);
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
}

.gb05-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--gb05-gradient);
    border-radius: 2px;
}

/* Game Grid */
.gb05-game-section {
    margin-bottom: 3rem;
}

.gb05-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gb05-game-card {
    background: var(--gb05-bg-card);
    border-radius: var(--gb05-radius);
    overflow: hidden;
    transition: var(--gb05-transition);
    cursor: pointer;
}

.gb05-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gb05-shadow);
}

.gb05-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.gb05-game-name {
    display: block;
    padding: 0.8rem 0.5rem;
    font-size: 1.1rem;
    color: var(--gb05-text-light);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Sections */
.gb05-content-section {
    background: var(--gb05-bg-card);
    border-radius: var(--gb05-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.gb05-content-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gb05-text-white);
    margin-bottom: 1.5rem;
}

.gb05-content-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--gb05-text-light);
    margin-bottom: 1rem;
}

.gb05-content-text:last-child {
    margin-bottom: 0;
}

.gb05-highlight {
    color: var(--gb05-primary);
    font-weight: 600;
}

.gb05-link {
    color: var(--gb05-accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--gb05-transition);
}

.gb05-link:hover {
    color: var(--gb05-primary);
}

/* Promo Link */
.gb05-promo-link {
    display: inline-block;
    color: var(--gb05-accent);
    font-weight: 700;
    cursor: pointer;
    transition: var(--gb05-transition);
}

.gb05-promo-link:hover {
    color: var(--gb05-primary);
    text-decoration: underline;
}

/* Features List */
.gb05-features-list {
    list-style: none;
}

.gb05-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--gb05-border);
}

.gb05-feature-item:last-child {
    border-bottom: none;
}

.gb05-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gb05-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gb05-feature-icon i {
    font-size: 1.8rem;
    color: var(--gb05-text-white);
}

.gb05-feature-content h4 {
    font-size: 1.5rem;
    color: var(--gb05-text-white);
    margin-bottom: 0.5rem;
}

.gb05-feature-content p {
    font-size: 1.3rem;
    color: var(--gb05-text-light);
}

/* Footer */
.gb05-footer {
    background: var(--gb05-bg-card);
    padding: 3rem 0 8rem;
    border-top: 1px solid var(--gb05-border);
}

.gb05-footer-content {
    padding: 0 1.5rem;
}

.gb05-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gb05-footer-link {
    color: var(--gb05-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--gb05-transition);
}

.gb05-footer-link:hover {
    color: var(--gb05-primary);
}

.gb05-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.gb05-partner-img {
    height: 24px;
    opacity: 0.7;
    transition: var(--gb05-transition);
}

.gb05-partner-img:hover {
    opacity: 1;
}

.gb05-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gb05-text-light);
    opacity: 0.7;
}

/* Bottom Navigation */
.gb05-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--gb05-border);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    height: 60px;
}

.gb05-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    color: var(--gb05-text-light);
    text-decoration: none;
    transition: var(--gb05-transition);
    cursor: pointer;
}

.gb05-nav-item:hover,
.gb05-nav-item-active {
    color: var(--gb05-primary);
}

.gb05-nav-item i {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.gb05-nav-item span {
    font-size: 1rem;
}

/* CTA Section */
.gb05-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(240, 128, 128, 0.1), rgba(255, 99, 71, 0.1));
    border-radius: var(--gb05-radius-lg);
    margin: 2rem 0;
}

.gb05-cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gb05-text-white);
    margin-bottom: 1rem;
}

.gb05-cta-text {
    font-size: 1.4rem;
    color: var(--gb05-text-light);
    margin-bottom: 2rem;
}

.gb05-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gb05-gradient);
    color: var(--gb05-text-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--gb05-transition);
}

.gb05-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(240, 128, 128, 0.5);
}

/* FAQ Section */
.gb05-faq-item {
    background: var(--gb05-bg-card);
    border-radius: var(--gb05-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.gb05-faq-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gb05-primary);
    margin-bottom: 0.8rem;
}

.gb05-faq-answer {
    font-size: 1.3rem;
    color: var(--gb05-text-light);
    line-height: 1.6;
}

/* Responsive */
@media (min-width: 769px) {
    .gb05-bottom-nav {
        display: none;
    }

    .gb05-main {
        padding-bottom: 2rem;
    }

    .gb05-footer {
        padding-bottom: 2rem;
    }

    .gb05-container {
        max-width: 768px;
    }
}

@media (max-width: 768px) {
    .gb05-main {
        padding-bottom: 80px;
    }
}

/* Animations */
@keyframes gb05-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gb05-animate {
    animation: gb05-fadeIn 0.5s ease forwards;
}
