/* ===========================
   BNU.CSS — Beijing Normal University
   Warna: Forest Green #1A6B3C + Gold #C9A84C + Ivory #F5F0E8
   Tema: Akademis, Klasik-Modern, Botanical Heritage
   Font: Cormorant Garamond (display) + DM Sans (body) + Noto Serif SC (Chinese)
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=Noto+Serif+SC:wght@400;600;700&display=swap');

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --green:        #1A6B3C;
    --green-mid:    #2E8B57;
    --green-light:  #3DAF6E;
    --green-dim:    rgba(26, 107, 60, 0.3);
    --gold:         #C9A84C;
    --gold-light:   rgba(201, 168, 76, 0.35);
    --gold-dim:     rgba(201, 168, 76, 0.15);
    --ivory:        #F5F0E8;
    --ivory-dim:    rgba(245, 240, 232, 0.85);
    --bg:           #060e08;
    --bg-mid:       #0b1a0f;
}

body {
    overflow-x: hidden;
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--ivory);
}

/* ===== BOTANICAL PARTICLES ===== */
.botanicals {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.bot-particle {
    position: absolute;
    color: var(--green-light);
    font-family: 'Noto Serif SC', serif;
    animation: floatBot linear infinite;
    user-select: none;
}
@keyframes floatBot {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { transform: translateY(-80px) rotate(200deg); opacity: 0; }
}

/* ===== HUD CORNERS ===== */
.corner {
    position: fixed;
    width: 36px;
    height: 36px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.35;
}
.corner-tl { top: 14px; left: 14px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.corner-tr { top: 14px; right: 14px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.corner-bl { bottom: 14px; left: 14px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.corner-br { bottom: 14px; right: 14px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* ===== SLIDES ===== */
.slide {
    position: relative;
    display: block;
    background-image: url("peking.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1;
}
.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(6, 14, 8, 0.92) 0%,
        rgba(26, 107, 60, 0.28) 50%,
        rgba(6, 14, 8, 0.94) 100%
    );
    z-index: 0;
    pointer-events: none;
}
.slide > * { position: relative; z-index: 1; }

/* ===== BACK BUTTON ===== */
.btn-back {
    display: block;
    width: fit-content;
    margin: 18px auto;
    background: linear-gradient(135deg, var(--green) 0%, #0a2e18 100%);
    color: var(--ivory);
    border: 1.5px solid var(--gold);
    padding: 10px 28px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 3px 3px 0 rgba(201, 168, 76, 0.35);
    transition: all 0.3s ease;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-back:hover {
    background: linear-gradient(135deg, var(--gold) 0%, #a07830 100%);
    color: #0a2e18;
    box-shadow: 0 0 22px var(--gold-light);
    transform: translateY(-2px);
}

/* ===== HERO BADGE ===== */
.hero-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    margin: 10px auto 0;
    background: rgba(26, 107, 60, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold);
    font-family: 'DM Sans', monospace;
    font-size: 0.7rem;
    letter-spacing: 3px;
    padding: 5px 22px;
    text-transform: uppercase;
}
.pip {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pipBlink 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pipBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.1; }
}

/* ===== HERO TITLE ===== */
.hero-title {
    display: block;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 6vw, 72px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin: 14px auto 0;
    width: 88%;
    padding: 22px 36px;
    text-shadow: 0 0 50px rgba(201, 168, 76, 0.5), 2px 2px 12px rgba(0,0,0,0.6);
    background: linear-gradient(135deg,
        rgba(26, 107, 60, 0.38) 0%,
        rgba(201, 168, 76, 0.06) 50%,
        rgba(26, 107, 60, 0.38) 100%
    );
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--green-light);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), 0 0 60px rgba(26,107,60,0.2);
    transition: all 0.4s ease;
    clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
}
.hero-title:hover {
    box-shadow: 0 0 70px rgba(201,168,76,0.25), 0 25px 50px rgba(0,0,0,0.6);
    transform: scale(1.004);
}

.hero-sub {
    display: block;
    text-align: center;
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(10px, 1.4vw, 14px);
    color: var(--gold);
    letter-spacing: 4px;
    margin: 8px auto 0;
    opacity: 0.8;
}

/* ===== HERO STRIP ===== */
.hero-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 10px auto 0;
    font-family: 'DM Sans', monospace;
    font-size: 0.64rem;
    color: rgba(201, 168, 76, 0.5);
    letter-spacing: 2px;
}
.strip-sep { color: rgba(201, 168, 76, 0.25); }

/* ===== HERO LAYOUT ===== */
.hero-layout {
    display: flex;
    column-gap: 40px;
    padding: 40px 50px 60px;
}

/* ===== VIDEO WRAP ===== */
.video-wrap {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    margin-left: 50px;
    width: fit-content;
    padding: 12px;
    background: rgba(26, 107, 60, 0.18);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(201, 168, 76, 0.28);
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--green-mid);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), 0 0 40px rgba(26,107,60,0.15);
    transition: all 0.4s ease;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.vid-label {
    font-family: 'DM Sans', monospace;
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 8px;
    opacity: 0.7;
}
.video-wrap iframe { display: block; }
.video-wrap:hover {
    border-color: var(--green-light);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), 0 0 45px rgba(61,175,110,0.2);
    transform: translateY(-4px);
}

/* ===== INTRO CARD ===== */
.intro-card {
    margin-top: 40px;
    margin-right: 50px;
    background: rgba(26, 107, 60, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-left: 3px solid var(--gold);
    padding: 26px 28px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    color: var(--ivory-dim);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.9;
    text-align: justify;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.intro-tag {
    font-family: 'DM Sans', monospace;
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 12px;
    opacity: 0.7;
}
.intro-card strong { color: var(--gold); }

/* ===== SECTION LABELS & TITLES ===== */
.sec-label {
    display: block;
    text-align: center;
    font-family: 'DM Sans', monospace;
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 5px;
    margin: 52px auto 0;
    opacity: 0.5;
}
.sec-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px auto 6px;
    width: fit-content;
    padding: 16px 50px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 4.5vw, 52px);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 30px rgba(201,168,76,0.4);
    background: rgba(26, 107, 60, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(201, 168, 76, 0.28);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--green-light);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.sec-sub {
    display: block;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    color: rgba(245, 240, 232, 0.45);
    letter-spacing: 1.5px;
    margin: 6px auto 26px;
}

/* ===== CATEGORY BLOCK ===== */
.cat-block {
    width: 92%;
    margin: 0 auto 34px;
}
.cat-header {
    display: flex;
    align-items: center;
    padding: 10px 22px;
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--green-light);
    background: rgba(26, 107, 60, 0.12);
    border-left: 3px solid var(--green-light);
    border-bottom: 1px solid rgba(26, 107, 60, 0.25);
    text-transform: uppercase;
}

/* ===== CARDS COLUMN ===== */
.cards-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.info-card {
    background: rgba(26, 107, 60, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 76, 0.14);
    border-left: 3px solid var(--green-mid);
    padding: 16px 22px;
    color: var(--ivory-dim);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.93rem;
    line-height: 1.75;
    transition: all 0.3s ease;
    cursor: default;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.info-card:hover {
    background: rgba(26, 107, 60, 0.35);
    border-left: 3px solid var(--gold);
    box-shadow: 0 0 25px rgba(201,168,76,0.12), 0 6px 25px rgba(0,0,0,0.3);
    transform: translateX(8px);
}
.info-card strong {
    display: block;
    color: var(--gold);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}
.info-card span {
    font-size: 0.88rem;
    color: rgba(245, 240, 232, 0.7);
}

/* ===== STATS ===== */
.stats-row {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 22px;
    padding: 0 20px 30px;
}
.stat-card {
    background: rgba(26, 107, 60, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 76, 0.22);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--green-light);
    padding: 38px 25px;
    width: 265px;
    min-height: 250px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.stat-card:hover {
    transform: translateY(-12px);
    background: rgba(26, 107, 60, 0.4);
    box-shadow: 0 25px 50px rgba(0,0,0,0.45), 0 0 40px rgba(201,168,76,0.18);
}
.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
    text-shadow: 0 0 22px rgba(201,168,76,0.55);
    letter-spacing: 2px;
}
.stat-lbl {
    color: rgba(245, 240, 232, 0.78);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.84rem;
    line-height: 1.5;
}

/* ===== FEES & SCHOLARSHIPS ===== */
.fees-scholarships {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 22px;
    width: 92%;
    margin: 0 auto 50px;
}
.fees-box {
    background: rgba(26, 107, 60, 0.14);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-top: 2px solid var(--green-mid);
    padding: 26px;
    flex: 1;
    min-width: 280px;
    max-width: 480px;
    color: var(--ivory-dim);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    line-height: 1.9;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.fees-box p { margin-bottom: 8px; }
.fees-box strong { color: var(--gold); }
.fees-box em { color: rgba(245, 240, 232, 0.5); font-size: 0.83rem; }
.box-title {
    font-family: 'DM Sans', monospace;
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    padding-bottom: 8px;
}

/* ===== AI POPUP ===== */
.ai-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--green) 0%, #0a2e18 100%);
    border: 1.5px solid var(--gold);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    z-index: 10000;
    transition: all 0.3s ease;
    animation: popPulse 2.5s infinite;
    box-shadow: 0 5px 20px rgba(26,107,60,0.5);
}
.ai-dot {
    width: 34px; height: 34px;
    background: var(--gold);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    margin-right: 10px;
}
.ai-text {
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
}
@keyframes popPulse {
    0%   { box-shadow: 0 0 0 0 rgba(201,168,76,0.55), 0 5px 20px rgba(26,107,60,0.5); transform: scale(1); }
    70%  { box-shadow: 0 0 0 14px rgba(201,168,76,0), 0 5px 20px rgba(26,107,60,0.5); transform: scale(1.04); }
    100% { box-shadow: 0 0 0 0 rgba(201,168,76,0), 0 5px 20px rgba(26,107,60,0.5); transform: scale(1); }
}
.ai-popup:hover {
    animation: none;
    background: linear-gradient(135deg, var(--gold) 0%, #a07830 100%);
    transform: translateY(-5px) scale(1.07);
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}
.ai-popup:hover .ai-dot { background: #fff; color: var(--gold); }
.ai-popup:hover .ai-text { color: #0a2e18; }

/* ===== FINAL SLIDE ===== */
.slide4 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 60px 20px;
}
.final-wrap {
    position: relative;
    z-index: 1;
    background: rgba(6, 14, 8, 0.72);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(201, 168, 76, 0.28);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--green-light);
    width: 90%;
    max-width: 1200px;
    padding: 48px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 80px rgba(26,107,60,0.15);
    text-align: center;
    clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
}
.final-chinese {
    font-family: 'Noto Serif SC', serif;
    font-size: 2rem;
    color: var(--green-light);
    opacity: 0.12;
    letter-spacing: 10px;
    margin-bottom: -16px;
    font-weight: 700;
}
.final-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: #fff;
    font-size: clamp(20px, 3.8vw, 42px);
    margin-bottom: 6px;
    text-shadow: 0 0 30px rgba(201,168,76,0.4);
    letter-spacing: 4px;
    text-transform: uppercase;
}
.final-title::after {
    content: '';
    display: block;
    width: 90px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--green-light));
    margin: 14px auto 32px;
}
.final-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: var(--gold);
    opacity: 0.65;
    letter-spacing: 2px;
    margin-bottom: 0;
}
.final-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 32px;
}
.final-card {
    background: rgba(26, 107, 60, 0.2);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-top: 2px solid var(--green-mid);
    padding: 26px 20px;
    color: var(--ivory-dim);
    text-align: left;
    transition: 0.35s ease;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.final-card:hover {
    background: rgba(26, 107, 60, 0.42);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 30px rgba(26,107,60,0.15);
}
.final-card h3 {
    color: var(--gold);
    margin-bottom: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    padding-bottom: 8px;
    text-transform: uppercase;
}
.final-card p {
    font-size: 0.84rem;
    line-height: 1.78;
    margin-bottom: 3px;
    color: rgba(245, 240, 232, 0.85);
}
.final-card strong { color: var(--gold); }
.final-card em { color: rgba(245, 240, 232, 0.5); font-size: 0.8rem; }
.tl-list {
    list-style: none;
    font-size: 0.83rem;
    line-height: 2;
    color: rgba(245, 240, 232, 0.85);
}
.tl-list li::before { content: '▸ '; color: var(--green-light); }
.link-col { display: flex; flex-direction: column; gap: 11px; }
.btn-link {
    text-decoration: none;
    background: transparent;
    color: var(--green-light);
    padding: 9px 14px;
    text-align: center;
    font-weight: 500;
    border: 1px solid var(--green-mid);
    transition: 0.3s;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.84rem;
    display: block;
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}
.btn-link:hover {
    background: var(--green-light);
    color: #060e08;
    border-color: var(--green-light);
    box-shadow: 0 0 18px rgba(61,175,110,0.35);
}
.mini-footer {
    margin-top: 22px;
    color: rgba(245, 240, 232, 0.28);
    font-size: 0.74rem;
    letter-spacing: 0.5px;
    font-family: 'DM Sans', monospace;
    line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-title {
        font-size: 22px !important;
        width: 94% !important;
        letter-spacing: 2px;
        padding: 14px 16px;
        clip-path: none;
    }
    .hero-sub { font-size: 9px; letter-spacing: 2px; }
    .hero-strip { display: none; }
    .hero-badge { font-size: 0.58rem; letter-spacing: 1.5px; padding: 5px 12px; }
    .hero-layout {
        flex-direction: column !important;
        align-items: center !important;
        gap: 18px !important;
        padding: 12px;
    }
    .video-wrap {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 10px;
        clip-path: none;
    }
    .video-wrap iframe { height: 230px !important; width: 100% !important; }
    .intro-card {
        width: 100% !important;
        margin: 0 !important;
        padding: 18px !important;
        font-size: 0.93rem !important;
        text-align: left;
        clip-path: none;
    }
    .sec-title {
        width: 92%;
        padding: 12px 18px;
        font-size: 18px;
        letter-spacing: 2px;
        clip-path: none;
    }
    .cat-header { font-size: 0.62rem; letter-spacing: 2px; }
    .stat-card { width: 90%; min-height: auto; padding: 28px 20px; clip-path: none; }
    .fees-scholarships { flex-direction: column; width: 95%; }
    .fees-box { max-width: 100%; clip-path: none; }
    .final-grid { grid-template-columns: 1fr; }
    .final-wrap { padding: 22px; width: 96%; clip-path: none; }
    .final-card { clip-path: none; }
    .corner { display: none; }
    .btn-back { clip-path: none; font-size: 0.7rem; letter-spacing: 2px; }
    .info-card { clip-path: none; }
}