/**
 * Playtime Gameplay - Main Stylesheet
 * Website: playtimegameplay.click
 * Prefix: pg61-
 * Colors: #00E5FF | #80CBC4 | #4DB6AC | #E5E5E5 | #3A3A3A
 */

/* CSS Variables */
:root {
    --pg61-primary: #00E5FF;
    --pg61-secondary: #80CBC4;
    --pg61-accent: #4DB6AC;
    --pg61-light: #E5E5E5;
    --pg61-dark: #3A3A3A;
    --pg61-white: #FFFFFF;
    --pg61-black: #1A1A1A;
    --pg61-gradient: linear-gradient(135deg, #00E5FF 0%, #4DB6AC 100%);
    --pg61-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
    --pg61-radius: 12px;
    --pg61-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', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--pg61-dark);
    color: var(--pg61-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--pg61-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Header Styles */
.pg61-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--pg61-black) 0%, rgba(58, 58, 58, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: var(--pg61-transition);
}

.pg61-header-scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.pg61-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pg61-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pg61-logo img {
    height: 40px;
    width: auto;
}

.pg61-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--pg61-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pg61-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pg61-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--pg61-transition);
}

.pg61-btn-primary {
    background: var(--pg61-gradient);
    color: var(--pg61-black);
    box-shadow: var(--pg61-shadow);
}

.pg61-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 229, 255, 0.4);
}

.pg61-btn-secondary {
    background: transparent;
    color: var(--pg61-primary);
    border: 2px solid var(--pg61-primary);
}

.pg61-btn-secondary:hover {
    background: var(--pg61-primary);
    color: var(--pg61-black);
}

.pg61-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--pg61-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* Desktop Navigation */
.pg61-desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pg61-desktop-nav a {
    color: var(--pg61-light);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.pg61-desktop-nav a:hover {
    color: var(--pg61-primary);
}

.pg61-desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pg61-primary);
    transition: var(--pg61-transition);
}

.pg61-desktop-nav a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.pg61-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--pg61-black);
    z-index: 9999;
    padding: 80px 24px 24px;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.pg61-mobile-menu.sitea76-active {
    left: 0;
}

.pg61-mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--pg61-light);
    font-size: 28px;
    cursor: pointer;
}

.pg61-mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pg61-mobile-menu-nav a {
    display: block;
    padding: 12px 16px;
    color: var(--pg61-light);
    font-size: 15px;
    border-radius: 8px;
    transition: var(--pg61-transition);
}

.pg61-mobile-menu-nav a:hover {
    background: rgba(0, 229, 255, 0.1);
    color: var(--pg61-primary);
}

.pg61-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(--pg61-transition);
}

.pg61-menu-overlay.sitea76-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.pg61-main {
    padding-top: 80px;
    min-height: 100vh;
}

/* Hero Section */
.pg61-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pg61-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.pg61-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg61-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(58, 58, 58, 0.7) 0%, var(--pg61-dark) 100%);
    z-index: 1;
}

.pg61-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.pg61-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.pg61-hero-title span {
    background: var(--pg61-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pg61-hero-subtitle {
    font-size: 1.1rem;
    color: var(--pg61-secondary);
    margin-bottom: 32px;
}

.pg61-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.pg61-section {
    padding: 60px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.pg61-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--pg61-white);
}

.pg61-section-title span {
    color: var(--pg61-primary);
}

/* Game Cards Grid */
.pg61-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.pg61-game-card {
    background: linear-gradient(145deg, rgba(77, 182, 172, 0.1) 0%, rgba(58, 58, 58, 0.8) 100%);
    border-radius: var(--pg61-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--pg61-transition);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.pg61-game-card:hover {
    border-color: var(--pg61-primary);
    box-shadow: var(--pg61-shadow);
}

.pg61-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pg61-game-card-title {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--pg61-light);
}

/* Features Section */
.pg61-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.pg61-feature-card {
    background: rgba(58, 58, 58, 0.6);
    padding: 32px 24px;
    border-radius: var(--pg61-radius);
    text-align: center;
    border: 1px solid rgba(0, 229, 255, 0.1);
    transition: var(--pg61-transition);
}

.pg61-feature-card:hover {
    border-color: var(--pg61-primary);
    transform: translateY(-4px);
}

.pg61-feature-icon {
    font-size: 48px;
    color: var(--pg61-primary);
    margin-bottom: 16px;
}

.pg61-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--pg61-white);
}

.pg61-feature-desc {
    font-size: 14px;
    color: var(--pg61-secondary);
    line-height: 1.6;
}

/* Category Tabs */
.pg61-category-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pg61-category-tab {
    padding: 10px 24px;
    background: rgba(58, 58, 58, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 25px;
    color: var(--pg61-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--pg61-transition);
}

.pg61-category-tab:hover,
.pg61-category-tab.active {
    background: var(--pg61-gradient);
    color: var(--pg61-black);
    border-color: transparent;
}

/* Banner Slider */
.pg61-banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--pg61-radius);
    margin-bottom: 40px;
}

.pg61-banner-slide {
    position: relative;
    aspect-ratio: 16/9;
}

.pg61-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Box */
.pg61-content-box {
    background: rgba(58, 58, 58, 0.4);
    padding: 32px;
    border-radius: var(--pg61-radius);
    margin-bottom: 24px;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.pg61-content-box h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--pg61-primary);
}

.pg61-content-box h3 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
    color: var(--pg61-secondary);
}

.pg61-content-box p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.pg61-content-box ul,
.pg61-content-box ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.pg61-content-box li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 8px;
}

.pg61-content-box ul li::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--pg61-primary);
    border-radius: 50%;
}

.pg61-content-box ol {
    list-style: decimal;
}

/* Footer */
.pg61-footer {
    background: var(--pg61-black);
    padding: 48px 16px 24px;
    margin-top: 60px;
}

.pg61-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pg61-footer-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    margin-bottom: 32px;
}

.pg61-footer-partners img {
    height: 32px;
    opacity: 0.6;
    transition: var(--pg61-transition);
}

.pg61-footer-partners img:hover {
    opacity: 1;
}

.pg61-footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.pg61-footer-links a {
    color: var(--pg61-secondary);
    font-size: 14px;
    padding: 4px 0;
}

.pg61-footer-links a:hover {
    color: var(--pg61-primary);
}

.pg61-footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.pg61-footer-copyright {
    color: var(--pg61-secondary);
    font-size: 13px;
}

/* Mobile Bottom Navigation */
.pg61-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, var(--pg61-black) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(10px);
}

.pg61-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 8px;
    cursor: pointer;
    transition: var(--pg61-transition);
    color: var(--pg61-secondary);
}

.pg61-bottom-nav-item:hover,
.pg61-bottom-nav-item.active {
    color: var(--pg61-primary);
}

.pg61-bottom-nav-item i,
.pg61-bottom-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.pg61-bottom-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pg61-header-actions .pg61-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .pg61-desktop-nav {
        display: none;
    }

    .pg61-menu-toggle {
        display: block;
    }

    .pg61-hero-title {
        font-size: 1.75rem;
    }

    .pg61-hero-subtitle {
        font-size: 1rem;
    }

    .pg61-section-title {
        font-size: 1.5rem;
    }

    .pg61-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    .pg61-main {
        padding-bottom: 80px;
    }

    .pg61-content-box {
        padding: 20px;
    }
}

@media (min-width: 769px) {
    .pg61-bottom-nav {
        display: none;
    }
}

/* Utility Classes */
.pg61-text-center {
    text-align: center;
}

.pg61-mb-16 {
    margin-bottom: 16px;
}

.pg61-mb-24 {
    margin-bottom: 24px;
}

.pg61-mb-32 {
    margin-bottom: 32px;
}

.pg61-highlight {
    color: var(--pg61-primary);
    font-weight: 600;
}

/* Animation */
@keyframes pg61-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pg61-animate {
    animation: pg61-fadeIn 0.6s ease forwards;
}

/* Scroll to Top Button */
.pg61-scroll-top {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: var(--pg61-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--pg61-transition);
    box-shadow: var(--pg61-shadow);
}

.pg61-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.pg61-scroll-top:hover {
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .pg61-scroll-top {
        bottom: 96px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
}
