/* ==========================================================================
   VIRYBER PORTFOLIO - MODERN DARK THEME STYLESHEET
   Aesthetics: Obsidian Dark, Neon Glassmorphism, Micro-Animations
   Features: Admin Authentication (viryberx@gmail.com / 1126), Per-Section Edit Controls
   Typography: Outfit (Headings) & Plus Jakarta Sans (Body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT DESIGN TOKENS & RESET
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-main: #07090e;
    --bg-surface: #0d121c;
    --bg-card: rgba(17, 24, 39, 0.75);
    --bg-card-hover: rgba(24, 33, 53, 0.85);
    --bg-glass: rgba(13, 18, 28, 0.78);
    --bg-glass-subtle: rgba(255, 255, 255, 0.03);

    /* Borders & Outlines */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.35);
    --border-accent: rgba(56, 189, 248, 0.4);

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #38bdf8;

    /* Brand Accents */
    --accent-primary: #6366f1;
    --accent-secondary: #06b6d4;
    --accent-tertiary: #a855f7;
    --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #c084fc 100%);
    --accent-glow: 0 0 25px rgba(99, 102, 241, 0.35);
    --cyan-glow: 0 0 25px rgba(6, 182, 212, 0.35);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 30px -8px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);

    /* Layout & Sizing */
    --max-width: 1200px;
    --header-height: 76px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-primary);
    color-scheme: dark;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Typography Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* --------------------------------------------------------------------------
   2. AMBIENT GLOW BACKGROUND ACCENTS
   -------------------------------------------------------------------------- */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.glow-top-left {
    top: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(6, 182, 212, 0.15) 60%, transparent 80%);
}

.glow-bottom-right {
    bottom: -150px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(99, 102, 241, 0.15) 50%, transparent 80%);
}

.glow-center {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    transition: transform 0.15s ease-out;
}

/* --------------------------------------------------------------------------
   3. UTILITIES & GLASSMORPHISM
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.section {
    padding: 6.5rem 0;
    position: relative;
    z-index: 1;
}

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

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight-text {
    color: #38bdf8;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: border-color var(--transition-fast), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

/* Section Header Shared */
.section-header-row {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3.5rem;
}

.section-header {
    max-width: 680px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    border-radius: var(--radius-pill);
    font-size: 0.825rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.075rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. PER-SECTION EDIT BUTTONS (FOR LOGGED-IN ADMIN)
   -------------------------------------------------------------------------- */
.section-edit-wrapper {
    margin-bottom: 1rem;
}

.section-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: var(--radius-pill);
    color: #a5b4fc;
    font-size: 0.775rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all var(--transition-fast);
}

.section-edit-btn:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.section-header-row .section-edit-btn {
    margin-top: 1rem;
}

/* ADMIN ONLY VISIBILITY RULE */
.admin-control {
    display: none !important;
}

body.is-admin-logged-in .admin-control {
    display: inline-flex !important;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    filter: brightness(1.08);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.15rem;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   6. NAVBAR / TABS HEADER & AUTH CONTROLS
   -------------------------------------------------------------------------- */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 100;
    background: rgba(9, 11, 17, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: all var(--transition-fast);
}

.navbar-wrapper.scrolled {
    background: rgba(7, 9, 14, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-bottom-color: rgba(56, 189, 248, 0.15);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Brand Logo */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.nav-brand:hover {
    transform: translateY(-1px);
}

.brand-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.08), 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav-brand:hover .brand-logo-img {
    transform: scale(1.08);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.brand-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.brand-dot {
    color: #38bdf8;
}

/* Navigation Tabs */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    background: rgba(18, 24, 38, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 0.3rem 0.4rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap !important;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-icon {
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.nav-link.active {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.nav-link.active .nav-link-icon {
    opacity: 1;
}

/* Header Action & Auth */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Admin Auth Badge & Logout */
.admin-session-badge {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: #6ee7b7;
}

body.is-admin-logged-in #openAuthModalBtn {
    display: none !important;
}

.admin-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    margin-left: 2px;
    transition: all var(--transition-fast);
}

.logout-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    padding: 0;
    z-index: 101;
}

.hamburger-line {
    width: 100%;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. HERO SECTION (#home)
   -------------------------------------------------------------------------- */
.hero-section {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 5rem;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    color: #6ee7b7;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 1.4rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
}

.hero-tech-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tech-strip-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-pill {
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    color: #cbd5e1;
    transition: all var(--transition-fast);
}

.tech-pill:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Visual / Avatar Showcase */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-card-wrapper {
    position: relative;
    width: 380px;
    max-width: 100%;
}

.avatar-glow-ring {
    position: absolute;
    inset: -15px;
    background: var(--accent-gradient);
    border-radius: 35px;
    filter: blur(25px);
    opacity: 0.4;
    z-index: 0;
    animation: spinGlow 12s linear infinite;
}

@keyframes spinGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.avatar-card {
    position: relative;
    z-index: 1;
    padding: 1rem;
    border-radius: 28px;
    background: rgba(13, 18, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.avatar-img-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1/1;
    box-shadow: var(--shadow-lg);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-card:hover .avatar-image {
    transform: scale(1.04);
}

.avatar-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(7, 9, 14, 0.8) 100%);
}

.avatar-change-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(7, 9, 14, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #38bdf8;
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    gap: 0.4rem;
    z-index: 5;
    transition: all var(--transition-fast);
}

.avatar-change-btn:hover {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.badge-top-left {
    top: -15px;
    left: -25px;
    animation-delay: 0s;
}

.badge-bottom-right {
    bottom: -15px;
    right: -25px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #fff;
}

.icon-code {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.icon-star {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.badge-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    transition: border-color var(--transition-fast);
}

.mouse-icon:hover {
    border-color: #38bdf8;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #38bdf8;
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   8. ABOUT ME SECTION (#about)
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
    align-items: stretch;
}

.about-bio-card {
    padding: 2.75rem;
}

.about-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.about-paragraph {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.traits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

.trait-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.trait-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.trait-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    flex-shrink: 0;
}

.trait-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.trait-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.about-action-row {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Stats Column */
.about-stats-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stat-card {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0.7;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.75rem;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.stat-plus {
    color: #38bdf8;
    font-size: 2rem;
}

.stat-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   9. SKILLS SECTION (#skills)
   -------------------------------------------------------------------------- */
.skills-filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
}

.skills-tab-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.skill-tab-btn {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.skill-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.skill-tab-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

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

.skill-card {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-smooth), border-color var(--transition-fast);
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);
}

.skill-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.skill-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    color: #fff;
}

.cyan-glow {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.purple-glow {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.blue-glow {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.green-glow {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.amber-glow {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.skill-level-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.skill-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.skill-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.skill-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-pill);
    transition: width 1s ease-in-out;
}

/* --------------------------------------------------------------------------
   10. PROJECTS SECTION (#projects)
   -------------------------------------------------------------------------- */
.projects-filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.project-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.project-filter-btn {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.project-filter-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.project-filter-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(99, 102, 241, 0.15);
}

.project-image-box {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0d121c;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-badge-float {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    color: #38bdf8;
    z-index: 2;
}

/* Hover overlay actions */
.project-overlay-actions {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 3;
}

.project-card:hover .project-overlay-actions {
    opacity: 1;
}

.project-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.project-metric {
    font-size: 0.825rem;
    font-weight: 600;
    color: #38bdf8;
}

.project-link-more {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.project-link-more:hover {
    gap: 0.6rem;
    color: #38bdf8;
}

/* --------------------------------------------------------------------------
   11. EXPERIENCE & TIMELINE (#experience)
   -------------------------------------------------------------------------- */
.timeline-container {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline-spine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: linear-gradient(180deg, #6366f1 0%, #06b6d4 50%, #a855f7 100%);
    opacity: 0.4;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2.75rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 24px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #07090e;
    border: 3px solid #6366f1;
    box-shadow: 0 0 12px #6366f1;
    z-index: 2;
}

.timeline-marker.edu-marker {
    border-color: #06b6d4;
    box-shadow: 0 0 12px #06b6d4;
}

.timeline-content {
    padding: 2rem;
    position: relative;
    transition: transform var(--transition-smooth), border-color var(--transition-fast);
}

.timeline-content:hover {
    transform: translateX(6px);
    border-color: rgba(99, 102, 241, 0.4);
}

.timeline-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.timeline-period {
    font-size: 0.85rem;
    font-weight: 600;
    color: #38bdf8;
}

.timeline-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.timeline-badge.current {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.timeline-badge.edu {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.timeline-role {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-skills span {
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   12. CONTACT SECTION (#contact)
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: stretch;
}

.contact-info-card {
    padding: 2.75rem;
    display: flex;
    flex-direction: column;
}

.contact-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8;
    flex-shrink: 0;
}

.contact-detail-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.email-copy-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.copy-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #38bdf8;
    border-color: rgba(99, 102, 241, 0.4);
}

.contact-socials {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.75rem;
}

.socials-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Contact Form */
.contact-form-card {
    padding: 2.75rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #cbd5e1;
}

.required {
    color: #ef4444;
}

.form-input, .form-textarea, select.form-input {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

select.form-input option {
    background: #0d121c;
    color: #ffffff;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.field-error {
    font-size: 0.775rem;
    color: #f87171;
    display: none;
}

.field-error.visible {
    display: block;
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn.loading .btn-spinner {
    display: inline-block;
}

.btn.loading .btn-text, .btn.loading svg {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
    border-top: 1px solid var(--border-subtle);
    background: rgba(5, 7, 11, 0.95);
    padding: 4.5rem 0 2rem 0;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 320px;
}

.footer-nav-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

.footer-status {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.status-pill-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    color: #6ee7b7;
    width: fit-content;
}

.footer-quick-mail {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-quick-mail a {
    color: #38bdf8;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.back-to-top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.back-to-top-link:hover {
    color: #38bdf8;
}

/* --------------------------------------------------------------------------
   14. AUTH & SECTION MANAGEMENT MODALS
   -------------------------------------------------------------------------- */
.admin-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.admin-modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.admin-modal {
    width: 100%;
    max-width: 620px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    background: rgba(13, 18, 28, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(99, 102, 241, 0.3);
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.manager-modal {
    max-width: 760px;
}

.auth-dialog {
    max-width: 440px;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.modal-close-btn {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.modal-close-btn:hover {
    color: #ef4444;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.file-upload-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-pill);
    padding: 0.25rem;
    margin-bottom: 1.25rem;
}

.auth-tab-btn {
    flex: 1;
    text-align: center;
    padding: 0.45rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.auth-tab-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
}

.auth-hint {
    font-size: 0.75rem;
    color: #38bdf8;
    margin-top: 0.25rem;
}

.auth-error-msg {
    font-size: 0.825rem;
    color: #ef4444;
    display: none;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.auth-error-msg.visible {
    display: block;
}

/* Manager Lists Inside Modals */
.manager-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-toggle-box {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.toggle-switch-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
}

.toggle-switch-label input {
    display: none;
}

.toggle-slider {
    width: 36px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    position: relative;
    transition: all var(--transition-fast);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.toggle-switch-label input:checked + .toggle-slider {
    background: #10b981;
}

.toggle-switch-label input:checked + .toggle-slider::before {
    transform: translateX(16px);
}

.toggle-label-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.toggle-explanation {
    font-size: 0.725rem;
    color: var(--text-muted);
}

.manager-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.manager-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.15rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.manager-item-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.3);
}

.manager-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.manager-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.manager-item-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.manager-item-actions {
    display: flex;
    gap: 0.45rem;
}

.manager-action-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transition: all var(--transition-fast);
}

.manager-action-btn:hover {
    background: #6366f1;
}

.manager-action-btn.btn-delete:hover {
    background: #ef4444;
}

/* Traits inside About Modal */
.modal-sub-section {
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.sub-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.sub-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #38bdf8;
}

.traits-manager-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.trait-manager-row {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.trait-manager-row input {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   15. FLOATING TOP BUTTON & TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.floating-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--transition-smooth);
}

.floating-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-top-btn:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-pill);
    padding: 0.85rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-tech-strip {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(7, 9, 14, 0.97);
        backdrop-filter: blur(24px);
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-subtle);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        justify-content: center;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        background: transparent;
        border: none;
        gap: 0.5rem;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .traits-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .section {
        padding: 4.5rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .badge-top-left {
        left: -5px;
    }

    .badge-bottom-right {
        right: -5px;
    }

    .about-bio-card, .contact-info-card, .contact-form-card {
        padding: 1.75rem 1.25rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
