:root {
            --dark-bg: #111827;
            --gold: #FFC107;
            --light-yellow: #FFF8E1;
            --text-light: #F9FAFB;
        }

        body {
            margin: 0;
            padding: 0;
            background-color: var(--dark-bg);
            color: var(--text-light);
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            overflow-x: hidden;
        }

        .work-container {
            max-width: 1500px;
            margin: 0 auto;
            padding: 2rem;
        }

        .work-header {
            text-align: center;
            margin-top: 6rem;
            margin-bottom: 3rem;
        }

        .work-header h1 {
            font-size: 2.5rem;
            color: var(--gold);
            margin-bottom: 0.5rem;
        }

        .work-header p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
        }

        .work-portfolio-grid {
            display: flex;
            flex-direction: column;
            gap: 3rem;
        }

        .work-portfolio-item {
            background-color: rgba(30, 41, 59, 0.8);
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.3s ease;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .work-portfolio-item:hover {
            transform: translateY(-5px);
        }

        .work-project-image {
            width: 100%;
            height: 600px;
            object-fit: cover;
        }

        .work-project-info {
            padding: 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
        }

        .work-project-details {
            flex: 1;
            min-width: 300px;
            margin-right: 1rem;
        }

        .work-project-title {
            font-size: 1.8rem;
            margin-bottom: 1rem;
        }

        .work-project-title a {
            color: var(--gold);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .work-project-title a:hover {
            color: #FFD54F;
            text-decoration: underline;
        }

        .work-project-description {
            color: #CBD5E1;
            font-size: 1.1rem;
        }

        .work-animation-container {
            width: 240px;
            height: 130px;
            background-color: var(--light-yellow);
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            margin-left: 1rem;
            flex-shrink: 0;
        }

        /* Tablet és mobil optimalizálás */
        @media (max-width: 1200px) {
            .work-container {
                padding: 1.5rem;
            }
            
            .work-project-image {
                height: 500px;
            }
        }

        @media (max-width: 1024px) {
            .work-container {
                padding: 1rem;
            }
            
            .work-header {
                margin-top: 4rem;
                margin-bottom: 2rem;
            }
            
            .work-header h1 {
                margin-top: 6rem;
                font-size: 2rem;
            }
            
            .work-header p {
                font-size: 1.1rem;
                padding: 0 1rem;
            }
            
            .work-project-image {
                height: 400px;
            }
            
            .work-project-info {
                padding: 1.5rem;
            }
            
            .work-project-title {
                font-size: 1.6rem;
            }
            
            .work-project-description {
                font-size: 1rem;
            }
            
            .work-animation-container {
                width: 200px;
                height: 110px;
            }
        }

        @media (max-width: 768px) {
            .work-container {
                padding: 0.5rem;
            }
            
            .work-header {
                margin-top: 2rem;
                margin-bottom: 1.5rem;
            }
            
            .work-header h1 {
                font-size: 1.8rem;
            }
            
            .work-header p {
                font-size: 1rem;
                padding: 0 0.5rem;
            }
            
            .work-portfolio-grid {
                gap: 2rem;
            }
            
            .work-project-info {
                flex-direction: column;
                padding: 1rem;
                gap: 1rem;
            }
            
            .work-project-details {
                margin-right: 0;
                margin-bottom: 0;
                min-width: 100%;
                width: 100%;
            }
            
            .work-project-title {
                font-size: 1.4rem;
                text-align: center;
            }
            
            .work-project-description {
                font-size: 0.95rem;
                text-align: center;
            }
            
            .work-animation-container {
                margin-left: 0;
                width: 100%;
                max-width: 280px;
                height: 140px;
                margin: 0 auto;
            }
            
            .work-project-image {
                height: 250px;
            }
        }

        @media (max-width: 480px) {
            .work-container {
                padding: 0.25rem;
            }
            
            .work-header {
                margin-top: 1rem;
                margin-bottom: 1rem;
            }
            
            .work-header h1 {
                font-size: 1.5rem;
            }
            
            .work-header p {
                font-size: 0.9rem;
                padding: 0 0.25rem;
            }
            
            .work-portfolio-grid {
                gap: 1.5rem;
            }
            
            .work-portfolio-item {
                border-radius: 8px;
            }
            
            .work-project-info {
                padding: 0.75rem;
            }
            
            .work-project-title {
                font-size: 1.2rem;
                margin-bottom: 0.5rem;
            }
            
            .work-project-description {
                font-size: 0.85rem;
                line-height: 1.4;
            }
            
            .work-animation-container {
                max-width: 240px;
                height: 120px;
            }
            
            .work-project-image {
                height: 200px;
            }
            
            /* Animációk méretének csökkentése mobilon */
            .work-webshop-animation,
            .work-key-animation,
            .work-designer-animation,
            .work-construction-animation,
            .work-developer-animation {
                transform: scale(0.8);
                transform-origin: center;
            }
        }

        @media (max-width: 320px) {
            .work-header h1 {
                font-size: 1.3rem;
            }
            
            .work-header p {
                font-size: 0.8rem;
            }
            
            .work-project-title {
                font-size: 1.1rem;
            }
            
            .work-project-description {
                font-size: 0.8rem;
            }
            
            .work-animation-container {
                max-width: 200px;
                height: 100px;
            }
            
            .work-project-image {
                height: 180px;
            }
            
            /* Animációk további kicsinyítése nagyon kis képernyőkön */
            .work-webshop-animation,
            .work-key-animation,
            .work-designer-animation,
            .work-construction-animation,
            .work-developer-animation {
                transform: scale(0.6);
            }
        }

        /* Webshop animation */
        .work-webshop-animation {
            width: 240px;
            height: 130px;
            position: relative;
        }

        .work-device-screen {
            position: absolute;
            width: 120px;
            height: 80px;
            left: 10px;
            top: 10px;
            background-color: #ECEFF1;
            border-radius: 5px;
            overflow: hidden;
        }

        .work-product-items {
            display: flex;
            position: absolute;
            left: 0;
            top: 10px;
            width: 600px;
            animation: work-scroll-products 15s infinite linear;
        }

        .work-product-item {
            width: 25px;
            height: 25px;
            margin: 0 10px;
            background-color: #FF9800;
            border-radius: 3px;
        }

        .work-cart-icon {
            position: absolute;
            width: 30px;
            height: 30px;
            right: 20px;
            top: 15px;
            animation: work-pulse-cart 3s infinite ease-in-out;
        }

        .work-add-to-cart {
            position: absolute;
            width: 20px;
            height: 20px;
            left: 80px;
            top: 50px;
            background-color: #4CAF50;
            border-radius: 50%;
            opacity: 0;
            animation: work-add-items 5s infinite;
        }

        .work-cart-items {
            position: absolute;
            right: 75px;
            top: 25px;
            font-size: 12px;
            font-weight: bold;
            color: #FF5722;
            animation: work-count-up 15s infinite steps(5, end);
        }

        .work-mobile-phone {
            position: absolute;
            width: 50px;
            height: 90px;
            right: 40px;
            top: 30px;
            background-color: #212121;
            border-radius: 5px;
            border: 2px solid #9E9E9E;
            overflow: hidden;
        }

        .work-mobile-screen {
            position: absolute;
            width: 44px;
            height: 75px;
            left: 3px;
            top: 6px;
            background-color: #ECEFF1;
            animation: work-screen-change 6s infinite;
        }

        /* Key copying animation - Nova Kulcs */
        .work-key-animation {
            width: 240px;
            height: 130px;
            position: relative;
        }

        .work-original-key {
            position: absolute;
            width: 80px;
            height: 20px;
            left: 30px;
            top: 30px;
            background-color: #FFD700;
            border-radius: 0 10px 10px 0;
            animation: work-key-insert 8s infinite;
        }

        .work-original-key:before {
            content: '';
            position: absolute;
            width: 15px;
            height: 15px;
            left: -7px;
            top: 2px;
            background-color: #FFD700;
            border-radius: 50%;
        }

        .work-original-key:after {
            content: '';
            position: absolute;
            width: 6px;
            height: 8px;
            right: 10px;
            bottom: 0;
            background-color: #B8860B;
            border-radius: 2px;
        }

        .work-key-machine {
            position: absolute;
            width: 100px;
            height: 60px;
            left: 70px;
            top: 40px;
            background-color: #37474F;
            border-radius: 8px;
            border: 2px solid #607D8B;
        }

        .work-cutting-wheel {
            position: absolute;
            width: 20px;
            height: 20px;
            right: 10px;
            top: 20px;
            background-color: #9E9E9E;
            border-radius: 50%;
            animation: work-wheel-spin 2s infinite linear;
        }

        .work-new-key {
            position: absolute;
            width: 80px;
            height: 20px;
            right: 30px;
            top: 80px;
            background-color: #C0C0C0;
            border-radius: 0 10px 10px 0;
            opacity: 0;
            animation: work-key-create 8s infinite;
        }

        .work-new-key:before {
            content: '';
            position: absolute;
            width: 15px;
            height: 15px;
            left: -7px;
            top: 2px;
            background-color: #C0C0C0;
            border-radius: 50%;
        }

        .work-new-key:after {
            content: '';
            position: absolute;
            width: 6px;
            height: 8px;
            right: 10px;
            bottom: 0;
            background-color: #808080;
            border-radius: 2px;
        }

        .work-sparks {
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
        }

        .work-spark {
            position: absolute;
            width: 3px;
            height: 3px;
            background-color: #FFA500;
            border-radius: 50%;
            opacity: 0;
            animation: work-spark-fly 2s infinite;
        }

        .work-spark:nth-child(1) {
            left: 85px;
            top: 45px;
            animation-delay: 0s;
        }

        .work-spark:nth-child(2) {
            left: 90px;
            top: 55px;
            animation-delay: 0.3s;
        }

        .work-spark:nth-child(3) {
            left: 80px;
            top: 50px;
            animation-delay: 0.6s;
        }

        /* Designer animation */
        .work-designer-animation {
            width: 240px;
            height: 130px;
            position: relative;
        }

        .work-canvas {
            position: absolute;
            width: 120px;
            height: 90px;
            left: 20px;
            top: 20px;
            background-color: #FFFFFF;
            border: 2px solid #9E9E9E;
            border-radius: 2px;
            overflow: hidden;
        }

        .work-artwork {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            animation: work-draw-artwork 10s infinite;
        }

        .work-artwork-lines {
            stroke-dasharray: 200;
            stroke-dashoffset: 200;
            animation: work-draw-lines 10s infinite;
        }

        .work-color-palette {
            position: absolute;
            right: 50px;
            top: 30px;
            transform-origin: center;
            animation: work-rotate-palette 10s infinite ease-in-out;
        }

        .work-brush {
            position: absolute;
            width: 40px;
            height: 5px;
            right: 60px;
            top: 80px;
            background-color: #795548;
            border-radius: 2px;
            transform-origin: right center;
            animation: work-move-brush 10s infinite;
        }

        .work-brush:after {
            content: '';
            position: absolute;
            width: 10px;
            height: 5px;
            left: -8px;
            top: 0;
            background-color: #4E342E;
            border-radius: 2px 0 0 2px;
        }

        /* Construction animation */
        .work-construction-animation {
            width: 240px;
            height: 130px;
            position: relative;
        }

        .work-house {
            position: absolute;
            left: 40px;
            top: 40px;
        }

        .work-house-structure {
            stroke-dasharray: 300;
            stroke-dashoffset: 300;
            animation: work-draw-house 10s infinite linear;
        }

        .work-insulation {
            position: absolute;
            left: 45px;
            top: 45px;
            width: 110px;
            height: 55px;
            opacity: 0;
            animation: work-add-insulation 10s infinite;
        }

        .work-temp-meter {
            position: absolute;
            right: 30px;
            top: 30px;
            width: 40px;
            height: 80px;
            background-color: #ECEFF1;
            border-radius: 20px;
            border: 2px solid #9E9E9E;
            overflow: hidden;
        }

        .work-temp-indicator {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 70%;
            background-color: #E53935;
            animation: work-temp-change 10s infinite;
        }

        .work-snowflakes {
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            opacity: 0.8;
            animation: work-snow-fall 10s infinite;
        }

        /* Web developer animation */
        .work-developer-animation {
            width: 240px;
            height: 130px;
            position: relative;
        }

        .work-screen {
            position: absolute;
            width: 100px;
            height: 70px;
            left: 50px;
            top: 20px;
            background-color: #263238;
            border-radius: 5px 5px 0 0;
            overflow: hidden;
        }

        .work-keyboard {
            position: absolute;
            width: 120px;
            height: 10px;
            left: 40px;
            top: 90px;
            background-color: #455A64;
            border-radius: 0 0 5px 5px;
        }

        .work-code-lines {
            position: absolute;
            left: 10px;
            top: 10px;
        }

        .work-code-line {
            height: 3px;
            margin-bottom: 5px;
            border-radius: 1px;
            animation: work-type-code 8s infinite;
        }

        .work-code-line:nth-child(1) {
            width: 60px;
            background-color: #4CAF50;
        }

        .work-code-line:nth-child(2) {
            width: 40px;
            background-color: #2196F3;
            animation-delay: 1s;
        }

        .work-code-line:nth-child(3) {
            width: 70px;
            background-color: #FFC107;
            animation-delay: 2s;
        }

        .work-code-line:nth-child(4) {
            width: 50px;
            background-color: #F44336;
            animation-delay: 3s;
        }

        .work-website-preview {
            position: absolute;
            width: 60px;
            height: 90px;
            right: 40px;
            top: 20px;
            background-color: #FFFFFF;
            border-radius: 5px;
            overflow: hidden;
            transform: scale(0);
            animation: work-website-appear 8s infinite;
        }

        .work-website-header {
            position: absolute;
            width: 100%;
            height: 10px;
            top: 0;
            background-color: #2196F3;
        }

        .work-website-content {
            position: absolute;
            left: 5px;
            top: 15px;
        }

        .work-content-line {
            height: 2px;
            margin-bottom: 3px;
            border-radius: 1px;
            background-color: #9E9E9E;
        }

        .work-content-line:nth-child(1) { width: 50px; }
        .work-content-line:nth-child(2) { width: 40px; }
        .work-content-line:nth-child(3) { width: 45px; }
        .work-content-line:nth-child(4) { width: 35px; }

        /* Keyframes */
        @keyframes work-scroll-products {
            0% { transform: translateX(0); }
            100% { transform: translateX(-300px); }
        }

        @keyframes work-pulse-cart {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }

        @keyframes work-add-items {
            0%, 100% { opacity: 0; transform: translate(0, 0); }
            20% { opacity: 1; transform: translate(0, 0); }
            40% { opacity: 0; transform: translate(30px, -30px); }
        }

        @keyframes work-count-up {
            0% { content: "0"; }
            20% { content: "1"; }
            40% { content: "2"; }
            60% { content: "3"; }
            80% { content: "4"; }
            100% { content: "5"; }
        }

        @keyframes work-screen-change {
            0%, 100% { background-color: #ECEFF1; }
            33% { background-color: #BBDEFB; }
            66% { background-color: #C8E6C9; }
        }

        /* Key animation keyframes */
        @keyframes work-key-insert {
            0%, 20% { transform: translateX(0); }
            30%, 60% { transform: translateX(40px); }
            70%, 100% { transform: translateX(0); }
        }

        @keyframes work-wheel-spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes work-key-create {
            0%, 60% { opacity: 0; transform: translateY(20px); }
            70%, 100% { opacity: 1; transform: translateY(0); }
        }

        @keyframes work-spark-fly {
            0% { opacity: 0; transform: translate(0, 0); }
            20% { opacity: 1; }
            100% { opacity: 0; transform: translate(15px, -10px); }
        }

        @keyframes work-draw-artwork {
            0%, 10% { opacity: 0; }
            30%, 100% { opacity: 1; }
        }

        @keyframes work-draw-lines {
            0% { stroke-dashoffset: 200; }
            50% { stroke-dashoffset: 0; }
            100% { stroke-dashoffset: 0; }
        }

        @keyframes work-rotate-palette {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(15deg); }
            75% { transform: rotate(-15deg); }
        }

        @keyframes work-move-brush {
            0%, 100% { transform: rotate(0deg) translateX(0); }
            25% { transform: rotate(-20deg) translateX(-10px); }
            50% { transform: rotate(0deg) translateX(0); }
            75% { transform: rotate(20deg) translateX(10px); }
        }

        @keyframes work-draw-house {
            0% { stroke-dashoffset: 300; }
            40% { stroke-dashoffset: 0; }
            100% { stroke-dashoffset: 0; }
        }

        @keyframes work-add-insulation {
            0%, 40% { opacity: 0; transform: scale(0.8); }
            50%, 100% { opacity: 0.8; transform: scale(1); }
        }

        @keyframes work-temp-change {
            0%, 40% { height: 70%; background-color: #E53935; }
            60%, 100% { height: 20%; background-color: #2196F3; }
        }

        @keyframes work-snow-fall {
            0%, 50% { opacity: 0.8; }
            70%, 100% { opacity: 0; }
        }

        @keyframes work-type-code {
            0% { width: 0; }
            40% { width: 100%; }
            100% { width: 100%; }
        }

        @keyframes work-website-appear {
            0%, 40% { transform: scale(0); }
            60%, 100% { transform: scale(1); }
        }