:root {
    --gold: #ffd700;
    --card-bg: #0a0a0a;
}

@font-face {
    font-family: "Whiplash";
    src: url("fonts/cs-whiplash.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: "Tektur", sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.tektur-font {
    font-family: "Tektur", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.abt-hero {
    width: max-content;
    height: 60vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-main-title {
    width: fit-content;
    font-size: clamp(5rem, 8vw, 6.5rem);
    font-family: "CS Whiplash", serif;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-decoration: none;
    /* 
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.15s; */
}

.about-main-title.hero-events::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    margin: 0 auto;
    border-radius: 2px;
    opacity: 0.95;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.04);
    transform: scaleX(0);
    transform-origin: center left;
    transition: transform 260ms cubic-bezier(.2, .9, .2, 1), opacity 180ms ease;
}

.about-main-title.hero-events.underline-visible::after {
    transform: scaleX(1);
    opacity: 1;
    transform-origin: center center;
}

.about-main-desc {
    width: fit-content;
    font-size: clamp(1rem, 1.8vw, 2rem);
    letter-spacing: 1.5px;
    /* opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.25s; */
}

.about-wrapper {
    width: 80%;
    min-height: 100vh;
    position: sticky;
    top: 0rem;
    margin: auto;
    padding-bottom: 10rem;
}

.team-division {
    /* min-height: 65vh; */
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    padding-bottom: 3.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    /* 
    position: sticky;
    top: 15vh;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    overflow: hidden;
    overflow-y: scroll; */
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 1px 2px 30px 10px rgba(255, 255, 255, 0.3);

    /* TODO: adding this here to fix weird card look */
    background: rgba(255, 255, 255, 0.1);
    border: none;
    box-shadow: none;
}

.division-title {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 3rem;
    margin-top: 0.9rem;
    border-left: 0.25rem solid var(--gold);
    padding-left: 1rem;
    /* position: sticky;
    top: 0vh; */
}

.people-row {
    width: 100%;
    /*max-width: 60rem;*/
    margin: auto;
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
    /*flex-start;*/
}


.people-card {
    position: relative;
    /*width: 100%;*/
    /*max-width: 17rem;*/
    width: 20rem;
    aspect-ratio: calc(4/5);
    background-color: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.4s ease;
}

.card-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 2;
}

.card-info h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--gold);
}

.card-info p {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.people-card:hover {
    transform: translateY(-0.75rem) scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 1.25rem 2.5rem rgba(255, 215, 0, 0.3);
    z-index: 50;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.people-card:hover .card-overlay {
    opacity: 1;
}

.social-btn {
    width: 2.8rem;
    height: 2.8rem;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

@media (max-width: 480px) {
    .team-division {
        width: 80%;
        margin: auto;
        margin-bottom: 5rem;
    }

    .glass-card {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        box-shadow: none;
    }

    .abt-hero {
        height: 60vh;
        width: fit-content;
    }

    .about-main-title {
        font-size: 15vw;
        margin-bottom: 1rem;
        /* width: 100%;*/
        text-align: center;
    }

    .about-main-desc {
        font-size: clamp(0.7rem, 5vw, 7rem);
        text-align: center;
        line-height: 1.6;
        position: relative;
        letter-spacing: 1.5px;
    }

    .about-wrapper {
        width: 100%;
    }

    .people-card {
        width: 90%;
        height: 24rem;
        margin: auto;
    }

    .card-info h3 {
        font-size: 1.2rem;
    }

    .division-title {
        font-size: clamp(1.5rem, 7vw, 3rem);
    }
}