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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0D0D0D;
    color: #E0E0E0;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #00FFFF, #FF00FF);
    -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: 2px;
    background: linear-gradient(90deg, #00FFFF, #FF00FF);
    box-shadow: 0 0 10px #00FFFF;
}

/* Neon Effects */
.neon-text {
    color: #00FFFF;
    text-shadow: 
        0 0 5px #00FFFF,
    
       
        0 0 20px #00FFFF;
    animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    from {
        text-shadow: 
            0 0 5px #00FFFF,
            0 0 10px #00FFFF,
         
    }
    to {
        text-shadow: 
            0 0 2px #00FFFF,
            0 0 5px #00FFFF,
            0 0 8px #00FFFF,
            0 0 12px #00FFFF;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: #00FFFF;
    text-shadow: 0 0 10px #00FFFF;
}

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

.nav-menu a {
    color: #E0E0E0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #00FFFF;
    text-shadow: 0 0 5px #00FFFF;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00FFFF;
    transition: width 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
   background: 
    linear-gradient(to bottom right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)),
    url('/images/mainbg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2300FFFF" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, #00FFFF, #FF00FF);
    color: #0D0D0D;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #00FFFF;
    border: 2px solid #00FFFF;
}

.btn-secondary:hover {
    background: #00FFFF;
    color: #0D0D0D;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.neon-circle {
    width: 300px;
    height: 300px;
    border: 3px solid #00FFFF;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%),url(/images/homebg.webp);
    box-shadow: 
        0 0 20px #00FFFF,
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    animation: rotate 10s linear infinite;
    background-size: cover;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #00FFFF, #FF00FF);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

.about {
    background: rgba(31, 31, 31, 0.5);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.stat-item h3 {
    font-size: 2rem;
    color: #00FFFF;
    margin-bottom: 0.5rem;
}

/* Games Section */
.games-section {
    background: linear-gradient(135deg, #1F1F1F 0%, #0D0D0D 100%);
}

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

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

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

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

.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-info {
    padding: 1.5rem;
    text-align: center;
}

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

.game-info p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.play-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(45deg, #00FFFF, #FF00FF);
    color: #0D0D0D;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Features Section */
.features {
    background: rgba(31, 31, 31, 0.3);
}

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

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

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px #00FFFF);
}

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

/* Community Section */
.community {
    background: linear-gradient(135deg, #0D0D0D 0%, #1F1F1F 100%);
}

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

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 0, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    backdrop-filter: blur(10px);
}

.stat-card h3 {
    font-size: 2rem;
    color: #FF00FF;
    margin-bottom: 0.5rem;
}

.community-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Disclaimer Section */
.disclaimer {
    background: rgba(31, 31, 31, 0.5);
}

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

.disclaimer-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.disclaimer-content a {
    color: #00FFFF;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.disclaimer-content a:hover {
    border-bottom-color: #00FFFF;
    text-shadow: 0 0 5px #00FFFF;
}

/* Footer */
.footer {
    background: #0D0D0D;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: #00FFFF;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px #00FFFF;
}

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

.link-group h4 {
    color: #FF00FF;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 0.5rem;
}

.link-group ul li a {
    color: #E0E0E0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-group ul li a:hover {
    color: #00FFFF;
    text-shadow: 0 0 5px #00FFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    color: #888;
}

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

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

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00FFFF, #FF00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-frame {
    width: 100%;
    height: 80vh;
    border: 2px solid #00FFFF;
    border-radius: 15px;
    background: #1F1F1F;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

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

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

/* Static Page Styles */
.static-page {
    min-height: 100vh;
    padding-top: 100px;
    background: linear-gradient(135deg, #0D0D0D 0%, #1F1F1F 100%);
}

.static-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(31, 31, 31, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.static-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, #00FFFF, #FF00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.static-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #00FFFF;
}

.static-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.static-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.static-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(13, 13, 13, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 255, 255, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 1rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .neon-circle {
        width: 200px;
        height: 200px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .community-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .game-frame {
        height: 60vh;
    }
}