* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Animated starfield background */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.stars {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="2"><circle cx="1" cy="1" r="1" fill="white"/></svg>') repeat;
    animation: animateStars 50s linear infinite;
}

.stars2 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="3" height="3"><circle cx="1.5" cy="1.5" r="1" fill="white"/></svg>') repeat;
    animation: animateStars 100s linear infinite;
}

.stars3 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><circle cx="2" cy="2" r="1.5" fill="white"/></svg>') repeat;
    animation: animateStars 150s linear infinite;
}

@keyframes animateStars {
    from { transform: translateY(0); }
    to { transform: translateY(-2000px); }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #8a2be2, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #8a2be2;
}

.login-btn {
    background: linear-gradient(45deg, #8a2be2, #4169e1);
    border: none;
    padding: 0.8rem 2rem;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.5);
}

/* Main Content */
main {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    z-index: 1;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #8a2be2, #4169e1, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.8)); }
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #aaa;
}

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

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(45deg, #8a2be2, #4169e1);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #8a2be2;
}

.btn-secondary:hover {
    background: rgba(138, 43, 226, 0.2);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.planet {
    width: 400px;
    height: 400px;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 60% 40%, rgba(100, 50, 200, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(50, 100, 200, 0.5) 0%, transparent 25%),
        radial-gradient(circle at 30% 80%, rgba(150, 80, 220, 0.4) 0%, transparent 35%),
        radial-gradient(circle at 70% 30%, rgba(80, 120, 255, 0.3) 0%, transparent 20%),
        radial-gradient(ellipse at 50% 50%, #6a5acd 0%, #483d8b 40%, #2e236c 70%, #1a0f3d 100%);
    border-radius: 50%;
    box-shadow: 
        inset -40px -40px 80px rgba(0, 0, 0, 0.8),
        inset 20px 20px 60px rgba(138, 43, 226, 0.3),
        0 0 100px rgba(106, 90, 205, 0.6),
        0 0 150px rgba(138, 43, 226, 0.4);
    animation: rotate 20s linear infinite, float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.planet::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.1) 0%, transparent 10%),
        radial-gradient(circle at 40% 60%, rgba(0, 0, 0, 0.3) 0%, transparent 15%),
        radial-gradient(circle at 75% 45%, rgba(0, 0, 0, 0.4) 0%, transparent 12%),
        radial-gradient(circle at 55% 85%, rgba(0, 0, 0, 0.35) 0%, transparent 18%),
        radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 8%);
    animation: craters 30s linear infinite;
}

.planet::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    filter: blur(20px);
}

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

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

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

/* Features Section */
.features {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #8a2be2, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.feature-card {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    border-color: #8a2be2;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #8a2be2;
}

.feature-card p {
    color: #aaa;
}

/* About Section */
.about {
    padding: 5rem 5%;
    background: rgba(138, 43, 226, 0.05);
    max-width: 1400px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #8a2be2, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    color: #8a2be2;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #aaa;
    font-size: 1rem;
}

/* Community Section */
.community {
    padding: 5rem 5%;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.community h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #8a2be2, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.community p {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    padding: 1rem 2rem;
    background: rgba(138, 43, 226, 0.2);
    border: 2px solid #8a2be2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.social-btn:hover {
    background: #8a2be2;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem 5%;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
}

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

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #8a2be2;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a0033 0%, #000033 100%);
    margin: 10% auto;
    padding: 3rem;
    border: 2px solid #8a2be2;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.5);
}

.close {
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #fff;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.login-form h2 {
    text-align: center;
    color: #8a2be2;
    margin-bottom: 1rem;
}

.login-form input {
    padding: 1rem;
    border: 1px solid rgba(138, 43, 226, 0.5);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1rem;
}

.login-form input:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.form-footer {
    text-align: center;
}

.form-footer a {
    color: #8a2be2;
    text-decoration: none;
    font-size: 0.9rem;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .planet {
        width: 250px;
        height: 250px;
        margin-top: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .features h2, .about h2, .community h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

