* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0d0d0e, #15151a, #111022, #0d0d10);
    background-size: 400% 400%;
    animation: gradientBackground 20s ease infinite;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    20% { background-position: 25% 50%; background-color: #0d0d0e; }
    40% { background-position: 50% 50%; background-color: #15151a; }
    60% { background-position: 75% 50%; background-color: #111022; }
    80% { background-position: 100% 50%; background-color: #0d0d10; }
    100% { background-position: 0% 50%; background-color: #121218; }
}

.scene {
    perspective: 800px;
    width: 100%;
}

.container {
    position: relative;
    text-align: center;
    max-width: 800px;
    width: 90%;
    padding: 60px 20px;
    background: rgba(20, 20, 30, 0.95);
    border-radius: 20px;
    box-shadow:
        0px 25px 50px rgba(0, 0, 0, 0.7),
        0px 0px 40px rgba(0, 150, 255, 0.6);
    animation: containerFadeIn 1.5s ease-out, levitate 6s ease-in-out infinite;
    transform-style: preserve-3d;
    will-change: transform;

    margin: 20px auto;
}

@keyframes containerFadeIn {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes levitate {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateX(0deg) rotateY(0deg);
    }
}

.name {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.title {
    font-size: 1.3rem;
    font-weight: 300;
    color: #cfcfd1;
    margin-bottom: 30px;
}

.intro {
    font-size: 1rem;
    color: #dcdce0;
    margin: 20px 0 30px;
    line-height: 1.5;
    padding: 0 10px;
}

.cv-button, .company-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #e6e6e6;
    color: #111111;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin: 10px 5px;
}

.cv-button:hover, .company-button:hover {
    background-color: #d9d9d9;
    transform: translateY(-2px);
}

.company-button {
    background-color: #00ccff;
    color: #ffffff;
    box-shadow: 0px 10px 20px rgba(0, 150, 255, 0.4);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.company-button:hover {
    background-color: #0099cc;
    transform: translateY(-3px);
    box-shadow: 0px 15px 30px rgba(0, 150, 255, 0.6);
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
}

.company-link-inline {
    color: #00ccff;
    text-decoration: none;
    border-bottom: 1px dotted transparent;
    transition: all 0.3s ease;
}

.company-link-inline:hover {
    color: #66d9ff;
    border-bottom: 1px dotted #66d9ff;
}

.container::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) scale(1);
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 80%);
    filter: blur(10px);
    z-index: -1;
    animation: shadowScale 6s ease-in-out infinite;
}

@keyframes shadowScale {
    0% { transform: translateX(-50%) scale(1); opacity: 1; }
    50% { transform: translateX(-50%) scale(0.9); opacity: 0.7; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .name {
        font-size: 2.5rem;
    }

    .title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .intro {
        font-size: 0.95rem;
        margin: 15px 0 25px;
    }

    .cv-button, .company-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .profile-image {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }

    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .intro {
        font-size: 0.9rem;
        margin: 10px 0 20px;
    }

    .cv-button, .company-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .profile-image {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }
}
a{
    cursor: pointer;
}