:root {
    --bg-color: #0b0c10;
    --text-main: #ffffff;
    --text-muted: #c5c6c7;
    --accent-1: #66fcf1;
    --accent-2: #45a29e;
    --accent-3: #1f2833;
    --glass-bg: rgba(31, 40, 51, 0.6);
    --glass-border: rgba(102, 252, 241, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 700px;
    padding: 2rem;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Loader */
.loader {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.circle {
    width: 12px;
    height: 12px;
    background-color: var(--accent-1);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
    box-shadow: 0 0 10px var(--accent-1);
}

.circle:nth-child(1) {
    animation-delay: -0.32s;
}

.circle:nth-child(2) {
    animation-delay: -0.16s;
    background-color: var(--accent-2);
    box-shadow: 0 0 10px var(--accent-2);
}

.circle:nth-child(3) {
    background-color: #fff;
    box-shadow: 0 0 10px #fff;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Typography - Glitch effect */
.glitch-wrapper {
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.glitch {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: var(--text-main);
    text-shadow: 0.1em 0 0 rgba(255, 0, 0, 0.75),
        -0.05em -0.1em 0 rgba(0, 255, 0, 0.75),
        0.05em 0.1em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 2.5s infinite;
    letter-spacing: 2px;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 4px;
    text-shadow: -4px 0 rgba(255, 0, 0, 0.75);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -4px;
    text-shadow: -4px 0 rgba(0, 255, 255, 0.75);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    animation: glitch-anim2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip-path: polygon(0 10%, 100% 10%, 100% 25%, 0 25%);
        transform: translate(-5px, 2px);
    }

    10% {
        clip-path: polygon(0 40%, 100% 40%, 100% 50%, 0 50%);
        transform: translate(5px, -2px);
    }

    20% {
        clip-path: polygon(0 80%, 100% 80%, 100% 90%, 0 90%);
        transform: translate(-5px, 2px);
    }

    30% {
        clip-path: polygon(0 5%, 100% 5%, 100% 15%, 0 15%);
        transform: translate(5px, -2px);
    }

    40% {
        clip-path: polygon(0 60%, 100% 60%, 100% 75%, 0 75%);
        transform: translate(-5px, 2px);
    }

    50% {
        clip-path: polygon(0 20%, 100% 20%, 100% 30%, 0 30%);
        transform: translate(5px, -2px);
    }

    60% {
        clip-path: polygon(0 90%, 100% 90%, 100% 100%, 0 100%);
        transform: translate(-5px, 2px);
    }

    70% {
        clip-path: polygon(0 30%, 100% 30%, 100% 45%, 0 45%);
        transform: translate(5px, -2px);
    }

    80% {
        clip-path: polygon(0 75%, 100% 75%, 100% 85%, 0 85%);
        transform: translate(-5px, 2px);
    }

    90% {
        clip-path: polygon(0 15%, 100% 15%, 100% 20%, 0 20%);
        transform: translate(5px, -2px);
    }

    100% {
        clip-path: polygon(0 50%, 100% 50%, 100% 65%, 0 65%);
        transform: translate(-5px, 2px);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip-path: polygon(0 70%, 100% 70%, 100% 85%, 0 85%);
        transform: translate(5px, -2px);
    }

    15% {
        clip-path: polygon(0 25%, 100% 25%, 100% 40%, 0 40%);
        transform: translate(-5px, 2px);
    }

    30% {
        clip-path: polygon(0 85%, 100% 85%, 100% 100%, 0 100%);
        transform: translate(5px, -2px);
    }

    45% {
        clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
        transform: translate(-5px, 2px);
    }

    60% {
        clip-path: polygon(0 50%, 100% 50%, 100% 60%, 0 60%);
        transform: translate(5px, -2px);
    }

    75% {
        clip-path: polygon(0 35%, 100% 35%, 100% 50%, 0 50%);
        transform: translate(-5px, 2px);
    }

    90% {
        clip-path: polygon(0 60%, 100% 60%, 100% 75%, 0 75%);
        transform: translate(5px, -2px);
    }

    100% {
        clip-path: polygon(0 15%, 100% 15%, 100% 35%, 0 35%);
        transform: translate(-5px, 2px);
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent-1);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 6px;
    text-shadow: 0 0 10px rgba(102, 252, 241, 0.4);
}

.description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
    border-radius: 10px;
    box-shadow: 0 0 15px var(--accent-1);
    animation: progress 2s infinite ease-in-out alternate;
}

@keyframes progress {
    0% {
        width: 10%;
        transform: translateX(0);
    }

    100% {
        width: 30%;
        transform: translateX(233%);
    }
}

/* Button */
.action-container {
    display: flex;
    justify-content: center;
}

.notify-btn {
    background: transparent;
    border: 1px solid var(--accent-1);
    color: var(--accent-1);
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.notify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-1);
    transition: all 0.4s ease;
    z-index: -1;
}

.notify-btn:hover::before {
    width: 100%;
}

.notify-btn:hover {
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.6);
    transform: translateY(-2px);
}

/* Background Blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    animation: float 10s infinite ease-in-out alternate;
    border-radius: 50%;
}

.blob-1 {
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--accent-2);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: #0000ff;
    animation-delay: -5s;
}

.blob-3 {
    top: 30%;
    left: 60%;
    width: 30vw;
    height: 30vw;
    background: var(--accent-1);
    opacity: 0.2;
    animation-duration: 15s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    100% {
        transform: translateY(-50px) scale(1.2) rotate(20deg);
    }
}

@media (max-width: 600px) {
    .glass-panel {
        padding: 2.5rem 1.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .description {
        font-size: 0.95rem;
    }
}