* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    direction: rtl;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.light-source {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
}

.light-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation: drift 15s ease-in-out infinite;
}

.light-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: drift 20s ease-in-out infinite reverse;
    animation-delay: 5s;
}

.light-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: drift 18s ease-in-out infinite;
    animation-delay: 10s;
}

@keyframes drift {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(40px, -40px);
    }
}

.container {
    position: relative;
    z-index: 10;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.15), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 48px rgba(99, 102, 241, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.main-card {
    padding: 48px 32px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.header-section {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.domain-name {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.domain-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.message-section {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.message {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-weight: 500;
    text-align: center;
}

.contact-section {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.contact-card {
    padding: 20px;
    text-align: center;
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.contact-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.contact-card::before {
    background: radial-gradient(circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139, 92, 246, 0.2), transparent 80%);
}

.contact-card:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.5);
}

.contact-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-value {
    font-size: 22px;
    color: #6366f1;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.countdown-section {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.progress-ring-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 5;
}

.progress-ring-fill {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 407.15;
    stroke-dashoffset: 407.15;
    animation: progressFill 15s linear forwards;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4));
}

@keyframes progressFill {
    from {
        stroke-dashoffset: 407.15;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.countdown-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.countdown-number {
    display: block;
    font-size: 72px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

.countdown-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.footer-text {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    opacity: 0;
}

.footer-text.active {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out 0.6s both, pulse 1.5s ease-in-out infinite;
}

#status-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .main-card {
        padding: 32px 24px;
    }

    .domain-name {
        font-size: 36px;
    }

    .message {
        font-size: 18px;
    }

    .contact-value {
        font-size: 18px;
    }

    .progress-ring-wrapper {
        width: 120px;
        height: 120px;
    }

    .countdown-number {
        font-size: 44px;
    }

    .card-content {
        gap: 24px;
    }
}

svg {
    display: block;
}

defs {
    display: none;
}
