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

body {
    font-family: 'Orbitron', monospace;
    background: #0a0a0a;
    color: #00ffff;
    overflow-x: hidden;
}

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

/* Age Verification Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease-out;
}

.age-popup.hidden {
    display: none;
}

.age-popup-content {
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    animation: slideIn 0.5s ease-out;
}

.age-popup-header h2 {
    color: #00ffff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px #00ffff;
}

.age-popup-body p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.age-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.age-btn.confirm {
    background: linear-gradient(45deg, #00ffff, #00ff00);
    color: #000;
}

.age-btn.confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.age-btn.deny {
    background: linear-gradient(45deg, #ff0000, #ff6600);
    color: #fff;
}

.age-btn.deny:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

/* Top Disclaimer Bar */
.top-disclaimer {
    /* width: 100vw; */
    background: linear-gradient(90deg, #ff0000, #ff6600, #ffff00);
    color: #000;
    padding: 0.8rem 0;
    font-weight: 700;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    animation: slideDown 0.5s ease-out;
}

.disclaimer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.disclaimer-text {
    /* display: flex; */
    /* animation: marquee 30s linear infinite; */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 50px;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00ffff;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    animation: flicker 2s infinite alternate;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #00ffff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #ff00ff;
    border: 1px solid #ff00ff;
    box-shadow: 0 0 15px #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 50px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0a0a0a, #1a1a2e, #16213e);
}

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

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: hue-rotate(180deg) saturate(1.5);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
}

.city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 60%;
    background: linear-gradient(to top, #00ffff, transparent),
                linear-gradient(to right, #ff00ff, transparent, #00ff00);
    opacity: 0.3;
    animation: slide 20s linear infinite;
    z-index: 2;
}

.neon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(cyan 1px, transparent 1px),
        linear-gradient(90deg, cyan 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
    z-index: 2;
}

.hero-content {
    text-align: center;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px #00ffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ff00ff;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px #ff00ff;
}

.cta-button {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff00ff;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00ff00;
    z-index: -2;
}

/* Sections */
.about, .games, .why-choose, .disclaimer {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 0 0 20px #00ffff;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #00ffff;
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 0, 255, 0.1);
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #00ffff;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Games Section */
.games {
    background: rgba(16, 21, 62, 0.3);
}

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
    border-color: #ff00ff;
}

.game-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-overlay h3 {
    color: #00ffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #00ffff;
}

.play-btn {
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    color: #000;
    padding: 0.8rem 1.5rem;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
}

/* Why Choose Us Section */
.choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.choose-image img {
    width: 100%;
    border-radius: 15px;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.choose-text h3 {
    font-size: 2rem;
    color: #00ffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px #00ffff;
}

.choose-text ul {
    list-style: none;
}

.choose-text li {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

/* Disclaimer Section */
.disclaimer {
    background: rgba(255, 0, 0, 0.1);
    border-top: 2px solid #ff0000;
    border-bottom: 2px solid #ff0000;
}

.disclaimer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-content h3 {
    color: #ff0000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #ff0000;
}

.disclaimer-content p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.fun-notice {
    color: #00ff00;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 10px #00ff00;
}

/* Footer */
.footer {
    background: #000;
    padding: 3rem 0 1rem;
    position: relative;
    border-top: 2px solid #00ffff;
}

.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, #ff00ff, #00ff00, transparent);
    animation: circuit 3s linear infinite;
}

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

.footer-section h3,
.footer-section h4 {
    color: #00ffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #00ffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #00ffff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: blink 2s infinite;
}

.social-icon:hover {
    background: rgba(255, 0, 255, 0.2);
    border-color: #ff00ff;
    box-shadow: 0 0 15px #ff00ff;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

@keyframes circuit {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-disclaimer {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }

    .disclaimer-text {
        animation: none;
        font-size: 0.7rem;
    }

    .navbar {
        top: 40px;
    }

    .hero {
        margin-top: 40px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-content,
    .choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .age-popup-content {
        padding: 2rem;
        margin: 1rem;
    }

    .age-popup-header h2 {
        font-size: 1.5rem;
    }

    .age-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .nav-container {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .disclaimer-text {
        font-size: 0.6rem;
    }
}

/* Game Page Styles */
.game-page {
    min-height: 100vh;
    padding-top: 130px;
    background: #0a0a0a;
}

.game-header {
    text-align: center;
    padding: 2rem 0;
    background: rgba(0, 255, 255, 0.1);
    border-bottom: 2px solid #00ffff;
}

.game-header h1 {
    font-size: 2.5rem;
    color: #00ffff;
    text-shadow: 0 0 20px #00ffff;
    margin-bottom: 1rem;
}

.back-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    color: #000;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.game-frame {
    width: 100%;
    height: 500px;
    border: 2px solid #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

/* Legal Pages */
.legal-page {
    min-height: 100vh;
    padding: 150px 0 50px;
    background: #0a0a0a;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-content h1 {
    color: #00ffff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px #00ffff;
}

.legal-content h2 {
    color: #ff00ff;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    text-shadow: 0 0 10px #ff00ff;
}

.legal-content p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.legal-content ul {
    color: #cccccc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Contact Page */
.contact-page {
    min-height: 100vh;
    padding: 150px 0 50px;
    background: #0a0a0a;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-content h1 {
    color: #00ffff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px #00ffff;
}

.contact-form {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #00ffff;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #00ffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ffff;
    border-radius: 5px;
    color: #fff;
    font-family: 'Orbitron', monospace;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.submit-btn {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.contact-info {
    text-align: center;
    color: #cccccc;
}

.contact-info h2 {
    color: #ff00ff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #ff00ff;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}