/* ===========================
       GLOBAL / BASE
   =========================== */

html, body {
    background-color: var(--primary-color);
    color: var(--primary-text-color);
}

body {
    background: var(--primary-color);
}

ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    padding-left: 0;
}

/* ===========================
       HERO SECTION
   =========================== */

.hero {
    align-items: center;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    color: var(--primary-text-color);
    display: flex;
    font-family: var(--font-body);
    height: 60vh;
    justify-content: center;
    padding: 0 20px;
    position: relative;
    text-align: center;
}

.hero::before {
    background: rgba(0, 0, 0, 0.5);
    content: "";
    inset: 0;
    margin-bottom: -1px;
    position: absolute;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    letter-spacing: 4px;
}

.hero-inner {
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
    position: relative;
    transform: translateY(20px);
    z-index: 2;
}

.hero-name {
    font-family: var(--font-header);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10vh;
    margin-top: 10vh;
}

.hero-role {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 300;
    margin: 5px 0;
    opacity: 0.9;
}

.hero-divider {
    background: linear-gradient(to right, transparent, #bababa, transparent);
    height: 2px;
    margin: 10px auto 20px;
    width: 820px;
}

.hero-logo {
    display: block;
    height: auto;
    margin: 10vh auto;
    max-width: 50%;
}

.hero-logo + .hero-name {
    display: none;
}

.hero-wave svg {
    display: block;
    height: 250px;
    width: 100%;
}

.hero video.hero-bg {
    filter: brightness(0.7);
    height: 100%;
    left: 50%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero{
        height: 70vh;
    }

    .hero h1{
        font-size: 6vh;
        margin-bottom: 4vh;
    }
}

/* ===========================
      HERO TAGS / LABELS
   =========================== */

.hero-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    list-style: none;
    margin: 20px;
    padding: 0px;
    text-align: center;
}

.hero-tags li {
    backdrop-filter: blur(4px);
    background: rgba(26, 26, 26, 0.5);
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.6px;
    padding: 6px 14px;
}

.hero-tags li#special-gamejam {
    background: #a35928;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-tags li#special-student {
    background: #8d8623;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-tags li#award-winner {
    background: #42840f;
    font-weight: 700;
    text-transform: uppercase;
}

/* ===========================
        ABOUT SECTION
   =========================== */

#about {
    color: #e7e7e7;
    font-family: "Lexend", sans-serif;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 900px;
    padding: 3rem 1.5rem;
}

#about h1 {
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-align: center;
}

#about .subtitle {
    color: #ffcf9e;
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 0.2rem;
    text-align: center;
}

#about .meta {
    color: #d0d0d0;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    text-align: center;
}

#about .team,
#about .role {
    color: #cccccc;
    font-size: 1rem;
    margin-bottom: 0.6rem;
    text-align: center;
}

#about .team strong,
#about .role strong {
    color: #ffffff;
}

#about .description {
    font-size: 1.1rem;
    margin: 1rem 0 1.2rem;
    padding-bottom: 2vh;
}

#about .engine {
    color: #cfcfcf;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    margin-top: 2rem;
    text-align: center;
}

.about-grid h3 {
    color: #ffcf9e;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.about-grid p {
    color: #dcdcdc;
    font-size: 1rem;
    line-height: 1.5;
}

/* ===========================
        INFO BAR
   =========================== */

.info-bar {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.95rem;
    font-weight: 500;
    gap: 1.5rem;
    justify-content: center;
    margin: 1.8rem auto 0;
    text-align: center;
}

.info-bar .info i {
    margin-right: 8px;
}

.info.status.done {
    color: #8eff9e;
}

.info.status.dev {
    color: #ffc34c;
}

.info.team i,
.info.engine i,
.info.role i {
    color: var(--highlight-color);
}

.team-line {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-line i {
    color: var(--highlight-color);
}

.team-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* spacing between badges */
    list-style: none;
    margin: 0;
    padding: 0;
}

.team-list li {
    padding: 6px 14px;
    border: 1px solid #666;
    border-radius: 20px;
    color: #e7e7e7;
    font-size: 0.95rem;
    white-space: nowrap; /* keeps names from breaking mid-word */
}

@media (max-width: 768px) {
    .team-line{
        text-align: center;
    }
}

/* ===========================
        LEGEND SECTION
   =========================== */

.games-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-top: 20px;
}

.legend-item {
    align-items: center;
    background-color: var(--fifth-color);
    border-radius: 100%;
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 10px;
    height: 6vh;
    justify-content: center;
    padding: 12px 20px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 6vh;
}

.legend-item i {
    color: var(--primary-text-color);
    font-size: 1.2rem;
}

.legend-item:hover {
    box-shadow: 0px 5px 18px rgba(0,0,0,0.4);
    transform: translateY(-6px);
}

/* ===========================
     CONTRIBUTIONS SECTION
   =========================== */

#contributions {
    animation: fadeIn 0.6s ease-out forwards;
    color: #e7e7e7;
    font-family: "Lexend", sans-serif;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 900px;
    opacity: 0;
    padding: 3rem 1.5rem;
}

#contributions h1 {
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-align: center;
}

#contributions h2 {
    border-bottom: 2px solid var(--color-p-soft);
    color: var(--color-h1);
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 3rem;
    padding-bottom: 0.4rem;
}

#contributions p {
    color: #d8d8d8;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

#contributions ul {
    margin: 0.8rem 0 0;
    padding-left: 1.2rem;
}

#contributions ul li {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    padding-left: 0.5rem;
}

#contributions ul li strong {
    color: #fff;
}

#contributions ul ul {
    border-left: none;
    margin-top: 0.5rem;
    padding-left: 1rem;
}

#contributions ul ul li {
    color: #cfcfcf;
    font-size: 1rem;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}