* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: #020202;
    color: #f5f5f5;
    min-height: 100vh;
}

.coming-soon {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.2rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(88, 28, 135, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(14, 116, 144, 0.12), transparent 50%),
        #020202;
}

.coming-soon::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
}

.coming-soon::after {
    content: "";
    position: absolute;
    inset: -50%;
    pointer-events: none;
    z-index: 5;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain-shift 0.45s steps(2) infinite;
    mix-blend-mode: overlay;
}

.glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.glow-left {
    width: 420px;
    height: 420px;
    background: #6d28d9;
    top: -140px;
    left: -100px;
    opacity: 0.28;
    animation: glow-drift-left 14s ease-in-out infinite alternate;
}

.glow-right {
    width: 380px;
    height: 380px;
    background: #0e7490;
    right: -120px;
    bottom: -140px;
    opacity: 0.22;
    animation: glow-drift-right 16s ease-in-out infinite alternate;
}

.atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.55;
}

.fog {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.14;
    mix-blend-mode: screen;
}

.fog-1 {
    width: 55vw;
    height: 35vh;
    left: 10%;
    top: 20%;
    background: #4c1d95;
    animation: fog-drift-1 22s ease-in-out infinite alternate;
}

.fog-2 {
    width: 45vw;
    height: 30vh;
    right: 5%;
    bottom: 15%;
    background: #155e75;
    animation: fog-drift-2 26s ease-in-out infinite alternate;
}

.fog-3 {
    width: 30vw;
    height: 30vw;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #312e81;
    opacity: 0.08;
    animation: fog-pulse 8s ease-in-out infinite;
}

.scanlines {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.35) 2px,
        rgba(0, 0, 0, 0.35) 4px
    );
    animation: scanline-drift 12s linear infinite;
}

.content {
    width: min(940px, 100%);
    padding: 2.5rem 1.6rem;
    text-align: center;
    position: relative;
    z-index: 3;
}

h1 {
    margin: 0;
    font-family: "Syne", "Inter", system-ui, sans-serif;
    font-size: clamp(2rem, 6vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    background: linear-gradient(
        105deg,
        #f8fafc 0%,
        #c4b5fd 28%,
        #67e8f9 52%,
        #e9d5ff 72%,
        #f8fafc 100%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: title-shimmer 9s linear infinite;
    text-shadow: 0 0 60px rgba(167, 139, 250, 0.25);
    filter: drop-shadow(0 0 24px rgba(124, 58, 237, 0.2));
}

.subtitle {
    margin: 0.8rem 0 1.8rem;
    color: #a8a8b3;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
    animation: subtitle-pulse 5s ease-in-out infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    animation: reveal-up 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-1 { animation-delay: 0.15s; }
.reveal-2 { animation-delay: 0.45s; }
.reveal-3 { animation-delay: 0.75s; }
.reveal-4 { animation-delay: 1.05s; }

.subscribe-block {
    margin-top: 0;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.subscribe-form input {
    width: min(360px, 100%);
    border: 1px solid rgba(167, 139, 250, 0.22);
    background: rgba(0, 0, 0, 0.45);
    color: #f3f4f6;
    border-radius: 10px;
    padding: 0.62rem 0.75rem;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.subscribe-form input::placeholder {
    color: #6b7280;
}

.subscribe-form input:focus {
    outline: none;
    border-color: rgba(167, 139, 250, 0.55);
    background: rgba(10, 5, 20, 0.65);
    box-shadow:
        0 0 0 1px rgba(167, 139, 250, 0.15),
        0 0 28px rgba(124, 58, 237, 0.22);
}

.subscribe-form button {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(167, 139, 250, 0.35);
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.45), rgba(21, 94, 117, 0.35));
    color: #fff;
    border-radius: 10px;
    padding: 0.62rem 1.15rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.subscribe-form button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.14) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    border-color: rgba(196, 181, 253, 0.6);
    box-shadow:
        0 0 24px rgba(124, 58, 237, 0.35),
        0 0 48px rgba(14, 116, 144, 0.15);
}

.subscribe-form button:hover::before {
    transform: translateX(120%);
}

.subscribe-success {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.45);
    transition: opacity 0.45s ease, transform 0.45s ease;
    animation: message-glow 3s ease-in-out infinite;
}

.subscribe-success.is-hiding {
    opacity: 0;
    transform: translateY(-6px);
}

.subscribe-block .subscribe-error {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    color: #fecaca;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.55);
}

.social-links {
    margin-top: 1.4rem;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.social-links a {
    color: #f5f5f5;
    text-decoration: none;
    border: 1px solid rgba(167, 139, 250, 0.2);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    animation: social-float 6s ease-in-out infinite;
}

.social-links a:nth-child(2) { animation-delay: -2s; }
.social-links a:nth-child(3) { animation-delay: -4s; }

.social-links a:hover {
    transform: translateY(-4px) scale(1.06);
    border-color: rgba(196, 181, 253, 0.55);
    background: rgba(76, 29, 149, 0.25);
    box-shadow: 0 0 22px rgba(124, 58, 237, 0.35);
    animation: none;
}

.social-links svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

@keyframes grain-shift {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-2%, 1%); }
    100% { transform: translate(1%, -2%); }
}

@keyframes glow-drift-left {
    0% { top: -140px; left: -100px; opacity: 0.22; }
    100% { top: -100px; left: -40px; opacity: 0.34; }
}

@keyframes glow-drift-right {
    0% { right: -120px; bottom: -140px; opacity: 0.18; }
    100% { right: -70px; bottom: -110px; opacity: 0.28; }
}

@keyframes fog-drift-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8vw, 4vh) scale(1.15); }
}

@keyframes fog-drift-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-6vw, -5vh) scale(1.1); }
}

@keyframes fog-pulse {
    0%, 100% { opacity: 0.06; transform: translate(-50%, -50%) scale(0.95); }
    50% { opacity: 0.12; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes scanline-drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

@keyframes title-shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 220% center; }
}

@keyframes subtitle-pulse {
    0%, 100% { opacity: 0.65; text-shadow: 0 0 12px rgba(167, 139, 250, 0); }
    50% { opacity: 1; text-shadow: 0 0 18px rgba(167, 139, 250, 0.25); }
}

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes message-glow {
    0%, 100% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
    50% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.2); }
}

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

@media (max-width: 640px) {
    .subscribe-form {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .particles {
        display: none;
    }
}
