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

body {
    font-family: 'Orbitron', monospace;
    background-color: #0c0c0f;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(12, 12, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #6e00ff;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, #6e00ff, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #6e00ff, #00d9ff);
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite alternate;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00d9ff;
    text-shadow: 0 0 10px #00d9ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #6e00ff, #00d9ff);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00d9ff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(110, 0, 255, 0.1) 0%, rgba(12, 12, 15, 1) 70%);
}

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

.energy-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #6e00ff 0%, transparent 70%);
    border-radius: 50%;
    animation: energyPulse 3s ease-in-out infinite;
    filter: blur(30px);
    z-index: -1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #00d9ff, transparent),
        radial-gradient(2px 2px at 40px 70px, #6e00ff, transparent),
        radial-gradient(1px 1px at 90px 40px, #00d9ff, transparent),
        radial-gradient(1px 1px at 130px 80px, #6e00ff, transparent),
        radial-gradient(2px 2px at 160px 30px, #00d9ff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #00d9ff, #6e00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00d9ff;
    text-shadow: 0 0 20px #00d9ff;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #6e00ff, #00d9ff);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(110, 0, 255, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(110, 0, 255, 0.8);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(12, 12, 15, 1) 0%, rgba(110, 0, 255, 0.05) 50%, rgba(12, 12, 15, 1) 100%);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #6e00ff, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #6e00ff, #00d9ff);
    border-radius: 2px;
}

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

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(110, 0, 255, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(110, 0, 255, 0.3);
    border-color: #00d9ff;
}

.game-image {
    position: relative;
    height: 200px;
    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;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(110, 0, 255, 0.3), rgba(0, 217, 255, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #00d9ff;
}

.game-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.play-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(45deg, #6e00ff, #00d9ff);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 0, 255, 0.4);
}

/* About Section */
.about-section {
    padding: 80px 0;
    position: relative;
    background: rgba(110, 0, 255, 0.02);
}

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

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.neon-flicker {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 4px;
    height: 80px;
    background: linear-gradient(to bottom, #6e00ff, #00d9ff);
    animation: flicker 3s ease-in-out infinite;
    border-radius: 2px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.02) 0%, rgba(12, 12, 15, 1) 100%);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(110, 0, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #00d9ff;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00d9ff;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 60px 0;
    background: rgba(110, 0, 255, 0.1);
    border-top: 1px solid rgba(110, 0, 255, 0.3);
    border-bottom: 1px solid rgba(110, 0, 255, 0.3);
}

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

.disclaimer-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00d9ff;
}

.disclaimer-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Footer */
.footer {
    background: #0a0a0d;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(110, 0, 255, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #6e00ff, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00d9ff;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Game Page Styles */
.game-page {
    min-height: 100vh;
    padding-top: 90px;
}

.game-header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(110, 0, 255, 0.1) 0%, rgba(0, 217, 255, 0.1) 100%);
}

.game-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #6e00ff, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.back-btn {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #00d9ff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #00d9ff;
    margin-bottom: 2rem;
}

.back-btn:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

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

.game-frame {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(110, 0, 255, 0.3);
}

/* Contact Page Styles */
.contact-page {
    min-height: 100vh;
    padding-top: 90px;
}

.contact-header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(110, 0, 255, 0.1) 0%, rgba(0, 217, 255, 0.1) 100%);
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #6e00ff, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(110, 0, 255, 0.2);
    backdrop-filter: blur(10px);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(110, 0, 255, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #6e00ff, #00d9ff);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(110, 0, 255, 0.4);
}

/* Legal Pages Styles */
.legal-page {
    min-height: 100vh;
    padding-top: 90px;
}

.legal-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(110, 0, 255, 0.2);
    backdrop-filter: blur(10px);
}

.legal-content h2 {
    color: #00d9ff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.legal-content h3 {
    color: #6e00ff;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.3rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-content li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes energyPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-100px);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(110, 0, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(0, 217, 255, 0.8);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.6;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(12, 12, 15, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .game-frame {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form,
    .legal-content {
        margin: 20px;
        padding: 20px;
    }
}