:root {
    --neon-blue: #2EE6D6;
    --deep-black: #050505;
    --void-black: #000000;
    --glass-bg: rgba(46, 230, 214, 0.05);
    --font-header: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--void-black);
    color: var(--neon-blue);
    font-family: var(--font-body);
    height: 100vh;
    overflow: hidden;
    /* No scroll */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#cosmos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.interface-container {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards 0.5s;
}

/* Typography */
.god-title {
    font-family: var(--font-header);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.5rem;
    color: transparent;
    -webkit-text-stroke: 2px var(--neon-blue);
    text-transform: uppercase;
    position: relative;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(46, 230, 214, 0.5);
    animation: pulseGlow 4s infinite alternate;
}

.god-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--neon-blue);
    opacity: 0.8;
    filter: blur(15px);
    z-index: -1;
}

.scan-line {
    width: 0%;
    height: 2px;
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
    margin: 0 auto 3rem auto;
    animation: expandLine 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards 1s;
}

.motto {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    letter-spacing: 0.3rem;
    font-weight: 300;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5rem;
    text-shadow: 0 0 10px rgba(46, 230, 214, 0.3);
}

/* The Button */
.interactive-zone {
    perspective: 1000px;
}

.awaken-btn {
    position: relative;
    background: transparent;
    border: 2px solid var(--neon-blue);
    padding: 1.5rem 4rem;
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    color: var(--neon-blue);
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 20px rgba(46, 230, 214, 0.1), inset 0 0 20px rgba(46, 230, 214, 0.05);
}

.awaken-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 230, 214, 0.4), transparent);
    transition: 0.5s;
}

.awaken-btn:hover {
    background: rgba(46, 230, 214, 0.1);
    box-shadow: 0 0 50px rgba(46, 230, 214, 0.6), inset 0 0 30px rgba(46, 230, 214, 0.2);
    text-shadow: 0 0 10px white;
    transform: scale(1.05);
}

.awaken-btn:hover::before {
    left: 100%;
}

.awaken-btn:active {
    transform: scale(0.95);
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 20px rgba(46, 230, 214, 0.3);
        opacity: 0.9;
    }

    100% {
        text-shadow: 0 0 50px rgba(46, 230, 214, 0.8), 0 0 100px rgba(46, 230, 214, 0.4);
        opacity: 1;
    }
}

@keyframes expandLine {
    to {
        width: 60%;
    }
}

/* Portal Effect Classes */
#overlay-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s linear;
}

.fade-out-ui {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        filter: blur(10px);
    }
}

/* Final Message */
#final-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 50;
    width: 100%;
}

.hidden {
    display: none !important;
}

.access-granted {
    font-family: var(--font-header);
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 30px var(--neon-blue);
    letter-spacing: 1rem;
    animation: glitchedScale 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.sub-access {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    margin-top: 1rem;
}

@keyframes glitchedScale {
    0% {
        transform: translate(0)
    }

    20% {
        transform: translate(-2px, 2px)
    }

    40% {
        transform: translate(-2px, -2px)
    }

    60% {
        transform: translate(2px, 2px)
    }

    80% {
        transform: translate(2px, -2px)
    }

    100% {
        transform: translate(0)
    }
}

/* Wish Interface */
.wish-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards 1s;
}

.wish-prompt {
    color: rgba(46, 230, 214, 0.8);
    font-size: 1rem;
    letter-spacing: 0.2rem;
    margin-bottom: 0.5rem;
}

#wish-input {
    width: 100%;
    max-width: 500px;
    height: 120px;
    background: rgba(5, 5, 5, 0.8);
    border: 1px solid var(--neon-blue);
    padding: 1rem;
    color: white;
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
    resize: none;
    box-shadow: 0 0 15px rgba(46, 230, 214, 0.1);
    transition: all 0.3s ease;
}

#wish-input:focus {
    box-shadow: 0 0 25px rgba(46, 230, 214, 0.3);
    border-color: #fff;
}

.transmit-btn {
    background: var(--neon-blue);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    font-family: var(--font-header);
    font-weight: 900;
    letter-spacing: 0.1rem;
    cursor: pointer;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
    transition: all 0.3s ease;
}

.transmit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(46, 230, 214, 0.5);
    background: #fff;
}

/* Transmission Status */
#transmission-status,
#transmission-success {
    margin-top: 2rem;
    color: var(--neon-blue);
    font-family: var(--font-header);
    letter-spacing: 0.2rem;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(46, 230, 214, 0.3);
    border-top: 3px solid var(--neon-blue);
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.small-note {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}