:root {
    --bg-dark: #0f172a;
    --sys-cyan: #06b6d4;
    --sys-green: #10b981;
    --sys-purple: #8b5cf6;

    --font-ui: 'Kanit', sans-serif;
    --font-sys: 'Orbitron', sans-serif;
}

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

body {
    font-family: var(--font-ui);
    background-color: var(--bg-dark);
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Base Start Container with cinematic background */
.start-container {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('space_station_bg.png') no-repeat center center/cover;
}

/* Dark overlay to make text pop */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

/* Load Animation */
.fade-in-load {
    animation: fadeIn 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Centered Content */
.start-menu-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 40px;
    text-align: center;
}

/* Titles */
.title-group {
    margin-bottom: 40px;
}

.sub-title {
    font-family: var(--font-sys);
    font-size: 1.2rem;
    color: var(--sys-cyan);
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.main-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.main-title .highlight {
    background: linear-gradient(90deg, #38bdf8, #818cf8, #c084fc);
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.6));
}

/* Narrative / Story Box */
.story-box {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--sys-purple);
    border-bottom: 2px solid var(--sys-purple);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.story-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.story-box p:last-child {
    margin-bottom: 0;
}

.story-box strong {
    color: #f8fafc;
    font-weight: 700;
}

/* Call to Action Button */
.btn-start {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 50px;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-ui);
    color: #fff;
    background: linear-gradient(135deg, #0e7490, #06b6d4);
    border: 2px solid #67e8f9;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(6, 182, 212, 0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Pulsating Animation for Button */
.btn-start::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    animation: rotateGlow 4s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-start:hover {
    transform: scale(1.08) translateY(-5px);
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5), 0 0 50px rgba(34, 211, 238, 0.8);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.btn-start:active {
    transform: scale(0.95);
}

/* Footer */
.start-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.start-footer p {
    font-size: 0.85rem;
    color: #64748b;
    font-family: var(--font-sys);
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}