:root {
    --bg: #07090f;
    --panel: #101522;
    --line: #263247;
    --text: #edf6ff;
    --muted: #9aa8ba;
    --green: #39ff88;
    --cyan: #21d4fd;
    --violet: #a855f7;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

a { color: var(--cyan); }
.brand { color: var(--green) !important; font-weight: 800; }
.brand-logo { display: inline-flex; align-items: center; padding: 0; }
.brand-logo img, .brand-logo-img { display: block; height: 58px; width: auto; max-width: 190px; object-fit: contain; border: 1px solid var(--line); border-radius: 5px; background: #efe0bd; }
.brand-logo-sm img { height: 44px; max-width: 150px; }
.brand-logo-login { height: 76px; max-width: 230px; margin-inline: auto; }
.hero { min-height: 92vh; background: radial-gradient(circle at top left, rgba(57,255,136,.16), transparent 34%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 12px 96px; }
.hero h1 { max-width: 740px; font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: .96; font-weight: 900; }
.hero p, .contact-section p { color: var(--muted); font-size: 1.15rem; max-width: 620px; }
.syntax-label { color: var(--green); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.btn-neon { background: var(--green); color: #04100a; border: 0; font-weight: 800; box-shadow: 0 0 24px rgba(57,255,136,.28); }
.btn-neon:hover { background: #72ffab; color: #04100a; }
.code-window { background: #0d1220; border: 1px solid var(--line); border-radius: 8px; color: #d7e7ff; padding: 28px; box-shadow: 0 24px 80px rgba(0,0,0,.38); overflow: auto; }
.code-window span { color: var(--violet); }
.portfolio-section, .contact-section { padding: 84px 0; }
.section-title { margin-bottom: 28px; }
.section-title span { color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.section-title h2, .contact-section h2, .admin-title { font-weight: 900; }
.project-card, .admin-panel, .login-card, .contact-form { background: rgba(16,21,34,.92); border: 1px solid var(--line); border-radius: 8px; }
.project-card { height: 100%; overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.project-card:hover { transform: translateY(-4px); border-color: var(--green); }
.project-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0b1020; }
.project-card h3 { margin-top: 16px; font-weight: 800; }
.project-card p { color: var(--muted); min-height: 72px; }
.empty-state { border: 1px dashed var(--line); color: var(--muted); padding: 28px; border-radius: 8px; }
.contact-section { background: #0a0f19; }
.form-control, .form-select { background: #0b1020; color: var(--text); border-color: var(--line); }
.form-control:focus, .form-select:focus { background: #0b1020; color: var(--text); border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(57,255,136,.12); }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #031007; font-weight: 900; text-decoration: none; box-shadow: 0 12px 32px rgba(37,211,102,.36); z-index: 20; }
.admin-body, .login-body { min-height: 100vh; background: #080c14; }
.admin-nav { background: #0d1320; border-bottom: 1px solid var(--line); }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(420px, 100%); padding: 32px; }
.login-card h1 { color: var(--green); font-weight: 900; }
.login-card p { color: var(--muted); }
.table-dark { --bs-table-bg: transparent; --bs-table-border-color: var(--line); }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; padding-top: 36px; }
    .code-window { font-size: .9rem; }
}
