/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --text-white: #ffffff;
    --text-gold: #ffd700;
    --text-gold-orange: #ffa500;
    --accent-purple: #e91e63;
    --accent-pink: #ff6b9d;
    --accent-orange: #ff6b35;
    --accent-yellow: #ffd700;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8e53 25%, #ff6b9d 50%, #c44569 75%, #8e44ad 100%);
    --gradient-button: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    --gradient-nav: linear-gradient(135deg, #ff6b35 0%, #ff6b9d 50%, #8e44ad 100%);
    --border-glow: 0 0 10px rgba(233, 30, 99, 0.5), 0 0 20px rgba(233, 30, 99, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.age-popup.active {
    display: flex;
}

.age-popup-content {
    background: var(--bg-darker);
    border: 2px solid var(--accent-purple);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    box-shadow: var(--border-glow);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-icon {
    font-size: 72px;
    font-weight: bold;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.age-popup-content h2 {
    color: var(--text-gold);
    margin-bottom: 15px;
    font-size: 28px;
}

.age-popup-content p {
    margin-bottom: 15px;
    color: var(--text-white);
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Cookie Consent Popup */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-darker);
    border: 2px solid var(--accent-purple);
    border-radius: 15px;
    padding: 20px 30px;
    max-width: 600px;
    z-index: 9999;
    box-shadow: var(--border-glow);
    animation: cookieSlideUp 0.3s ease-out;
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.cookie-popup.active {
    display: block;
}

.cookie-popup-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-popup-content p {
    flex: 1;
    min-width: 250px;
    color: var(--text-white);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    background: var(--gradient-nav);
    padding: 15px 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-white);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 5px 15px;
    border-radius: 5px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-button);
    color: var(--bg-darker);
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--accent-purple);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-purple);
    box-shadow: var(--border-glow);
}

.btn-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--accent-pink);
}

.btn-hero {
    background: var(--gradient-button);
    color: var(--bg-darker);
    border: none;
    padding: 18px 45px;
    border-radius: 35px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 30px;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
}

.btn-game {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn-game:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.5);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--text-white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.3;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--text-gold) 0%, var(--text-gold-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--text-gold) 0%, var(--text-gold-orange) 100%);
    margin: 0 auto 40px;
}

.content-text {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-white);
    font-size: 18px;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 20px;
}

.text-link {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: var(--accent-pink);
}

/* Featured Game */
.featured-game {
    background: rgba(233, 30, 99, 0.05);
    border-radius: 20px;
    padding: 60px 20px;
}

.game-card-large {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.game-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 30px;
    display: block;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.game-card {
    background: var(--bg-darker);
    border: 2px solid var(--accent-purple);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--border-glow);
    border-color: var(--accent-pink);
}

.game-card-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin-bottom: 15px;
}

.game-card h3 {
    color: var(--text-gold);
    margin-top: 15px;
    font-size: 22px;
    text-align: center;
}

.placeholder-image {
    width: 100%;
    background-size: cover;
    background-position: center;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--bg-darker);
    border: 2px solid var(--accent-purple);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--border-glow);
}

.testimonial-text {
    color: var(--text-white);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--text-gold);
    font-weight: bold;
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    background: rgba(233, 30, 99, 0.05);
    border-radius: 20px;
    padding: 60px 20px;
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-white);
    font-size: 18px;
}

.contact-info p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-pink);
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input,
.form-textarea {
    background: var(--bg-darker);
    border: 2px solid var(--accent-purple);
    border-radius: 10px;
    padding: 15px 20px;
    color: var(--text-white);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    box-shadow: var(--border-glow);
    border-color: var(--accent-pink);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Content with Image */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-image {
    width: 100%;
}

.content-image-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

/* FAQ Section */
.faq-section {
    background: rgba(233, 30, 99, 0.05);
    border-radius: 20px;
    padding: 60px 20px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 40px;
}

.faq-item {
    background: var(--bg-darker);
    border: 2px solid var(--accent-purple);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--border-glow);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(233, 30, 99, 0.1);
}

.faq-question h3 {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
}

.faq-toggle {
    font-size: 30px;
    color: var(--accent-purple);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-white);
    line-height: 1.8;
}

/* Responsible Section */
.responsible-section {
    background: rgba(255, 215, 0, 0.05);
    border-radius: 20px;
    padding: 60px 20px;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 2px solid var(--accent-purple);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--text-gold);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

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

.footer-contact {
    color: var(--text-white);
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 10px;
}

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

.footer-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.age-badge {
    background: var(--gradient-button);
    color: var(--bg-darker);
    font-weight: bold;
    font-size: 24px;
    padding: 10px 20px;
    border-radius: 10px;
    min-width: 60px;
    text-align: center;
}

.footer-disclaimer p {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .navbar-content {
        flex-direction: column;
        gap: 20px;
    }

    .content-with-image {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cookie-popup-content {
        flex-direction: column;
    }

    .age-buttons {
        flex-direction: column;
    }
}
