/* ==========================================================
   GLOBAL STYLES & TYPOGRAPHY
   ========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

/* ==========================================================
   🤍 BODY BACKGROUND — Pure White
   ========================================================== */
body {
    background: #ffffff !important;
    background-image: none !important;
    color: #52525b;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 20px 20px;
    overflow-x: clip;
}

a {
    color: #b91c1c;
    text-decoration: none;
}

svg {
    max-width: 100%;
}

/* ==========================================================
   HEADER (Sticky Header for Scroll) — Liquid Glass
   ========================================================== */
header {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 12px;
    margin-bottom: 16px;
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 -1px 0 rgba(0, 0, 0, 0.04) inset,
        0 8px 32px rgba(185, 28, 28, 0.06);
    transition: max-width 0.4s ease;
}

.nav-icon {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 6px;
    color: #3f3f46;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-icon:hover {
    transform: scale(1.08);
    color: #b91c1c;
    background: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 6px 18px rgba(220, 38, 38, 0.18);
}

.header-title {
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #0f172a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;
    text-align: left;
}

/* ==========================================================
   🖼️ HERO SLIDER — Liquid Glass Frame
   ========================================================== */
.hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 240px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -1px 0 rgba(0, 0, 0, 0.03) inset,
        0 25px 50px -20px rgba(185, 28, 28, 0.25),
        0 8px 24px -8px rgba(245, 158, 11, 0.12);
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider-container:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 30px 60px -20px rgba(220, 38, 38, 0.35),
        0 12px 30px -8px rgba(245, 158, 11, 0.2);
}

.hero-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.1);
    transition:
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    will-change: opacity, filter, transform;
}

.hero-slider-img.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    z-index: 2;
}

.hero-slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px 20px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slider-overlay.active {
    opacity: 1;
}

.hero-slider-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(10px);
    transition: transform 0.8s ease 0.2s;
}

.hero-slider-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transform: translateY(10px);
    transition: transform 0.8s ease 0.3s;
}

.hero-slider-overlay.active .hero-slider-title,
.hero-slider-overlay.active .hero-slider-desc {
    transform: translateY(0);
}

.hero-loading-state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #b91c1c;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 5;
    background: rgba(254, 247, 240, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-loading-state i {
    font-size: 2rem;
}

@media (min-width: 768px) {
    .hero-slider-container {
        max-width: 1000px;
        height: 340px;
        border-radius: 28px;
    }
    .hero-slider-overlay { padding: 60px 30px 30px 30px; }
    .hero-slider-title { font-size: 1.5rem; }
    .hero-slider-desc { font-size: 0.95rem; max-height: 60px; -webkit-line-clamp: 3; }
}

@media (min-width: 992px) {
    .hero-slider-container {
        max-width: 1200px;
        height: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-slider-title { font-size: 1.8rem; }
    .hero-slider-desc { font-size: 1rem; }
}

@media (min-width: 1400px) {
    .hero-slider-container { max-width: 1320px; height: 480px; }
}

/* ==========================================================
   CONTENT WRAPPER
   ========================================================== */
.content-wrapper {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transition: max-width 0.4s ease;
    flex: 1 0 auto !important;
}

.section-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b91c1c;
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================
   CARDS, GRID & FEATURES — Liquid Glass
   ========================================================== */
.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.info-card {
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.45) 100%
    );
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    padding: 20px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -1px 0 rgba(0, 0, 0, 0.03) inset,
        0 12px 36px -12px rgba(185, 28, 28, 0.15),
        0 4px 14px -4px rgba(245, 158, 11, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
    border-radius: 24px 24px 0 0;
    pointer-events: none;
}

.info-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.6) 100%
    );
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 20px 45px -12px rgba(220, 38, 38, 0.28),
        0 8px 20px -6px rgba(245, 158, 11, 0.18);
}

.card-icon-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(254, 243, 199, 0.9), rgba(253, 230, 138, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 4px 12px rgba(234, 179, 8, 0.2);
    position: relative;
    z-index: 1;
}

.card-icon-wrap svg {
    width: 24px;
    height: 24px;
    color: #b45309;
}

.card-text {
    position: relative;
    z-index: 1;
}

.card-text h3 {
    font-size: 1rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-text p {
    font-size: 0.85rem;
    color: #71717a;
    line-height: 1.5;
    margin: 0;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-box {
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.68) 0%,
        rgba(255, 255, 255, 0.4) 100%
    );
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    padding: 24px 18px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -1px 0 rgba(0, 0, 0, 0.03) inset,
        0 12px 32px -12px rgba(185, 28, 28, 0.14);
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
    pointer-events: none;
}

.feature-box:hover {
    transform: translateY(-5px);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.6) 100%
    );
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 20px 40px -12px rgba(220, 38, 38, 0.3),
        0 8px 20px -6px rgba(245, 158, 11, 0.18);
}

.feature-box .feature-icon,
.feature-box svg {
    width: 36px;
    height: 36px;
    color: #b91c1c;
    position: relative;
    z-index: 1;
}

.feature-box.alt-box .feature-icon,
.feature-box.alt-box svg {
    color: #b45309;
}

.feature-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    position: relative;
    z-index: 1;
}

.feature-box p {
    font-size: 0.8rem;
    color: #a1a1aa;
    position: relative;
    z-index: 1;
}

.glass-card {
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.68) 0%,
        rgba(255, 255, 255, 0.4) 100%
    );
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    padding: 32px 24px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -1px 0 rgba(0, 0, 0, 0.03) inset,
        0 25px 55px -20px rgba(185, 28, 28, 0.2),
        0 8px 24px -8px rgba(245, 158, 11, 0.1);
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
    pointer-events: none;
}

.glass-card > * {
    position: relative;
    z-index: 1;
}

/* ==========================================================
   GOVERNING BODY & SLIDER — Liquid Glass
   ========================================================== */
.people-card {
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.68) 0%,
        rgba(255, 255, 255, 0.42) 100%
    );
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -1px 0 rgba(0, 0, 0, 0.03) inset,
        0 12px 36px -12px rgba(185, 28, 28, 0.15);
    overflow: hidden;
}

.people-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
    pointer-events: none;
}

.people-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.6) 100%
    );
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 20px 45px -12px rgba(234, 179, 8, 0.32),
        0 8px 20px -6px rgba(245, 158, 11, 0.2);
}

.people-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.9);
    padding: 3px;
    background: linear-gradient(145deg, rgba(254, 243, 199, 0.9), rgba(253, 230, 138, 0.6));
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.22);
    position: relative;
    z-index: 1;
}

.people-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #b91c1c;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
}

.people-card p {
    font-size: 0.92rem;
    color: #0f172a;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}

.governing-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
}

.governing-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.governing-track .people-card {
    min-width: 100%;
    box-sizing: border-box;
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dots .dot.active {
    background: linear-gradient(90deg, #dc2626, #f59e0b);
    width: 24px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(185, 28, 28, 0.5);
}

/* ==========================================================
   MENU OVERLAY & SIDEBAR — Liquid Glass
   ========================================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(254, 247, 240, 0.35);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.sidebar {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 300px;
    height: auto;
    max-height: calc(100vh - 30px);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.6) 100%
    );
    backdrop-filter: blur(36px) saturate(180%);
    -webkit-backdrop-filter: blur(36px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 28px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 -1px 0 rgba(0, 0, 0, 0.04) inset,
        0 30px 70px rgba(185, 28, 28, 0.2),
        0 10px 30px rgba(245, 158, 11, 0.1);
    z-index: 1000;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    transform-origin: top right;
    transform: scale(0.6) translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.sidebar-title {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #0f172a, #0f172a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: #71717a;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.close-icon:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: #52525b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 16px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: transparent;
}

.menu-item svg {
    width: 20px;
    height: 20px;
    color: #71717a;
    transition: all 0.3s ease;
}

.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    transition: 0s;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.65);
    color: #0f172a;
    transform: translateX(4px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 4px 12px rgba(185, 28, 28, 0.08);
}

.menu-item:hover::after {
    left: 150%;
    transition: 0.6s ease-in-out;
}

.menu-item:hover svg {
    color: #b91c1c;
}

.menu-item.active-link {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 6px 18px rgba(185, 28, 28, 0.15);
    color: #b91c1c;
    font-weight: 600;
}

.menu-item.active-link svg {
    color: #b91c1c;
}

.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(185, 28, 28, 0.2);
    border-radius: 10px;
}

/* ==========================================================
   NEWS SPECIFIC STYLES — Liquid Glass
   ========================================================== */
.news-banner {
    position: relative;
    padding: 30px 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4));
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 26px;
    text-align: center;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 20px 45px -18px rgba(185, 28, 28, 0.18);
    margin-bottom: 24px;
    overflow: hidden;
}

.news-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
    pointer-events: none;
}

.news-banner > * {
    position: relative;
    z-index: 1;
}

.news-banner h5 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.news-banner h5 span {
    background: linear-gradient(135deg, #b91c1c 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-banner p {
    font-size: 0.88rem;
    color: #71717a;
}

.main-news-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 25px 55px -20px rgba(185, 28, 28, 0.2);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 30px 65px -18px rgba(220, 38, 38, 0.3),
        0 10px 26px -8px rgba(245, 158, 11, 0.2);
}

.main-news-image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.main-news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.badge-date-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.category-badge {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(234, 179, 8, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #b45309;
    padding: 5px 13px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.date {
    font-size: 0.8rem;
    color: #a1a1aa;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-news-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

.main-news-content p {
    font-size: 0.88rem;
    color: #71717a;
    line-height: 1.6;
}

.news-grid-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.news-grid-item {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 12px 36px -12px rgba(185, 28, 28, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.news-grid-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.6));
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 20px 45px -12px rgba(234, 179, 8, 0.32),
        0 8px 20px -6px rgba(245, 158, 11, 0.2);
}

.news-grid-image {
    height: 180px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.news-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-grid-item:hover .news-grid-image img {
    transform: scale(1.06);
}

.news-grid-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-grid-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

.news-grid-body p {
    font-size: 0.84rem;
    color: #71717a;
    line-height: 1.5;
}

/* ==========================================================
   DEVELOPER PAGE UNIQUE STYLES — Liquid Glass
   ========================================================== */
.profile-container {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 28px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 25px 55px -20px rgba(185, 28, 28, 0.2);
    overflow: hidden;
}

.profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
    pointer-events: none;
}

.profile-container > * {
    position: relative;
    z-index: 1;
}

.dev-avatar-box {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(254, 243, 199, 0.9), rgba(253, 230, 138, 0.6));
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 0 30px rgba(220, 38, 38, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #b91c1c;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.profile-container:hover .dev-avatar-box {
    transform: scale(1.05) rotate(3deg);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 40px rgba(234, 179, 8, 0.35);
    color: #b45309;
}

.dev-name {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #3f3f46 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.dev-tag {
    font-size: 0.9rem;
    color: #b91c1c;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.bio-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.45));
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-left: 4px solid #b91c1c;
    padding: 28px;
    border-radius: 24px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 40px -15px rgba(185, 28, 28, 0.18);
    line-height: 1.8;
}

.bio-card p {
    color: #3f3f46;
    font-size: 1rem;
    text-align: justify;
}

.bio-card .highlight-text {
    color: #b91c1c;
    font-weight: 700;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.skill-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-bottom: 3px solid rgba(220, 38, 38, 0.2);
    padding: 22px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 12px 32px -12px rgba(185, 28, 28, 0.14);
    transition: all 0.35s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.65));
    border-bottom-color: rgba(220, 38, 38, 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 20px 42px -12px rgba(185, 28, 28, 0.25);
}

.skill-img {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: linear-gradient(145deg, rgba(254, 243, 199, 0.9), rgba(253, 230, 138, 0.6));
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12);
}

.skill-text h3 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 5px;
    font-weight: 700;
}

.skill-text p {
    font-size: 0.88rem;
    color: #71717a;
    line-height: 1.5;
}

/* --- Donut Chart Styling --- */
.chart-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
    gap: 20px;
}

.donut-chart-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.animated-donut {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.animated-donut .circle-bg {
    fill: none !important;
    stroke: rgba(0, 0, 0, 0.08);
    stroke-width: 3.8;
}

.animated-donut .circle-fill {
    fill: none !important;
    stroke: #b91c1c;
    stroke-width: 3.8;
    stroke-linecap: round;
    transition: stroke-dasharray 1.8s ease-in-out;
    filter: drop-shadow(0px 0px 6px rgba(185, 28, 28, 0.6));
}

.donut-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.2rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donut-percentage small {
    font-size: 0.85rem;
    color: #71717a;
    font-weight: 400;
    margin-top: -2px;
}

.chart-details h3 {
    font-size: 1.3rem;
    color: #b91c1c;
    margin-bottom: 8px;
}

.chart-details p {
    color: #3f3f46;
    font-size: 0.95rem;
    max-width: 450px;
    margin: 0 auto;
}

/* --- High Achievers --- */
.stat-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #b91c1c;
}

.achievers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.achiever-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.48));
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 22px rgba(185, 28, 28, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.achiever-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 14px 30px rgba(234, 179, 8, 0.22);
}

.achiever-badge {
    background: linear-gradient(135deg, #f59e0b, #f59e0b);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 4px 12px rgba(245, 158, 11, 0.35);
    white-space: nowrap;
}

.achiever-badge.blue-badge {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 4px 12px rgba(185, 28, 28, 0.35);
}

.achiever-info h4 {
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.achiever-info p {
    font-size: 0.8rem;
    color: #71717a;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.45));
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    padding: 18px 22px;
    border-radius: 18px;
    color: #3f3f46;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 8px 22px rgba(185, 28, 28, 0.1);
}

.contact-item:hover {
    background: linear-gradient(145deg, rgba(254, 243, 199, 0.85), rgba(253, 230, 138, 0.55));
    color: #0f172a;
    border-color: rgba(255, 255, 255, 0.98);
    transform: translateX(6px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 12px 28px rgba(234, 179, 8, 0.25);
}

.contact-item svg {
    width: 22px;
    height: 22px;
    color: #b91c1c;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-item:hover svg {
    color: #b45309;
    transform: scale(1.15);
}

.contact-detail {
    margin-left: auto;
    font-size: 0.88rem;
    color: #a1a1aa;
    font-weight: 500;
}

.contact-item:hover .contact-detail {
    color: #b91c1c;
}

/* ==========================================================
   YOUTUBE EMBED CONTAINER — Liquid Glass
   ========================================================== */
.yt {
    position: relative;
    width: 100%;
    max-width: 920px;
    margin: 30px auto;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 45px -15px rgba(185, 28, 28, 0.18),
        0 0 30px rgba(245, 158, 11, 0.1);
    aspect-ratio: 16 / 9;
    transition: all 0.4s ease;
}

.yt:hover {
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 25px 55px -15px rgba(220, 38, 38, 0.28),
        0 0 35px rgba(245, 158, 11, 0.18);
    transform: translateY(-3px);
}

.yt iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 24px;
}

.video-card-title {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(185, 28, 28, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* YT Grid */
@media (min-width: 768px) {
    .yt-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
        max-width: 1400px;
        margin: 30px auto;
        padding: 0 15px;
    }
    .yt-grid .yt { max-width: 100%; margin: 0; }
    .yt-grid > .yt:only-child {
        grid-column: 1 / -1;
        max-width: 920px;
        margin: 0 auto;
    }
    .yt-grid .iframe-container { max-width: 100%; }
}

/* ==========================================================
   CONTACT MAP — Liquid Glass
   ========================================================== */
.map-frame {
    width: 100%;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 20px 45px -18px rgba(185, 28, 28, 0.2);
}

.map-frame iframe {
    width: 100%;
    height: 260px;
    display: block;
    border: 0;
    filter: grayscale(0.25) contrast(0.98) brightness(1.02);
}

/* Footer */
footer {
    flex-shrink: 0;
    margin-top: auto !important;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
    padding-top: 20px;
    padding-bottom: 24px;
}

footer .cr-text { color: #a1a1aa; }
footer .credit-text { color: #d4d4d8; font-size: 0.75rem; }
footer .credit-text a { color: #a1a1aa; text-decoration: none; transition: color 0.2s; }
footer .credit-text a:hover { color: #b91c1c; }

footer .credits-subtle,
footer .credits-subtle a {
    color: #d4d4d8;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .credits-subtle a:hover {
    color: #b91c1c;
    text-decoration: underline;
}

footer .al-text {
    font-weight: 700;
    background: linear-gradient(90deg, #b91c1c, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================
   SCROLL TO TOP BUTTON — Liquid Glass
   ========================================================== */
#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 25px;
    z-index: 99;
    border: 1px solid rgba(255, 255, 255, 0.5);
    outline: none;
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    color: #ffffff;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 10px 28px rgba(185, 28, 28, 0.4);
    align-items: center;
    justify-content: center;
}

#backToTop:hover {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    color: #ffffff;
    transform: scale(1.1) translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 14px 34px rgba(15, 23, 42, 0.4);
}

/* ==========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================== */
@media (max-width: 768px) {
    .yt { margin: 20px auto; border-radius: 20px; }
    .yt iframe { border-radius: 20px; }
}

@media (min-width: 768px) {
    header, .content-wrapper { max-width: 1000px; }
    .hero-banner { max-width: 1000px; height: 340px; }
    .grid-container { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .info-card { flex-direction: column; text-align: center; padding: 28px 20px; }
    .features-container { gap: 20px; }
    .main-news-card { flex-direction: row; align-items: center; }
    .main-news-image { width: 45%; height: 100%; min-height: 320px; border-bottom: none; border-right: 1px solid rgba(255, 255, 255, 0.6); }
    .main-news-content { width: 55%; padding: 32px; }
    .news-grid { grid-template-columns: repeat(3, 1fr); }
    .skills-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .skill-card { flex-direction: column; text-align: center; padding: 25px 18px; }
    .contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}

/* Donut Chart */
.chart-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    text-align: center;
    gap: 18px;
}

.animated-donut {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg-fail {
    stroke: #ef4444;
    stroke-width: 3.8;
    opacity: 0.85;
}

.circle-fill-pass {
    stroke: #b91c1c;
    stroke-width: 3.8;
    stroke-linecap: round;
    filter: drop-shadow(0px 0px 8px rgba(185, 28, 28, 0.6));
    animation: fillPassRate 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fillPassRate {
    from { stroke-dasharray: 0, 100; }
    to   { stroke-dasharray: 78, 100; }
}

.donut-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.donut-percentage small {
    font-size: 0.85rem;
    color: #71717a;
    font-weight: 500;
    margin-top: 6px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #3f3f46;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.pass-dot {
    background-color: #b91c1c;
    box-shadow: 0 0 8px rgba(185, 28, 28, 0.6);
}

.fail-dot {
    background-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.stats-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.45));
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    padding: 16px 20px;
    text-align: center;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 22px rgba(185, 28, 28, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 12px 28px rgba(234, 179, 8, 0.22);
}

.stat-title {
    font-size: 0.85rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
}

.stat-pass .stat-value { color: #16a34a; }
.stat-fail .stat-value { color: #dc2626; }
.stat-rate .stat-value { color: #b91c1c; }

.sub-result {
    display: inline-block;
    margin-left: 6px;
    font-weight: 600;
    color: #b45309;
}

.emerald-card {
    border-left: 4px solid rgba(46, 204, 113, 0.5) !important;
    background: linear-gradient(145deg, rgba(46, 204, 113, 0.1), rgba(46, 204, 113, 0.04));
}

.emerald-badge {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #ffffff;
}

.purple-card {
    border-left: 4px solid rgba(155, 89, 182, 0.5) !important;
    background: linear-gradient(145deg, rgba(155, 89, 182, 0.1), rgba(155, 89, 182, 0.04));
}

.purple-badge {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: #ffffff;
}

/* PDF Download Button — Liquid Glass */
.pdf-download-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0 10px 0;
    width: 100%;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 6px 18px rgba(185, 28, 28, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.pdf-download-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 10px 26px rgba(185, 28, 28, 0.5);
    background: linear-gradient(145deg, #ef4444, #b91c1c);
}

.pdf-download-btn:active {
    transform: translateY(-1px);
}

.pdf-icon {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
}

/* ==========================================
   News & Updates Section
   ========================================== */
#news {
    margin-top: 35px;
    margin-bottom: 35px;
}

.news-slider-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 5px 20px 5px;
    -webkit-overflow-scrolling: touch;
}

.news-slider-container::-webkit-scrollbar { height: 5px; }
.news-slider-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}
.news-slider-container::-webkit-scrollbar-thumb {
    background: rgba(185, 28, 28, 0.25);
    border-radius: 10px;
}

.news-track {
    display: flex;
    gap: 16px;
}

.news-card {
    flex: 0 0 82%;
    max-width: 300px;
    scroll-snap-align: start;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 12px 30px -10px rgba(185, 28, 28, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 20px 42px -10px rgba(220, 38, 38, 0.28);
}

.news-img-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-img-wrap img {
    transform: scale(1.06);
}

.news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fefce8;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.3);
}

.news-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.78rem;
    opacity: 0.7;
    margin-bottom: 6px;
    display: block;
    color: #71717a;
}

.news-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 8px 0;
    color: #0f172a;
}

.news-excerpt {
    font-size: 0.85rem;
    line-height: 1.45;
    opacity: 0.85;
    margin: 0 0 14px 0;
    color: #52525b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    margin-top: auto;
    color: #b45309;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: opacity 0.2s ease;
}

.news-read-more:hover {
    text-decoration: underline;
}

.more-news-wrapper {
    text-align: center;
    margin-top: 12px;
}

.more-news-btn {
    color: #0f172a;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    border-bottom: 2px solid #b91c1c;
    padding-bottom: 3px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.more-news-btn:hover {
    color: #b91c1c;
}

/* History Page — Liquid Glass */
.history-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.45));
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 28px;
    padding: 28px 22px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 22px 50px -18px rgba(185, 28, 28, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.school-badge-main {
    width: 140px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 22px rgba(220, 38, 38, 0.28));
    transition: transform 0.4s ease;
}

.school-badge-main:hover {
    transform: scale(1.05);
}

.history-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #b91c1c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

.history-text {
    font-size: 0.92rem;
    line-height: 1.8;
    color: #3f3f46;
    text-align: justify;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.45));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 30px rgba(185, 28, 28, 0.12);
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    color: #0f172a;
}

.modern-table th {
    background: linear-gradient(145deg, rgba(254, 243, 199, 0.85), rgba(253, 230, 138, 0.55));
    color: #b45309;
    padding: 16px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.modern-table td {
    padding: 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    vertical-align: middle;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tr:hover {
    background: rgba(255, 255, 255, 0.5);
}

.principal-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
}

.year-badge {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(234, 179, 8, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #b45309;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.download-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.pdf-btn {
    background: linear-gradient(135deg, #b91c1c 0%, #d97706 100%);
    color: #ffffff !important;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 12px 28px -8px rgba(185, 28, 28, 0.45);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pdf-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.45) inset,
        0 18px 35px -8px rgba(185, 28, 28, 0.6);
    color: #fff;
}

.hero-caption {
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.6));
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    padding: 14px 28px;
    border-radius: 50px;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-align: center;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 30px rgba(220, 38, 38, 0.15);
    text-transform: uppercase;
}

.ex {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    padding: 16px 28px;
    background: linear-gradient(145deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 10px 24px rgba(185, 28, 28, 0.35);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ex:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 15px 32px rgba(185, 28, 28, 0.5);
    background: linear-gradient(145deg, #b91c1c 0%, #991b1b 100%);
}

.ex svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

/* Font Setup */
* {
    font-family: 'Poppins', 'Noto Sans Sinhala', sans-serif !important;
}

body, p, span, input, button {
    line-height: 1.6;
    letter-spacing: 0.2px;
}

/* ==========================================================
   🎯 FONT AWESOME UNIVERSAL FIX
   ========================================================== */
i.fa-solid,
i.fas,
.fa-solid,
.fas,
i[class*="fa-solid"] {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

i.fa-regular,
i.far,
.fa-regular,
.far,
i[class*="fa-regular"] {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

i.fa-brands,
i.fab,
.fa-brands,
.fab,
i[class*="fa-brands"] {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

i.fa,
.fa,
i[class^="fa-"],
i[class*=" fa-"] {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

button i[class*="fa-"],
a i[class*="fa-"],
.btn i[class*="fa-"],
.menu-item i[class*="fa-"],
.nav-icon i[class*="fa-"],
.close-icon i[class*="fa-"],
.qz-tab i[class*="fa-"],
.qz-toolbar i[class*="fa-"],
.qz-modal-close i[class*="fa-"],
.qz-card-actions i[class*="fa-"],
.qz-empty-state i[class*="fa-"],
.state-card i[class*="fa-"],
.qz-icon i[class*="fa-"] {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

button i.fa-brands,
a i.fa-brands,
.btn i.fa-brands,
button i.fab,
a i.fab,
.btn i.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.fa-xs  { font-size: 0.75em !important; }
.fa-sm  { font-size: 0.875em !important; }
.fa-lg  { font-size: 1.33em !important; line-height: 0.75em !important; vertical-align: -15% !important; }
.fa-xl  { font-size: 1.5em !important; line-height: 0.04167em !important; vertical-align: -0.125em !important; }
.fa-2x  { font-size: 2em !important; line-height: 0.5em !important; vertical-align: -0.25em !important; }
.fa-3x  { font-size: 3em !important; line-height: 0.33333em !important; vertical-align: -0.375em !important; }
.fa-4x  { font-size: 4em !important; line-height: 0.25em !important; vertical-align: -0.5em !important; }
.fa-5x  { font-size: 5em !important; line-height: 0.2em !important; vertical-align: -0.625em !important; }

.fa-spin {
    animation: fa-spin 2s linear infinite !important;
}

.fa-pulse {
    animation: fa-spin 1s steps(8) infinite !important;
}

@keyframes fa-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

i[class*="fa-"] {
    color: inherit;
    vertical-align: middle;
}

/* ==========================================================
   🖥️ MSNS DESKTOP NAVBAR — Liquid Glass
   ========================================================== */
.msns-desktop-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(255, 255, 255, 0.55) 100%
    );
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
    padding: 0;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 2px 24px rgba(185, 28, 28, 0.08);
    opacity: 1 !important;
}

.msns-navbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 72px;
    box-sizing: border-box;
}

.msns-navbar-brand {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.msns-navbar-brand:hover {
    transform: translateY(-1px);
}

.msns-navbar-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(185, 28, 28, 0.25));
}

.msns-navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.msns-navbar-brand-name {
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 1.5px;
}

.msns-navbar-brand-sub {
    font-size: 0.62rem;
    font-weight: 600;
    color: #b91c1c;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.msns-navbar-menu {
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    max-width: 100%;
}

.msns-navbar-menu li {
    display: flex;
    flex-shrink: 0;
}

.msns-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #52525b;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid transparent;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.msns-nav-link svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: #71717a;
    transition: color 0.25s ease, transform 0.25s ease;
}

.msns-nav-link span {
    display: inline-block;
}

.msns-nav-link:hover {
    color: #b91c1c;
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 4px 14px rgba(185, 28, 28, 0.12);
}

.msns-nav-link:hover svg {
    color: #b91c1c;
    transform: scale(1.1);
}

.msns-nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, #dc2626, #f59e0b);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.msns-nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.msns-nav-link.active-link,
.msns-nav-link[aria-current="page"] {
    color: #b91c1c;
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 4px 14px rgba(185, 28, 28, 0.14);
}

.msns-nav-link.active-link svg,
.msns-nav-link[aria-current="page"] svg {
    color: #b91c1c;
}

.msns-nav-link.active-link::after {
    transform: translateX(-50%) scaleX(1);
}

.msns-navbar-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.msns-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 15px;
    border-radius: 14px;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    white-space: nowrap;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.msns-nav-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.msns-nav-btn-profile {
    background: rgba(255, 255, 255, 0.85);
    color: #b91c1c;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 3px 10px rgba(185, 28, 28, 0.1);
}

.msns-nav-btn-profile:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(185, 28, 28, 0.35);
    color: #b91c1c;
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 8px 20px rgba(185, 28, 28, 0.2);
}

.msns-nav-btn-dev {
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 6px 16px rgba(185, 28, 28, 0.35);
}

.msns-nav-btn-dev:hover {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.45) inset,
        0 10px 24px rgba(185, 28, 28, 0.5);
}

/* ==========================================================
   📱 MOBILE HEADER — PC හිදී hide
   ========================================================== */
@media (min-width: 992px) {
    header#top { display: none !important; }
    .sidebar,
    .menu-overlay { display: none !important; }
}

/* ==========================================================
   🖥️ DESKTOP LAYOUT
   ========================================================== */
@media (min-width: 992px) {
    body {
        padding: 0 !important;
        align-items: stretch !important;
    }

    .content-wrapper {
        max-width: 1200px !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .header-title { font-size: 1.6rem; }

    .hero-banner {
        max-width: 1200px !important;
        height: 420px !important;
        border-radius: 28px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-c {
        padding: 20px 28px;
        font-size: 0.95rem;
    }

    .grid-container { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .features-container { gap: 24px; }
    .news-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .skills-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .contact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .stats-overview-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .achievers-grid { grid-template-columns: repeat(2, 1fr); }

    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
    }

    .card-icon-wrap {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .card-icon-wrap svg { width: 30px; height: 30px; }
    .card-text h3 { font-size: 1.15rem; }
    .card-text p { font-size: 0.92rem; }

    .feature-box {
        padding: 32px 24px;
        gap: 16px;
    }

    .feature-box .feature-icon,
    .feature-box svg { width: 48px; height: 48px; }

    .feature-box h4 { font-size: 1.15rem; }
    .feature-box p { font-size: 0.88rem; }

    .glass-card { padding: 48px 40px; }

    .section-title {
        font-size: 1.05rem;
        letter-spacing: 2.5px;
        margin-bottom: 24px;
    }

    .main-news-card {
        flex-direction: row;
        align-items: stretch;
    }

    .main-news-image {
        width: 45%;
        height: 100%;
        min-height: 380px;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.6);
    }

    .main-news-content {
        width: 55%;
        padding: 40px;
    }

    .main-news-content h2 { font-size: 1.55rem; }
    .main-news-content p { font-size: 0.95rem; }

    .news-grid-image { height: 220px; }

    .skill-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .skill-img {
        width: 80px;
        height: 80px;
    }

    .skill-text h3 { font-size: 1.2rem; }
    .yt { border-radius: 28px; }

    .yt-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
        max-width: 1400px;
        margin: 40px auto;
        padding: 0;
    }

    .yt-grid .yt {
        max-width: 100%;
        margin: 0;
    }

    .yt-grid > .yt:only-child {
        grid-column: 1 / -1;
        max-width: 1000px;
        margin: 0 auto;
    }

    .map-frame iframe { height: 400px; }

    .profile-container { padding: 50px 40px; }
    .dev-avatar-box { width: 130px; height: 130px; }
    .dev-name { font-size: 2rem; }
    .bio-card { padding: 40px; }
    .bio-card p { font-size: 1.05rem; }

    .contact-item {
        padding: 22px 26px;
        font-size: 1rem;
    }

    .quick-tabs-grid { grid-template-columns: repeat(2, 1fr) !important; }

    .news-slider-container { padding: 15px 0 24px 0; }
    .news-card {
        flex: 0 0 340px !important;
        max-width: 340px;
    }

    .modern-table th,
    .modern-table td {
        padding: 18px;
        font-size: 0.95rem;
    }

    .msns-data-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .analysis-summary-grid { grid-template-columns: repeat(3, 1fr); }
    .charts-grid-exam { grid-template-columns: repeat(2, 1fr); }

    #backToTop {
        bottom: 40px;
        right: 40px;
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    footer {
        font-size: 0.92rem;
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .msns-nav-link span { display: none !important; }
    .msns-nav-link {
        padding: 9px 9px !important;
        gap: 0 !important;
    }
    .msns-nav-link svg { width: 17px !important; height: 17px !important; }
    .msns-navbar-brand-sub { display: none !important; }
}

@media (min-width: 992px) and (max-width: 1050px) {
    .msns-navbar-inner {
        padding: 0 1rem !important;
        gap: 0.5rem !important;
    }
    .msns-nav-link { padding: 7px 7px !important; }
    .msns-nav-link svg { width: 15px !important; height: 15px !important; }
    .msns-nav-btn {
        padding: 8px 11px !important;
        font-size: 0.7rem !important;
    }
    .msns-nav-btn svg { width: 14px !important; height: 14px !important; }
}

@media (min-width: 1400px) {
    .content-wrapper { max-width: 1320px !important; }
    .hero-banner {
        max-width: 1320px !important;
        height: 480px !important;
    }
}

@media (max-width: 991.98px) {
    .msns-desktop-navbar { display: none !important; }
    header#top { display: flex; }
    .sidebar { display: flex; }
}

.msns-desktop-navbar * { box-sizing: border-box; }
.msns-desktop-navbar a { text-decoration: none; }
.msns-desktop-navbar ul { list-style: none; margin: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
    .msns-navbar-brand,
    .msns-nav-link,
    .msns-nav-btn {
        transition: none !important;
    }
}

html, body {
    overflow-x: clip !important;
}

/* ==========================================================
   🎵 AUDIO PLAYER — Liquid Glass
   ========================================================== */
.anthem-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 30px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.audio-player-card {
    width: 100%;
    max-width: 480px;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.6) 60%,
        rgba(254, 243, 199, 0.55) 100%
    );
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border-radius: 28px;
    padding: 26px 22px 22px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 -1px 0 rgba(0, 0, 0, 0.03) inset,
        0 30px 70px -20px rgba(185, 28, 28, 0.28),
        0 10px 30px -10px rgba(245, 158, 11, 0.15);
    position: relative;
    overflow: hidden;
    animation: playerEnter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

@keyframes playerEnter {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.audio-player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #dc2626, #f59e0b, #dc2626);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

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

.music-wave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    padding: 0 20px;
    opacity: 0.08;
    pointer-events: none;
    overflow: hidden;
}

.music-wave-bg span {
    display: block;
    width: 10px;
    background: linear-gradient(0deg, #dc2626, #f59e0b);
    border-radius: 6px 6px 0 0;
    animation: waveAnim 1.4s ease-in-out infinite;
}

.music-wave-bg span:nth-child(1)  { height: 20%; animation-delay: 0.0s; }
.music-wave-bg span:nth-child(2)  { height: 45%; animation-delay: 0.1s; }
.music-wave-bg span:nth-child(3)  { height: 65%; animation-delay: 0.2s; }
.music-wave-bg span:nth-child(4)  { height: 35%; animation-delay: 0.3s; }
.music-wave-bg span:nth-child(5)  { height: 80%; animation-delay: 0.4s; }
.music-wave-bg span:nth-child(6)  { height: 55%; animation-delay: 0.5s; }
.music-wave-bg span:nth-child(7)  { height: 90%; animation-delay: 0.6s; }
.music-wave-bg span:nth-child(8)  { height: 40%; animation-delay: 0.7s; }
.music-wave-bg span:nth-child(9)  { height: 70%; animation-delay: 0.8s; }
.music-wave-bg span:nth-child(10) { height: 30%; animation-delay: 0.9s; }

@keyframes waveAnim {
    0%, 100% { transform: scaleY(0.4); }
    50%      { transform: scaleY(1); }
}

.audio-player-card:not(.is-playing) .music-wave-bg span {
    animation-play-state: paused;
}

.album-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.disc-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
}

.disc-wrapper::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.audio-player-card.is-playing .disc-wrapper::before {
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%      { transform: scale(1.08); opacity: 1; }
}

.disc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, #fef3c7, #fef9c3);
    border: 4px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 15px 40px -10px rgba(185, 28, 28, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.05);
    animation: discSpin 6s linear infinite;
    animation-play-state: paused;
}

.audio-player-card.is-playing .disc {
    animation-play-state: running;
}

@keyframes discSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.disc-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 50%, #fde68a 100%);
    color: #b91c1c;
    padding: 30px;
    position: relative;
    box-sizing: border-box;
}

.disc-icon svg {
    width: 60%;
    height: 60%;
    filter: drop-shadow(0 4px 8px rgba(185, 28, 28, 0.28));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50%      { transform: scale(1.05); opacity: 1; }
}

.disc::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow:
        inset 0 0 6px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(220, 38, 38, 0.25);
    z-index: 3;
    pointer-events: none;
}

.track-info {
    text-align: center;
    width: 100%;
}

.track-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.track-artist {
    font-size: 0.76rem;
    font-weight: 600;
    color: #b91c1c;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.progress-section {
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.progress-bar {
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: visible;
    margin-bottom: 8px;
    transition: transform 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.progress-bar:hover {
    transform: scaleY(1.15);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #f59e0b);
    border-radius: 10px;
    width: 0%;
    position: relative;
    transition: width 0.1s linear;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%) scale(0);
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 3px solid #dc2626;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.4);
    pointer-events: none;
    transition: left 0.1s linear, transform 0.2s ease;
    z-index: 2;
}

.progress-bar:hover .progress-handle {
    transform: translate(-50%, -50%) scale(1);
}

.audio-player-card.is-playing .progress-handle {
    transform: translate(-50%, -50%) scale(1);
}

.time-stamps {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: #71717a;
    font-variant-numeric: tabular-nums;
}

.time-stamps .current-time {
    color: #b91c1c;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.control-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    color: #52525b;
}

.control-btn:active { transform: scale(0.92); }

.skip-btn {
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    color: #b91c1c;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 4px 12px rgba(185, 28, 28, 0.12);
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(220, 38, 38, 0.5);
    transform: scale(1.08);
    color: #991b1b;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 8px 20px rgba(185, 28, 28, 0.25);
}

.skip-btn i {
    position: relative;
}

.skip-btn::after {
    content: attr(data-label);
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0;
    color: inherit;
    opacity: 0.85;
}

.play-btn {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
    background: linear-gradient(145deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 12px 28px -5px rgba(185, 28, 28, 0.55);
}

.play-btn:hover {
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
    transform: scale(1.06);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 18px 40px -5px rgba(185, 28, 28, 0.65),
        0 0 24px rgba(245, 158, 11, 0.35);
}

.play-btn:active { transform: scale(0.96); }

.play-btn i {
    position: relative;
    left: 2px;
}

.play-btn i.fa-pause { left: 0; }

.volume-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.volume-row i {
    color: #b91c1c;
    font-size: 0.9rem;
    cursor: pointer;
    width: 18px;
    text-align: center;
    transition: transform 0.2s ease;
}

.volume-row i:hover { transform: scale(1.15); }

.volume-slider {
    flex: 1;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    border-radius: 50%;
    cursor: pointer;
    border: 2.5px solid #ffffff;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.4);
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    border-radius: 50%;
    cursor: pointer;
    border: 2.5px solid #ffffff;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.4);
}

.action-row {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.action-btn i { font-size: 0.9rem; }

.btn-download {
    background: linear-gradient(145deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 6px 16px rgba(185, 28, 28, 0.35);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 10px 24px rgba(185, 28, 28, 0.5);
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
}

.btn-source {
    background: rgba(255, 255, 255, 0.85);
    color: #52525b;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 4px 12px rgba(185, 28, 28, 0.08);
}

.btn-source:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(220, 38, 38, 0.45);
    color: #b91c1c;
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 8px 20px rgba(185, 28, 28, 0.18);
}

@media (max-width: 991.98px) {
    .anthem-grid { padding: 0; }
    .audio-player-card {
        max-width: 100%;
        padding: 22px 18px 18px;
        border-radius: 24px;
    }
    .disc-wrapper { width: 120px; height: 120px; }
    .track-title { font-size: 1.05rem; }
    .track-artist { font-size: 0.7rem; letter-spacing: 1px; }
    .play-btn { width: 62px; height: 62px; font-size: 1.4rem; }
    .skip-btn { width: 42px; height: 42px; font-size: 0.85rem; }
    .controls { gap: 10px; }
}

@media (max-width: 480px) {
    .audio-player-card {
        padding: 20px 15px 16px;
        border-radius: 22px;
    }
    .disc-wrapper { width: 110px; height: 110px; }
    .action-row { flex-direction: column; }
    .action-btn { padding: 11px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .audio-player-card,
    .audio-player-card *,
    .music-wave-bg span,
    .disc,
    .disc-wrapper::before {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================
   🖼️ MINI IMAGE LIBRARY — Liquid Glass
   ========================================================== */
#mini-image-library {
    width: 100%;
    margin: 40px 0 30px 0;
}

.mil-container {
    width: 100%;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45));
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 25px 60px -20px rgba(185, 28, 28, 0.28),
        0 10px 30px -10px rgba(245, 158, 11, 0.15);
    margin-bottom: 18px;
    min-height: 380px;
}

.mil-card {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.mil-media {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(254, 243, 199, 0.9), rgba(253, 230, 138, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.mil-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.08);
    transition:
        opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, filter, transform;
}

.mil-img.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    z-index: 2;
}

.mil-no-image {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(145deg, rgba(254, 243, 199, 0.9), rgba(253, 230, 138, 0.7));
    color: #b45309;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mil-no-image i { font-size: 2.5rem; opacity: 0.7; }

.mil-media::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.35), transparent);
    z-index: 3;
    pointer-events: none;
}

.mil-content {
    padding: 26px 24px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: relative;
}

.mil-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
    transition:
        opacity 0.5s ease,
        filter 0.5s ease,
        transform 0.5s ease;
    will-change: opacity, filter, transform;
}

.mil-line {
    height: 4px;
    width: 70px;
    border-radius: 4px;
    background: linear-gradient(90deg, #dc2626 0%, #f59e0b 50%, #dc2626 100%);
    background-size: 200% 100%;
    margin-bottom: 16px;
    animation: milLineFlow 3s ease infinite;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

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

.mil-desc {
    font-size: 0.9rem;
    color: #52525b;
    line-height: 1.7;
    font-weight: 500;
    max-width: 500px;
    transition:
        opacity 0.5s ease,
        filter 0.5s ease,
        transform 0.5s ease;
    will-change: opacity, filter, transform;
}

.mil-fading .mil-title,
.mil-fading .mil-desc {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(8px);
}

.mil-counter {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    color: #b91c1c;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 4px 14px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.mil-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 380px;
    color: #b91c1c;
    font-size: 0.9rem;
    font-weight: 600;
}

.mil-loading i { font-size: 2rem; }

.mil-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 380px;
    color: #71717a;
    font-size: 0.9rem;
    font-weight: 600;
}

.mil-empty i {
    font-size: 2.5rem;
    color: #b45309;
    opacity: 0.6;
}

.mil-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 6px 0 18px 0;
    flex-wrap: wrap;
}

.mil-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    padding: 0;
}

.mil-dot:hover {
    background: rgba(185, 28, 28, 0.4);
    transform: scale(1.2);
}

.mil-dot.active {
    background: linear-gradient(90deg, #dc2626, #f59e0b);
    width: 28px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.mil-more-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 6px;
}

.mil-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(145deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 10px 26px rgba(185, 28, 28, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.mil-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.mil-more-btn:hover::before { left: 150%; }

.mil-more-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.45) inset,
        0 15px 34px rgba(185, 28, 28, 0.55),
        0 0 24px rgba(245, 158, 11, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.mil-more-btn:active { transform: translateY(-1px); }

.mil-more-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.mil-more-btn:hover svg { transform: translateX(4px); }

@media (min-width: 768px) {
    .mil-card {
        grid-template-columns: 1.15fr 1fr;
        min-height: 420px;
    }
    .mil-media { height: 100%; min-height: 420px; }
    .mil-content { padding: 40px 36px; }
    .mil-title { font-size: 1.6rem; margin-bottom: 14px; }
    .mil-desc { font-size: 0.95rem; line-height: 1.8; }
    .mil-container { min-height: 420px; }
    .mil-loading,
    .mil-empty { min-height: 420px; }
    .mil-more-btn { padding: 15px 38px; font-size: 0.95rem; }
}

@media (min-width: 1200px) {
    .mil-card { grid-template-columns: 1.25fr 1fr; min-height: 460px; }
    .mil-media { min-height: 460px; }
    .mil-content { padding: 50px 44px; }
    .mil-title { font-size: 1.75rem; }
    .mil-container { min-height: 460px; }
    .mil-loading,
    .mil-empty { min-height: 460px; }
}

@media (max-width: 767.98px) {
    .mil-media { height: 260px; }
    .mil-content { padding: 22px 20px 26px; }
    .mil-title { font-size: 1.15rem; }
    .mil-desc { font-size: 0.85rem; line-height: 1.65; }
    .mil-counter { top: 12px; right: 12px; padding: 5px 11px; font-size: 0.7rem; }
    .mil-more-btn {
        padding: 12px 26px;
        font-size: 0.82rem;
        width: 100%;
        max-width: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mil-img,
    .mil-title,
    .mil-desc,
    .mil-line,
    .mil-more-btn {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================
   📊 FULL-SCREEN SHEET FOLDER MODAL — Liquid Glass
   ========================================================== */
.sheet-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sheet-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.sheet-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    transition: opacity 0.35s ease;
    cursor: pointer;
}

.sheet-modal-window {
    position: relative;
    width: 100%;
    max-width: 1280px;
    height: 90vh;
    max-height: 90vh;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.82) 100%
    );
    backdrop-filter: blur(36px) saturate(200%);
    -webkit-backdrop-filter: blur(36px) saturate(200%);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        -1px 0 0 rgba(255, 255, 255, 0.5) inset,
        0 40px 100px rgba(15, 23, 42, 0.35),
        0 0 80px rgba(220, 38, 38, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.92) translateY(20px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s ease;
    will-change: transform, opacity;
}

.sheet-modal.active .sheet-modal-window {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.sheet-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(254, 243, 199, 0.55));
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
    position: relative;
    flex-shrink: 0;
}

.sheet-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #f59e0b, #dc2626);
    background-size: 200% 100%;
    animation: sheetLineFlow 4s ease infinite;
}

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

.sheet-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 3px 10px rgba(0, 0, 0, 0.05);
}

.sheet-modal-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sheet-modal-back {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
    border-color: rgba(255, 255, 255, 0.9);
    color: #334155;
}

.sheet-modal-back:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(254, 243, 199, 0.9));
    border-color: rgba(220, 38, 38, 0.45);
    color: #b91c1c;
    transform: translateX(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 8px 20px rgba(185, 28, 28, 0.18);
}

.sheet-modal-close {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(220, 38, 38, 0.15), rgba(220, 38, 38, 0.08));
    border-color: rgba(255, 255, 255, 0.75);
    color: #dc2626;
}

.sheet-modal-close:hover {
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 0 24px rgba(220, 38, 38, 0.55);
}

.sheet-modal-title {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
}

.sheet-modal-title svg {
    width: 16px;
    height: 16px;
    color: #b91c1c;
    flex-shrink: 0;
}

.sheet-modal-body {
    flex: 1;
    position: relative;
    background: rgba(248, 250, 252, 0.6);
    overflow: hidden;
}

.sheet-modal-body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.sheet-modal-body::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(220, 38, 38, 0.15);
    border-top-color: #dc2626;
    border-radius: 50%;
    animation: sheetSpin 0.9s linear infinite;
    z-index: 0;
}

@keyframes sheetSpin { 100% { transform: rotate(360deg); } }

.sheet-modal-body iframe { z-index: 1; }

@media (max-width: 767.98px) {
    .sheet-modal {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
    }
    .sheet-modal-window {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        border: none;
    }
    .sheet-modal-header {
        padding: 12px 14px;
        gap: 8px;
    }
    .sheet-modal-btn {
        height: 38px;
        padding: 0 12px;
        font-size: 0.75rem;
        border-radius: 12px;
    }
    .sheet-modal-btn svg { width: 14px; height: 14px; }
    .sheet-modal-close {
        width: 38px;
        height: 38px;
        padding: 0;
    }
    .sheet-modal-back span { display: none; }
    .sheet-modal-back { padding: 0; width: 38px; }
    .sheet-modal-title { font-size: 0.82rem; }
    .sheet-modal-title span {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (min-width: 992px) {
    .sheet-modal-window {
        height: 88vh;
        max-height: 88vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sheet-modal,
    .sheet-modal-window,
    .sheet-modal-header::before,
    .sheet-modal-body::before {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   GOOGLE TRANSLATE TOP BAR & IFRAME HIDER
   ========================================================================== */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
iframe[id^=":"],
iframe[src*="translate.googleapis.com"],
iframe[src*="translate.google.com"],
.VIpgJd-yA0Tne-SK102c,
.VIpgJd-yA0Tne-SK102c-i5102x,
.VIpgJd-yA0Tne-SK102c-M9Bg4e {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

html, body {
    top: 0px !important;
    position: static !important;
    margin-top: 0px !important;
}

#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}
