/* ==========================================================================
   Teachers' Day 2026 Celebration Theme Styles — Astha Animation
   ========================================================================== */

/* 1. Animated Celebratory Mascot Walking on Top Left of Navbar */
.nav-walking-mascot {
    position: absolute;
    top: -26px;
    z-index: 30;
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
    animation: mascotFullRound 24s infinite linear;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-walking-mascot:hover {
    transform: scale(1.3) translateY(-4px) !important;
    animation-play-state: paused;
}

.mascot-bubble {
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #fde68a;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
    border: 1px solid #f59e0b;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0.95;
    pointer-events: none;
    line-height: 1.2;
}

.mascot-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 3px;
    border-style: solid;
    border-color: #0f172a transparent transparent transparent;
}

.mascot-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: mascotBob 0.4s infinite alternate ease-in-out;
}

@keyframes mascotBob {
    0% { transform: translateY(0) rotate(-4deg); }
    100% { transform: translateY(-4px) rotate(4deg); }
}

@keyframes mascotFullRound {
    0% {
        left: 20px;
        transform: scaleX(1);
    }
    48% {
        left: calc(100% - 55px);
        transform: scaleX(1);
    }
    50% {
        left: calc(100% - 55px);
        transform: scaleX(-1);
    }
    98% {
        left: 20px;
        transform: scaleX(-1);
    }
    100% {
        left: 20px;
        transform: scaleX(1);
    }
}

@media (max-width: 639px) {
    .nav-walking-mascot {
        top: -22px;
        animation: mascotFullRound 16s infinite linear;
    }
    @keyframes mascotFullRound {
        0% {
            left: 10px;
            transform: scaleX(1);
        }
        48% {
            left: calc(100% - 45px);
            transform: scaleX(1);
        }
        50% {
            left: calc(100% - 45px);
            transform: scaleX(-1);
        }
        98% {
            left: 10px;
            transform: scaleX(-1);
        }
        100% {
            left: 10px;
            transform: scaleX(1);
        }
    }
}




#teachersDayBanner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: 40px;
    background: linear-gradient(90deg, #92400e 0%, #d97706 25%, #f59e0b 50%, #d97706 75%, #92400e 100%) !important;
    color: #ffffff !important;
    border-bottom: 1.5px solid rgba(254, 240, 138, 0.6) !important;
    box-shadow: 0 4px 20px rgba(180, 83, 9, 0.4) !important;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

#teachersDayBanner .banner-container {
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

#teachersDayBanner .badge-pill {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    white-space: nowrap;
}

#teachersDayBanner .btn-tribute {
    background: #ffffff;
    color: #92400e;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.15s, background-color 0.15s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#teachersDayBanner .btn-tribute:hover {
    background: #fffbeb;
    transform: scale(1.04);
}

#teachersDayBanner .btn-wa {
    background: #25D366;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 9999px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.15s, background-color 0.15s;
    white-space: nowrap;
}

#teachersDayBanner .btn-wa:hover {
    background: #20ba5a;
    transform: scale(1.04);
}

#teachersDayBanner .btn-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 4px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#teachersDayBanner .btn-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 639px) {
    #teachersDayBanner {
        height: 40px !important;
        padding: 0 8px !important;
    }
    #teachersDayBanner .banner-container {
        gap: 6px !important;
    }
    #teachersDayBanner .badge-pill {
        display: none !important;
    }
    #teachersDayBanner .btn-wa {
        display: none !important;
    }
    #teachersDayBanner .btn-tribute {
        padding: 4px 9px !important;
        font-size: 11px !important;
        gap: 3px !important;
    }
    #teachersDayBanner .btn-close {
        padding: 2px !important;
    }
    #teachersDayBanner .banner-text {
        font-size: 11.5px !important;
    }
}


/* 2. Teachers' Day Tribute Modal Popup */
#teachersDayModal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-family: 'Inter', sans-serif;
}

#teachersDayBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 9, 24, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}

.td-modal-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    background: radial-gradient(130% 130% at 50% 0%, #16203d 0%, #090e1f 100%) !important;
    border: 2px solid #f59e0b !important;
    border-radius: 24px !important;
    padding: 1.5rem !important;
    color: #ffffff !important;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 158, 11, 0.35) !important;
    margin: auto;
    overflow: hidden;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#teachersDayModal.opacity-100 .td-modal-card {
    transform: scale(1);
}

.td-modal-card .glow-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f59e0b, #fef08a, #ea580c);
}

.td-modal-card .close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 20;
}

.td-modal-card .close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.td-modal-card .celebration-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fde68a;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 8px;
}

.td-modal-card .modal-title {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.td-modal-card .modal-title .gold-text {
    background: linear-gradient(90deg, #fde047, #f59e0b, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.td-modal-card .image-frame {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 10px auto;
    border-radius: 18px;
    padding: 3px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24, #ea580c);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.td-modal-card .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.td-modal-card .image-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 8px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    color: #fde68a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.td-modal-card .quote-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px 14px;
    margin: 10px 0;
    text-align: left;
}

.td-modal-card .quote-text {
    font-size: 12.5px;
    line-height: 1.5;
    color: #e2e8f0;
    font-style: italic;
    margin: 0;
}

.td-modal-card .quote-text strong {
    color: #fde68a;
    font-weight: 700;
}

.td-modal-card .quote-author {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #f59e0b;
    margin-top: 6px;
    text-align: right;
    letter-spacing: 0.05em;
}

.td-modal-card .wishes-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fef08a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 9999px;
    margin: 6px 0 10px 0;
}

.td-modal-card .modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.td-modal-card .btn-modal-wa {
    background: linear-gradient(90deg, #25D366, #1ebd56) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 11px 16px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
    transition: transform 0.15s, opacity 0.15s !important;
}

.td-modal-card .btn-modal-wa:hover {
    opacity: 0.95;
    transform: scale(1.02);
}

.td-modal-card .btn-modal-offer {
    background: linear-gradient(90deg, #f36f21, #e05b0d) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 11px 16px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(243, 111, 33, 0.4) !important;
    transition: transform 0.15s, opacity 0.15s !important;
}

.td-modal-card .btn-modal-offer:hover {
    opacity: 0.95;
    transform: scale(1.02);
}

.td-modal-card .continue-link {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    margin-top: 8px;
    transition: color 0.15s;
}

.td-modal-card .continue-link:hover {
    color: #f1f5f9;
}

/* 3. Floating Respect / Wishes Counter Widget */
#teachersDayCounterWidget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 639px) {
    #teachersDayCounterWidget {
        bottom: 74px;
        left: 14px;
    }
}

#tdWishButton {
    background: #0f172a !important;
    border: 2px solid #f59e0b !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 9999px !important;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
}

#tdWishButton:hover {
    background: #1e293b !important;
    transform: scale(1.05) !important;
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.6) !important;
}

#tdWishButton .heart-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

#tdWishCountBadge {
    font-size: 15px;
    font-weight: 900;
    color: #fde68a !important;
    font-family: monospace, sans-serif;
}

.td-reopen-btn {
    background: rgba(0, 0, 0, 0.7) !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    color: #fde68a !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    margin-left: 8px;
    transition: all 0.15s;
}

.td-reopen-btn:hover {
    background: rgba(0, 0, 0, 0.9) !important;
    color: #ffffff !important;
    border-color: #f59e0b !important;
}
