body {
    margin: 0;
    padding: 0;
    background-color: #09001d;
    color: #fff;
    font-family: 'Cinzel', serif;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    cursor: crosshair; 
}

#stars-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

#stars {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #8a2be2, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #00ffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #8a2be2, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.7;
    animation: twinkle 4s infinite linear;
}

#nebula {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.2) 0%, rgba(9, 0, 29, 0) 60%),
                radial-gradient(circle at 30% 70%, rgba(0, 255, 255, 0.15) 0%, rgba(9, 0, 29, 0) 50%);
    animation: moveNebula 20s infinite linear;
    opacity: 0.6;
}

@keyframes twinkle {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

@keyframes moveNebula {
    0% { transform: rotate(0deg) translate(0, 0); }
    50% { transform: rotate(180deg) translate(-50px, -20px); }
    100% { transform: rotate(360deg) translate(0, 0); }
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 10px #00ffff, 0 0 20px #8a2be2;
    pointer-events: none;
    z-index: 9999;
    animation: sparkleAnim 0.8s forwards ease-out;
}

@keyframes sparkleAnim {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.1) translate(0, 20px); }
}

.container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 20px;
    width: 100%;
    max-width: 500px;
}

.main-header {
    margin-bottom: 10px;
}

.neon-logo {
    width: 300px !important;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px #8a2be2) drop-shadow(0 0 20px #8a2be2);
}

.ball-wrapper {
    padding: 20px;
}

.magic-ball-outer {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.3), 
        0 0 60px rgba(138, 43, 226, 0.3),
        inset 0 0 60px rgba(0, 255, 255, 0.2);
    background: linear-gradient(145deg, #1a0033, #000000);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
}

.magic-ball {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, #333, #000 60%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset -20px -20px 50px rgba(0,0,0,0.8);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.window-bezel {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(45deg, #222, #444);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 0 15px #00ffff,
        inset 0 0 15px #8a2be2;
    border: 3px solid #00ffff;
}

.window {
    width: 130px;
    height: 130px;
    background: radial-gradient(circle at center, #1a0033, #000 80%);
    border-radius: 50%;
    border: 2px solid #111;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px #000;
}

.fog {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.9) 0%, rgba(0, 0, 0, 1) 80%);
    filter: blur(4px);
    opacity: 0;
    z-index: 10;
    transition: opacity 0.4s ease-in-out;
    animation: swirlFog 3s infinite linear;
    border-radius: 50%;
}

.fog.active {
    opacity: 1;
}

@keyframes swirlFog {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.3); }
    100% { transform: rotate(360deg) scale(1); }
}

.eight-logo-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-logo {
    width: 60px !important;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 0 8px #00ffff);
    animation: pulseLogo 3s infinite ease-in-out;
}

@keyframes pulseLogo {
    0%, 100% { opacity: 0.9; filter: drop-shadow(0 0 8px #00ffff); }
    50% { opacity: 1; filter: drop-shadow(0 0 15px #00ffff) brightness(1.2); }
}

.triangle {
    width: 0;
    height: 0;
    border-left: 55px solid transparent;
    border-right: 55px solid transparent;
    border-top: 90px solid #4b0082; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    filter: drop-shadow(0 0 15px #8a2be2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.answer-text {
    position: absolute;
    top: -85px;
    color: #00ffff; 
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    width: 80px;
    text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.neon-box {
    border: 2px solid #8a2be2;
    box-shadow: 0 0 15px #8a2be2, inset 0 0 10px rgba(138, 43, 226, 0.2);
    padding: 15px 25px;
    border-radius: 10px;
    background: rgba(10, 0, 20, 0.6);
    text-align: left;
    width: 90%;
    text-transform: uppercase;
}

.neon-box h2 {
    margin-top: 0;
    text-align: center;
    font-size: 18px;
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

.neon-box ol {
    padding-left: 20px;
    margin-bottom: 0;
}
.neon-box li {
    margin-bottom: 8px;
    font-size: 12px;
}

.neon-button {
    background: linear-gradient(45deg, #4b0082, #8a2be2);
    color: #00ffff;
    border: 2px solid #00ffff;
    padding: 15px 40px;
    font-size: 16px;
    font-family: 'Cinzel', serif;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 15px #8a2be2, 0 0 5px #00ffff;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.neon-button:hover {
    background: linear-gradient(45deg, #8a2be2, #b24bf3);
    box-shadow: 0 0 25px #8a2be2, 0 0 15px #00ffff;
    transform: scale(1.05);
}

.hidden { display: none !important; }

.shake {
    animation: shake 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-2px, -1px, 0); }
    20%, 80% { transform: translate3d(4px, 2px, 0); }
    30%, 50%, 70% { transform: translate3d(-6px, -3px, 0); }
    40%, 60% { transform: translate3d(6px, 3px, 0); }
}

.screenshot-export {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 600px;
    background-color: #09001d;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Cinzel', serif;
    text-align: center;
    z-index: -10;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, rgba(9, 0, 29, 0) 60%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.15) 0%, rgba(9, 0, 29, 0) 60%);
}

.screenshot-main-logo {
    width: 350px !important;
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 15px #8a2be2);
}

.screenshot-title {
    color: #00ffff;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.screenshot-big-answer {
    color: #fff;
    font-size: 46px;
    font-weight: bold;
    text-shadow: 0 0 15px #fff, 0 0 30px #00ffff;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.screenshot-subtitle {
    color: #00ffff;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.screenshot-ball-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 340px;
    height: 340px;
}

.screenshot-ball-bezel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid #00ffff;
    background: radial-gradient(circle at 30% 30%, #3a3a3a, #000000 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.5),
        inset 0 0 60px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.screenshot-triangle {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-top: 120px solid #4b0082; 
    position: relative;
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 0 20px #8a2be2);
    margin-bottom: 50px;
}

.screenshot-answer-text {
    position: absolute;
    top: -110px;
    color: #00ffff; 
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    width: 100px;
    text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff;
    font-weight: bold;
}

.screenshot-hat {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px; 
    width: 60px !important;
    height: auto;
    filter: drop-shadow(0 0 8px #00ffff);
    opacity: 0.9;
    z-index: 2;
}
