.rd {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 1.5rem;
}

.rd-card {
    text-align: center;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #e8ddd6;
    border-radius: 14px;
    padding: 2.5rem 2rem 2rem;
    animation: rd-in 0.35s ease both;
}

@media (prefers-color-scheme: dark) {
    .rd-card {
        background: #241e1a;
        border-color: #3d322b;
    }
}

@keyframes rd-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rd-ring-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
}

.rd-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.rd-ring-track {
    fill: none;
    stroke: #f0e8e2;
    stroke-width: 6;
}

@media (prefers-color-scheme: dark) {
    .rd-ring-track {
        stroke: #3d322b;
    }
}

.rd-ring-fill {
    fill: none;
    stroke: #c6694e;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.4s ease;
}

.rd-countdown {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #c6694e;
    line-height: 1;
}

.rd-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
}

.rd-sub {
    font-size: 0.9rem;
    color: #8c7a70;
    margin: 0 0 1.5rem;
}

.rd-url-box {
    background: #faf0ec;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

@media (prefers-color-scheme: dark) {
    .rd-url-box {
        background: #33211a;
    }
}

.rd-url-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a0928a;
    margin-bottom: 0.3rem;
}

.rd-url-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #c6694e;
    word-break: break-all;
    line-height: 1.4;
}

@media (prefers-color-scheme: dark) {
    .rd-url-value {
        color: #d4856a;
    }
}

.rd-btn {
    display: inline-block;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: #c6694e;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}

.rd-btn:hover {
    background: #b35a3f;
}

.rd-btn:active {
    transform: scale(0.97);
}

.rd-brand {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c6694e;
    margin: 1.75rem 0 0;
}

@media (max-width: 480px) {
    .rd-card {
        padding: 2rem 1.25rem 1.5rem;
    }

    .rd-ring-wrap {
        width: 80px;
        height: 80px;
    }

    .rd-countdown {
        font-size: 1.6rem;
    }
}
