:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --accent: #0ea5e9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(rgba(248, 250, 252, 0.85), rgba(248, 250, 252, 0.85)), url('background.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* Animated Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(80px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.blob-1 {
    width: 40vw;
    height: 40vw;
    background: var(--primary-light);
    top: -10%;
    right: -10%;
    animation: float 20s infinite alternate;
}

.blob-2 {
    width: 35vw;
    height: 35vw;
    background: var(--accent);
    bottom: -5%;
    left: -5%;
    animation: float 25s infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.1); }
}

/* Container */
.container {
    width: 90%;
    max-width: 900px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    margin-bottom: 3rem;
}

.profile-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-light), var(--primary));
    background-size: 300% 300%;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    animation: profileEntrance 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, profilePulse 4s infinite 1.5s, gradientSpin 6s ease infinite;
}

@keyframes profileEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(-50px) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(0.95) translateY(0) rotate(0);
    }
}

@keyframes profilePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
        transform: scale(0.95);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(37, 99, 235, 0);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
        transform: scale(0.95);
    }
}

@keyframes gradientSpin {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
    border: 4px solid var(--white);
}

.doctor-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.specialty {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Maintenance Content */
.maintenance-content {
    margin-bottom: 3rem;
}

.status-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}

.time-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.time-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 500;
}

.time-divider {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-weight: 500;
}

.info-item .icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.info-item a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.info-item a:hover {
    color: var(--primary);
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
        border-radius: 24px;
        width: 95%;
    }

    .doctor-name {
        font-size: 2rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .time-block {
        min-width: 65px;
    }

    .time-value {
        font-size: 2.2rem;
    }

    .time-divider {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }

    .time-label {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}
