/* ============================================
   SHERLY GASPERSZ - Web Profile
   Dark Theme CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1e1e2a;
    --border: #2a2a3a;
    --border-accent: #3a3a55;
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --teal: #4ecdc4;
    --teal-dim: rgba(78, 205, 196, 0.12);
    --text-primary: #f0eff5;
    --text-secondary: #9896a8;
    --text-muted: #5a5868;
    --red-accent: #e05252;
    --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #12121c 50%, #0f0f18 100%);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-gold: 0 0 30px rgba(201,168,76,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--gold);
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.7rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.nav-brand span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
}

.nav-admin-btn {
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold) !important;
    padding: 0.4rem 1rem !important;
    border-radius: 6px;
    font-size: 0.85rem !important;
    text-decoration: none;
    transition: var(--transition);
}
.nav-admin-btn:hover {
    background: var(--gold) !important;
    color: #000 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201,168,76,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(78,205,196,0.05) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.3s;
}

.hero-name {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.5s;
}

.hero-name em {
    display: block;
    font-style: italic;
    color: var(--gold);
    font-size: 0.6em;
}

.hero-gelar {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--teal);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.7s;
}

.hero-bio {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.9s;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s forwards 1.1s;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s forwards 1.3s;
}

.btn-primary {
    background: var(--gold);
    color: #0a0a0f;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid var(--border-accent);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* Hero Photo */
.hero-photo-wrapper {
    position: relative;
    opacity: 0;
    animation: fadeIn 1s forwards 0.8s;
}

.hero-photo-frame {
    position: relative;
    width: 340px;
    height: 400px;
    margin: 0 auto;
}

.hero-photo-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--gold) 0%, transparent 50%, var(--teal) 100%);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.hero-photo-frame::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 2px);
    position: relative;
    z-index: 1;
    display: block;
}

.hero-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border-radius: calc(var(--radius-lg) - 2px);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 4rem;
}

.hero-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    z-index: 2;
    box-shadow: var(--shadow-card);
}

.hero-badge-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
}
.hero-badge-value {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--gold);
    font-weight: 700;
}

/* ---- SECTIONS ---- */
.section {
    padding: 6rem 0;
    position: relative;
}

.section:nth-child(odd) {
    background: var(--bg-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- CARDS ---- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

/* ---- PENDIDIKAN TIMELINE ---- */
.timeline {
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold), var(--teal), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}
.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}

.timeline-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 0.25rem;
}
.timeline-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}
.timeline-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ---- KARIR GRID ---- */
.karir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.karir-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}
.karir-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-dim) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}
.karir-card:hover {
    border-left-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}
.karir-card:hover::after { opacity: 1; }

.karir-period {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
}
.karir-posisi {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}
.karir-inst {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---- PENELITIAN ---- */
.penelitian-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.penelitian-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: start;
}
.penelitian-item:hover {
    border-color: var(--teal);
    transform: translateX(6px);
}
.penelitian-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    padding-top: 2px;
}
.penelitian-title {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 0.3rem;
}
.penelitian-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.penelitian-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--teal);
    background: var(--teal-dim);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
}

/* ---- BUKU ---- */
.buku-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.buku-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.buku-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--gold);
}

.buku-cover {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}
.buku-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-dim) 0%, var(--teal-dim) 100%);
}
.buku-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.buku-body {
    padding: 1rem;
}
.buku-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.4;
}
.buku-publisher {
    font-size: 0.78rem;
    color: var(--text-secondary);
}
.buku-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--gold);
    margin-top: 0.5rem;
}

/* ---- PRESTASI ---- */
.prestasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.prestasi-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prestasi-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(201,168,76,0.05) 60deg, transparent 120deg);
    animation: spin 8s linear infinite;
    opacity: 0;
    transition: var(--transition);
}
.prestasi-card:hover::before { opacity: 1; }
.prestasi-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.prestasi-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    position: relative;
    z-index: 1;
}
.prestasi-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}
.prestasi-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}
.prestasi-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ---- MATERI PENGAJARAN ---- */
.materi-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
    font-family: 'DM Sans', sans-serif;
}
.filter-btn.active, .filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}

.materi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.materi-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.materi-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.materi-thumb {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}
.materi-thumb-type {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.type-youtube { background: #ff0000; color: white; }
.type-gdrive { background: #4285F4; color: white; }
.type-file { background: var(--gold); color: #000; }

.materi-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.materi-mk {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}
.materi-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}
.materi-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex: 1;
    line-height: 1.6;
}
.materi-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.materi-semester {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.materi-link-icon {
    color: var(--gold);
    font-size: 1.2rem;
}

/* ---- KONTAK ---- */
.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.kontak-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.kontak-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.kontak-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.kontak-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'JetBrains Mono', monospace;
}
.kontak-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Form */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Alert */
.alert {
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.alert-success {
    background: rgba(78,205,196,0.1);
    border: 1px solid rgba(78,205,196,0.3);
    color: var(--teal);
}
.alert-error {
    background: rgba(224,82,82,0.1);
    border: 1px solid rgba(224,82,82,0.3);
    color: var(--red-accent);
}

/* ---- FOOTER ---- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
}
.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-text a {
    color: var(--gold);
    text-decoration: none;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- MOBILE NAV ---- */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10,10,15,0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.2rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-stats { justify-content: center; }
    .hero-cta { justify-content: center; }
    .hero-photo-wrapper { order: -1; }
    .hero-photo-frame { width: 240px; height: 280px; }
    .hero-bio { margin: 0 auto 2rem; }
    
    .kontak-grid { grid-template-columns: 1fr; gap: 2rem; }
    .karir-grid { grid-template-columns: 1fr; }
    .buku-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 500;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}
.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

/* ---- TAG BADGE ---- */
.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}
