*,
*:after,
*:before {
    box-sizing: border-box;
}

:root {
    --x: 0;
    --y: 0;
    --xp: 0;
    --yp: 0;
    --hue: calc(260 + (var(--xp) * 100));
    --bg: hsl(0, 0%, 10%);
    --size: 80px;
    --glow: radial-gradient(50% 50% at center,
            hsl(var(--hue) 80% 85%),
            hsl(var(--hue) 80% 70%),
            transparent) calc((var(--x) * 1px) - (var(--size) * 0.5)) calc((var(--y) * 1px) - (var(--size) * 0.5)) / var(--size) var(--size) no-repeat fixed;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 40px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

.container {
    max-width: 600px;
    width: 100%;
    background: var(--bg);
    border: 4px solid transparent;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 
        0 1px hsl(0 0% 100% / 0.15) inset,
        0 20px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        var(--glow),
        linear-gradient(black, black) border-box;
}

.container::after {
    content: "";
    position: absolute;
    inset: -4px;
    filter: blur(20px);
    border: 4px solid transparent;
    background: var(--glow);
    border-radius: 20px;
    z-index: -1;
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--bg);
    border: 4px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: white;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        var(--glow),
        linear-gradient(black, black) border-box;
    transition: background-size 0.24s;
    touch-action: none;
    z-index: 1;
}

.logo span {
    background: var(--glow), white;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
    position: relative;
}

.logo:active {
    --size: 200px;
}

.logo::after {
    content: "";
    position: absolute;
    inset: -8px;
    filter: blur(35px);
    border: 4px solid transparent;
    background: var(--glow);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.9;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo:hover::after {
    filter: blur(45px);
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--glow), white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.subtitle {
    font-size: 20px;
    color: #b8b8d0;
    margin-bottom: 30px;
    font-weight: 500;
}

.description {
    font-size: 16px;
    color: #9a9ab0;
    line-height: 1.6;
    margin-bottom: 40px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--bg);
    padding: 20px;
    border-radius: 26px;
    min-width: 100px;
    border: 4px solid transparent;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        var(--glow),
        linear-gradient(black, black) border-box;
}

.countdown-item::after {
    content: "";
    position: absolute;
    inset: -4px;
    filter: blur(15px);
    border: 4px solid transparent;
    background: var(--glow);
    border-radius: 12px;
    z-index: -1;
    opacity: 1;
    transition: opacity 0.3s;
}

.countdown-item:hover::after {
    opacity: 1;
    filter: blur(20px);
}

.countdown-number {
    font-size: 36px;
    font-weight: 700;
    background: var(--glow), white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 14px;
    color: #9a9ab0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.notify-input {
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    border: 4px solid transparent;
    border-radius: 26px;
    font-size: 16px;
    background: var(--bg);
    color: #e0e0e0;
    transition: all 0.3s;
    box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
    position: relative;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        var(--glow),
        linear-gradient(black, black) border-box;
}

.notify-input::placeholder {
    color: #666;
}

.notify-input:focus {
    outline: none;
}

.notify-btn {
    padding: 15px 40px;
    border-radius: 26px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.1ch;
    border: 4px solid transparent;
    box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
    cursor: pointer;
    background: var(--bg);
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        var(--glow),
        linear-gradient(black, black) border-box;
    transition: background-size 0.24s, transform 0.3s;
    touch-action: none;
    position: relative;
    font-size: 14px;
    white-space: nowrap;
}

.notify-btn span {
    background: var(--glow), white;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    height: 100%;
    width: 100%;
    z-index: 2;
    position: relative;
    inset: 0;
}

.notify-btn:active {
    --size: 200px;
}

.notify-btn::after {
    content: "";
    position: absolute;
    inset: -4px;
    filter: blur(20px);
    border: 4px solid transparent;
    background: var(--glow);
    border-radius: 8px;
    z-index: -1;
    opacity: 1;
}

.notify-btn:hover {
    transform: translateY(-2px);
}

.notify-btn:hover::after {
    filter: blur(25px);
}

.notify-btn:active {
    transform: translateY(0);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s;
    border: 4px solid transparent;
    position: relative;
    box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        var(--glow),
        linear-gradient(black, black) border-box;
}

.social-link svg {
    fill: white;
    filter: drop-shadow(0 0 10px currentColor);
    position: relative;
    z-index: 2;
}

.social-link::after {
    content: "";
    position: absolute;
    inset: -4px;
    filter: blur(15px);
    border: 4px solid transparent;
    background: var(--glow);
    border-radius: 50%;
    z-index: -1;
    opacity: 1;
    transition: opacity 0.3s;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link:hover::after {
    opacity: 1;
    filter: blur(20px);
}

.success-message {
    background: var(--bg);
    color: white;
    padding: 15px;
    border-radius: 25px;
    margin-top: 20px;
    display: none;
    animation: slideDown 0.3s ease-out;
    border: 4px solid transparent;
    box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
    position: relative;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        var(--glow),
        linear-gradient(black, black) border-box;
}

.success-message::after {
    content: "";
    position: absolute;
    inset: -4px;
    filter: blur(20px);
    border: 4px solid transparent;
    background: var(--glow);
    border-radius: 8px;
    z-index: -1;
    opacity: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message.show {
    display: block;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    background: radial-gradient(circle, hsl(var(--hue) 80% 70% / 0.2), transparent);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    filter: blur(60px);
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 70%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(0) rotate(180deg);
    }
    75% {
        transform: translateY(20px) rotate(270deg);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 40px 30px;
    }

    h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 18px;
    }

    .countdown {
        gap: 15px;
    }

    .countdown-item {
        min-width: 80px;
        padding: 15px;
    }

    .countdown-number {
        font-size: 28px;
    }

    .notify-form {
        flex-direction: column;
    }

    .notify-input {
        min-width: 100%;
    }

    .notify-btn {
        width: 100%;
    }
}
