/* --- HERO --- */
.hero {
    text-align: center; padding: 6rem 1.5rem 4rem;
    min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 1rem; color: var(--text-main); letter-spacing: -1px; }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; font-weight: 500; }

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 var(--glow-color); transform: scale(1); }
    50% { box-shadow: 0 0 25px 0 var(--glow-color); transform: scale(1.03); }
    100% { box-shadow: 0 0 0 0 var(--glow-color); transform: scale(1); }
}

.cta-btn {
    display: inline-block; width: fit-content; padding: 14px 40px;
    background-color: var(--primary); color: var(--btn-text);
    font-weight: 800; text-decoration: none; border-radius: 50px;
    animation: pulseGlow 2s infinite ease-in-out;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase; letter-spacing: 1px; font-size: 1rem;
}
.cta-btn:hover { animation: none; box-shadow: 0 0 30px var(--primary); transform: translateY(-3px); }
[data-theme="ui"] .cta-btn { background-color: #1e1e1c; color: var(--primary); }

/* --- KAMPUS LOGO --- */
.campus-container {
    text-align: center; padding: 2rem 5%;
    background: rgba(128, 128, 128, 0.05);
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}
.campus-label {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
    color: #888; margin-bottom: 1.5rem; font-weight: 700; opacity: 0.8;
}
.image-wrapper { position: relative; display: inline-block; max-width: 850px; width: 100%; }
.campus-banner {
    width: 100%; height: auto; display: block; margin: 0 auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    transition: opacity 0.5s ease;
}

/* --- TAB MENU --- */
.tab-menu { display: flex; justify-content: center; gap: 8px; padding: 3rem 1rem 0; flex-wrap: wrap; }
.tab-btn {
    background: transparent; border: none; font-size: 0.95rem; font-weight: 700;
    color: var(--text-muted); padding: 10px 24px; cursor: pointer; border-radius: 50px; transition: all 0.3s ease;
}
.tab-btn.active { color: var(--btn-text); background-color: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
[data-theme="ui"] .tab-btn.active { color: #000; } 

/* --- GRID & CARDS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }
.content-section { display: none; animation: fadeIn 0.4s ease; }
.content-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-card); padding: 2rem; text-align: left;
    box-shadow: var(--shadow-card); cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column; justify-content: space-between; height: 100%;
    position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: var(--primary); }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--primary); }
.card h3 { margin-bottom: 0.5rem; font-size: 1.3rem; font-weight: 700; color: var(--text-main); }
.card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.5; }

.btn-card {
    align-self: flex-start; padding: 8px 20px;
    background: rgba(128, 128, 128, 0.1); color: var(--text-main);
    border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-decoration: none; transition: 0.3s;
}
.card:hover .btn-card { background: var(--text-main); color: var(--bg-body); }

/* Special Card Adaptif */
.card.special { background: var(--primary); border: none; }
.card.special h3 { color: var(--btn-text); }
.card.special p { color: var(--btn-text); opacity: 0.8; font-weight: 500; }
.card.special::before { display: none; }
.card.special .btn-card { background: rgba(255,255,255,0.4); color: var(--btn-text); }
.card.special:hover .btn-card { background: var(--btn-text); color: var(--primary); }

.guide-wrapper { text-align: center; margin: 4rem auto 2rem; padding: 0 1rem; }
.guide-title { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.guide-btn {
    display: inline-block; background: transparent; color: var(--text-main);
    font-size: 1rem; font-weight: 800; padding: 10px 30px; border: 2px solid var(--primary);
    border-radius: 50px; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.guide-btn:hover { background: var(--primary); color: var(--btn-text); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
[data-theme="ui"] .guide-btn { color: #ffffff !important; background-color: #000000; border-color: #ffea00; }
[data-theme="ui"] .guide-btn:hover { background-color: #ffffff; color: #000000 !important; border-color: #ffea00; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.about-link-wrapper { text-align: center; margin-top: 2rem; margin-bottom: 2rem; }
.about-btn {
    font-size: 1rem; font-weight: 800; color: var(--primary); text-decoration: none;
    text-transform: uppercase; letter-spacing: 1px; border: 2px solid var(--primary);
    padding: 10px 24px; border-radius: 50px; transition: 0.3s;
}
.about-btn:hover { background: var(--primary); color: var(--btn-text); }

/* MODAL */
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); justify-content: center; align-items: center; padding: 1rem; }
.modal-content { background-color: var(--bg-card); padding: 2rem; width: 100%; max-width: 500px; border-radius: 24px; position: relative; box-shadow: 0 25px 60px rgba(0,0,0,0.3); max-height: 80vh; overflow-y: auto; color: var(--text-main); animation: scaleIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close-btn { float: right; font-size: 1.5rem; font-weight: bold; cursor: pointer; color: var(--text-muted); background: rgba(128,128,128,0.1); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.close-btn:hover { color: var(--text-main); background: rgba(128,128,128,0.2); }
#modalTitle { margin-bottom: 1.2rem; border-bottom: 2px solid var(--primary); display: inline-block; padding-bottom: 5px; font-weight: 800; font-size: 1.4rem; }
#modalText { margin-top: 1rem; color: var(--text-muted); font-size: 1rem; }
.video-list { list-style: none; }
.video-list li { margin-bottom: 0.8rem; }
.video-list a { text-decoration: none; color: var(--text-main); font-weight: 600; display: flex; align-items: center; transition: 0.2s; padding: 10px; border-radius: 10px; }
.video-list a:hover { background: rgba(128,128,128,0.08); padding-left: 15px; }
.video-list span { margin-right: 12px; color: var(--primary); font-size: 1.2rem; }

@media (max-width: 600px) { .hero h1 { font-size: 2.2rem; } .card { min-height: auto; padding: 1.5rem; } }

/* --- FLOATING ACTION BUTTON (JADWAL) --- */
.fab-wrapper { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; align-items: center; }
.fab-btn {
    width: 65px; height: 65px; background-color: var(--primary); color: #000; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3); font-size: 1.8rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255,255,255,0.2);
}
.fab-btn:hover { transform: scale(1.1) rotate(-10deg); box-shadow: 0 10px 25px rgba(255, 193, 7, 0.5); }
.fab-label {
    margin-top: 8px; background: rgba(0,0,0,0.7); color: #fff; padding: 4px 10px; border-radius: 12px;
    font-size: 0.75rem; font-weight: 700; backdrop-filter: blur(4px); opacity: 0; transform: translateY(10px);
    transition: 0.3s; pointer-events: none;
}
.fab-wrapper:hover .fab-label { opacity: 1; transform: translateY(0); }

/* --- UTBK COUNTDOWN --- */
.utbk-countdown { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 2rem; line-height: 1; }
.timer-text { font-size: 1.1rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 4px; }
.timer-number { font-size: 6rem; font-weight: 900; color: var(--primary); margin: 5px 0; }
@media (max-width: 400px) { .timer-number { font-size: 5rem; } .timer-text { font-size: 0.9rem; letter-spacing: 2px; } }