/* Modern Portfolio - Vladimír Bíro */
@charset "UTF-8";

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --accent-primary: #8b5cf6;
    --accent-secondary: #a78bfa;
    --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #60a5fa 100%);
    --border-color: #2a2a3a;
    --success: #22c55e;
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-code: 'Fira Code', 'Monaco', monospace;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    font-size: 3rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: pulse 1.5s ease-in-out infinite;
}

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

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: 3px;
    animation: loading 1.5s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: var(--shadow-md), 0 0 20px rgba(139, 92, 246, 0.3);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 92, 246, 0.4);
}

.back-to-top .material-symbols-outlined {
    color: white;
    font-size: 28px;
}

/* Custom Cursor */
.cursor, .cursor-follower {
    pointer-events: none;
    position: fixed;
    border-radius: 50%;
    z-index: 9999;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor {
        display: none;
    }

    .cursor-follower {
        display: block;
        width: 30px;
        height: 30px;
        border: 1px solid var(--accent-primary);
        transform: translate(-50%, -50%);
        transition: transform 0.15s ease-out, width 0.2s, height 0.2s;
        opacity: 0.5;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Language Switch */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color var(--transition);
}

.lang-btn:hover {
    color: var(--text-secondary);
}

.lang-btn.active {
    color: var(--accent-primary);
}

.lang-divider {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 6rem 4rem;
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    z-index: 1;
}

.greeting {
    color: var(--accent-primary);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.name {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.first-name {
    display: block;
    color: var(--text-primary);
}

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

.title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    height: 2.1rem;
}

.title {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 2.1rem;
}

.title:empty::before {
    content: '\200b';
}

.cursor-blink {
    color: var(--accent-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-sm), 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 30px rgba(139, 92, 246, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.1);
}

/* Hero Plugins Banner */
.hero-plugins {
    margin-top: 3.5rem;
}

.hero-plugins + .hero-plugins {
    margin-top: 1.5rem;
}

.plugins-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.plugins-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.plugin-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
}

.plugin-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.plugin-card .material-symbols-outlined {
    font-size: 24px;
    color: var(--accent-primary);
}

.plugin-info {
    display: flex;
    flex-direction: column;
}

.plugin-info strong {
    font-size: 0.9rem;
    font-weight: 500;
}

.plugin-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Code Window */
.hero-visual {
    perspective: 1000px;
    padding: 50px;
}

.code-window {
    background: #1a1a24;
    border-radius: 12px;
    border: 1px solid #2a2a3a;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow: hidden;
    transform: rotateX(5deg) rotateY(-5deg);
    transition: transform 0.05s linear;
    text-align: left;
}


.window-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #12121a;
    border-bottom: 1px solid #2a2a3a;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.file-name {
    margin-left: 12px;
    color: #6a6a7a;
    font-size: 0.85rem;
    font-family: var(--font-code);
}

.code-content {
    padding: 1.5rem;
    font-family: var(--font-code);
    font-size: 0.9rem;
    line-height: 1.8;
    overflow-x: auto;
    text-align: left;
}

.code-content code {
    color: #a0a0b0;
    white-space: pre;
}

.keyword { color: #c678dd; }
.variable { color: #61afef; }
.property { color: #e06c75; }
.string { color: #98c379; }
.boolean { color: #d19a66; }

/* Section Styles */
section {
    padding: 6rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Services Section */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.service-icon {
    margin-bottom: 1.25rem;
    color: var(--accent-primary);
}

.service-icon .material-symbols-outlined {
    font-size: 48px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Skills Section */
.skills {
    background: var(--bg-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    position: relative;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    overflow: visible;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.skill-icon {
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.skill-icon .material-symbols-outlined {
    font-size: 48px;
}

.skill-badge {
    position: absolute;
    top: 40px;
    right: -18px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
    transition: all var(--transition);
    animation: pulse-badge 2s ease-in-out infinite;
    z-index: 10;
}

.skill-badge:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.6);
    cursor: pointer;
}

.skill-badge .material-symbols-outlined {
    font-size: 20px;
    color: white;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 2px 16px rgba(139, 92, 246, 0.7); }
}

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

.skill-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.skill-demo-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.skill-demo-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.skill-level {
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
}

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

/* Timeline Section */
.timeline-section {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), transparent);
}

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

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--accent-gradient);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-primary);
}

.timeline-content {
    background: var(--bg-card);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.timeline-content:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

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

.timeline-item.education .timeline-marker {
    background: var(--success);
    box-shadow: 0 0 0 3px var(--success);
}

/* Hobbies Section */
.hobbies {
    background: var(--bg-secondary);
}

.hobbies-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hobby-card {
    background: var(--bg-card);
    padding: 2rem 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition);
    min-width: 200px;
}

.hobby-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-secondary);
    box-shadow: var(--shadow-md);
}

.hobby-icon {
    margin: 0 auto 1rem;
    color: var(--accent-secondary);
}

.hobby-icon .material-symbols-outlined {
    font-size: 64px;
}

.hobby-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.hobby-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
    text-align: center;
    padding-bottom: 0;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition);
    min-width: 300px;
}

.contact-item:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.contact-item .material-symbols-outlined,
.contact-item .linkedin-icon {
    font-size: 24px;
    color: var(--accent-primary);
}

.contact-item .linkedin-icon {
    width: 24px;
    height: 24px;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-cv-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all var(--transition);
}

.footer-cv-link:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.footer-cv-link .material-symbols-outlined {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 8rem 3rem 4rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .bio {
        margin: 0 auto 2rem;
    }

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

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

    .plugins-cards {
        justify-content: center;
    }

    .code-window {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .plugins-cards {
        flex-direction: column;
    }

    .name {
        font-size: 2.5rem;
    }

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

    .service-card {
        padding: 1.5rem;
    }

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

    .skill-card {
        padding: 1.5rem;
    }

    .hobbies-grid {
        gap: 1rem;
    }

    .hobby-card {
        padding: 1.5rem 2rem;
        min-width: 150px;
        flex: 1 1 calc(50% - 0.5rem);
    }

    .hobby-icon .material-symbols-outlined {
        font-size: 48px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .timeline-marker {
        left: -28px;
        width: 14px;
        height: 14px;
    }

    .timeline-content {
        padding: 1.25rem 1.5rem;
    }

    .contact-item {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .code-window {
        max-width: 100%;
    }

    .code-content {
        padding: 1rem;
        font-size: 0.8rem;
        overflow-x: auto;
    }

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

@media (max-width: 480px) {
    .navbar {
        padding: 0.875rem 1rem;
    }

    .nav-brand {
        font-size: 1.25rem;
    }

    .lang-btn {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .hero {
        padding: 5rem 1rem 2rem;
        min-height: auto;
    }

    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 1rem;
        line-height: 1.6rem;
    }

    .title-wrapper {
        height: 1.6rem;
    }

    .bio {
        font-size: 1rem;
        line-height: 1.7;
    }

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

    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-visual {
        display: none;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-icon .material-symbols-outlined {
        font-size: 40px;
    }

    .service-card h3 {
        font-size: 1.05rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .skill-card {
        padding: 1.25rem;
    }

    .skill-icon .material-symbols-outlined {
        font-size: 40px;
    }

    .skill-card h3 {
        font-size: 1.1rem;
    }

    .hobbies-grid {
        gap: 0.75rem;
    }

    .hobby-card {
        padding: 1.25rem 1.5rem;
        min-width: 130px;
    }

    .hobby-icon .material-symbols-outlined {
        font-size: 40px;
    }

    .hobby-card h3 {
        font-size: 1rem;
    }

    .hobby-card p {
        font-size: 0.8rem;
    }

    .timeline-content {
        padding: 1rem 1.25rem;
    }

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

    .timeline-content p {
        font-size: 0.85rem;
    }

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

    .contact-intro {
        font-size: 1rem;
    }

    .contact-item {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-visual,
.service-card,
.skill-card,
.timeline-item,
.hobby-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.hero-content { animation-delay: 0.1s; }
.hero-visual { animation-delay: 0.3s; }
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.25s; }
.service-card:nth-child(5) { animation-delay: 0.3s; }
.service-card:nth-child(6) { animation-delay: 0.35s; }
.service-card:nth-child(7) { animation-delay: 0.4s; }
.service-card:nth-child(8) { animation-delay: 0.45s; }
.service-card:nth-child(9) { animation-delay: 0.5s; }
.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.2s; }
.skill-card:nth-child(3) { animation-delay: 0.3s; }
.skill-card:nth-child(4) { animation-delay: 0.4s; }
.skill-card:nth-child(5) { animation-delay: 0.5s; }
.skill-card:nth-child(6) { animation-delay: 0.6s; }
.skill-card:nth-child(7) { animation-delay: 0.7s; }
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }

/* Runner Game Section */
.runner-game-section {
    padding: 0;
    background: var(--bg-primary);
}

.game-container {
    position: relative;
    background: var(--bg-primary);
}

.score-display {
    position: absolute;
    top: 8px;
    left: 16px;
    color: var(--text-muted);
    font-size: 12px;
    font-family: var(--font-code);
    z-index: 10;
}

.score-display .high-score {
    margin-left: 16px;
    color: var(--text-muted);
    opacity: 0.7;
}

.game-container canvas {
    width: 100%;
    display: block;
    height: 175px;
}

.game-credit {
    position: absolute;
    top: 8px;
    right: 16px;
    color: var(--text-muted);
    font-size: 12px;
    font-family: var(--font-code);
    z-index: 10;
}

@media (max-width: 768px) {
    .game-credit {
        display: none;
    }
}
