* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Sky */
.sky {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse at bottom, #002030 0%, #000000 100%);
    z-index: 0;
}

/* Stars */
.stars {
    position: absolute;
    width: 100vw;
    height: 100vh;
}

.star {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Moon */
.moon {
    --moon-size: 10rem;
    --animation-duration: 100s;
    --animation-delay: -50s;
    position: absolute;
    width: var(--moon-size);
    height: var(--moon-size);
    top: 10%;
    right: 10%; 
    border-radius: 50%;
    box-shadow: 0 0 calc(var(--moon-size) * 0.25) rgba(255, 255, 255, 0.2);
    filter: blur(0.0rem);
    rotate: 45deg;
    overflow: hidden;
    animation: wobble var(--animation-duration) ease-in-out var(--animation-delay) infinite;
}

.moon::before {
    content: "";
    position: absolute;
    width: var(--moon-size);
    height: var(--moon-size);
    box-sizing: border-box;
    background-color: #101010;
    border-radius: 50%;
    filter: blur(0.1rem);
    opacity: 0.8;
    animation: rotate var(--animation-duration) linear var(--animation-delay) infinite;
}

.moon::after {
    content: "";
    position: absolute;
    width: var(--moon-size);
    height: var(--moon-size);
    box-shadow: inset 0px 0px calc(var(--moon-size) * 0.5) rgba(0, 0, 0, 1), 
                inset 0px 0px calc(var(--moon-size) * 0.2) rgba(0, 0, 0, 1), 
                inset 0px 0px calc(var(--moon-size) * 0.05) rgba(0, 0, 0, 1);
    border-radius: 50%;
    background-image: url('images/fullmoon.webp');
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    mix-blend-mode: multiply;
    rotate: -45deg;
    animation: brightness var(--animation-duration) ease-in-out var(--animation-delay) infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotateZ(-9deg); }    
    50% { transform: rotateZ(9deg); }
}

@keyframes brightness {
    0%, 100% { filter: brightness(1); }    
    50% { filter: brightness(2.25); }
}

@keyframes rotate {
    0% { 
        border-right: calc(var(--moon-size) * 0) solid #fdfdfd; 
        border-left: calc(var(--moon-size) / 2) solid #101010; 
        background-color: #101010;
    }
    24.9999% {
        background-color: #101010;
    }
    25% {
        border-right: calc(var(--moon-size) / 2) solid #fdfdfd;
        border-left: calc(var(--moon-size) / 2) solid #101010;
        background-color: #fdfdfd;
    }
    49.9999% {
        border-right: calc(var(--moon-size) * 0) solid #fdfdfd;
        border-left: calc(var(--moon-size) * 0) solid #101010;
    }
    50% {
        border-right: calc(var(--moon-size) * 0) solid #101010;
        border-left: calc(var(--moon-size) * 0) solid #fdfdfd;
    }
    74.9999% {
        background-color: #fdfdfd;
    }
    75% {
        border-right: calc(var(--moon-size) / 2) solid #101010;
        border-left: calc(var(--moon-size) / 2) solid #fdfdfd;
        background-color: #101010;
    }
    100% {
        border-right: calc(var(--moon-size) / 2) solid #101010;
        border-left: calc(var(--moon-size) * 0) solid #fdfdfd;
        background-color: #101010;
    }
}

/* Meteors */
.meteors {
    --meteor-size: 4px;
    --meteor-tail: 100px;
    --meteor-angle: 300deg;
    --meteor-color: #00ff00;
    position: absolute;
    width: 100vw;
    height: 100vh;
}

.meteor {
    position: absolute;
    width: var(--meteor-size);
    height: var(--meteor-size);
    background: var(--meteor-color);
    border-radius: 50%;
    box-shadow: 0 0 0 calc(var(--meteor-size) * 1) rgba(255, 255, 255, 0.3),
                0 0 0 calc(var(--meteor-size) * 2) rgba(255, 255, 255, 0.2),
                0 0 calc(var(--meteor-size) * 5) rgba(255, 255, 255, 0.1);
    opacity: 0.5;
    animation: shooting 1s linear;
}

.meteor::before {
    content: '';
    position: absolute;
    top: 50%;
    width: var(--meteor-tail);
    height: 1px;
    background: linear-gradient(90deg, var(--meteor-color), transparent);
    transform: translateY(-50%);
}

@keyframes shooting {
    0% { opacity: 1; transform: rotate(var(--meteor-angle)); }
    70% { opacity: 1; }
    100% { opacity: 0; transform: rotate(var(--meteor-angle)) translateX(-100vh); }
}

/* Floating particles */
.particles {
    position: absolute;
    width: 100vw;
    height: 100vh;
}
.particle {
    position: absolute;
    background: #336699;
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.1; }
    50% { transform: translateY(100px) translateX(50px); opacity: 0.6; }
}

/* Clouds */
.clouds {
    position: absolute;
    width: 100vw;
    height: 100vh;
}

.cloud {
    position: absolute;
    opacity: 0.85;
    filter: drop-shadow(0 0 10px #336699);
    animation: drift linear infinite;
}

@keyframes drift {
    0% { transform: translateX(calc(-100vw - 0px)); }
    100% { transform: translateX(calc(100vw + 0px)); }
}

/* Content */
.container {
    text-align: center;
    z-index: 10;
    padding: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #1976d2;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(25, 118, 210, 0.3), 
                inset 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tagline {
    font-size: 1.2em;
    color: #42a5f5;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: lowercase;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.site-title {
    font-size: 4em;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 20px #1976d2, 0 0 40px #1976d2;
    margin: 20px 0;
    letter-spacing: 5px;
}

.subtitle {
    font-size: 2em;
    color: #90caf9;
    margin: 30px 0;
    font-style: italic;
}

.footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: #64b5f6;
    opacity: 0.6;
}

.footer a {
    color: #42a5f5;
    text-decoration: none;
    border-bottom: 1px dotted #42a5f5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer a:hover {
    color: #90caf9;
    border-bottom-color: #90caf9;
    text-shadow: 0 0 10px #90caf9;
}

/* Email popup */
.email-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.email-popup.active {
    display: flex;
}

.email-form-container {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d3a 100%);
    border: 2px solid #1976d2;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 60px rgba(25, 118, 210, 0.5);
    position: relative;
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #64b5f6;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.close-popup:hover {
    color: #90caf9;
    transform: rotate(90deg);
}

.email-form-container h3 {
    color: #ffffff;
    font-size: 1.8em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #1976d2;
}

.email-form-container p {
    color: #64b5f6;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #42a5f5;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #1976d2;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #42a5f5;
    box-shadow: 0 0 15px rgba(66, 165, 245, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #1976d2;
    border: 2px solid #42a5f5;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn:hover {
    background: #42a5f5;
    box-shadow: 0 0 20px rgba(66, 165, 245, 0.5);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.useless-badge {
    display: inline-block;
    padding: 10px 20px;
    background: #000000;
    border: 2px solid #1976d2;
    border-radius: 25px;
    margin: 20px 0;
    font-size: 0.9em;
    color: #42a5f5;
    box-shadow: 0 0 20px rgba(25, 118, 210, 0.4);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(25, 118, 210, 0.4); }
    to { box-shadow: 0 0 30px rgba(25, 118, 210, 0.8); }
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat {
    background: #000000;
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid #1976d2;
}

.stat-number {
    font-size: 2em;
    color: #ffffff;
    font-weight: bold;
}

.stat-label {
    font-size: 0.8em;
    color: #64b5f6;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2.5em;
    }
    .subtitle {
        font-size: 1.5em;
    }
    .container {
        padding: 30px 20px;
    }
}
