:root {
    --bg-dark: #0a0a1a;
    --bg-purple: #1a0a2e;
    --bg-blue: #0a1a2a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --accent-cyan: #00d4ff;
    --accent-magenta: #ff00aa;
    --accent-gold: #ffd700;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-purple) 50%, var(--bg-blue) 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-magenta);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-cyan);
    top: 50%;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-gold);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, 30px) scale(1.1);
    }

    50% {
        transform: translate(20px, -30px) scale(0.95);
    }

    75% {
        transform: translate(-30px, 20px) scale(1.05);
    }
}

/* Navigation */
.nav-wrapper {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: max-content;
}

nav {
    grid-column: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 12px 30px;
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.lang-switcher {
    grid-column: 3;
    justify-self: start;
    margin-left: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Language Switcher */
.lang-current {
    background: var(--glass-bg);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.lang-current:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid var(--glass-border);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 4px;
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    text-align: left;
    transition: all 0.2s ease;
}

.lang-option:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.lang-option.active {
    color: var(--accent-cyan);
}

/* Sections */
section {
    min-height: 100vh;
    padding: 120px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.glass-card:hover {
    border-color: var(--glass-highlight);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Hero Section */
#hero {
    text-align: center;
    position: relative;
}

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

h1 {
    animation: glow 3s ease-in-out infinite alternate;
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
    }

    to {
        filter: drop-shadow(0 0 40px rgba(255, 0, 170, 0.4));
    }
}

.hero-content .avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.hero-content .subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.hero-content .location {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.button {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.button:hover {
    transform: scale(1.02);
    color: var(--text-primary);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5), 0 0 40px rgba(255, 0, 170, 0.3);
}

button.button {
    border-radius: 15px;
}

/* Section Title */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
    border-radius: 2px;
}

/* About Section */
#about .glass-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#about p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.experience-badge {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 0, 170, 0.2));
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-top: 20px;
}

/* Skills Section */
#skills {
    padding-bottom: 100px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.skill-category {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s ease;
}

.skill-category:hover {
    transform: translateY(-8px);
    border-color: var(--glass-highlight);
}

.skill-category h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h3.cyan {
    color: var(--accent-cyan);
}

.skill-category h3.magenta {
    color: var(--accent-magenta);
}

.skill-category h3.gold {
    color: var(--accent-gold);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    transform: scale(1.05);
}

/* Contact Section */
#contact .glass-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    text-align: center;
    margin-top: 30px;
    color: var(--text-secondary);
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-magenta);
}

/* Imprint */
.imprint-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.imprint-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-top: 30px;
    margin-bottom: 15px;
}

.imprint-content h2:first-of-type {
    margin-top: 0;
}

.imprint-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.imprint-content p:last-child {
    margin-bottom: 0;
}

.imprint-content ul {
    list-style: none;
    padding: 0;
}

.imprint-content li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.imprint-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-magenta);
}

/* Footer */
footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-wrapper {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        max-width: 95%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav {
        padding: 10px 16px;
        gap: 16px;
    }

    nav a {
        font-size: 0.75rem;
    }

    .lang-switcher {
        position: absolute;
        left: 100%;
        margin-left: 8px;
    }

    section {
        padding: 100px 15px 60px;
    }

    .glass-card {
        padding: 25px;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    -webkit-transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
}

/* Glass Modal */
.glass-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.glass-modal.active {
    opacity: 1;
    visibility: visible;
}

.glass-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.glass-modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 50px;
    max-width: 90%;
    width: 400px;
    text-align: center;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 60px rgba(0, 212, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-modal.active .glass-modal-content {
    transform: scale(1) translateY(0);
}

.glass-modal-content p {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.glass-modal-content .button {
    min-width: 120px;
    padding: 14px 36px;
}

@media (max-width: 480px) {
    .glass-modal-content {
        padding: 30px 25px;
        width: 85%;
    }

    .glass-modal-content p {
        font-size: 1rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px 30px;
    max-width: 90%;
    width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-consent.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cookie-consent p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-consent .cookie-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-consent .cookie-link {
    font-size: 0.85rem;
}

.cookie-consent .btn-accept {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
    border: none;
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.cookie-consent .btn-accept:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5), 0 0 40px rgba(255, 0, 170, 0.3);
}

.cookie-consent .btn-decline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-consent .btn-decline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
}

.cookie-consent .cookie-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--accent-cyan);
}

@media (max-width: 540px) {
    .cookie-consent {
        bottom: 10px;
        padding: 20px;
        width: 95%;
    }

    .cookie-consent .cookie-buttons {
        flex-direction: column;
    }

    .cookie-consent .btn-accept,
    .cookie-consent .btn-decline {
        width: 100%;
    }
}