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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #0a0015 0%, #1a0a2e 50%, #2d1b4e 100%);
    min-height: 100vh;
    color: white;
}

body.constellation-page {
    overflow: hidden;
}

/* Menu Bar */
.menu-bar {
    background: transparent;
    padding: 0.8rem 0;
}

.menu-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.menu-item a {
    color: rgba(224, 212, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-item a:hover {
    background: rgba(147, 112, 219, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

/* Star Counter */
.star-counter-container {
    position: fixed;
    top: 70px;
    right: 2rem;
    z-index: 10;
}

.star-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.counter-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.counter-value {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

/* Canvas Container */
.canvas-container {
    width: 100%;
    height: calc(100vh - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: crosshair;
}

#constellation-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Controls */
.controls {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .menu-bar {
        padding: 0.5rem 0 !important;
    }

    .menu-list {
        gap: 0.5rem !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .menu-list::-webkit-scrollbar {
        display: none;
    }

    .menu-item a {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.5rem !important;
    }
}
