:root {
    --bg-color: #0d0d0d;
    --mac-window-bg: rgba(26, 26, 26, 0.7);
    --mac-header-bg: rgba(30, 30, 30, 0.9);
    --text-primary: #ededed;
    --text-secondary: #a0a0a0;
    --accent-red: #ff5f56;
    --accent-yellow: #ffbd2e;
    --accent-green: #27c93f;
    --glow-color: rgba(39, 201, 63, 0.6);
    --grid-color: rgba(255, 255, 255, 0.05);

    /* AE Track Colors */
    --ae-purple: #cda3ff;
    --ae-blue: #a3c1ff;
    --ae-green: #a3ffc1;
    --ae-yellow: #ffe6a3;
    --ae-red: #ffa3b1;
    --ae-orange: #ffcda3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
    overflow: hidden;
    /* We'll scroll inside the mac window */
    cursor: none;
    /* Hide default cursor */
}

/* --- Video Editor Theme Cursor (Playhead & Razor) --- */
.custom-cursor {
    width: 2px;
    height: 24px;
    background-color: var(--accent-red);
    /* AE Playhead Red by default */
    position: fixed;
    top: 50%;
    left: 50%;
    /* Align the top-center of the playhead to the actual mouse coordinate */
    transform: translate(-50%, 0);
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s ease-out;
    box-shadow: 0 0 10px rgba(255, 95, 86, 0.8);
}

/* Add the triangle head to the playhead */
.custom-cursor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--accent-red);
    transition: all 0.15s ease-out;
}

/* --- Hover State: Morph into a Razor Blade / Target --- */
.custom-cursor.hovering {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 1px dashed var(--accent-green);
    border-radius: 0;
    box-shadow: 0 0 8px rgba(39, 201, 63, 0.5);
    /* Center it perfectly like a target crosshair */
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Hide playhead triangle when hovering */
.custom-cursor.hovering::before {
    opacity: 0;
}

/* --- Video State: Minimal Dot --- */
.custom-cursor.playing-video {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%);
}

.custom-cursor.playing-video::before {
    opacity: 0;
}

/* --- CRT & Retro Effects --- */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 100;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.1));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 99;
}

.glitch-text {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 4rem;
    position: relative;
    display: inline-block;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(39, 201, 63, 0.4),
        0 0 40px rgba(39, 201, 63, 0.2);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }

    5% {
        clip: rect(70px, 9999px, 71px, 0);
    }

    10% {
        clip: rect(29px, 9999px, 83px, 0);
    }

    15% {
        clip: rect(100px, 9999px, 12px, 0);
    }

    20% {
        clip: rect(4px, 9999px, 2px, 0);
    }

    25% {
        clip: rect(29px, 9999px, 61px, 0);
    }

    30% {
        clip: rect(89px, 9999px, 69px, 0);
    }

    35% {
        clip: rect(56px, 9999px, 81px, 0);
    }

    40% {
        clip: rect(47px, 9999px, 20px, 0);
    }

    45% {
        clip: rect(96px, 9999px, 7px, 0);
    }

    50% {
        clip: rect(98px, 9999px, 23px, 0);
    }

    55% {
        clip: rect(69px, 9999px, 98px, 0);
    }

    60% {
        clip: rect(52px, 9999px, 24px, 0);
    }

    65% {
        clip: rect(36px, 9999px, 62px, 0);
    }

    70% {
        clip: rect(48px, 9999px, 95px, 0);
    }

    75% {
        clip: rect(74px, 9999px, 74px, 0);
    }

    80% {
        clip: rect(9px, 9999px, 52px, 0);
    }

    85% {
        clip: rect(14px, 9999px, 65px, 0);
    }

    90% {
        clip: rect(70px, 9999px, 52px, 0);
    }

    95% {
        clip: rect(12px, 9999px, 56px, 0);
    }

    100% {
        clip: rect(65px, 9999px, 27px, 0);
    }
}

/* --- Apple macOS Window UI --- */
@keyframes mac-open {
    0% {
        transform: scale(0.2) translateY(30vh);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.mac-os-window {
    width: 100%;
    max-width: 1200px;
    height: calc(100vh - 40px);
    background: rgba(22, 22, 22, 0.98);
    /* Solidified background to remove blur overhead */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 10;
    transform-origin: bottom center;
    animation: mac-open 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mac-header {
    height: 38px;
    background: var(--mac-header-bg);
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.mac-actions {
    display: flex;
    gap: 8px;
}

.mac-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.mac-btn.close {
    background-color: var(--accent-red);
}

.mac-btn.minimize {
    background-color: var(--accent-yellow);
}

.mac-btn.maximize {
    background-color: var(--accent-green);
}

.mac-title {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    font-family: 'Space Mono', monospace;
    color: var(--text-secondary);
    margin-right: 60px;
    /* Offset to center title visually */
}

.mac-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* Custom Scrollbar inside window */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.mac-content::-webkit-scrollbar {
    width: 8px;
}

.mac-content::-webkit-scrollbar-track {
    background: transparent;
}

.mac-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* --- Floating Social Sidebar --- */
.social-sidebar {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 100;
    background: rgba(20, 20, 20, 0.4);
    padding: 20px 12px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.social-icon {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.social-icon:hover {
    color: var(--accent-green);
    transform: translateY(-3px) scale(1.1);
    background: rgba(39, 201, 63, 0.1);
    box-shadow: 0 0 15px rgba(39, 201, 63, 0.4);
}

.sidebar-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 2px;
    margin-top: 5px;
}

/* --- General Layout --- */
.layout-container {
    padding: 80px 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.dim {
    color: var(--text-secondary);
    opacity: 0.6;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-top: 15px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-primary), transparent);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* --- Intro Section --- */
.intro-section {
    padding: 80px 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.intro-image-container {
    position: relative;
    width: 100%;
    /* Remvoing strict aspect ratio for portrait */
    border-radius: 20px;
    display: flex;
    justify-content: center;
    transform: translateX(-20px);
    /* Shift entire image and glow slightly to the left */
}

.profile-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 45px rgba(39, 201, 63, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-img:hover {
    transform: scale(1.015);
    border-color: var(--glow-color);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.8), 0 0 60px rgba(39, 201, 63, 0.4);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at center, rgba(39, 201, 63, 0.25) 0%, transparent 60%);
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.highlight {
    color: var(--accent-green);
    text-shadow: 0 0 15px rgba(39, 201, 63, 0.4);
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-family: 'Space Mono', monospace;
}

.mission {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #dfdfdf;
}

.stats-row {
    display: flex;
    gap: 30px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    min-width: 120px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-box h3 {
    font-size: 2rem;
    font-family: 'Space Mono', monospace;
    margin-bottom: 5px;
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(39, 201, 63, 0.3);
}

.stat-box p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* --- Skills AE Timeline --- */
.ae-timeline {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ae-layers {
    width: 250px;
    background: #252525;
    border-right: 1px solid #111;
    z-index: 2;
}

.layer-header,
.track-header {
    height: 30px;
    background: #2a2a2a;
    border-bottom: 1px solid #111;
    font-size: 0.75rem;
    padding: 0 10px;
    display: flex;
    align-items: center;
    color: #aaa;
    font-family: 'Space Mono', monospace;
}

.layer-item,
.track-row {
    height: 35px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
}

.layer-item {
    padding: 0 10px;
    font-size: 0.85rem;
    color: #ddd;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.layer-item:hover,
.track-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.color-label {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 2px;
    margin-right: 10px;
}

.purple {
    background-color: var(--ae-purple);
}

.blue {
    background-color: var(--ae-blue);
}

.green {
    background-color: var(--ae-green);
}

.yellow {
    background-color: var(--ae-yellow);
}

.red {
    background-color: var(--ae-red);
}

.orange {
    background-color: var(--ae-orange);
}

.ae-tracks {
    flex: 1;
    background: #1a1a1a;
    position: relative;
    overflow-x: hidden;
}

.time-ruler {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, #333 1px, transparent 1px);
    background-size: 50px 10px;
    background-position: bottom;
    background-repeat: repeat-x;
}

.track-row {
    position: relative;
}

.clip-block {
    height: 25px;
    border-radius: 4px;
    position: absolute;
    top: 5px;
    opacity: 0.8;
    transition: opacity 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #111;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.clip-block:hover {
    opacity: 1;
    filter: brightness(1.2);
    z-index: 10;
}

.purple-clip {
    background-color: var(--ae-purple);
}

.blue-clip {
    background-color: var(--ae-blue);
}

.green-clip {
    background-color: var(--ae-green);
}

.yellow-clip {
    background-color: var(--ae-yellow);
}

.red-clip {
    background-color: var(--ae-red);
}

.ae-logo-clip {
    background-color: #2F2F3B;
    color: #E2A6FF;
    border: 1px solid #E2A6FF;
    font-family: sans-serif;
    font-weight: 800;
}

.playhead {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #ff3333;
    left: 20%;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 0 5px red;
}

.playhead::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 11px;
    height: 15px;
    background: #ff3333;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
}

/* --- Glass Cards (Reusable) --- */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- Experience / Tharun Speaks Section --- */
.experience-card {
    display: flex;
    gap: 40px;
    align-items: center;
}

.exp-image {
    width: 250px;
    height: 250px;
    position: relative;
    border-radius: 50%;
    flex-shrink: 0;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 30px rgba(39, 201, 63, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.experience-card:hover .exp-image {
    transform: scale(1.02);
    border-color: var(--glow-color);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.7), 0 0 50px rgba(39, 201, 63, 0.4);
}

.exp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.live-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.exp-details h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.exp-role {
    font-family: 'Space Mono', monospace;
    color: var(--accent-green);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.exp-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Portrait Video Layout --- */
.portrait-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.portrait-card {
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portrait-card:hover {
    transform: translateY(-10px);
}

.device-frame {
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #111;
    border-radius: 30px;
    border: 8px solid #222;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.portrait-card:hover .device-frame {
    border-color: rgba(39, 201, 63, 0.5);
    box-shadow: 0 20px 40px rgba(39, 201, 63, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 25px;
    background: #222;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.video-placeholder-vertical {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-thumbnail,
.video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 22px;
    transform: translateZ(0);
    /* Force Hardware Acceleration */
    backface-visibility: hidden;
}

.video-thumbnail {
    z-index: 5;
    transition: opacity 0.3s ease;
}

.portrait-card.playing .video-thumbnail,
.project-card.playing .video-thumbnail {
    opacity: 0;
}

img.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.small-play {
    width: 40px;
    height: 40px;
}

.small-play::after {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #fff;
    margin-left: 4px;
}

.card-caption {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

.portrait-card:hover .card-caption {
    background: rgba(39, 201, 63, 0.2);
    border-color: rgba(39, 201, 63, 0.5);
    color: #fff;
}

.card-caption h4 {
    font-size: 0.9rem;
    font-family: 'Space Mono', monospace;
    letter-spacing: 1px;
    margin: 0;
}

/* --- Portfolio Grid --- */
.projects-grid,
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    aspect-ratio: 16/9;
    background: #111;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(39, 201, 63, 0.2);
    border-color: rgba(39, 201, 63, 0.5);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    margin-left: 5px;
}

.project-card:hover .play-btn {
    background: var(--glow-color);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(20px);
    opacity: 0;
    z-index: 10;
    transition: all 0.3s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-info h4 {
    margin-bottom: 5px;
}

.project-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --- Feedback Section --- */
.quote-icon {
    font-size: 3rem;
    font-family: serif;
    color: var(--accent-green);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 10px;
}

.feedback-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    color: #eaeaea;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.placeholder-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
}

.client-info h4 {
    font-size: 0.95rem;
}

.client-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --- Footer CTA --- */
.footer-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 40px;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-container p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    border: 2px solid var(--accent-green);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(39, 201, 63, 0.2), inset 0 0 10px rgba(39, 201, 63, 0.1);
}

.cta-button:hover {
    background: var(--glow-color);
    box-shadow: 0 0 30px rgba(39, 201, 63, 0.6);
    color: #fff;
}

/* --- Footer Social Links --- */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}

.footer-social-icon {
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    color: var(--accent-green);
    transform: translateY(-5px);
    background: rgba(39, 201, 63, 0.1);
    box-shadow: 0 5px 15px rgba(39, 201, 63, 0.3);
    border-color: rgba(39, 201, 63, 0.3);
}


.footer-bottom {
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #666;
    font-size: 0.85rem;
    font-family: 'Space Mono', monospace;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive constraints */
@media (max-width: 768px) {
    /* Bug Fix 1: Disable Custom Cursor */
    body {
        cursor: auto !important;
    }
    .custom-cursor {
        display: none !important;
    }

    /* Bug Fix 2: Center profile image and text */
    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .intro-image-container {
        max-width: 280px;
        margin: 0 auto;
        transform: none;
        display: flex;
        justify-content: center;
    }
    .profile-img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    /* Bug Fix 3: Stats row alignment */
    .stats-row {
        justify-content: center;
    }

    /* Bug Fix 4: General UI interactions on phone */
    .layout-container, .intro-section {
        padding: 40px 15px;
    }
    .mac-os-window {
        height: 100vh;
        border-radius: 0;
        border: none;
    }

    /* Pre-existing adjustments */
    .experience-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .glitch-text {
        font-size: 2.5rem;
    }
    .ae-layers {
        width: 150px;
    }
    .layer-item {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Bug Fix 6: Alignment of videos in portrait bin & project bin */
    .portrait-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .projects-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .project-card {
        width: 100%;
        max-width: 350px;
    }

    /* Bug Fix 7: Alignment of Feedback part */
    .feedback-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .feedback-card {
        width: 100%;
        max-width: 350px;
    }
}