body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 30% 30%, #111, #0b0f0b 70%);
    font-family: Arial, sans-serif;
    color: white;
    overflow: hidden;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,255,120,0.15), transparent 70%);
    filter: blur(100px);
    animation: pulseGlow 6s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%,100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.card {
    position: relative;
    padding: 70px 90px;
    border-radius: 24px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 0 30px rgba(0,255,120,0.4),
        0 0 80px rgba(0,255,120,0.2);
    text-align: center;
    transition: 0.4s ease;
}

.card:hover {
    box-shadow:
        0 0 50px rgba(0,255,120,0.7),
        0 0 120px rgba(0,255,120,0.3);
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #00ff88;
}

.subtitle {
    color: #aaa;
    margin-bottom: 30px;
}

/* ========================= */
/* IP сервера */
/* ========================= */

.server-ip {
    margin-bottom: 40px;
    font-size: 20px;
    color: #00ff88;
    cursor: pointer;
    user-select: none;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        text-shadow 0.25s ease,
        color 0.25s ease;
}

.server-ip:hover {
    transform: translateY(-2px);
    text-shadow:
        0 0 8px rgba(0,255,120,0.7),
        0 0 18px rgba(0,255,120,0.35);
}

/* ========================= */
/* Кнопка */
/* ========================= */

button {
    padding: 16px 45px;
    font-size: 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #00c853, #00ff88);
    color: black;
    font-weight: bold;
    transition: 0.3s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,255,120,0.5);
}

/* ========================= */
/* Таймер */
/* ========================= */

.timer-container {
    margin-top: 30px;
}

.digit-group {
    font-size: 42px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.digit {
    min-width: 60px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.digit.flip {
    animation: flip 0.3s ease;
}

@keyframes flip {
    0% { transform: rotateX(90deg); opacity: 0; }
    100% { transform: rotateX(0deg); opacity: 1; }
}

.hidden {
    display: none;
}

/* ========================= */
/* Popup "Скопировано" */
/* ========================= */

.copy-toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px) scale(0.9);

    background: rgba(0,0,0,0.9);
    color: #00ff88;

    padding: 12px 26px;
    border-radius: 10px;
    font-weight: bold;

    opacity: 0;

    box-shadow:
        0 0 12px rgba(0,255,120,0.4),
        0 0 30px rgba(0,255,120,0.2);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}
