/* Space-themed main page styles */

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0c1123 0%, #1a1a2e 50%, #16213e 100%);
    color: #e0e0e0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated starfield and planets background */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* Add planets to background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(100, 149, 237, 0.3) 0%, transparent 15%),
        radial-gradient(circle at 85% 15%, rgba(255, 69, 0, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 70% 80%, rgba(138, 43, 226, 0.25) 0%, transparent 18%),
        radial-gradient(circle at 25% 75%, rgba(255, 215, 0, 0.15) 0%, transparent 12%),
        radial-gradient(circle at 90% 60%, rgba(0, 191, 255, 0.2) 0%, transparent 16%),
        radial-gradient(circle at 10% 90%, rgba(255, 20, 147, 0.18) 0%, transparent 14%);
    z-index: -3;
    animation: drift 60s ease-in-out infinite alternate;
}

@keyframes drift {
    0% { transform: translateX(-20px) translateY(-10px); }
    100% { transform: translateX(20px) translateY(10px); }
}

.stars {
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==') repeat;
    background-size: 2px 2px;
    opacity: 0.5;
    animation: move-stars 50s linear infinite;
}

.twinkling {
    background: transparent;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.9), transparent),
        radial-gradient(3px 3px at 40px 70px, rgba(100,255,218,0.7), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(0,242,254,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 60px 120px, rgba(147,0,211,0.5), transparent),
        radial-gradient(3px 3px at 180px 100px, rgba(255,105,180,0.4), transparent);
    background-repeat: repeat;
    background-size: 250px 250px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes move-stars {
    from { transform: translateX(0); }
    to { transform: translateX(-100px); }
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

/* Header styles */
.main-header {
    text-align: center;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.logo-container {
    margin-bottom: 2rem;
}

.main-title {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #64ffda, #00bcd4, #2196f3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

.subtitle {
    font-size: 1.2rem;
    color: #64ffda;
    opacity: 0.9;
}

/* Main content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.welcome-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.welcome-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #64ffda;
}

.welcome-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Navigation grid */
.navigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.nav-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(100, 255, 218, 0.3);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

.nav-card:hover::before {
    left: 100%;
}

.nav-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.6);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.2), 0 5px 20px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.7);
}

.nav-card.coming-soon {
    opacity: 0.6;
}

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

.nav-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #64ffda;
}

.nav-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Button styles */
.launch-btn {
    background: linear-gradient(45deg, #64ffda, #00bcd4);
    color: #0c0c1d;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.launch-btn::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 ease;
}

.launch-btn:hover::before {
    left: 100%;
}

.launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.5), 0 0 20px rgba(100, 255, 218, 0.3);
}

.launch-btn:disabled {
    background: rgba(100, 100, 100, 0.3);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    transform: none;
}

.launch-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    opacity: 0.7;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .welcome-section h2 {
        font-size: 2rem;
    }

    .navigation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-card {
        padding: 2rem;
    }

    .main-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .card-icon {
        font-size: 3rem;
    }

    .nav-card h3 {
        font-size: 1.5rem;
    }
}