@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800&display=swap');

:root {
    --primary: #0f172a;
    /* Professional Deep Space Blue */
    --primary-main: #1d4ed8;
    /* Trustworthy Royal Blue */
    --accent: #f59e0b;
    /* Refined Gold/Amber */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.4);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    background-image:
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(212, 175, 55, 0.05) 0px, transparent 50%);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    z-index: 10;
}

.redirect-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-container {
    width: 250px;
    height: 60px;
    background: #ffffff;
    border-radius: 28px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.04),
        0 4px 6px -4px rgba(0, 0, 0, 0.02); */
    border: 1px solid #f1f5f9;
}

.bank-logo {
    max-width: 240px;
    max-height: 240px;
    display: block;
    object-fit: contain;
}

h1 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.update-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 78, 216, 0.08);
    color: var(--primary-main);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.message {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.domain-transition {
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.domain-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.domain-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.domain-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.domain-old .domain-name {
    color: var(--text-muted);
    text-decoration: line-through;
}

.domain-new .domain-name {
    color: var(--primary-main);
    font-weight: 700;
}

.arrow {
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-main);
}

.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.progress-ring {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-ring svg {
    transform: rotate(-90deg);
}

.progress-ring circle {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
}

.ring-bg {
    stroke: #f1f5f9;
}

.ring-fill {
    stroke: var(--primary-main);
    stroke-dasharray: 175.9;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

#sec {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.manual-link {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.manual-link a {
    color: var(--primary-main);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.manual-link a:hover {
    opacity: 0.8;
}

/* Background elements */
.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(212, 175, 55, 0.1));
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
}

.blob-1 {
    top: -100px;
    left: -100px;
}

.blob-2 {
    bottom: -100px;
    right: -100px;
}