/**
 * queenphapk.css - Core Stylesheet for queenphapk.click
 * Mobile-first responsive design (max-width: 430px)
 * Color Palette: #228B22 | #141414 | #FF1493 | #FFB3FF | #FFCCCB
 */

/* CSS Variables */
:root {
    --pg81-primary: #228B22;
    --pg81-secondary: #FF1493;
    --pg81-bg-dark: #141414;
    --pg81-bg-card: #1a1a1a;
    --pg81-text-light: #FFCCCB;
    --pg81-text-pink: #FFB3FF;
    --pg81-accent: #FF1493;
    --pg81-gradient: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    --pg81-gradient-pink: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
    --pg81-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --pg81-radius: 12px;
    --pg81-radius-sm: 8px;
    --pg81-transition: all 0.3s ease;
}

/* Base Reset */
*, *::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-color: var(--pg81-bg-dark);
    color: var(--pg81-text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.8rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--pg81-secondary);
    text-decoration: none;
    transition: var(--pg81-transition);
}

a:hover {
    color: var(--pg81-text-pink);
}

/* Container */
.pg81-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.pg81-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--pg81-bg-dark) 0%, rgba(20, 20, 20, 0.95) 100%);
    padding: 1rem 0;
    transition: var(--pg81-transition);
}

.pg81-header-scrolled {
    box-shadow: 0 2px 20px rgba(255, 20, 147, 0.2);
}

.pg81-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.pg81-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pg81-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.pg81-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--pg81-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pg81-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pg81-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--pg81-radius-sm);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--pg81-transition);
    min-height: 44px;
    min-width: 44px;
}

.pg81-btn-primary {
    background: var(--pg81-gradient);
    color: white;
}

.pg81-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.4);
}

.pg81-btn-secondary {
    background: var(--pg81-gradient-pink);
    color: white;
}

.pg81-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}

.pg81-btn-outline {
    background: transparent;
    border: 2px solid var(--pg81-primary);
    color: var(--pg81-primary);
}

.pg81-btn-outline:hover {
    background: var(--pg81-primary);
    color: white;
}

/* Hamburger Menu */
.pg81-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
    z-index: 10001;
}

.pg81-hamburger span {
    width: 24px;
    height: 3px;
    background: var(--pg81-text-light);
    border-radius: 2px;
    transition: var(--pg81-transition);
}

.pg81-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.pg81-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.pg81-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.pg81-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--pg81-bg-dark);
    z-index: 9999;
    padding: 8rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.pg81-menu-active {
    right: 0;
}

.pg81-mobile-menu ul {
    list-style: none;
}

.pg81-mobile-menu li {
    margin-bottom: 1rem;
}

.pg81-mobile-menu a {
    display: block;
    padding: 1rem;
    font-size: 1.6rem;
    color: var(--pg81-text-light);
    border-radius: var(--pg81-radius-sm);
    transition: var(--pg81-transition);
}

.pg81-mobile-menu a:hover {
    background: rgba(34, 139, 34, 0.2);
    color: var(--pg81-primary);
}

/* Menu Overlay */
.pg81-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(--pg81-transition);
}

.pg81-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Carousel */
.pg81-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--pg81-radius) var(--pg81-radius);
}

.pg81-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.pg81-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.pg81-slide-active {
    opacity: 1;
}

.pg81-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.pg81-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.pg81-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--pg81-transition);
}

.pg81-dot-active {
    background: var(--pg81-secondary);
}

/* Section Styles */
.pg81-section {
    padding: 2rem 0;
}

.pg81-section-title {
    font-size: 2rem;
    color: var(--pg81-text-pink);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.pg81-section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--pg81-gradient);
    border-radius: 2px;
}

/* Game Grid */
.pg81-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.pg81-game-card {
    background: var(--pg81-bg-card);
    border-radius: var(--pg81-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--pg81-transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pg81-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
    border-color: var(--pg81-secondary);
}

.pg81-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pg81-game-name {
    padding: 0.5rem;
    font-size: 1rem;
    text-align: center;
    color: var(--pg81-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Badge */
.pg81-category-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--pg81-gradient);
    color: white;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Info Box */
.pg81-info-box {
    background: var(--pg81-bg-card);
    border-radius: var(--pg81-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--pg81-primary);
}

.pg81-info-box h3 {
    color: var(--pg81-primary);
    margin-bottom: 1rem;
}

/* Promo Banner */
.pg81-promo-banner {
    background: var(--pg81-gradient-pink);
    border-radius: var(--pg81-radius);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.pg81-promo-banner h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.pg81-promo-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Footer */
.pg81-footer {
    background: var(--pg81-bg-card);
    padding: 2rem 0 1rem;
    margin-top: 2rem;
}

.pg81-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pg81-footer-links a {
    font-size: 1.3rem;
    color: var(--pg81-text-light);
    padding: 0.5rem;
}

.pg81-footer-links a:hover {
    color: var(--pg81-secondary);
}

.pg81-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pg81-partners img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    opacity: 0.7;
    transition: var(--pg81-transition);
}

.pg81-partners img:hover {
    opacity: 1;
}

.pg81-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 204, 203, 0.6);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Bottom Navigation */
.pg81-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.98) 0%, var(--pg81-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(255, 20, 147, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.pg81-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--pg81-transition);
    border-radius: 12px;
    padding: 0.5rem;
}

.pg81-nav-item:hover {
    background: rgba(255, 20, 147, 0.15);
}

.pg81-nav-item.active {
    background: rgba(34, 139, 34, 0.2);
}

.pg81-nav-item.active .pg81-nav-icon {
    color: var(--pg81-primary);
}

.pg81-nav-icon {
    font-size: 24px;
    color: var(--pg81-text-light);
    margin-bottom: 0.2rem;
    transition: var(--pg81-transition);
}

.pg81-nav-item:hover .pg81-nav-icon {
    color: var(--pg81-secondary);
    transform: scale(1.1);
}

.pg81-nav-text {
    font-size: 10px;
    color: var(--pg81-text-light);
    text-align: center;
}

/* Desktop: Hide bottom nav */
@media (min-width: 769px) {
    .pg81-bottom-nav {
        display: none;
    }
}

/* FAQ Accordion */
.pg81-faq-item {
    background: var(--pg81-bg-card);
    border-radius: var(--pg81-radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.pg81-faq-question {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--pg81-text-light);
}

.pg81-faq-answer {
    padding: 0 1.5rem 1.2rem;
    color: rgba(255, 204, 203, 0.8);
    font-size: 1.4rem;
}

/* Feature List */
.pg81-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pg81-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--pg81-bg-card);
    border-radius: var(--pg81-radius-sm);
}

.pg81-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pg81-gradient);
    border-radius: 50%;
    flex-shrink: 0;
}

.pg81-feature-icon i {
    font-size: 20px;
    color: white;
}

/* Utility Classes */
.pg81-text-center { text-align: center; }
.pg81-text-pink { color: var(--pg81-text-pink); }
.pg81-text-green { color: var(--pg81-primary); }
.pg81-mb-1 { margin-bottom: 1rem; }
.pg81-mb-2 { margin-bottom: 2rem; }
.pg81-mt-2 { margin-top: 2rem; }
.pg81-hidden { display: none; }

/* Responsive adjustments */
@media (max-width: 380px) {
    .pg81-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pg81-btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.2rem;
    }
}
