        @property --gradient-angle {
            syntax: "<angle>";
            initial-value: 0deg;
            inherits: false;
        }
        
        :root {
            --clr-1: #010c3f;
            --clr-2: #000425b9;
            --clr-3: #0828df;
            --clr-4: #b60606;
            --clr-5: #0828df;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background: linear-gradient(135deg, #010c3f 0%, #000425 50%, #0828df 100%);
            background-attachment: fixed;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: white;
        }
        
        header {
            background: var(--clr-2);
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            backdrop-filter: blur(10px);
        }
        
        header span {
            font-size: 1rem;
            font-weight: bold;
            color: #aaa;
            transition: all 0.3s ease;
        }
        
        header span:hover {
            color: white;
            text-shadow: 0 0 10px #0828df;
        }
        
        a {
            text-decoration: none;
        }
        
        main {
            flex: 1;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }

        /* Profil beszélő szekció */
        .profile-talking {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            max-width: 900px;
            margin: 0 auto 3rem;
            padding: 0 1rem;
        }

        .p_i {
            width: 80px;
            height: 80px;
            flex-shrink: 0;
            border-radius: 50%;
            border: 4px solid transparent;
            background: linear-gradient(var(--clr-4), var(--clr-5)) border-box;
            padding: 4px;
            object-fit: cover;
            animation: pulse 10s infinite ease-in-out;
        }

        @keyframes pulse {
            0%, 100% { box-shadow: 0 0 10px #b60606; }
            50% { box-shadow: 0 0 20px #0828df; }
        }

        .typed-text-container {
            flex: 1;
            min-width: 0;
        }

        .typed-text {
            font-size: 1.2rem;
            color: white;
            line-height: 1.5;
            word-wrap: break-word;
            overflow-wrap: break-word;
            border-right: 2px solid white;
            animation: blink 0.75s step-end infinite;
        }

        @keyframes blink {
            50% { border-color: transparent; }
        }

        /* Kártyák - JAVÍTOTT VERZIÓ */
        .card-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem;
            align-items: start;
        }

        .card {
            height: 380px; /* Rögzített magasság */
            border-radius: 0.5rem;
            position: relative;
            overflow: hidden;
            isolation: isolate;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .card::before,
        .card::after {
            content: "";
            position: absolute;
            inset: -0.5rem;
            z-index: 0;
            background: conic-gradient(
                from var(--gradient-angle),
                var(--clr-3),
                var(--clr-4),
                var(--clr-5),
                var(--clr-4),
                var(--clr-3)
            );
            border-radius: inherit;
            animation: rotation 10s linear infinite;
        }

        .card::after {
            filter: blur(3.5rem);
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(8, 40, 223, 0.5);
        }

        .card-content {
            position: relative;
            z-index: 1;
            backdrop-filter: blur(10px);
            background: var(--clr-1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 0.5rem;
            height: 100%;
            width: 100%;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            text-align: center;
        }

        .card-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 1rem;
        }

        .member-role-tag {
            background: var(--clr-4);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            margin-bottom: 1rem;
            display: inline-block;
        }

        .profile-image {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 1rem;
            border: 3px solid var(--clr-3);
            transition: all 0.3s ease;
        }

        .card:hover .profile-image {
            transform: scale(1.1);
            border-color: var(--clr-5);
        }

        .card-content h3 {
            color: white;
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }

        .card-description {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            margin-bottom: 1rem;
        }

        .card-content p {
            color: #ccc;
            font-size: 0.9rem;
            line-height: 1.4;
            margin-bottom: 1rem;
        }

        .member-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.3rem;
            justify-content: center;
            margin-top: auto;
        }

        .skill-tag {
            background: var(--clr-3);
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 10px;
            font-size: 0.7rem;
        }

        @keyframes rotation {
            0% {
                --gradient-angle: 0deg;
            }
            100% {
                --gradient-angle: 360deg;
            }
        }

        footer {
            background: #111;
            text-align: center;
            padding: 1rem;
            font-size: 0.9rem;
            color: #aaa;
            margin-top: auto;
        }

        /* Modal stílusok */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background: var(--clr-1);
            margin: 3% auto;
            padding: 2rem;
            border-radius: 1rem;
            width: 90%;
            max-width: 600px;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.2);
            max-height: 90vh;
            overflow-y: auto;
        }

        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .close:hover {
            color: white;
        }

        .modal-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .modal-profile-image {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--clr-3);
        }

        .modal-header-text h2 {
            color: white;
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .modal-role-tag {
            background: var(--clr-4);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            display: inline-block;
        }

        .modal-section {
            margin-bottom: 2rem;
        }

        .modal-section h3 {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 1rem;
            border-bottom: 2px solid var(--clr-3);
            padding-bottom: 0.5rem;
        }

        .modal-description {
            color: #ccc;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .modal-tech-stack {
            margin-bottom: 2rem;
        }

        .modal-skill-tag {
            background: var(--clr-3);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            margin: 0.2rem;
            display: inline-block;
        }

        .achievements-list {
            list-style: none;
            color: #ccc;
        }

        .achievements-list li {
            margin-bottom: 0.5rem;
            padding-left: 1.5rem;
            position: relative;
        }

        .achievements-list li::before {
            content: '★';
            position: absolute;
            left: 0;
            color: #ffd700;
            font-size: 1rem;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .contact-btn {
            background: linear-gradient(45deg, var(--clr-4), var(--clr-5));
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 0.5rem;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }

        .contact-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(8, 40, 223, 0.4);
        }

        /* Responsiveness */
        @media (max-width: 768px) {
            .profile-talking {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .p_i {
                align-self: center;
            }

            .card-container {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .card {
                height: 360px;
            }

            .card-content {
                padding: 1.5rem;
            }

            .modal-content {
                margin: 2% auto;
                padding: 1.5rem;
                width: 95%;
            }

            .modal-header {
                flex-direction: column;
                text-align: center;
            }

            .contact-info {
                align-items: center;
            }
        }

        @media (max-width: 480px) {
            header {
                text-align: center;
            }
            
            .typed-text {
                font-size: 1rem;
            }

            .card {
                height: 340px;
            }

            .card-content {
                padding: 1rem;
            }

            .profile-image {
                width: 60px;
                height: 60px;
            }

            .modal-content {
                padding: 1rem;
            }

            .modal-profile-image {
                width: 60px;
                height: 60px;
            }
        }