:root {
    --bg-dark: #090d16;
    --card-bg: rgba(18, 24, 38, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-glow: #6366f1;
    --accent-cyan: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', sans-serif; }
body { background: var(--bg-dark); color: var(--text-main); overflow-x: hidden; min-height: 100vh; }

.ambient-glow {
    position: fixed; top: -100px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 300px; background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 100%);
    filter: blur(80px); pointer-events: none; z-index: 0;
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 8%; background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color);
    position: sticky; top: 0; z-index: 100;
}
.logo { font-size: 1.5rem; font-weight: 800; }
.logo span { color: var(--accent-cyan); }
.navbar nav a { color: var(--text-muted); text-decoration: none; margin-left: 1.5rem; font-weight: 500; }

.btn-glow {
    background: linear-gradient(135deg, var(--primary-glow), var(--accent-cyan));
    padding: 0.5rem 1.2rem; border-radius: 20px; color: #fff !important; font-weight: 600;
}

.hero { text-align: center; padding: 5rem 1rem 3rem; position: relative; z-index: 1; }
.badge { display: inline-block; padding: 0.4rem 1rem; background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.3); border-radius: 30px; font-size: 0.85rem; color: #a5b4fc; margin-bottom: 1.5rem; }
.hero h1 { font-size: 3rem; font-weight: 800; max-width: 800px; margin: 0 auto; }
.hero h1 span { background: linear-gradient(90deg, #818cf8, #22d3ee); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-muted); margin: 1.2rem auto 2rem; max-width: 550px; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; }

.section { max-width: 1100px; margin: 4rem auto; padding: 0 1.5rem; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: 2rem; font-weight: 800; }
.section-header h2 span { color: var(--accent-cyan); }

.grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.glass-card {
    background: var(--card-bg); backdrop-filter: blur(16px);
    border: 1px solid var(--border-color); border-radius: 16px; padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

form input, form textarea {
    width: 100%; padding: 0.8rem 1rem; margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color);
    border-radius: 8px; color: var(--text-main); font-size: 0.95rem; outline: none;
}

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; cursor: pointer; text-decoration: none; border: none; }
.btn-primary { background: var(--primary-glow); color: #fff; width: 100%; }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-main); border: 1px solid var(--border-color); }

.admin-container { max-width: 1200px; margin: 3rem auto; padding: 0 1.5rem; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 1.5rem; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.mini-card { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); border-radius: 8px; padding: 0.6rem; text-align: center; }
.mini-card img, .mini-card iframe { width: 100%; height: 90px; object-fit: cover; border-radius: 6px; }

.btn-delete { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); padding: 0.3rem 0.6rem; border-radius: 4px; font-size: 0.8rem; cursor: pointer; margin-top: 0.4rem; width: 100%; }

.task-input-box { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.task-input-box input { margin-bottom: 0; }
.task-input-box button { width: auto; padding: 0 1.2rem; }
.task-list { list-style: none; }
.task-item { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; }

footer { text-align: center; padding: 3rem 1rem; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid var(--border-color); margin-top: 4rem; }