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

body {
    font-family: 'Rajdhani', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

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

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #00ffff;
    filter: drop-shadow(0 0 10px #00ffff);
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: #00ffff;
    text-shadow: 0 0 20px #00ffff;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #00ffff;
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

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

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

.circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    animation: circuitPulse 4s ease-in-out infinite;
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.floating-gods {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%2300ffff" opacity="0.3"/></svg>');
    background-size: 50px 50px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #cccccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Games Section */
.games-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #0a0a0a, #1a0a2e);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #00ffff;
    text-shadow: 0 0 20px #00ffff;
}

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

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #00ffff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

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


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

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

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

.game-info {
    padding: 1.5rem;
}

.game-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.game-button {
    display: inline-block;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000000;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Tooltip */
.game-card[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #00ffff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid #00ffff;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #1a0a2e;
}

.about-text {
    font-size: 1.3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
    line-height: 1.8;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #1a0a2e, #0a0a0a);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #00ffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
}

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

.feature-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00ffff;
}

.feature-text {
    color: #cccccc;
    font-size: 1.1rem;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 3rem 0;
    background: #0a0a0a;
    text-align: center;
}

.disclaimer-text {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #00ffff;
}

.footer-logo-text {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #00ffff;
}

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

.footer-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #00ffff;
}

.footer-copyright {
    color: #888888;
    font-size: 0.9rem;
}

/* Game Page Styles */
.game-page {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(45deg, #0a0a0a, #1a0a2e);
}

.game-header {
    text-align: center;
    padding: 2rem 0;
}

.game-page-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    color: #00ffff;
    text-shadow: 0 0 20px #00ffff;
    margin-bottom: 1rem;
}

.game-description {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

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

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

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.back-button {
    display: inline-block;
    margin: 2rem 0;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000000;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Contact Page Styles */
.contact-page {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(45deg, #0a0a0a, #1a0a2e);
}

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

.contact-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    text-align: center;
    color: #00ffff;
    text-shadow: 0 0 20px #00ffff;
    margin-bottom: 2rem;
}

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

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ffff;
    border-radius: 5px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

.submit-button {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.submit-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

/* Legal Pages Styles */
.legal-page {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(45deg, #0a0a0a, #1a0a2e);
}

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

.legal-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    color: #00ffff;
    text-shadow: 0 0 20px #00ffff;
    margin-bottom: 2rem;
}

.legal-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #00ffff;
    border-radius: 15px;
    padding: 2rem;
    line-height: 1.8;
}

.legal-content h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-content p {
    color: #cccccc;
    margin-bottom: 1rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .game-frame {
        height: 60vh;
    }
    
    .game-page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .game-frame {
        height: 50vh;
    }
}