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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    color: #fff;
    height: 100vh;
}

/* Animated Star Background */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.stars {
    background: #000 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQIW2NkYGD4z8DAwMgABAAAfgABAXLGvAAAAABJRU5ErkJggg==) repeat;
    z-index: 0;
}

.twinkling {
    background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQIW2NkYGD4z8DAwMgABAAAfgABAXLGvAAAAABJRU5ErkJggg==) repeat;
    z-index: 1;
    animation: move-twink-back 200s linear infinite;
}

@keyframes move-twink-back {
    from { background-position: 0 0; }
    to { background-position: -10000px 5000px; }
}

.universe-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 2;
}

/* Central Spark Sun */
.spark-sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.spark-sun:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.sun-core {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #FFD700, #FFA500, #FF6B00);
    border-radius: 50%;
    animation: pulse-sun 4s ease-in-out infinite;
    box-shadow: 0 0 60px #FFD700, 0 0 120px #FFA500, inset 0 0 40px #FF8C00;
}

.sun-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    background: radial-gradient(circle, rgba(255,215,0,0.3), transparent 70%);
    border-radius: 50%;
    animation: rotate-glow 20s linear infinite;
}

@keyframes pulse-sun {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.sun-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 11;
}

.sun-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0 0 20px #fff, 0 0 40px #FFD700;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.sun-text p {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Constellations / Planets */
.constellation {
    position: absolute;
    transition: all 0.3s ease;
}

/* 7 Planet Positions in circular orbit */
.constellation-1 { top: 10%; left: 50%; transform: translateX(-50%); }
.constellation-2 { top: 25%; right: 15%; }
.constellation-3 { top: 50%; right: 10%; transform: translateY(-50%); }
.constellation-4 { bottom: 25%; right: 15%; }
.constellation-5 { bottom: 10%; left: 50%; transform: translateX(-50%); }
.constellation-6 { bottom: 25%; left: 15%; }
.constellation-7 { top: 50%; left: 10%; transform: translateY(-50%); }

.constellation-node {
    position: relative;
    width: 120px;
    height: 120px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.constellation-node:hover {
    transform: scale(1.15);
}

.node-core {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
    animation: float 3s ease-in-out infinite;
}

.node-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3), transparent 60%);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

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

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Planet Icons */
.planet-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    z-index: 5;
    pointer-events: none;
}

/* Unique colors for each planet */
.nft-core { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); box-shadow: 0 0 30px rgba(245, 87, 108, 0.6); }
.nft-glow { background: radial-gradient(circle, rgba(245, 87, 108, 0.3), transparent 60%); }

.links-core { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); box-shadow: 0 0 30px rgba(0, 242, 254, 0.6); }
.links-glow { background: radial-gradient(circle, rgba(0, 242, 254, 0.3), transparent 60%); }

.station-core { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); box-shadow: 0 0 30px rgba(168, 237, 234, 0.6); }
.station-glow { background: radial-gradient(circle, rgba(168, 237, 234, 0.3), transparent 60%); }

.investor-core { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); box-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
.investor-glow { background: radial-gradient(circle, rgba(255, 215, 0, 0.3), transparent 60%); }

.tools-core { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); box-shadow: 0 0 30px rgba(102, 126, 234, 0.6); }
.tools-glow { background: radial-gradient(circle, rgba(102, 126, 234, 0.3), transparent 60%); }

.free-core { background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%); box-shadow: 0 0 30px rgba(74, 222, 128, 0.6); }
.free-glow { background: radial-gradient(circle, rgba(74, 222, 128, 0.3), transparent 60%); }

.news-core { background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%); box-shadow: 0 0 30px rgba(255, 107, 107, 0.6); }
.news-glow { background: radial-gradient(circle, rgba(255, 107, 107, 0.3), transparent 60%); }

.node-label {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}

.label-title {
    display: block;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* Navigation Help */
.nav-help {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.help-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.help-icon:hover {
    transform: scale(1.1);
}

.help-panel {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: rgba(20, 20, 40, 0.95);
    padding: 20px;
    border-radius: 10px;
    min-width: 250px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.help-panel.active {
    opacity: 1;
    pointer-events: all;
}

.help-panel h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.help-panel p {
    margin: 10px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    color: #fff;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.navigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.nav-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.nav-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.nav-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.nav-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Unique hover colors for nav cards */
.nft-card:hover { border-color: #f5576c; }
.links-card:hover { border-color: #00f2fe; }
.station-card:hover { border-color: #fed6e3; }
.investor-card:hover { border-color: #FFD700; }
.tools-card:hover { border-color: #667eea; }
.free-card:hover { border-color: #4ade80; }
.news-card:hover { border-color: #ff6b6b; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .constellation {
        transform: scale(0.7) !important;
    }

    .constellation-1 { top: 5%; left: 50%; }
    .constellation-2 { top: 20%; right: 5%; }
    .constellation-3 { top: 35%; right: 0%; }
    .constellation-4 { bottom: 35%; right: 5%; }
    .constellation-5 { bottom: 20%; left: 50%; }
    .constellation-6 { bottom: 35%; left: 0%; }
    .constellation-7 { top: 35%; left: 0%; }

    .sun-text h1 {
        font-size: 1.8rem;
    }

    .sun-text p {
        font-size: 0.8rem;
    }

    .spark-sun {
        width: 200px;
        height: 200px;
    }

    .modal-content {
        padding: 20px;
        margin: 10% auto;
    }

    .modal-content h2 {
        font-size: 1.8rem;
    }

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
