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

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: #0A0A0A;
    color: #E0F7FA;
    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.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
    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;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 900;
    color: #1E90FF;
    text-shadow: 0 0 20px #1E90FF;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 10px;
    color: #FF007A;
    letter-spacing: 3px;
    margin-top: -5px;
    text-shadow: 0 0 10px #FF007A;
}

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

.nav-link {
    color: #E0F7FA;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1E90FF, #FF007A);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: #1E90FF;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 10px #1E90FF;
}

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

 
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), 
    url('/images/mainbg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.neon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(30, 144, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 144, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

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

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00FF7F;
    border-radius: 50%;
    box-shadow: 0 0 20px #00FF7F;
    animation: float 6s ease-in-out infinite;
}

.floating-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.floating-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: -4s;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 30px;
}

.hero-main {
    display: block;
    font-size: 24px;
    color: #E0F7FA;
    font-weight: 400;
    margin-bottom: 10px;
}

.hero-brand {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 64px;
    font-weight: 900;
    color: #1E90FF;
    text-shadow: 0 0 15px #1E90FF, 0 0 20px #1E90FF;
    letter-spacing: 4px;
    animation: neonGlow 2s ease-in-out infinite alternate;
    margin-bottom: 10px;
}

.hero-sub {
    display: block;
    font-size: 18px;
    color: #FF007A;
    font-weight: 500;
    letter-spacing: 8px;
    text-shadow: 0 0 20px #FF007A;
}

@keyframes neonGlow {
    from { text-shadow: 0 0 30px #1E90FF, 0 0 60px #1E90FF; }
    to { text-shadow: 0 0 40px #1E90FF, 0 0 80px #1E90FF, 0 0 120px #1E90FF; }
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #E0F7FA;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(45deg, #1E90FF, #FF007A);
    color: white;
    box-shadow: 0 0 30px rgba(30, 144, 255, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 40px rgba(30, 144, 255, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: #00FF7F;
    border: 2px solid #00FF7F;
    box-shadow: 0 0 20px rgba(0, 255, 127, 0.3);
}

.cta-button.secondary:hover {
    background: #00FF7F;
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(0, 255, 127, 0.5);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    font-weight: 900;
    color: #1E90FF;
    text-shadow: 0 0 20px #1E90FF;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.section-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #1E90FF, #FF007A, #00FF7F);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #E0F7FA;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 46, 0.95));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-subtitle {
    font-size: 32px;
    color: #FF007A;
    margin-bottom: 20px;
    text-shadow: 0 0 15px #FF007A;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.8;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(30, 144, 255, 0.05);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(30, 144, 255, 0.1);
    border-color: rgba(30, 144, 255, 0.4);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 20px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.neon-frame {
    position: relative;
    padding: 20px;
    background: rgba(30, 144, 255, 0.05);
    border: 2px solid #1E90FF;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(30, 144, 255, 0.3);
}

.about-image {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    filter: brightness(0.8) contrast(1.2);
}

/* Games Section */
.games {
    background: rgba(10, 10, 10, 0.98);
}

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

.game-card {
    background: rgba(30, 144, 255, 0.05);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.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: rgba(10, 10, 10, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-button {
    padding: 12px 30px;
    background: linear-gradient(45deg, #1E90FF, #FF007A);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.4);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(30, 144, 255, 0.6);
}

.game-info {
    padding: 25px;
}

.game-title {
    font-size: 24px;
    color: #00FF7F;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #00FF7F;
}

.game-description {
    color: #E0F7FA;
    opacity: 0.8;
    line-height: 1.6;
}

/* Community Section */
.community {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(10, 10, 10, 0.95));
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(30, 144, 255, 0.05);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 144, 255, 0.4);
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.2);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    font-weight: 900;
    color: #00FF7F;
    text-shadow: 0 0 20px #00FF7F;
    margin-bottom: 10px;
}

.stat-label {
    color: #E0F7FA;
    font-size: 16px;
    opacity: 0.8;
}

.testimonials {
    position: relative;
}

.testimonial-card {
    background: rgba(255, 0, 122, 0.05);
    border: 1px solid rgba(255, 0, 122, 0.2);
    border-radius: 15px;
    padding: 40px;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #E0F7FA;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #FF007A;
    box-shadow: 0 0 15px rgba(255, 0, 122, 0.3);
}

.author-name {
    color: #FF007A;
    font-weight: 600;
    font-size: 18px;
}

.author-title {
    color: #E0F7FA;
    opacity: 0.7;
    font-size: 14px;
}

/* How It Works Section */
.how-it-works {
    background: rgba(10, 10, 10, 0.98);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(0, 255, 127, 0.05);
    border: 1px solid rgba(0, 255, 127, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 127, 0.4);
    box-shadow: 0 20px 40px rgba(0, 255, 127, 0.1);
}

.step-number {
    font-family: 'Orbitron', monospace;
    font-size: 64px;
    font-weight: 900;
    color: #00FF7F;
    text-shadow: 0 0 30px #00FF7F;
    margin-bottom: 20px;
    opacity: 0.7;
}

.step-title {
    font-size: 24px;
    color: #00FF7F;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #00FF7F;
}

.step-description {
    color: #E0F7FA;
    opacity: 0.8;
    line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 0, 122, 0.1));
    padding: 60px 0;
}

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

.disclaimer-title {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 0 0 15px #FFD700;
}

.disclaimer-text {
    font-size: 16px;
    color: #E0F7FA;
    opacity: 0.9;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(26, 26, 46, 0.98));
    padding: 60px 0 20px;
    border-top: 1px solid rgba(30, 144, 255, 0.2);
}

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

.footer-section h4.footer-title {
    color: #1E90FF;
    font-size: 20px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #1E90FF;
}

.footer-description {
    color: #E0F7FA;
    opacity: 0.8;
    line-height: 1.6;
    margin-top: 10px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #E0F7FA;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #1E90FF;
    opacity: 1;
    text-shadow: 0 0 10px #1E90FF;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(30, 144, 255, 0.2);
    border-color: rgba(30, 144, 255, 0.5);
    transform: scale(1.1);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-brand {
        font-size: 48px;
    }
    
    .hero-main {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .community-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-brand {
        font-size: 36px;
    }
    
    .hero-sub {
        font-size: 14px;
        letter-spacing: 4px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-subtitle {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .step-number {
        font-size: 48px;
    }
}

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

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

.game-header {
    text-align: center;
    margin-bottom: 40px;
}

.game-header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    color: #1E90FF;
    text-shadow: 0 0 20px #1E90FF;
    margin-bottom: 20px;
}

.game-frame {
    background: rgba(30, 144, 255, 0.05);
    border: 2px solid #1E90FF;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 30px rgba(30, 144, 255, 0.3);
    margin-bottom: 30px;
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

.back-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #FF007A, #00FF7F);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(255, 0, 122, 0.4);
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(255, 0, 122, 0.6);
}

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

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

.legal-header {
    text-align: center;
    margin-bottom: 50px;
}

.legal-header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 42px;
    color: #1E90FF;
    text-shadow: 0 0 20px #1E90FF;
    margin-bottom: 20px;
}

.legal-content {
    background: rgba(30, 144, 255, 0.05);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    line-height: 1.8;
}

.legal-content h2 {
    color: #FF007A;
    font-size: 28px;
    margin: 30px 0 15px;
    text-shadow: 0 0 10px #FF007A;
}

.legal-content h3 {
    color: #00FF7F;
    font-size: 24px;
    margin: 25px 0 10px;
    text-shadow: 0 0 8px #00FF7F;
}

.legal-content p {
    margin-bottom: 20px;
    color: #E0F7FA;
    opacity: 0.9;
}

.legal-content ul, .legal-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 10px;
    color: #E0F7FA;
    opacity: 0.9;
}

.contact-form {
    background: rgba(0, 255, 127, 0.05);
    border: 1px solid rgba(0, 255, 127, 0.2);
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #00FF7F;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 0 8px #00FF7F;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 8px;
    color: #E0F7FA;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

.submit-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #00FF7F, #1E90FF);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 255, 127, 0.4);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

