/**
 * Poppy Playtime Game - Main Stylesheet
 * Class prefix: v660-
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --v660-primary: #DDA0DD;
    --v660-secondary: #FFAA00;
    --v660-accent: #FF6B9D;
    --v660-bg-dark: #1A1A2E;
    --v660-bg-darker: #16162A;
    --v660-bg-card: #252542;
    --v660-text-light: #FFFFFF;
    --v660-text-muted: #B0B0C0;
    --v660-border: #3A3A5A;
    --v660-gradient-1: linear-gradient(135deg, #DDA0DD 0%, #FFAA00 100%);
    --v660-gradient-2: linear-gradient(180deg, #1A1A2E 0%, #252542 100%);
    --v660-shadow: 0 4px 20px rgba(221, 160, 221, 0.15);
    --v660-radius: 12px;
    --v660-radius-sm: 8px;
}

/* 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.4rem;
    line-height: 1.5;
    color: var(--v660-text-light);
    background: var(--v660-bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.v660-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Header */
.v660-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--v660-bg-darker);
    border-bottom: 1px solid var(--v660-border);
    transition: all 0.3s ease;
}

.v660-header-scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: var(--v660-shadow);
}

.v660-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    max-width: 430px;
    margin: 0 auto;
}

.v660-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.v660-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.v660-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--v660-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v660-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v660-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: var(--v660-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.v660-btn-primary {
    background: var(--v660-gradient-1);
    color: var(--v660-bg-dark);
}

.v660-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--v660-shadow);
}

.v660-btn-outline {
    background: transparent;
    border: 1px solid var(--v660-primary);
    color: var(--v660-primary);
}

.v660-btn-outline:hover {
    background: var(--v660-primary);
    color: var(--v660-bg-dark);
}

.v660-menu-toggle {
    background: none;
    border: none;
    color: var(--v660-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Menu */
.v660-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v660-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.v660-menu-active {
    right: 0;
}

.v660-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;
}

.v660-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v660-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--v660-border);
}

.v660-menu-close {
    background: none;
    border: none;
    color: var(--v660-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.v660-menu-list {
    list-style: none;
}

.v660-menu-item {
    margin-bottom: 0.8rem;
}

.v660-menu-link {
    display: block;
    padding: 1rem;
    color: var(--v660-text-light);
    text-decoration: none;
    border-radius: var(--v660-radius-sm);
    transition: all 0.3s ease;
}

.v660-menu-link:hover {
    background: var(--v660-bg-card);
    color: var(--v660-primary);
}

/* Carousel */
.v660-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 52px;
    border-radius: 0 0 var(--v660-radius) var(--v660-radius);
}

.v660-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.v660-slide {
    min-width: 100%;
    position: relative;
    display: none;
}

.v660-slide-active {
    display: block;
}

.v660-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    cursor: pointer;
}

.v660-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.v660-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v660-dot-active {
    background: var(--v660-primary);
    transform: scale(1.2);
}

/* Main Content */
.v660-main {
    padding-bottom: 80px;
}

/* Section Title */
.v660-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--v660-text-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v660-section-title i {
    color: var(--v660-primary);
}

/* Game Grid */
.v660-game-section {
    padding: 1.5rem 0;
}

.v660-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.v660-game-card {
    background: var(--v660-bg-card);
    border-radius: var(--v660-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v660-game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--v660-shadow);
}

.v660-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.v660-game-name {
    font-size: 1rem;
    color: var(--v660-text-light);
    text-align: center;
    padding: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info Section */
.v660-info-section {
    background: var(--v660-bg-card);
    border-radius: var(--v660-radius);
    padding: 1.5rem;
    margin: 1rem 0;
}

.v660-info-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v660-primary);
    margin-bottom: 1rem;
}

.v660-info-text {
    font-size: 1.3rem;
    color: var(--v660-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.v660-info-text:last-child {
    margin-bottom: 0;
}

.v660-highlight {
    color: var(--v660-secondary);
    font-weight: 600;
}

/* Features List */
.v660-features-list {
    list-style: none;
}

.v660-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--v660-border);
}

.v660-feature-item:last-child {
    border-bottom: none;
}

.v660-feature-icon {
    color: var(--v660-primary);
    font-size: 1.6rem;
    flex-shrink: 0;
}

.v660-feature-text {
    font-size: 1.3rem;
    color: var(--v660-text-light);
}

/* FAQ Section */
.v660-faq-item {
    background: var(--v660-bg-card);
    border-radius: var(--v660-radius-sm);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.v660-faq-question {
    padding: 1rem;
    font-weight: 600;
    color: var(--v660-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v660-faq-answer {
    padding: 0 1rem 1rem;
    font-size: 1.2rem;
    color: var(--v660-text-muted);
    line-height: 1.5;
}

/* CTA Section */
.v660-cta {
    background: var(--v660-gradient-2);
    border: 1px solid var(--v660-border);
    border-radius: var(--v660-radius);
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
}

.v660-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v660-primary);
    margin-bottom: 1rem;
}

.v660-cta-text {
    font-size: 1.3rem;
    color: var(--v660-text-muted);
    margin-bottom: 1.5rem;
}

.v660-cta .v660-btn {
    padding: 1rem 2.5rem;
    font-size: 1.4rem;
}

/* Footer */
.v660-footer {
    background: var(--v660-bg-darker);
    padding: 2rem 1.2rem;
    border-top: 1px solid var(--v660-border);
}

.v660-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.v660-footer-link {
    color: var(--v660-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.v660-footer-link:hover {
    color: var(--v660-primary);
}

.v660-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.v660-partner-img {
    width: 40px;
    height: 24px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.v660-partner-img:hover {
    opacity: 1;
}

.v660-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--v660-text-muted);
}

/* Bottom Navigation */
.v660-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--v660-bg-darker);
    border-top: 1px solid var(--v660-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

.v660-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--v660-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.v660-nav-item:hover,
.v660-nav-item.v660-active {
    color: var(--v660-primary);
}

.v660-nav-icon {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.v660-nav-text {
    font-size: 1rem;
}

/* Utility Classes */
.v660-text-center { text-align: center; }
.v660-text-primary { color: var(--v660-primary); }
.v660-text-secondary { color: var(--v660-secondary); }
.v660-mt-1 { margin-top: 1rem; }
.v660-mt-2 { margin-top: 2rem; }
.v660-mb-1 { margin-bottom: 1rem; }
.v660-mb-2 { margin-bottom: 2rem; }
.v660-p-1 { padding: 1rem; }
.v660-p-2 { padding: 2rem; }

/* Desktop Hidden */
@media (min-width: 769px) {
    .v660-bottom-nav {
        display: none;
    }

    .v660-container {
        max-width: 768px;
    }

    .v660-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .v660-main {
        padding-bottom: 2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 430px) {
    html {
        font-size: 58%;
    }

    .v660-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .v660-game-name {
        font-size: 0.9rem;
    }
}

/* Promotional Link Styles */
.v660-promo-link {
    color: var(--v660-secondary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v660-promo-link:hover {
    color: var(--v660-primary);
    text-decoration: underline;
}

.v660-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--v660-gradient-1);
    color: var(--v660-bg-dark);
    font-weight: 700;
    border-radius: var(--v660-radius);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v660-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--v660-shadow);
}

/* RTP Stats */
.v660-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.v660-rtp-item {
    background: var(--v660-bg-darker);
    padding: 1rem;
    border-radius: var(--v660-radius-sm);
    text-align: center;
}

.v660-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v660-secondary);
}

.v660-rtp-label {
    font-size: 1.1rem;
    color: var(--v660-text-muted);
}
