:root {
    --text-color: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.45);
}

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

body,
html {
    width: 100%;
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    background-color: #000;
}

#background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.bg-image.active {
    opacity: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 2;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: clamp(2rem, 8vw, 6rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--text-color);
}

.name {
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.02em;
    margin-bottom: clamp(1rem, 4vw, 2rem);
    text-transform: uppercase;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    margin-top: 10vh;
}

.roles {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    line-height: 1.5;
    max-width: 600px;
    opacity: 0.9;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Add a very subtle scale animation to background images for premium feel */
@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.bg-image.active {
    animation: slowZoom 6s linear forwards;
}