/**
 * Playtime Game - Main Stylesheet
 * Website: playtimegame.club
 * Prefix: v1a0-
 * Color Palette: #5D5D5D | #A9A9A9 | #778899 | #DCDCDC | #0F0F23
 */

/* CSS Variables */
:root {
    --v1a0-primary: #778899;
    --v1a0-secondary: #A9A9A9;
    --v1a0-bg: #5D5D5D;
    --v1a0-bg-dark: #0F0F23;
    --v1a0-text: #DCDCDC;
    --v1a0-text-dark: #0F0F23;
    --v1a0-accent: #778899;
    --v1a0-gradient: linear-gradient(135deg, #5D5D5D 0%, #778899 100%);
    --v1a0-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --v1a0-radius: 12px;
    --v1a0-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--v1a0-bg-dark);
    color: var(--v1a0-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.v1a0-no-scroll {
    overflow: hidden;
}

a {
    color: var(--v1a0-text);
    text-decoration: none;
    transition: var(--v1a0-transition);
}

a:hover {
    color: var(--v1a0-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.v1a0-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v1a0-bg-dark) 0%, rgba(15, 15, 35, 0.95) 100%);
    padding: 12px 16px;
    transition: var(--v1a0-transition);
}

.v1a0-header-scrolled {
    background: rgba(15, 15, 35, 0.98);
    box-shadow: var(--v1a0-shadow);
}

.v1a0-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.v1a0-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v1a0-logo img {
    height: 36px;
    width: auto;
}

.v1a0-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--v1a0-text);
    white-space: nowrap;
}

.v1a0-header-actions {
    display: flex;
    gap: 10px;
}

.v1a0-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: var(--v1a0-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v1a0-btn-login {
    background: transparent;
    border: 2px solid var(--v1a0-primary);
    color: var(--v1a0-text);
}

.v1a0-btn-login:hover {
    background: var(--v1a0-primary);
    color: var(--v1a0-text);
}

.v1a0-btn-register {
    background: linear-gradient(135deg, var(--v1a0-primary) 0%, var(--v1a0-secondary) 100%);
    color: var(--v1a0-text);
}

.v1a0-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(119, 136, 153, 0.4);
}

/* Desktop Navigation */
.v1a0-desktop-nav {
    display: none;
}

@media (min-width: 769px) {
    .v1a0-desktop-nav {
        display: flex;
        gap: 24px;
    }

    .v1a0-desktop-nav a {
        color: var(--v1a0-text);
        font-weight: 500;
        padding: 8px 0;
        position: relative;
    }

    .v1a0-desktop-nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--v1a0-primary);
        transition: var(--v1a0-transition);
    }

    .v1a0-desktop-nav a:hover::after {
        width: 100%;
    }
}

/* Mobile Menu Toggle */
.v1a0-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 769px) {
    .v1a0-menu-toggle {
        display: none;
    }
}

.v1a0-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--v1a0-text);
    transition: var(--v1a0-transition);
}

/* Mobile Menu */
.v1a0-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v1a0-bg-dark);
    z-index: 9999;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.v1a0-mobile-menu.v1a0-menu-active {
    right: 0;
}

.v1a0-mobile-menu a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(220, 220, 220, 0.1);
    font-size: 1rem;
}

.v1a0-mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--v1a0-text);
    cursor: pointer;
}

/* Menu Overlay */
.v1a0-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(--v1a0-transition);
}

.v1a0-menu-overlay.v1a0-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Section */
.v1a0-hero {
    position: relative;
    overflow: hidden;
    margin-top: -70px;
    padding-top: 70px;
}

.v1a0-hero-carousel {
    position: relative;
    height: 220px;
}

@media (min-width: 769px) {
    .v1a0-hero-carousel {
        height: 400px;
    }
}

.v1a0-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.v1a0-hero-slide.v1a0-slide-active {
    opacity: 1;
}

.v1a0-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v1a0-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.v1a0-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(220, 220, 220, 0.5);
    cursor: pointer;
    transition: var(--v1a0-transition);
}

.v1a0-carousel-dot.v1a0-dot-active {
    background: var(--v1a0-primary);
    transform: scale(1.2);
}

/* Hero Content */
.v1a0-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    padding: 0 20px;
}

.v1a0-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--v1a0-text);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 769px) {
    .v1a0-hero-title {
        font-size: 2.5rem;
    }
}

.v1a0-hero-subtitle {
    font-size: 1rem;
    color: var(--v1a0-text);
    margin-bottom: 20px;
}

.v1a0-hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.v1a0-btn-hero {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 30px;
}

/* Section Styles */
.v1a0-section {
    padding: 40px 16px;
}

@media (min-width: 769px) {
    .v1a0-section {
        padding: 60px 24px;
    }
}

.v1a0-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--v1a0-text);
    position: relative;
}

.v1a0-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--v1a0-primary);
    margin: 12px auto 0;
}

/* Category Tabs */
.v1a0-categories {
    background: var(--v1a0-bg);
}

.v1a0-category-tabs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 0;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.v1a0-category-tabs::-webkit-scrollbar {
    display: none;
}

.v1a0-category-tab {
    flex-shrink: 0;
    padding: 10px 20px;
    background: rgba(119, 136, 153, 0.2);
    border: none;
    border-radius: 25px;
    color: var(--v1a0-text);
    font-weight: 500;
    cursor: pointer;
    transition: var(--v1a0-transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.v1a0-category-tab.v1a0-tab-active {
    background: var(--v1a0-primary);
    color: var(--v1a0-text);
}

/* Games Grid */
.v1a0-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (min-width: 431px) {
    .v1a0-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (min-width: 769px) {
    .v1a0-games-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

.v1a0-game-card {
    position: relative;
    border-radius: var(--v1a0-radius);
    overflow: hidden;
    background: rgba(93, 93, 93, 0.3);
    transition: var(--v1a0-transition);
    cursor: pointer;
}

.v1a0-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--v1a0-shadow);
}

.v1a0-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.v1a0-game-name {
    padding: 8px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--v1a0-text);
    background: rgba(15, 15, 35, 0.8);
}

/* Category Content */
.v1a0-category-content {
    display: none;
}

.v1a0-category-content.v1a0-content-active {
    display: block;
}

/* Features Section */
.v1a0-features {
    background: linear-gradient(135deg, var(--v1a0-bg-dark) 0%, var(--v1a0-bg) 100%);
}

.v1a0-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 769px) {
    .v1a0-features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.v1a0-feature-card {
    background: rgba(119, 136, 153, 0.1);
    border-radius: var(--v1a0-radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--v1a0-transition);
}

.v1a0-feature-card:hover {
    background: rgba(119, 136, 153, 0.2);
    transform: translateY(-3px);
}

.v1a0-feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--v1a0-primary);
}

.v1a0-feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--v1a0-text);
}

.v1a0-feature-desc {
    font-size: 0.875rem;
    color: var(--v1a0-secondary);
}

/* Info Sections */
.v1a0-info-section {
    background: var(--v1a0-bg);
}

.v1a0-info-content {
    max-width: 800px;
    margin: 0 auto;
}

.v1a0-info-content h2 {
    font-size: 1.25rem;
    color: var(--v1a0-text);
    margin-bottom: 16px;
}

.v1a0-info-content p {
    color: var(--v1a0-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.v1a0-info-content ul {
    list-style: none;
    padding: 0;
}

.v1a0-info-content li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--v1a0-secondary);
}

.v1a0-info-content li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--v1a0-primary);
}

/* FAQ Section */
.v1a0-faq-item {
    background: rgba(119, 136, 153, 0.1);
    border-radius: var(--v1a0-radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.v1a0-faq-question {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--v1a0-text);
}

.v1a0-faq-question i {
    transition: var(--v1a0-transition);
}

.v1a0-faq-item.v1a0-faq-active .v1a0-faq-question i {
    transform: rotate(180deg);
}

.v1a0-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.v1a0-faq-item.v1a0-faq-active .v1a0-faq-answer {
    max-height: 500px;
}

.v1a0-faq-answer p {
    padding: 0 16px 16px;
    color: var(--v1a0-secondary);
}

/* Footer */
.v1a0-footer {
    background: var(--v1a0-bg-dark);
    padding: 40px 16px 20px;
    border-top: 1px solid rgba(119, 136, 153, 0.2);
}

.v1a0-footer-partners {
    margin-bottom: 30px;
}

.v1a0-footer-partners h4 {
    text-align: center;
    font-size: 0.875rem;
    color: var(--v1a0-secondary);
    margin-bottom: 16px;
}

.v1a0-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.v1a0-partners-grid img {
    height: 28px;
    opacity: 0.7;
    transition: var(--v1a0-transition);
}

.v1a0-partners-grid img:hover {
    opacity: 1;
}

.v1a0-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 769px) {
    .v1a0-footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

.v1a0-footer-col h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--v1a0-text);
    margin-bottom: 12px;
}

.v1a0-footer-col a {
    display: block;
    font-size: 0.8125rem;
    color: var(--v1a0-secondary);
    padding: 6px 0;
}

.v1a0-footer-col a:hover {
    color: var(--v1a0-primary);
}

.v1a0-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(119, 136, 153, 0.1);
}

.v1a0-footer-bottom p {
    font-size: 0.75rem;
    color: var(--v1a0-secondary);
    margin-bottom: 8px;
}

/* Mobile Bottom Navigation */
.v1a0-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.98) 0%, var(--v1a0-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(119, 136, 153, 0.2);
    padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 769px) {
    .v1a0-bottom-nav {
        display: none;
    }
}

.v1a0-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--v1a0-transition);
    color: var(--v1a0-secondary);
}

.v1a0-nav-item:hover,
.v1a0-nav-item.v1a0-nav-active {
    color: var(--v1a0-primary);
}

.v1a0-nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.v1a0-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* CTA Section */
.v1a0-cta {
    background: var(--v1a0-gradient);
    text-align: center;
    padding: 50px 20px;
}

.v1a0-cta h2 {
    font-size: 1.5rem;
    color: var(--v1a0-text);
    margin-bottom: 12px;
}

.v1a0-cta p {
    color: var(--v1a0-text);
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Utility Classes */
.v1a0-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.v1a0-text-center {
    text-align: center;
}

.v1a0-mb-20 {
    margin-bottom: 20px;
}

.v1a0-hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .v1a0-hidden-mobile {
        display: block;
    }
}
