:root {
    --transition-speed: 2s;
}

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

body {
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    color: #2d3436;
    /* Default Dark Text */
    background: #f5f7fa;
    transition: background 1.5s ease, color 0.5s ease;
    padding: 20px 0;
}

body.is-dark {
    color: white;
}

/* Background Layers for Smooth Fading */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-speed) ease-in-out;
}

.bg-layer.active {
    opacity: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 0;
}

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    /* Tighter for mobile */
    padding: 40px 20px;
    width: 100%;
    max-width: 500px;
}

@media (min-width: 768px) {
    .content {
        gap: 50px;
    }
}

.logo-container {
    width: 100%;
    margin-bottom: 20px;
}

.logo-container img {
    max-width: 240px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    animation: float 4s ease-in-out infinite;
    transition: filter 0.5s ease;
}

/* Inversion for dark themes in landing page */
.is-dark .logo-container img {
    filter: invert(1) brightness(2) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.teaser-container {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prompt-teaser {
    font-size: 2.2rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.is-dark .prompt-teaser {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.prompt-teaser.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-container {
    margin-top: 20px;
}

.launch-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    color: inherit;
    /* Follows body color */
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid currentColor;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.is-dark .launch-btn {
    background: rgba(255, 255, 255, 0.1);
}

.launch-btn:hover {
    background: white;
    color: black;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.status-badge {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    opacity: 0.9;
    white-space: nowrap;
    transition: color 0.5s ease;
}

.is-dark .status-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Gradients for the themes */
.style-default {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.style-dark {
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
}

.style-ocean {
    background: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);
}

.style-forest {
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
}

.style-sunset {
    background: linear-gradient(to right, #fa709a 0%, #fee140 100%);
}

.style-midnight {
    background: linear-gradient(to top, #209cff 0%, #68e0cf 100%);
}

.style-candy {
    background: linear-gradient(to top, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
}

.style-royal {
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
}

.style-space {
    background: radial-gradient(circle at center, #2b1055, #7597de);
}

.style-vampire {
    background: linear-gradient(to bottom, #000000, #434343);
}