/**
 * chat pg - CSS Stylesheet
 * Website: chatpg.click
 * Prefix: v680-
 * Colors: #3C3C3C | #FFFFFF | #BC8F8F | #D2691E | #D2B48C | #1E1E1E
 */

/* CSS Variables */
:root {
    --v680-primary: #D2691E;
    --v680-secondary: #BC8F8F;
    --v680-accent: #D2B48C;
    --v680-bg-dark: #1E1E1E;
    --v680-bg-medium: #3C3C3C;
    --v680-text-light: #FFFFFF;
    --v680-text-muted: #CCCCCC;
    --v680-border: rgba(255, 255, 255, 0.1);
    --v680-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --v680-radius: 8px;
    --v680-radius-lg: 16px;
    --v680-transition: all 0.3s ease;
}

/* Base Styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--v680-bg-dark);
    color: var(--v680-text-light);
    line-height: 1.5rem;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--v680-primary);
    text-decoration: none;
    transition: var(--v680-transition);
}

a:hover {
    color: var(--v680-accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.v680-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.v680-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--v680-bg-medium) 0%, var(--v680-bg-dark) 100%);
    padding: 1rem 1.5rem;
    transition: var(--v680-transition);
    border-bottom: 1px solid var(--v680-border);
}

.v680-header-scrolled {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
}

.v680-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.v680-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v680-logo img {
    width: 28px;
    height: 28px;
}

.v680-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v680-primary);
    letter-spacing: -0.5px;
}

.v680-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v680-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--v680-radius);
    cursor: pointer;
    transition: var(--v680-transition);
    border: none;
    min-height: 36px;
}

.v680-btn-primary {
    background: linear-gradient(135deg, var(--v680-primary) 0%, #B55A1A 100%);
    color: var(--v680-text-light);
}

.v680-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.4);
}

.v680-btn-outline {
    background: transparent;
    color: var(--v680-text-light);
    border: 1px solid var(--v680-primary);
}

.v680-btn-outline:hover {
    background: var(--v680-primary);
    color: var(--v680-text-light);
}

.v680-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--v680-text-light);
    cursor: pointer;
    font-size: 2rem;
}

/* Mobile Menu */
.v680-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v680-bg-dark);
    z-index: 9999;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 1px solid var(--v680-border);
}

.v680-menu-active {
    right: 0;
}

.v680-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--v680-transition);
}

.v680-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v680-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.v680-nav-item {
    margin-bottom: 0.5rem;
}

.v680-nav-link {
    display: block;
    padding: 1.2rem 1rem;
    font-size: 1.4rem;
    color: var(--v680-text-light);
    border-radius: var(--v680-radius);
    transition: var(--v680-transition);
}

.v680-nav-link:hover,
.v680-nav-active {
    background: var(--v680-bg-medium);
    color: var(--v680-primary);
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Carousel */
.v680-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--v680-radius-lg) var(--v680-radius-lg);
}

.v680-slides {
    position: relative;
    width: 100%;
    height: 200px;
}

.v680-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.v680-slide-active {
    opacity: 1;
}

.v680-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v680-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.v680-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--v680-transition);
}

.v680-dot-active {
    background: var(--v680-primary);
    transform: scale(1.2);
}

/* Section Styles */
.v680-section {
    padding: 2rem 1.5rem;
}

.v680-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v680-text-light);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.v680-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--v680-primary);
    border-radius: 2px;
}

/* Game Grid */
.v680-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.v680-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem;
    background: var(--v680-bg-medium);
    border-radius: var(--v680-radius);
    transition: var(--v680-transition);
    cursor: pointer;
}

.v680-game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--v680-shadow);
    background: var(--v680-bg-dark);
}

.v680-game-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 0.4rem;
}

.v680-game-name {
    font-size: 1rem;
    color: var(--v680-text-light);
    text-align: center;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Section */
.v680-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.v680-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--v680-secondary);
}

/* Content Box */
.v680-content-box {
    background: var(--v680-bg-medium);
    border-radius: var(--v680-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--v680-border);
}

.v680-content-box h2 {
    font-size: 1.6rem;
    color: var(--v680-primary);
    margin-bottom: 1rem;
}

.v680-content-box p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--v680-text-muted);
    margin-bottom: 1rem;
}

.v680-content-box ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.v680-content-box li {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--v680-text-muted);
}

/* Promo Link */
.v680-promo-link {
    color: var(--v680-primary);
    font-weight: 600;
    cursor: pointer;
}

.v680-promo-link:hover {
    color: var(--v680-accent);
    text-decoration: underline;
}

.v680-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--v680-primary) 0%, #B55A1A 100%);
    color: var(--v680-text-light);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: var(--v680-radius-lg);
    cursor: pointer;
    transition: var(--v680-transition);
    text-align: center;
}

.v680-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(210, 105, 30, 0.5);
}

/* Stats Grid */
.v680-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.v680-stat-item {
    background: var(--v680-bg-dark);
    padding: 1.2rem;
    border-radius: var(--v680-radius);
    text-align: center;
    border: 1px solid var(--v680-border);
}

.v680-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v680-primary);
}

.v680-stat-label {
    font-size: 1.1rem;
    color: var(--v680-text-muted);
}

/* Footer */
.v680-footer {
    background: var(--v680-bg-medium);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--v680-border);
}

.v680-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.v680-footer-link {
    font-size: 1.2rem;
    color: var(--v680-text-muted);
}

.v680-footer-link:hover {
    color: var(--v680-primary);
}

.v680-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.v680-partner-logo {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: var(--v680-transition);
}

.v680-partner-logo:hover {
    opacity: 1;
}

.v680-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--v680-text-muted);
}

/* Bottom Navigation */
.v680-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--v680-bg-medium) 0%, var(--v680-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--v680-border);
    padding-bottom: env(safe-area-inset-bottom);
}

.v680-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--v680-text-muted);
    transition: var(--v680-transition);
    cursor: pointer;
    background: transparent;
    border: none;
}

.v680-nav-btn:hover,
.v680-nav-btn-active {
    color: var(--v680-primary);
}

.v680-nav-btn:hover .v680-nav-icon,
.v680-nav-btn-active .v680-nav-icon {
    transform: scale(1.1);
}

.v680-nav-icon {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
    transition: var(--v680-transition);
}

.v680-nav-label {
    font-size: 1rem;
    font-weight: 500;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .v680-bottom-nav {
        display: none;
    }
}

/* Features List */
.v680-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.v680-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--v680-bg-dark);
    border-radius: var(--v680-radius);
}

.v680-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v680-primary);
    border-radius: 50%;
    color: var(--v680-text-light);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.v680-feature-content h3 {
    font-size: 1.4rem;
    color: var(--v680-text-light);
    margin-bottom: 0.3rem;
}

.v680-feature-content p {
    font-size: 1.2rem;
    color: var(--v680-text-muted);
    margin: 0;
}

/* FAQ Accordion */
.v680-faq-item {
    background: var(--v680-bg-medium);
    border-radius: var(--v680-radius);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.v680-faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v680-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v680-faq-answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 1.2rem;
    color: var(--v680-text-muted);
    line-height: 1.6;
}

/* CTA Section */
.v680-cta {
    background: linear-gradient(135deg, var(--v680-bg-medium) 0%, var(--v680-bg-dark) 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: var(--v680-radius-lg);
    margin: 2rem 1.5rem;
    border: 1px solid var(--v680-border);
}

.v680-cta h2 {
    font-size: 1.8rem;
    color: var(--v680-primary);
    margin-bottom: 1rem;
}

.v680-cta p {
    font-size: 1.3rem;
    color: var(--v680-text-muted);
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .v680-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .v680-game-icon {
        width: 45px;
        height: 45px;
    }

    .v680-game-name {
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) {
    .v680-container {
        max-width: 600px;
    }

    .v680-game-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
