/* Star Wars Font Import */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: #000000;
    color: #FFE81F;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* Starfield Canvas */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 40px;
    pointer-events: none;
}

/* Star Wars Text Styling */
.star-wars-text {
    text-align: center;
    max-width: 1200px;
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFE81F;
    text-shadow:
        0 0 10px rgba(255, 232, 31, 0.8),
        0 0 20px rgba(255, 232, 31, 0.6),
        0 0 30px rgba(255, 232, 31, 0.4),
        0 0 40px rgba(255, 232, 31, 0.2);
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(255, 232, 31, 0.8),
            0 0 20px rgba(255, 232, 31, 0.6),
            0 0 30px rgba(255, 232, 31, 0.4),
            0 0 40px rgba(255, 232, 31, 0.2);
    }
    50% {
        text-shadow:
            0 0 15px rgba(255, 232, 31, 1),
            0 0 25px rgba(255, 232, 31, 0.8),
            0 0 35px rgba(255, 232, 31, 0.6),
            0 0 45px rgba(255, 232, 31, 0.4);
    }
}

.holocron-description {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.8;
    color: #00D4FF;
    text-shadow:
        0 0 5px rgba(0, 212, 255, 0.6),
        0 0 10px rgba(0, 212, 255, 0.4);
    letter-spacing: 0.05em;
}

/* Status Display - Centered at Bottom */
.status-display {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: 5px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 15px rgba(0, 212, 255, 0.3),
        inset 0 0 10px rgba(0, 212, 255, 0.05);
}

.status-label {
    color: #00D4FF;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.status-text {
    color: #00ff00;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    transition: all 0.3s ease;
}

body.hyperspace .status-text {
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
    animation: statusBlink 0.5s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Hyperspace Button - Bottom Right, More Discreet */
.hyperspace-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 10px 18px;
    background: rgba(20, 20, 20, 0.6);
    color: rgba(255, 232, 31, 0.7);
    border: 1px solid rgba(255, 232, 31, 0.3);
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow:
        0 0 10px rgba(255, 232, 31, 0.15),
        inset 0 0 10px rgba(255, 232, 31, 0.03);
}

.hyperspace-button:hover {
    background: rgba(35, 35, 20, 0.8);
    border-color: rgba(255, 232, 31, 0.6);
    color: rgba(255, 232, 31, 1);
    box-shadow:
        0 0 20px rgba(255, 232, 31, 0.3),
        inset 0 0 15px rgba(255, 232, 31, 0.08);
    transform: scale(1.05);
}

.hyperspace-button:active {
    transform: scale(0.98);
}

body.hyperspace .hyperspace-button {
    border-color: rgba(255, 68, 68, 0.5);
    color: #ff4444;
    background: rgba(35, 20, 20, 0.7);
    box-shadow:
        0 0 15px rgba(255, 68, 68, 0.3),
        inset 0 0 15px rgba(255, 68, 68, 0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.8rem;
    }

    .holocron-description {
        font-size: 1.1rem;
    }

    .hyperspace-button {
        font-size: 0.7rem;
        padding: 8px 14px;
        bottom: 90px;
        right: 20px;
    }

    .status-display {
        font-size: 0.75rem;
        padding: 8px 16px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 20px;
        padding-top: 10vh;
    }

    .main-title {
        font-size: 1.4rem;
    }

    .holocron-description {
        font-size: 1rem;
    }

    .hyperspace-button {
        font-size: 0.65rem;
        padding: 7px 12px;
        letter-spacing: 0.1em;
        bottom: 80px;
        right: 15px;
    }

    .status-display {
        font-size: 0.7rem;
        padding: 6px 12px;
        bottom: 15px;
    }
}
