/* ============================================
   SMA PGRI LEGOK — Design System
   Dark Navy + Gold | Outfit + Playfair Display
   ============================================ */

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

:root {
    --navy-950: #020617;
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;
    --navy-600: #475569;
    --gold-300: #fcd34d;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;
    --gold-700: #b45309;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-bg-solid: rgba(15, 23, 42, 0.88);
    --glass-border: rgba(251, 191, 36, 0.1);
    --glass-border-hover: rgba(251, 191, 36, 0.3);
    --gold-gradient: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    --gold-text-gradient: linear-gradient(135deg, var(--gold-300), var(--gold-500), var(--gold-300));
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--navy-950);
    color: var(--slate-200);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; color: var(--slate-100); }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--slate-300); font-size: 1.05rem; line-height: 1.8; }
a  { color: var(--gold-400); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-300); }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gold-text { background: var(--gold-text-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-label { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .8rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-400); margin-bottom: 12px; display: block; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header p { max-width: 600px; margin: 16px auto 0; color: var(--slate-400); }
.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .3s; border: none; text-decoration: none; letter-spacing: .5px; }
.btn-gold { background: var(--gold-gradient); color: var(--navy-950); box-shadow: 0 4px 15px rgba(251,191,36,.3); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(251,191,36,.45); color: var(--navy-950); }
.btn-outline { background: transparent; color: var(--gold-400); border: 2px solid rgba(251,191,36,.4); }
.btn-outline:hover { background: rgba(251,191,36,.1); transform: translateY(-2px); border-color: var(--gold-400); color: var(--gold-300); }
.btn-sm { padding: 10px 24px; font-size: .85rem; }
.btn-white { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); }
.btn-white:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-2px); }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar { background: linear-gradient(90deg, var(--gold-600), var(--gold-400), var(--gold-600)); background-size: 200% 100%; animation: gradientSlide 4s ease infinite; padding: 10px 0; text-align: center; position: relative; z-index: 1001; }
.announcement-bar p { color: var(--navy-950); font-weight: 600; font-size: .88rem; }
.announcement-bar a { color: var(--navy-950); text-decoration: underline; font-weight: 700; }
.announcement-bar .close-ann { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--navy-950); cursor: pointer; font-size: 1.3rem; opacity: .6; transition: opacity .2s; z-index: 2; }
.announcement-bar .close-ann:hover { opacity: 1; }
.announcement-bar.hidden { display: none; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 42px; left: 0; right: 0; z-index: 1000; padding: 14px 0; transition: all .35s ease; }
.navbar.no-announcement { top: 0; }
.navbar.scrolled { background: var(--glass-bg-solid); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--glass-border); padding: 10px 0; top: 0 !important; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; filter: drop-shadow(0 2px 8px rgba(251,191,36,.2)); }
.nav-brand-text .brand-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: var(--gold-400); line-height: 1.2; }
.nav-brand-text .brand-sub { font-size: .65rem; color: var(--slate-400); letter-spacing: 2px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { padding: 8px 16px; color: var(--slate-300); font-size: .88rem; font-weight: 500; border-radius: 8px; transition: all .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-400); background: rgba(251,191,36,.08); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold-400); border-radius: 2px; transition: all .3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(2,6,23,.97); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 8px; backdrop-filter: blur(20px); }
.mobile-menu.active { display: flex; }
.mobile-menu a { color: var(--slate-200); font-size: 1.3rem; font-weight: 500; padding: 12px 32px; border-radius: 12px; transition: all .2s; }
.mobile-menu a:hover { color: var(--gold-400); background: rgba(251,191,36,.08); }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 120px 0 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(251,191,36,.07) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(251,191,36,.04) 0%, transparent 50%), linear-gradient(180deg, var(--navy-950), var(--navy-900) 50%, var(--navy-950)); z-index: 1; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(251,191,36,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(251,191,36,.03) 1px, transparent 1px); background-size: 60px 60px; z-index: 2; animation: gridMove 25s linear infinite; }
.hero-content { position: relative; z-index: 3; text-align: center; max-width: 880px; margin: 0 auto; padding: 0 24px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.2); border-radius: 50px; font-size: .82rem; color: var(--gold-400); font-weight: 500; margin-bottom: 28px; backdrop-filter: blur(10px); }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin-bottom: 24px; line-height: 1.08; letter-spacing: -1px; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.2rem) !important; color: var(--slate-400) !important; max-width: 620px; margin: 0 auto 40px !important; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero floating shapes */
.hero-shape { position: absolute; z-index: 2; opacity: .12; pointer-events: none; }
.shape-1 { top: 15%; left: 8%; width: 90px; height: 90px; border: 2px solid var(--gold-400); border-radius: 18px; transform: rotate(45deg); animation: float1 7s ease-in-out infinite; }
.shape-2 { top: 22%; right: 10%; width: 50px; height: 50px; background: var(--gold-gradient); border-radius: 50%; animation: float2 9s ease-in-out infinite; }
.shape-3 { bottom: 25%; left: 10%; width: 70px; height: 70px; border: 2px solid var(--gold-400); border-radius: 50%; animation: float1 8s ease-in-out infinite reverse; }
.shape-4 { bottom: 15%; right: 8%; width: 40px; height: 40px; border: 2px solid var(--gold-500); border-radius: 10px; animation: float2 6s ease-in-out infinite; }

/* Scroll indicator */
.scroll-down { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: bounce 2.5s infinite; }
.scroll-down span { font-size: .7rem; color: var(--slate-500); letter-spacing: 2px; text-transform: uppercase; }
.mouse { width: 22px; height: 36px; border: 2px solid var(--slate-500); border-radius: 11px; position: relative; }
.mouse::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--gold-400); border-radius: 2px; animation: scrollWheel 2s infinite; }

/* ===== STATS SECTION ===== */
.stats { padding: 80px 0; position: relative; }
.stats::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-950), var(--navy-900), var(--navy-950)); z-index: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.stat-card { background: var(--glass-bg); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 36px 24px; text-align: center; transition: all .35s; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--gold-gradient); border-radius: 0 0 4px 4px; transition: width .3s; }
.stat-card:hover::before { width: 80px; }
.stat-card:hover { transform: translateY(-6px); border-color: var(--glass-border-hover); box-shadow: 0 20px 40px rgba(0,0,0,.3), 0 0 40px rgba(251,191,36,.05); }
.stat-icon { font-size: 2rem; margin-bottom: 12px; filter: drop-shadow(0 0 8px rgba(251,191,36,.3)); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 800; margin-bottom: 4px; }
.stat-label { font-size: .9rem; color: var(--slate-400); font-weight: 500; }

/* ===== FEATURES / KEUNGGULAN ===== */
.features { padding: 100px 0; position: relative; background: var(--navy-900); }
.features::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: .2; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--glass-bg); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 40px 28px; transition: all .35s; position: relative; overflow: hidden; }
.feature-card::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(251,191,36,.04), transparent 60%); opacity: 0; transition: opacity .4s; }
.feature-card:hover::after { opacity: 1; }
.feature-card:hover { transform: translateY(-6px); border-color: var(--glass-border-hover); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.feature-icon { width: 56px; height: 56px; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; transition: all .3s; }
.feature-card:hover .feature-icon { background: rgba(251,191,36,.15); border-color: rgba(251,191,36,.3); transform: scale(1.05); }
.feature-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.feature-card p { font-size: .95rem; color: var(--slate-400); line-height: 1.7; }

/* ===== SAMBUTAN KEPSEK ===== */
.sambutan { padding: 100px 0; position: relative; }
.sambutan-inner { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center; }
.sambutan-photo { position: relative; }
.sambutan-photo .photo-frame { width: 100%; aspect-ratio: 3/4; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); border-radius: 20px; overflow: hidden; position: relative; border: 2px solid var(--glass-border); display: flex; align-items: center; justify-content: center; }
.sambutan-photo .photo-frame .placeholder-icon { font-size: 5rem; opacity: .3; }
.sambutan-photo .photo-accent { position: absolute; bottom: -16px; right: -16px; width: 120px; height: 120px; border: 3px solid var(--gold-400); border-radius: 20px; opacity: .2; z-index: -1; }
.sambutan-content { position: relative; }
.sambutan-content .quote-mark { font-family: 'Playfair Display', serif; font-size: 6rem; line-height: 1; color: var(--gold-400); opacity: .3; position: absolute; top: -30px; left: -10px; }
.sambutan-content blockquote { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-style: italic; color: var(--slate-200); line-height: 1.8; margin-bottom: 32px; padding-left: 20px; border-left: 3px solid rgba(251,191,36,.3); }
.sambutan-content .kepsek-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--gold-400); margin-bottom: 4px; }
.sambutan-content .kepsek-title { font-size: .9rem; color: var(--slate-400); }

/* ===== CTA SPMB ===== */
.cta-spmb { padding: 100px 0; position: relative; overflow: hidden; }
.cta-box { background: var(--gold-gradient); border-radius: 28px; padding: 72px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.15), transparent 60%); }
.cta-box::after { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; border: 60px solid rgba(255,255,255,.07); border-radius: 50%; }
.cta-box h2 { color: var(--navy-950); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-box p { color: rgba(2,6,23,.7); font-size: 1.15rem; max-width: 550px; margin: 0 auto 36px; position: relative; z-index: 1; }
.cta-box .btn { position: relative; z-index: 1; background: var(--navy-950); color: var(--gold-400); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.cta-box .btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.4); color: var(--gold-300); }

/* ===== FOOTER ===== */
.footer { background: var(--navy-900); border-top: 1px solid rgba(251,191,36,.08); padding: 80px 0 0; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: .15; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px; }
.footer-col h4 { font-size: 1.05rem; color: var(--gold-400); margin-bottom: 20px; font-family: 'Outfit', sans-serif; font-weight: 600; letter-spacing: .5px; }
.footer-about .footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-about .footer-brand img { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; }
.footer-about .footer-brand span { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; color: var(--gold-400); }
.footer-about p { font-size: .92rem; color: var(--slate-400); line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--slate-400); font-size: .92rem; transition: all .2s; display: inline-flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--gold-400); padding-left: 4px; }
.footer-contact li { list-style: none; margin-bottom: 14px; display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--slate-400); }
.footer-contact .icon { color: var(--gold-400); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-map { border-radius: 12px; overflow: hidden; border: 1px solid var(--glass-border); height: 200px; }
.footer-map iframe { width: 100%; height: 100%; border: none; filter: grayscale(.3) brightness(.8); transition: filter .3s; }
.footer-map:hover iframe { filter: grayscale(0) brightness(1); }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.12); display: flex; align-items: center; justify-content: center; color: var(--gold-400); font-size: 1.1rem; transition: all .3s; }
.footer-socials a:hover { background: var(--gold-gradient); color: var(--navy-950); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(251,191,36,.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .85rem; color: var(--slate-500); }
.footer-bottom a { color: var(--gold-400); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: all .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all .7s cubic-bezier(.16,1,.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all .7s cubic-bezier(.16,1,.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.9); transition: all .7s cubic-bezier(.16,1,.3,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ===== ANIMATIONS ===== */
@keyframes gradientSlide { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes gridMove { 0%{transform:translate(0,0)} 100%{transform:translate(60px,60px)} }
@keyframes float1 { 0%,100%{transform:rotate(45deg) translate(0,0)} 50%{transform:rotate(45deg) translate(15px,-20px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-10px,20px)} }
@keyframes bounce { 0%,20%,50%,80%,100%{transform:translateX(-50%) translateY(0)} 40%{transform:translateX(-50%) translateY(-12px)} 60%{transform:translateX(-50%) translateY(-6px)} }
@keyframes scrollWheel { 0%{opacity:1;transform:translateX(-50%) translateY(0)} 100%{opacity:0;transform:translateX(-50%) translateY(12px)} }
@keyframes pulse-gold { 0%,100%{box-shadow:0 0 0 0 rgba(251,191,36,.3)} 50%{box-shadow:0 0 0 12px rgba(251,191,36,0)} }
@keyframes shimmer { 0%{left:-100%} 100%{left:100%} }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-actions .btn { display: none; }
    .hamburger { display: flex; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .sambutan-inner { grid-template-columns: 1fr; gap: 40px; }
    .sambutan-photo { max-width: 360px; margin: 0 auto; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-card { padding: 28px 18px; }
    .stat-number { font-size: 2.2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 48px 24px; border-radius: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-buttons { flex-direction: column; padding: 0 20px; }
    .hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .container { padding: 0 16px; }
    .announcement-bar p { font-size: .78rem; padding: 0 36px; }
}

/* ============================================
   ADMIN DASHBOARD STYLES
   ============================================ */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--navy-950);
}

.admin-sidebar {
    width: 260px;
    background-color: var(--navy-900);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.admin-sidebar-header {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid var(--glass-border);
}

.admin-sidebar-header img {
    width: 36px;
    height: 36px;
    margin-right: 12px;
    border-radius: 6px;
}

.admin-sidebar-header span {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold-400);
}

.admin-nav {
    flex-grow: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: var(--slate-300);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.admin-nav-item i {
    font-size: 1.25rem;
    margin-right: 12px;
    color: var(--slate-400);
}

.admin-nav-item:hover, .admin-nav-item.active {
    background-color: rgba(251, 191, 36, 0.05);
    color: var(--gold-400);
    border-left-color: var(--gold-400);
}

.admin-nav-item:hover i, .admin-nav-item.active i {
    color: var(--gold-400);
}

.admin-sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--glass-border);
}

.admin-main {
    flex-grow: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.admin-topbar {
    height: 70px;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 90;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--slate-200);
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 16px;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--navy-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-weight: 600;
}

.admin-content {
    padding: 32px;
    flex-grow: 1;
}

.admin-page-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--slate-100);
}

.admin-card {
    background-color: var(--navy-900);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.admin-summary-card {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
}

.summary-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(251, 191, 36, 0.1);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 20px;
}

.summary-info h4 {
    color: var(--slate-400);
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    margin-bottom: 4px;
}

.summary-info .value {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--slate-100);
}

.admin-table-container {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-table th {
    color: var(--slate-400);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    color: var(--slate-200);
    font-size: 0.95rem;
}

.admin-table tbody tr:hover {
    background-color: rgba(255,255,255,0.02);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-draft {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: block;
    }
}
