/* HEAD BODY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    color: #ffffff;
    font-family: 'Smooch Sans', 'Anuphan', sans-serif;
    min-height: 100vh;
    position: relative;
    padding-top: 190px;    
    padding-bottom: 80px; 
}

body::before {
    content: '';
    position: fixed; 
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(26, 26, 26, 0.5), rgba(26, 26, 26, 0.65)), 
                      url('../public/images/galaxy-1.jpg'); 
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: blur(12px); 
    transform: scale(1.1); 
    pointer-events: none;
}

a.space-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.top-right-text {
    position: fixed; 
    top: 15px;
    right: 20px;
    color: #ff7700;
    font-family: 'Share Tech', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    z-index: 2000;
}

/* HEADER */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 25px 20px 15px 20px;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.95) 75%, rgba(0,0,0,0));
    z-index: 1000;
}

.brand-wrapper {
    display: flex;
    align-items: center; 
}

.main-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    padding-right: 15px; 
    animation: logo-orbit 20s infinite linear;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.brand-wrapper:hover .main-logo {
    animation-play-state: paused;
    filter: drop-shadow(0 0 15px #e65c00) brightness(1.2);
    transform: scale(1.08);
}

@keyframes logo-orbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-nav {
    font-family: 'Share Tech', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.main-nav a:hover, .main-nav a.active {
    color: #e65c00; 
}

.main-nav .divider {
    color: #ffffff;
    margin: 0 10px;
}

/* FOOTER */
.main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    background-color: rgba(26, 26, 26, 0.95);
    padding: 20px 15px;
    font-family: 'Share Tech', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    width: 100%;
    color: #ffffff;
    border-top: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.main-footer:hover {
    color: #ffffff; 
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 
                 0 0 15px rgba(230, 92, 0, 0.5), 
                 0 0 25px rgba(230, 92, 0, 0.2);
}