/* ==========================================================================
   Royal Scroll Notice Board - Sri Dham Kakrajit Temple
   Exact visual match for the Royal Red & Gold Scroll / Farman Design
   ========================================================================== */

:root {
    --scroll-red-light: #c71b2d;
    --scroll-red-mid: #9b0f1e;
    --scroll-red-dark: #660510;
    --scroll-red-deep: #400208;
    --scroll-gold-light: #fff3a8;
    --scroll-gold-main: #dfb235;
    --scroll-gold-dark: #996f0b;
    --scroll-parchment-bg: #fcf8ee;
    --scroll-parchment-border: #d8c29d;
    --scroll-crimson-text: #7a1019;
}

/* Notice Section Container */
.notice-section {
    position: relative;
    padding: 45px 0 80px 0;
    background: linear-gradient(180deg, #fffdf8 0%, #f7f1e3 50%, #fffdf8 100%);
    overflow: hidden;
}

.notice-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, #dfb235, #ffdd77, #dfb235, transparent);
    opacity: 0.8;
}

.notice-section-header {
    text-align: center;
    margin-bottom: 45px;
}

.notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 30px;
    background: rgba(128, 0, 0, 0.08);
    border: 1px solid rgba(223, 178, 53, 0.5);
    color: var(--temple-maroon);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.notice-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--temple-maroon);
    margin-bottom: 10px;
}

.notice-section-subtitle {
    color: #665c54;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
}

/* Scroll Grid & Layout */
.notice-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 20px;
}

/* ==========================================================================
   CLOSED SCROLL CARD (MATCHING LEFT SIDE OF REFERENCE IMAGE)
   ========================================================================== */
.royal-scroll-closed {
    position: relative;
    width: 340px;
    max-width: 100%;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.royal-scroll-closed:hover {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 20px 30px rgba(102, 5, 16, 0.28));
}

.royal-scroll-closed:active {
    transform: translateY(-3px) scale(0.99);
}

/* 3D Cylindrical Scroll Rod Bars */
.scroll-rod {
    position: relative;
    width: 100%;
    height: 24px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-rod.top-rod {
    margin-bottom: -6px;
}

.scroll-rod.bottom-rod {
    margin-top: -6px;
}

.rod-cylinder {
    position: relative;
    width: calc(100% - 46px);
    height: 18px;
    border-radius: 9px;
    background: linear-gradient(180deg, 
        #ea3545 0%, 
        #ba1526 22%, 
        #820b17 55%, 
        #49040c 85%, 
        #7a0c16 100%);
    box-shadow: 
        inset 0 2px 2px rgba(255, 255, 255, 0.55),
        inset 0 -2px 2px rgba(0, 0, 0, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 220, 150, 0.6);
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.rod-cylinder::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 8px;
    right: 8px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    border-radius: 2px;
    pointer-events: none;
}

/* 3D Golden Finials / Knobs on Scroll Ends */
.rod-finial {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45));
}

.rod-finial.finial-left {
    left: -2px;
}

.rod-finial.finial-right {
    right: -2px;
}

/* Realistic Multi-tier Golden Knob */
.finial-knob {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 32%, 
        #ffffff 0%, 
        #fff4aa 18%, 
        #ffdf59 35%, 
        #d49e1f 65%, 
        #875b05 90%, 
        #4d3202 100%);
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.9),
        inset 0 -2px 3px rgba(0, 0, 0, 0.6);
    border: 1px solid #7d5306;
}

.finial-collar {
    position: absolute;
    width: 7px;
    height: 14px;
    background: linear-gradient(180deg, #fff2a3 0%, #d49e1f 50%, #684302 100%);
    box-shadow: inset 0 1px 1px #fff, 0 1px 2px rgba(0,0,0,0.4);
    border-radius: 2px;
    border: 0.5px solid #684302;
}

.finial-left .finial-collar {
    right: -2px;
}

.finial-right .finial-collar {
    left: -2px;
}

.finial-tip {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #fed546 50%, #875b05 100%);
}

.finial-left .finial-tip {
    left: -2px;
}

.finial-right .finial-tip {
    right: -2px;
}

/* Closed Banner Velvet Body */
.closed-banner-body {
    position: relative;
    width: calc(100% - 24px);
    margin: 0 auto;
    height: 380px;
    background: linear-gradient(165deg, 
        #b81424 0%, 
        #9c0e1c 30%, 
        #7d0714 65%, 
        #52030b 100%);
    box-shadow: 
        inset 0 0 40px rgba(0, 0, 0, 0.45),
        0 12px 25px rgba(82, 3, 11, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
    border-left: 2px solid #5a040d;
    border-right: 2px solid #5a040d;
    z-index: 3;
    overflow: hidden;
}

/* Velvet Fabric Subtle Texture Sheen */
.closed-banner-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(255, 90, 110, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

/* Double Golden Decorative Inner Border */
.banner-inner-border {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(223, 178, 53, 0.7);
    border-radius: 2px;
    pointer-events: none;
}

.banner-inner-border::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(223, 178, 53, 0.35);
    border-radius: 1px;
}

/* Ornate Golden Filigree Corners */
.scroll-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 4;
}

.scroll-corner svg {
    width: 100%;
    height: 100%;
    fill: #dfb235;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.corner-top-left { top: 16px; left: 16px; }
.corner-top-right { top: 16px; right: 16px; transform: scaleX(-1); }
.corner-bottom-left { bottom: 16px; left: 16px; transform: scaleY(-1); }
.corner-bottom-right { bottom: 16px; right: 16px; transform: scale(-1); }

/* Closed Notice Content */
.banner-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.banner-icon-wrapper {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
}

.banner-icon-wrapper svg,
.banner-icon-wrapper i {
    font-size: 42px;
    color: #ffdf6d;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
    transition: transform 0.3s ease;
}

.royal-scroll-closed:hover .banner-icon-wrapper svg,
.royal-scroll-closed:hover .banner-icon-wrapper i {
    transform: scale(1.1) rotate(-3deg);
}

.banner-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff1b0 25%, #ffd752 60%, #cca027 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.banner-flourish {
    width: 120px;
    height: 14px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.banner-flourish svg {
    width: 100%;
    height: 100%;
    fill: #dfb235;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

.banner-action-text {
    font-size: 13.5px;
    color: #f7e6c4;
    font-weight: 400;
    letter-spacing: 0.4px;
    line-height: 1.4;
    max-width: 180px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.royal-scroll-closed:hover .banner-action-text {
    color: #ffffff;
    letter-spacing: 0.6px;
}

.closed-view-badge {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    background: #e2ddd3;
    color: #554a40;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ==========================================================================
   OPEN SCROLL MODAL (MATCHING RIGHT SIDE OF REFERENCE IMAGE)
   ========================================================================== */
.scroll-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 5, 7, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.scroll-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.royal-scroll-open-container {
    position: relative;
    width: 580px;
    max-width: 95vw;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    user-select: text;
}

.scroll-modal-overlay.active .royal-scroll-open-container {
    transform: scale(1) translateY(0);
}

/* Open Scroll Rod Modifications (Slightly Wider Span) */
.royal-scroll-open-container .scroll-rod {
    height: 28px;
    z-index: 10;
}

.royal-scroll-open-container .scroll-rod.top-rod {
    margin-bottom: -8px;
}

.royal-scroll-open-container .scroll-rod.bottom-rod {
    margin-top: -8px;
}

.royal-scroll-open-container .rod-cylinder {
    height: 22px;
    border-radius: 11px;
}

.royal-scroll-open-container .rod-finial {
    width: 34px;
    height: 34px;
}

.royal-scroll-open-container .finial-knob {
    width: 26px;
    height: 26px;
}

.royal-scroll-open-container .finial-collar {
    width: 8px;
    height: 17px;
}

.royal-scroll-open-container .finial-tip {
    width: 7px;
    height: 7px;
}

/* Unrolled Sacred Parchment Paper Body */
.open-parchment-body {
    position: relative;
    background: 
        radial-gradient(ellipse at center, #ffffff 0%, #faf3e1 65%, #f1e2c1 100%);
    box-shadow: 
        inset 0 0 50px rgba(184, 134, 11, 0.12),
        inset 0 0 15px rgba(110, 20, 20, 0.08),
        0 25px 50px rgba(0, 0, 0, 0.45);
    border-left: 3px solid #b8860b;
    border-right: 3px solid #b8860b;
    padding: 38px 36px 32px 36px;
    overflow-y: auto;
    max-height: calc(90vh - 56px);
    scrollbar-width: thin;
    scrollbar-color: #dfb235 #faf3e1;
    z-index: 5;
    border-radius: 2px;
}

.open-parchment-body::-webkit-scrollbar {
    width: 6px;
}

.open-parchment-body::-webkit-scrollbar-thumb {
    background-color: #dfb235;
    border-radius: 3px;
}

.open-parchment-body::-webkit-scrollbar-track {
    background: #faf3e1;
}

/* Double Red & Gold Borders inside Parchment */
.parchment-inner-frame {
    position: absolute;
    inset: 12px;
    border: 1.5px solid #9b111e;
    pointer-events: none;
}

.parchment-inner-frame::before {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(223, 178, 53, 0.7);
}

/* Corner Filigrees on Parchment */
.parchment-corner {
    position: absolute;
    width: 26px;
    height: 26px;
    pointer-events: none;
    z-index: 6;
}

.parchment-corner svg {
    width: 100%;
    height: 100%;
    fill: #9b111e;
}

.pcorner-top-left { top: 16px; left: 16px; }
.pcorner-top-right { top: 16px; right: 16px; transform: scaleX(-1); }
.pcorner-bottom-left { bottom: 16px; left: 16px; transform: scaleY(-1); }
.pcorner-bottom-right { bottom: 16px; right: 16px; transform: scale(-1); }

/* Close Button (Matching X on Top-Right) */
.scroll-close-btn {
    position: absolute;
    top: 20px;
    right: 22px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #8c5b36;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s ease;
    z-index: 20;
}

.scroll-close-btn:hover {
    color: #9b111e;
    background: rgba(155, 17, 30, 0.08);
    transform: rotate(90deg);
}

/* Open Notice Content Styling */
.parchment-header {
    text-align: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 8;
}

.parchment-top-flourish {
    width: 140px;
    height: 16px;
    margin: 0 auto 12px auto;
}

.parchment-top-flourish svg {
    width: 100%;
    height: 100%;
    fill: #dfb235;
}

.parchment-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--scroll-crimson-text);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.parchment-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2b1a1c;
    margin-bottom: 14px;
}

.parchment-divider-flourish {
    width: 110px;
    height: 10px;
    margin: 0 auto 15px auto;
}

.parchment-divider-flourish svg {
    width: 100%;
    height: 100%;
    fill: #dfb235;
}

.scroll-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fdf5ea;
    border: 1px solid #ebd0b5;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #61361c;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.scroll-date-badge i,
.scroll-date-badge svg {
    color: #9b111e;
    font-size: 14px;
}

/* Notice Body Text */
.parchment-body-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: #3b2c24;
    position: relative;
    z-index: 8;
    margin-bottom: 20px;
}

.parchment-salutation {
    font-weight: 600;
    color: #241712;
    margin-bottom: 10px;
}

.parchment-paragraph {
    margin-bottom: 12px;
}

/* Highlighted Details Box */
.notice-details-card {
    background: #fbf1e8;
    border: 1px solid #eecaba;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 2px 6px rgba(155, 17, 30, 0.04);
}

.notice-details-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: #9b111e;
    margin-bottom: 10px;
}

.notice-details-header i,
.notice-details-header svg {
    font-size: 16px;
}

.notice-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-details-list li {
    position: relative;
    padding-left: 18px;
    font-size: 13.5px;
    color: #3f2e27;
    margin-bottom: 6px;
    line-height: 1.5;
}

.notice-details-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #9b111e;
    font-weight: bold;
    font-size: 16px;
}

.notice-details-list li strong {
    color: #241712;
}

/* Sign-off & Footer */
.parchment-footer {
    position: relative;
    z-index: 8;
    margin-top: 20px;
}

.parchment-closing {
    font-size: 14px;
    color: #3b2c24;
    margin-bottom: 4px;
}

.parchment-signature {
    font-size: 14.5px;
    font-weight: 600;
    color: #241712;
    margin-bottom: 16px;
}

.parchment-bottom-flourish {
    width: 130px;
    height: 14px;
    margin: 0 auto;
}

.parchment-bottom-flourish svg {
    width: 100%;
    height: 100%;
    fill: #dfb235;
}

/* ==========================================================================
   FLOATING NOTIFICATION CARD (EXACT 1:1 REPLICA OF USER REFERENCE IMAGE)
   ========================================================================== */

.floating-notify-wrapper {
    position: fixed;
    top: 130px;
    right: 28px;
    z-index: 99990;
    width: 360px;
    max-width: calc(100vw - 36px);
    font-family: 'Poppins', sans-serif;
    animation: floatingCardEntry 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

/* Floating Diffuse Ground Drop Shadow */
.floating-ground-shadow {
    position: absolute;
    bottom: -14px;
    left: 10%;
    width: 80%;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(30, 20, 10, 0.28) 0%, rgba(30, 20, 10, 0) 70%);
    filter: blur(6px);
    pointer-events: none;
    z-index: -1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-notify-card {
    position: relative;
    width: 100%;
    height: 270px;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.12));
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-notify-wrapper:hover .floating-notify-card {
    transform: translateY(-5px);
}

.floating-notify-wrapper:hover .floating-ground-shadow {
    transform: scale(0.94) translateY(5px);
    opacity: 0.75;
}

/* Full Seamless SVG Card Silhouette Background */
.notify-card-svg-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Close Button (X on Top Right) */
.notify-close-btn {
    position: absolute;
    top: 60px;
    right: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #c8c8c8;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.2s ease;
}

.notify-close-btn:hover {
    background: #a0a0a0;
    transform: scale(1.1);
}

/* Center 3D Bell & Red Notification Badge */
.notify-bell-wrapper {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.bell-3d-svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 8px rgba(180, 120, 10, 0.25));
    animation: bellGentleSwing 4s ease-in-out infinite;
    transform-origin: 35px 18px;
}

.notify-red-badge {
    position: absolute;
    top: 2px;
    left: 6px;
    width: 22px;
    height: 22px;
    background: #ff4500;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 5px rgba(255, 69, 0, 0.45);
    z-index: 15;
}

/* Content Inside Card */
.notify-card-inner {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    padding: 0 24px;
    text-align: center;
    z-index: 10;
}

.notify-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    letter-spacing: -0.2px;
}

.notify-card-desc {
    font-size: 11.5px;
    color: #4a4a4a;
    line-height: 1.55;
    margin: 0 auto 16px auto;
    max-width: 290px;
}

/* Primary Action Button: "View Details →" (WCAG AA Compliant Contrast Ratio 5.6:1) */
.notify-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #c73200;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(199, 50, 0, 0.35);
    transition: all 0.2s ease;
}

.notify-action-btn:hover {
    background: #a82400;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(199, 50, 0, 0.45);
}

.notify-action-btn:active {
    transform: translateY(0);
}

.notify-action-btn span.arrow {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.notify-action-btn:hover span.arrow {
    transform: translateX(4px);
}

/* Minimized Docked Floating Bell Button (when closed) */
.docked-bell-btn {
    display: none;
    position: fixed;
    top: 130px;
    right: 28px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #dfb235;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18), 0 0 15px rgba(223, 178, 53, 0.3);
    color: #d49e1f;
    font-size: 24px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99990;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.docked-bell-btn:hover {
    transform: scale(1.1) translateY(2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22), 0 0 20px rgba(223, 178, 53, 0.5);
}

.docked-bell-btn .notify-badge-count,
.docked-bell-btn .notify-red-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    left: auto;
    width: 20px;
    height: 20px;
    font-size: 11px;
}

/* Entry Animation */
@keyframes floatingCardEntry {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bellGentleSwing {
    0%, 100% { transform: rotate(18deg); }
    50% { transform: rotate(8deg); }
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .floating-notify-wrapper {
        top: 74px;
        right: 14px;
        left: auto;
        width: 275px;
        max-width: calc(100vw - 28px);
    }

    .floating-notify-card {
        height: 206px;
        filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.14));
    }

    .notify-bell-wrapper {
        top: 26px;
        width: 52px;
        height: 52px;
    }

    .bell-3d-svg {
        width: 44px;
        height: 44px;
    }

    .notify-red-badge {
        width: 17px;
        height: 17px;
        font-size: 10px;
        top: 0px;
        left: 4px;
    }

    .notify-close-btn {
        top: 42px;
        right: 12px;
        width: 20px;
        height: 20px;
    }

    .notify-card-inner {
        bottom: 14px;
        padding: 0 16px;
    }

    .notify-card-title {
        font-size: 14.5px;
        margin: 0 0 3px 0;
        font-weight: 700;
    }

    .notify-card-desc {
        font-size: 10.5px;
        line-height: 1.35;
        margin: 0 auto 8px auto;
        max-width: 230px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .notify-action-btn {
        padding: 7px 14px;
        font-size: 12px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(199, 50, 0, 0.28);
    }

    .notify-action-btn span.arrow {
        font-size: 13px;
    }
    
    .docked-bell-btn {
        top: 74px;
        right: 14px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* Interactive Tabs for Multiple Notices in Board */
.notice-filter-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.notice-filter-btn {
    background: #ffffff;
    border: 1px solid rgba(223, 178, 53, 0.5);
    color: #594738;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.notice-filter-btn:hover,
.notice-filter-btn.active {
    background: var(--temple-maroon);
    color: #ffffff;
    border-color: var(--temple-maroon);
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .notice-section {
        padding: 50px 0 60px 0;
    }
    
    .notice-section-title {
        font-size: 2rem;
    }
    
    .royal-scroll-closed {
        width: 310px;
    }
    
    .closed-banner-body {
        height: 350px;
        padding: 24px 15px;
    }
    
    .banner-title {
        font-size: 30px;
    }
    
    .open-parchment-body {
        padding: 28px 20px 24px 20px;
    }
    
    .parchment-main-title {
        font-size: 23px;
    }
    
    .parchment-subtitle {
        font-size: 16px;
    }
    
    .floating-notice-pill {
        bottom: 20px;
        right: 20px;
        padding: 8px 14px;
        font-size: 12.5px;
    }
}
