/* =========================================================
   UPDATE COMING SOON PAGE
   Temple palette: maroon, gold and warm cream
========================================================= */

:root {
    --update-maroon: #8f0b16;
    --update-maroon-dark: #4e050b;
    --update-gold: #f4c52f;
    --update-cream: #fff8e9;
    --update-text: #75584e;
}

.update-page,
.update-page * {
    box-sizing: border-box;
}

.update-page {
    width: 100%;
    min-height: 62vh;
    display: grid;
    place-items: center;
    padding: clamp(34px, 6vw, 78px) 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(244, 197, 47, .15), transparent 25%),
        radial-gradient(circle at 88% 82%, rgba(143, 11, 22, .08), transparent 28%),
        #fffaf0;
    font-family: "Noto Sans Tamil", sans-serif;
}

.update-card {
    position: relative;
    isolation: isolate;
    width: min(100%, 900px);
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    padding: clamp(32px, 6vw, 68px) clamp(20px, 6vw, 72px);
    border: 1px solid rgba(190, 142, 34, .38);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 70px rgba(87, 36, 17, .10);
}

.update-card::before,
.update-card::after {
    content: "✦";
    position: absolute;
    z-index: -1;
    color: rgba(205, 155, 25, .13);
    font-size: clamp(90px, 17vw, 190px);
    line-height: 1;
    pointer-events: none;
}

.update-card::before {
    top: -25px;
    left: -12px;
}

.update-card::after {
    right: -10px;
    bottom: -48px;
}

.update-symbol {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin: 0 auto 24px;
    border: 1px solid rgba(180, 123, 11, .25);
    border-radius: 18px;
    color: var(--update-maroon);
    background: linear-gradient(145deg, #ffe989, var(--update-gold));
    box-shadow: 0 10px 28px rgba(180, 123, 11, .18);
    font-size: 48px;
}

.update-eyebrow {
    margin: 0 0 14px;
    color: #b37b12;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.8;
}

.update-card h1 {
    max-width: 720px;
    margin: 0 auto;
    color: var(--update-maroon);
    font-family: "Noto Sans Tamil", sans-serif;
    font-size: clamp(25px, 4vw, 43px);
    font-weight: 900;
    line-height: 1.6;
    text-wrap: balance;
}

.update-english {
    margin: 16px 0 0;
    color: #b98417;
    font: 800 13px/1.6 Arial, sans-serif;
    letter-spacing: .2em;
}

.update-description {
    max-width: 620px;
    margin: 22px auto 0;
    color: var(--update-text);
    font-family: "Noto Sans Tamil", sans-serif;
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 2;
}

.update-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 10px 16px;
    border: 1px solid rgba(180, 123, 11, .25);
    border-radius: 999px;
    color: #8a6519;
    background: #fff7d9;
    font-size: 13px;
    font-weight: 700;
}

.status-dot {
    display: inline-block;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d5a51d;
    box-shadow: 0 0 0 4px rgba(213, 165, 29, .15);
    animation: update-pulse 1.8s ease-in-out infinite;
}

.update-home-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: min(100%, 390px);
    min-height: 60px;
    margin: 32px auto 0;
    padding: 8px 9px 8px 18px;
    border: 1px solid var(--update-gold);
    border-radius: 7px;
    color: #fff;
    background: var(--update-maroon);
    text-align: right;
    text-decoration: none;
    font-family: "Noto Sans Tamil", sans-serif;
    font-size: 13px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.update-home-button .home-icon {
    color: var(--update-gold);
    font-size: 24px;
    line-height: 1;
}

.update-home-button .home-label {
    flex: 1;
}

.update-home-button .button-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 5px;
    color: var(--update-maroon);
    background: var(--update-gold);
    font: 700 20px/1 Arial, sans-serif;
}

.update-home-button:hover {
    background: var(--update-maroon-dark);
    box-shadow: 0 10px 25px rgba(95, 4, 12, .17);
    transform: translateY(-2px);
}

.update-home-button:focus-visible {
    outline: 3px solid #d49e16;
    outline-offset: 4px;
}

@keyframes update-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(.82); }
}

@media (max-width: 600px) {
    .update-page {
        min-height: 50vh;
        padding: 28px 13px 38px;
    }

    .update-card {
        padding: 32px 19px 28px;
        border-radius: 16px;
    }

    .update-symbol {
        width: 68px;
        height: 68px;
        margin-bottom: 19px;
        border-radius: 15px;
        font-size: 40px;
    }

    .update-eyebrow {
        font-size: 9px;
        letter-spacing: .11em;
    }

    .update-card h1 {
        font-size: clamp(23px, 6.2vw, 32px);
        line-height: 1.7;
    }

    .update-english {
        font-size: 11px;
        letter-spacing: .15em;
    }

    .update-description {
        margin-top: 17px;
        font-size: 13px;
        line-height: 1.9;
    }

    .update-status {
        margin-top: 20px;
        padding: 9px 13px;
        font-size: 12px;
    }

    .update-home-button {
        min-height: 54px;
        margin-top: 25px;
        padding-left: 12px;
        gap: 9px;
        font-size: 11px;
    }

    .update-home-button .button-arrow {
        flex-basis: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .status-dot { animation: none; }
    .update-home-button { transition: none; }
}
