/* ============================================
   MANDO PORTFOLIO - Modern Minimal Design
   Clean aesthetic to complement generative shader
   ============================================ */

:root {
    /* Modern neutral palette */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --text-primary: #fafafa;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    --accent: #a78bfa;
    --accent-subtle: rgba(167, 139, 250, 0.15);
    --accent-glow: rgba(167, 139, 250, 0.4);

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav-brutal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.sound-toggle {
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.sound-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.sound-toggle.muted {
    opacity: 0.5;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 32px 80px;
    position: relative;
    overflow: hidden;
}

.neural-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 11, 0.3) 0%,
        rgba(10, 10, 11, 0.5) 50%,
        rgba(10, 10, 11, 0.9) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 720px;
    width: 100%;
}

/* LinkedIn Posts Component */
.linkedin-posts {
    background: rgba(10, 10, 11, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.linkedin-posts-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0a66c2;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.linkedin-post-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    object-fit: cover;
}

.post-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.post-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.post-date {
    font-size: 12px;
    color: var(--text-tertiary);
}

.post-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    min-height: 72px;
    margin-bottom: 16px;
}

.post-text::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--accent);
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

.post-footer {
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.post-link {
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.post-link:hover {
    color: var(--text-primary);
}

.post-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.post-dot {
    width: 8px;
    height: 8px;
    background: var(--border);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.post-dot:hover {
    background: var(--text-tertiary);
}

.post-dot.active {
    background: var(--accent);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .linkedin-posts {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .linkedin-posts {
        display: none;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-subtle);
    color: var(--accent);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    border-radius: 100px;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-name {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-name .highlight {
    color: var(--accent);
}

.hero-title {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 16px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-title span {
    color: var(--text-primary);
    font-weight: 500;
}

.hero-bio {
    font-size: 15px;
    color: var(--text-tertiary);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.hero-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-skill {
    display: inline-flex;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.2s ease;
}

.hero-skill:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-subtle);
}

/* ============================================
   DOCK COMPONENT
   ============================================ */

.dock {
    display: inline-flex;
    align-items: flex-end;
    gap: 18px;
    padding: 14px 22px;
    background: rgba(20, 20, 22, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 22px;
    margin-top: 8px;
}

.dock-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.2s ease,
                border-color 0.2s ease,
                color 0.2s ease;
    transform-origin: bottom center;
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

.dock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dock-icon svg {
    width: 22px;
    height: 22px;
}

.dock-label {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 6px 12px;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dock-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text-primary);
}

.dock-label.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dock-separator {
    width: 1px;
    height: 32px;
    background: var(--border);
    margin: 0 4px;
    align-self: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-brutal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: var(--radius-lg);
}

.btn-brutal:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.btn-brutal.primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
}

.btn-brutal.primary:hover {
    background: #e4e4e7;
    border-color: #e4e4e7;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 100px 32px;
    border-top: 1px solid var(--border);
}

.section-header {
    max-width: 1200px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.skill-tag:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.skill-tag.featured {
    background: var(--accent-subtle);
    border-color: rgba(167, 139, 250, 0.2);
    color: var(--accent);
}

/* ============================================
   EXPERIENCE SECTION - STACKED CARDS
   ============================================ */

.exp-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.exp-card {
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.exp-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.exp-header-left {
    flex: 1;
}

.exp-company {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.exp-role {
    font-size: 15px;
    color: var(--accent);
    font-weight: 500;
}

.exp-date {
    font-size: 13px;
    font-family: var(--font-mono);
    color: var(--text-tertiary);
    white-space: nowrap;
    padding: 6px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.exp-summary {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.exp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exp-list li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.exp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .exp-header {
        flex-direction: column;
        gap: 8px;
    }

    .exp-date {
        align-self: flex-start;
    }

    .exp-card {
        padding: 20px 24px;
    }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects-section {
    position: relative;
    overflow: hidden;
}

.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.projects-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse 60% 50% at center,
        rgba(10, 10, 11, 0.85) 0%,
        rgba(10, 10, 11, 0.5) 60%,
        rgba(10, 10, 11, 0.2) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.projects-inner {
    position: relative;
    z-index: 2;
}

.filter-pills {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.filter-pill {
    padding: 10px 24px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

.filter-pill.active {
    color: var(--bg-primary);
    background: var(--text-primary);
    border-color: var(--text-primary);
}

.projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
}

.project-card {
    padding: 28px;
    background: rgba(18, 18, 20, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease,
                opacity 0.3s ease,
                transform 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-card.hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.project-card:hover {
    background: rgba(24, 24, 27, 0.95);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.project-company {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.project-name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-impact {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #34d399;
    font-weight: 500;
    padding: 10px 14px;
    background: rgba(52, 211, 153, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-tag {
    padding: 4px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-tertiary);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-link:hover {
    color: var(--text-primary);
}

.project-link::after {
    content: '→';
    transition: transform 0.2s ease;
}

.project-link:hover::after {
    transform: translateX(4px);
}

/* Game Card Styles */
.game-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.game-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.game-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.play-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.play-now-btn:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
}

.game-actions .project-link {
    margin-top: 0;
}

/* Game Modal */
.game-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.game-modal.active {
    display: flex;
}

.game-modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 1100px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.game-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.game-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.game-modal-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-modal-external {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.game-modal-external:hover {
    color: var(--accent);
    background: var(--bg-card);
}

.game-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.game-modal-close:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.game-modal-body {
    flex: 1;
    min-height: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-modal-controls {
    padding: 12px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    flex-shrink: 0;
}

.game-controls-hint {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .game-modal-content {
        height: 90vh;
        border-radius: var(--radius-lg);
    }

    .game-modal-header {
        padding: 12px 16px;
    }

    .game-modal-external {
        display: none;
    }

    .game-controls-hint {
        font-size: 10px;
    }
}

/* Unity Container */
.unity-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unity-container canvas {
    max-width: 100%;
    max-height: 100%;
}

/* Game Loading */
.game-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 10;
}

.game-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.game-loading-text {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.game-loading-progress {
    width: 200px;
    height: 4px;
    background: var(--bg-card);
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.game-loading-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.3s ease;
}

/* Fullscreen button */
.game-fullscreen-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.game-fullscreen-btn:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

/* ============================================
   TESTIMONIALS - ANIMATED COLUMNS
   ============================================ */

.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    max-height: 560px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.testimonials-column {
    flex: 1;
    max-width: 380px;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: scrollUp var(--scroll-duration, 25s) linear infinite;
}

.testimonials-track.reverse {
    animation: scrollDown var(--scroll-duration, 25s) linear infinite;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.testimonials-column:hover .testimonials-track {
    animation-play-state: paused;
}

.testimonial-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.2s ease;
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}

.author-title {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 1px;
}

.column-2, .column-3 {
    display: none;
}

@media (min-width: 768px) {
    .column-2 { display: block; }
}

@media (min-width: 1024px) {
    .column-3 { display: block; }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    position: relative;
    overflow: hidden;
    padding: 100px 32px;
}

.wave-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 11, 0.85) 0%,
        rgba(10, 10, 11, 0.7) 50%,
        rgba(10, 10, 11, 0.85) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.contact-inner {
    position: relative;
    z-index: 2;
}

.contact-inner .section-header {
    margin-bottom: 48px;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info,
.contact-form-container {
    background: rgba(10, 10, 11, 0.85);
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.contact-info p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent);
}

.contact-link-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-subtle);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-secondary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-success {
    padding: 14px 18px;
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
}

.form-error {
    padding: 14px 18px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
}

.validation-message {
    color: #ef4444;
    font-size: 12px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 14px;
}

.footer-text span {
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .nav-brutal {
        padding: 12px 20px;
    }

    section {
        padding: 64px 20px;
    }

    .contact-section {
        padding: 64px 20px;
    }

    .hero {
        padding: 100px 20px 64px;
    }

    .hero-skills {
        justify-content: center;
    }

    .dock {
        padding: 12px 16px;
        gap: 10px;
    }

    .dock-item {
        width: 44px;
        height: 44px;
    }

    .dock-icon svg {
        width: 20px;
        height: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

#blazor-error-ui {
    display: none;
}

.bg-orbs {
    display: none;
}
