/* ========== MODERN PORTFOLIO (VASU-DEVS INSPIRED) ========== */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #050507;
    --bg-secondary: #0b0b12;
    --bg-card: #11111a;
    --bg-glass: rgba(15, 15, 22, 0.7);
    --text-primary: #ffffff;
    --text-secondary: #b7b7c3;
    --text-muted: #7a7a8d;
    --border-color: rgba(255, 255, 255, 0.08);
    --accent: #9ca3af;
    --accent-soft: rgba(156, 163, 175, 0.18);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: radial-gradient(circle at top, #11111f 0%, #050507 40%, #050507 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* ========== BACKGROUND ========== */
#matrix-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
}

.stars-container {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: shootingStar linear;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(300px) translateY(300px);
        opacity: 0;
    }
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

/* ========== SHELL ========== */
.site-shell {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 8rem;
}

/* ========== HERO ========== */
.hero {
    padding: 3rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-glass);
    font-size: 0.85rem;
    color: var(--text-secondary);
    backdrop-filter: blur(12px);
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-magnet {
    position: relative;
    display: inline-block;
    cursor: grab;
    margin-bottom: 1.5rem;
}

.hero-magnet:active {
    cursor: grabbing;
}

.magnet-text {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: transform 0.2s ease;
    text-shadow: 0 0 30px rgba(156, 163, 175, 0.25);
}

.magnet-hint {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 24px rgba(156, 163, 175, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: transparent;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.btn-icon:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.hero-stats h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.hero-stats p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-card {
    background: linear-gradient(145deg, rgba(156, 163, 175, 0.08) 0%, rgba(17, 17, 26, 0.98) 100%);
    border: 1px solid rgba(156, 163, 175, 0.15);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(156, 163, 175, 0.05);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    isolation: isolate;
}

#matrix-hero {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(156, 163, 175, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(156, 163, 175, 0.1);
}

.hero-card:hover::before {
    opacity: 1;
}

.hero-avatar-wrapper {
    position: relative;
    align-self: center;
    padding: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.6) 0%, rgba(156, 163, 175, 0.2) 50%, rgba(156, 163, 175, 0.6) 100%);
    background-size: 200% 200%;
    animation: gradientRotate 3s ease infinite;
    box-shadow: 0 0 40px rgba(156, 163, 175, 0.15);
    z-index: 1;
}

@keyframes gradientRotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hero-card:hover .hero-avatar {
    transform: scale(1.03);
}

.hero-card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.hero-card-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.hero-tags span {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(156, 163, 175, 0.25);
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(156, 163, 175, 0.08);
    transition: all 0.3s ease;
}

.hero-tags span:hover {
    background: rgba(156, 163, 175, 0.15);
    border-color: rgba(156, 163, 175, 0.4);
    transform: translateY(-2px);
}

.hero-tags span,
.pill-row span,
.bento-tag {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

/* ========== SKILLS SECTION ========== */
.skills-heading {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.75rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-4px);
    border-color: rgba(156, 163, 175, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(156, 163, 175, 0.25);
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(156, 163, 175, 0.05);
    transition: all 0.25s ease;
    cursor: default;
}

.skill-pill i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.skill-pill:hover {
    background: rgba(156, 163, 175, 0.12);
    border-color: rgba(156, 163, 175, 0.4);
    transform: translateY(-2px);
    color: var(--text-primary);
}

/* ========== SECTIONS ========== */
.section {
    margin-bottom: 4.5rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 620px;
}

/* ========== BENTO GRID ========== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.bento-item {
    position: relative;
    border-radius: 16px;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.bento-item:hover {
    transform: translateY(-6px);
    border-color: rgba(156, 163, 175, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bento-media {
    width: calc(100% + 3rem);
    margin: -1.5rem -1.5rem 0.5rem -1.5rem;
    height: 160px;
    border-radius: 16px 16px 0 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.bento-item:hover .bento-media {
    transform: scale(1.02);
}

.bento-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.bento-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.bento-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.bento-tag {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(156, 163, 175, 0.1);
    border-color: rgba(156, 163, 175, 0.2);
}

/* Featured item - spans 2 columns */
.bento-featured {
    grid-column: span 2;
}

.bento-featured .bento-media {
    height: 200px;
}

.bento-item {
    position: relative;
    border-radius: 22px;
    padding: 1.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-4px);
    border-color: rgba(156, 163, 175, 0.4);
}

.bento-media {
    width: calc(100% + 3.6rem);
    margin: -1.8rem -1.8rem 0 -1.8rem;
    height: 140px;
    border-radius: 22px 22px 0 0;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.bento-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.bento-content h3 {
    font-size: 1.15rem;
}

.bento-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.bento-tag {
    align-self: flex-start;
    margin-top: auto;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-large .bento-media {
    height: 200px;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* ========== METRICS ========== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.8rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.metric-card h3 {
    font-size: 2rem;
    color: var(--accent);
}

.metric-card p {
    color: var(--text-secondary);
}

/* ========== EDUCATION TIMELINE ========== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(156, 163, 175, 0.2) 100%);
}

.timeline-item {
    position: relative;
    padding: 0 0 2.5rem 2rem;
}

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

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--accent);
    transform: translateX(-5px);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(8px);
    border-color: rgba(156, 163, 175, 0.4);
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(156, 163, 175, 0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-institution {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(156, 163, 175, 0.4);
}

.contact-card i {
    color: var(--accent);
    font-size: 1.4rem;
}

.contact-card p {
    color: var(--text-secondary);
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 0 3rem;
}

/* ========== FLOATING NAV ========== */
.floating-nav {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    padding: 0.6rem;
    border-radius: 999px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    z-index: 20;
}

.floating-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.floating-link i {
    font-size: 0.9rem;
}

.floating-link.active,
.floating-link:hover {
    color: #fff;
    background: rgba(156, 163, 175, 0.2);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

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

    .bento-featured {
        grid-column: span 2;
    }
    
    .bento-media {
        height: 160px;
    }

    .bento-featured .bento-media {
        height: 180px;
    }

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

@media (max-width: 640px) {
    .site-shell {
        padding: 3rem 1.2rem 8rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding: 0 0 2rem 1.5rem;
    }

    .timeline-marker {
        left: -1.5rem;
        width: 10px;
        height: 10px;
        transform: translateX(-4px);
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

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

    .bento-featured {
        grid-column: span 1;
    }

    .floating-link span {
        display: none;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skill-category {
        padding: 1.25rem;
    }

    .skill-category h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .skill-pill {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

.tweet-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.tweet-card:hover {
    border-color: var(--text-muted);
}

.tweet-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tweet-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.tweet-link:hover {
    text-decoration: underline;
}

/* ========== PROJECTS ========== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.project-card:hover {
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========== SKILLS ========== */
.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
}

.skill-item:hover {
    border-color: var(--text-muted);
}

.skill-item i {
    font-size: 2rem;
    color: var(--text-primary);
}

.skill-item span {
    font-weight: 500;
}

/* ========== EDUCATION ========== */
.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.education-date {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.education-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.education-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.2s;
}

.contact-item:hover {
    border-color: var(--text-muted);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========== FOOTER ========== */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer p {
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .portfolio-container {
        max-width: 100%;
    }
    
    .main-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .portfolio-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .sidebar-content {
        padding: 2rem;
    }
    
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .main-content {
        padding: 2rem 1.5rem;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .profile-container {
        padding: 2rem 1.5rem;
    }
    
    .card-content {
        padding: 2rem 1.5rem;
    }
    
    .card-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========== TRACER BORDER ANIMATION ========== */
@property --tracer-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes tracer-spin {
    to {
        --tracer-angle: 360deg;
    }
}

/* Sharp edges + tracer setup for all card/box elements */
/* Tracer applies to all card/box elements */
.hero-card,
.bento-item,
.skill-category,
.metric-card,
.timeline-content,
.contact-card {
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Rotating conic-gradient streak */
.hero-card::before,
.bento-item::before,
.skill-category::before,
.metric-card::before,
.timeline-content::before,
.contact-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: conic-gradient(
        from var(--tracer-angle),
        transparent 0%,
        transparent 60%,
        rgba(156, 163, 175, 0.3) 75%,
        rgba(255, 255, 255, 0.85) 89%,
        rgba(156, 163, 175, 0.3) 95%,
        transparent 100%
    ) !important;
    animation: tracer-spin 3s linear infinite !important;
    opacity: 1 !important;
    z-index: -2;
    pointer-events: none;
    transform: none !important;
    background-size: initial !important;
    background-position: initial !important;
}

/* Inner fill — exposes only a 1px tracer border */
.hero-card::after,
.bento-item::after,
.skill-category::after,
.metric-card::after,
.timeline-content::after,
.contact-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-card);
    z-index: -1;
    pointer-events: none;
}

/* Sharp corners on bento media images too */
.bento-media {
    border-radius: 0 !important;
}
