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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

canvas#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.page-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 153, 51, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 153, 51, 0.9)) drop-shadow(0 0 60px rgba(255, 153, 51, 0.4));
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    height: auto;
    opacity: 0.6;
    animation: logoGlow 3s ease-in-out infinite, fadeIn 1s ease;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-large {
    width: 1200px;
    max-width: 80vw;
    margin-bottom: 2rem;
}

.logo-small {
    width: 200px;
    max-width: 60vw;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

footer a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* View toggle button */
.view-toggle {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1000;
    background: #222;
    border: 1px solid #555;
    border-radius: 8px;
    color: #ccc;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle:hover {
    background: #333;
    border-color: #888;
    color: #fff;
}

/* Hide starfield canvas by default (solid view) */
canvas#starfield {
    display: none;
}

/* Starfield view - show canvas and restore transparency */
body.starfield-view canvas#starfield {
    display: block;
}

body.starfield-view .view-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .logo-large { width: 250px; }
    .logo-small { width: 150px; }
}

@media (max-width: 480px) {
    .logo-large { width: 200px; }
    .logo-small { width: 120px; }
}
