/* PlayPPS.online - Emerald Green Theme */
:root {
    --playpps-primary: #4CAF50;
    --playpps-secondary: #8BC34A;
    --playpps-accent: #CDDC39;
    --playpps-dark: #1B5E20;
    --playpps-light: #E8F5E9;
    --playpps-gradient: linear-gradient(135deg, #4CAF50, #8BC34A);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', sans-serif;
    background: var(--playpps-light);
    color: var(--playpps-dark);
    overflow-x: hidden;
}

/* Age Verification Popup */
.playpps-age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 94, 32, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.playpps-age-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 520px;
    box-shadow: 0 30px 60px rgba(76, 175, 80, 0.3);
    border-top: 6px solid var(--playpps-primary);
    border-bottom: 6px solid var(--playpps-secondary);
}

.playpps-age-content h2 {
    color: var(--playpps-primary);
    margin-bottom: 1rem;
    font-size: 1.9rem;
}

.playpps-age-notice {
    background: var(--playpps-light);
    padding: 1rem;
    border-radius: 12px;
    color: var(--playpps-dark);
    font-weight: 600;
    margin: 1.5rem 0;
    border: 2px solid var(--playpps-secondary);
}

.playpps-age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.playpps-age-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.playpps-age-btn.yes {
    background: var(--playpps-gradient);
    color: white;
}

.playpps-age-btn.no {
    background: #757575;
    color: white;
}

.playpps-age-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.playpps-navbar {
    background: var(--playpps-gradient) !important;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.playpps-brand {
    font-size: 1.7rem;
    font-weight: bold;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.playpps-logo {
    font-size: 1.9rem;
    animation: playpps-leaf 3s ease-in-out infinite;
}

@keyframes playpps-leaf {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
}

.navbar-toggler {
    border: 2px solid white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.playpps-hero {
    background: var(--playpps-gradient);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.playpps-hero::before {
    content: '🌿';
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 3rem;
    opacity: 0.3;
    animation: sway 4s ease-in-out infinite;
}

.playpps-hero::after {
    content: '🍃';
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 3rem;
    opacity: 0.3;
    animation: sway 4s ease-in-out infinite reverse;
}

@keyframes sway {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(20px) rotate(15deg); }
}

.playpps-hero-content {
    position: relative;
    z-index: 2;
}

.playpps-hero h1 {
    font-size: 3.6rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.playpps-hero p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
}

.playpps-btn {
    display: inline-block;
    background: white;
    color: var(--playpps-primary);
    padding: 1.2rem 3rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.playpps-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: var(--playpps-secondary);
}

/* Games Section */
.playpps-games {
    padding: 5rem 0;
    background: white;
}

.playpps-section-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: bold;
    color: var(--playpps-dark);
    margin-bottom: 2.5rem;
}

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

.playpps-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.playpps-game-card {
    background: var(--playpps-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.playpps-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(76, 175, 80, 0.2);
    border-color: var(--playpps-primary);
}

.playpps-game-card h3 {
    padding: 1rem;
    text-align: center;
    color: var(--playpps-dark);
    background: var(--playpps-light);
    margin: 0;
    font-size: 1.3rem;
}

.playpps-iframe-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.playpps-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.playpps-notice {
    background: var(--playpps-light);
    border-left: 5px solid var(--playpps-primary);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 3rem auto 0;
    max-width: 900px;
}

.playpps-notice i {
    color: var(--playpps-primary);
    margin-right: 0.5rem;
}

.playpps-notice-link {
    color: var(--playpps-dark);
    text-decoration: none;
    font-weight: bold;
}

/* About Section */
.playpps-about {
    padding: 5rem 0;
    background: var(--playpps-light);
}

.playpps-about-content {
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
}

.playpps-about-content > p {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 3rem;
}

.playpps-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.playpps-feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-top: 4px solid var(--playpps-primary);
}

.playpps-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.15);
}

.playpps-feature-card i {
    font-size: 3rem;
    color: var(--playpps-primary);
    margin-bottom: 1rem;
}

.playpps-feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--playpps-dark);
}

/* Testimonials */
.playpps-testimonials {
    padding: 5rem 0;
    background: white;
}

.playpps-testimonial-card {
    background: var(--playpps-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-bottom: 4px solid var(--playpps-secondary);
    transition: all 0.3s ease;
}

.playpps-testimonial-card:hover {
    transform: scale(1.02);
}

.playpps-testimonial-card p {
    font-style: italic;
    line-height: 1.7;
}

.playpps-testimonial-author {
    font-weight: bold;
    color: var(--playpps-primary);
    margin-top: 1rem;
}

/* Contact Section */
.playpps-contact {
    padding: 5rem 0;
    background: var(--playpps-light);
}

.playpps-contact-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.playpps-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.playpps-contact-item i {
    width: 50px;
    height: 50px;
    background: var(--playpps-gradient);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playpps-contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.playpps-contact-form input,
.playpps-contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.playpps-contact-form input:focus,
.playpps-contact-form textarea:focus {
    outline: none;
    border-color: var(--playpps-primary);
}

.playpps-submit-btn {
    background: var(--playpps-gradient);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.playpps-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

/* Footer */
.playpps-footer {
    background: var(--playpps-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.playpps-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.playpps-footer-logo {
    font-size: 2rem;
    color: var(--playpps-secondary);
}

.playpps-footer h3 {
    color: var(--playpps-secondary);
}

.playpps-footer h4 {
    color: var(--playpps-accent);
    margin-bottom: 1rem;
}

.playpps-footer-links {
    list-style: none;
}

.playpps-footer-links li {
    margin-bottom: 0.5rem;
}

.playpps-footer-links a {
    color: #A5D6A7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.playpps-footer-links a:hover {
    color: var(--playpps-accent);
}

.playpps-footer-notice {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--playpps-secondary);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.playpps-footer-notice-icon {
    color: var(--playpps-secondary);
    font-size: 1.5rem;
}

.playpps-footer-notice h5 {
    color: var(--playpps-secondary);
    margin-bottom: 0.5rem;
}

.playpps-footer-notice a {
    color: var(--playpps-accent);
}

.playpps-footer-bottom {
    border-top: 1px solid #2E7D32;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #81C784;
}

.playpps-footer-bottom a {
    color: var(--playpps-secondary);
    text-decoration: none;
}

/* Scroll to Top */
.playpps-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: var(--playpps-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1.3rem;
}

.playpps-scroll-top.show {
    opacity: 1;
    transform: translateY(0);
}

.playpps-scroll-top:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .playpps-hero h1 {
        font-size: 2.3rem;
    }
    
    .playpps-section-title {
        font-size: 1.9rem;
    }
    
    .playpps-games-grid {
        grid-template-columns: 1fr;
    }
    
    .playpps-features {
        grid-template-columns: 1fr;
    }
}
