/* --- HTML --- */
:root {
    --bgcolor: #f5ece3;
    --blue: #82d0d6;
    --pink: #f179a5;
    --green: #b5d66b;
    --orange: #fbae4b;
    --grey: #474747;
}

html,
body {
    font-family: Dongle;
    margin: 0;
    padding: 0;
    background: var(--bgcolor);
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    transition: transform 0.3s ease;
}

a:hover {
    transform: scale(1.1);
}



/* --- Font --- */

@font-face {
    font-family: Dongle;
    src: url("../assets/fonts/Dongle/Dongle-Bold.ttf");
    font-weight: 700;
}


/* --- Global Styling --- */

/* Ensure SVGs use the correct font */
svg,
svg text {
    font-family: Dongle, sans-serif !important;
}

.main-button {
    display: inline-flex;
    background-color: var(--blue);
    color: white;
    text-decoration: none;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 250px;
    border: clamp(3px, 0.8vw, 5px) solid white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 clamp(2px, 0.5vw, 4px) clamp(4px, 1vw, 8px) rgba(0, 0, 0, 0.2);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 1.75rem);
    text-transform: uppercase;
    font-family: inherit;
    font-size: inherit;
}

.main-button:hover {
    background-color: #80d0d6;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
    text-decoration: none !important;
    opacity: 1;
}

.text-body {
    font-family: Dongle;
    font-size: 3.125rem;
    color: white;
    line-height: 2.5rem;
}

.text-body.grey {
    color: var(--grey);
}

.text-body.small {
    font-size: 1.875rem;
    line-height: 1.5rem;
}

.text-body.tiny {
    font-size: 1.25rem;
}

.text-button {
    transform: translateY(0.2rem);
}

.row-content {
    display: flex;
    flex-direction: row;
    gap: 4rem;
}

.column-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-image {
    width: clamp(15rem, 8vw + 15rem, 25rem);
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 1px rgba(0, 0, 0, 0.1));
    max-width: 90%;
}

/* --- Sections --- */

.section {
    display: flex;
    padding: 4rem 2rem;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.section.wishlist {
    padding: 6rem 2rem;
    background-color: var(--pink);
}

.section.gallery {
    background-color: var(--green);
}

.section.blurbs {
    background-color: var(--orange);
    gap: 3rem;
}

.section.social {
    gap: 2rem;
}

.section.team {
    gap: 2rem;
    padding-top: 0rem;
}

.section.footer {
    padding: 0rem;
    background-color: var(--blue);
}


/* --- Top Banner --- */

.top-banner {
    background-color: var(--blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 0rem 3rem;
    text-align: left;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.presskit-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.banner-buttons-container {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.banner-button {
    width: 24px;
    height: 24px;
}

.banner-button:hover {
    transform: scale(1.2);
}

.banner-buttons-container a {
    display: flex;
    align-items: center;
    line-height: 1;
}

.banner-logo {
    height: 40px;
    width: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.banner-logo.visible {
    opacity: 1;
    pointer-events: auto;
}


/* --- Video --- */

.logo-video {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.logo-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: clamp(200px, 40vw, 800px);
    height: auto;
    max-width: 90%;
}


/* --- Wishlist Section --- */

.wishlist-container {
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 10rem;
}

.wishlist-cta {
    display: flex;
    flex-direction: column;
    max-width: 37rem;
    justify-content: center;
    gap: 3rem;
}

.main-button.wishlist {
    max-width: 21rem;
}

iframe {
    max-width: 100%;
    box-sizing: border-box;
    width: clamp(300px, 80vw, 650px);
    height: clamp(169px, 45vw, 366px);
    box-shadow: 0 clamp(4px, 1vw, 8px) clamp(8px, 2vw, 16px) rgba(95, 96, 97, 0.3);
    border: clamp(2px, 0.5vw, 5px) solid #80d0d6;
;
    border-radius: 15px;
}


/* --- Blurbs Section --- */

.blurb-container {
    display: flex;
    flex-direction: row;
    max-width: 53rem;
    gap: 3rem;
    text-align: center;
    align-items: center;
}

.blurb-icon {
    max-width: clamp(1.8rem, 4vw, 3rem);
    height: auto;
}

.blurb-icon.hide {
    visibility: none;
    opacity: 0;
}

.marble-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}



/* --- Gallery Section --- */

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1500px;
    border: 5px solid transparent;
}

.gallery-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 clamp(4px, 1vw, 8px) clamp(8px, 2vw, 16px) rgba(95, 96, 97, 0.3);
    border: clamp(2px, 0.5vw, 5px) solid white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(95, 96, 97, 0.4);
}

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.gallery-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    cursor: default;
    animation: zoomIn 0.3s ease;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 80px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.gallery-close:hover {
    color: var(--blue);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        transform: translate(-50%, -50%) scale(1);
    }
}


/* --- Socials Section --- */

.row-content.social-buttons {
    padding-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.social-button-icon {
    filter: invert(0.4) sepia(0) saturate(0) hue-rotate(0deg) brightness(0.6) contrast(1);
    transition: filter 0.3s ease;
}

.social-button-icon:hover {
    filter: invert(0.3) sepia(0) saturate(0) hue-rotate(0deg) brightness(0.4) contrast(1);
}


/* --- Team Section --- */

.row-content.team {
    gap: 6rem;
}

.team-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.column-content.team-member {
    max-width: 200px;
    gap: 1rem;
}

.team-member-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.team-member-role {
    text-align: center;
    margin-top: -1.5rem;
}


/* --- Footer Section --- */

.column-content.company {
    gap: 0.5rem;
}

.sugamu-logo {
    max-height: 60px;
    width: auto;
    margin-top: -1.5rem;
    padding-bottom: 1rem;
}




/* ================ MOBILE RESPONSIVE ================= */

@media screen and (max-width: 1500px) {
    .logo-video {
        height: auto;
    }

    .logo-video video {
        width: 100%;
        height: auto;
        position: relative;
        object-fit: contain;
    }

    .section.wishlist,
    .section.gallery,
    .section.blurbs,
    .section.social,
    .section.team {
        width: 100%;
        padding: clamp(2rem, 5vw, 6rem) clamp(1rem, 3vw, 2rem);
    }

    .gallery-container {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .wishlist-cta {
        align-items: center;
    }

    .wishlist-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex: 1;
        gap: 5rem;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .text-body {
        font-size: 2.5rem;
        line-height: 2rem;
    }

    .logo {
        width: clamp(150px, 60vw, 400px);
        max-width: 85%;
    }

    .steam-wishlist-button {
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
    }

    .wishlist-container {
        gap: 2rem;
    }
        
    .gallery-container {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .blurb-container {
        max-width: 100%;
        gap: 2rem;
        text-align: left;
    }

    .row-content {
        gap: 2rem;
    }

    .row-content.social-buttons {
        gap: 2rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .marble-row {
        gap: 1rem;
    }

    .title-image {
        width: 20rem;
        max-width: 90%;
    }
}

@media screen and (max-width: 720px) {

    .logo {
        width: clamp(120px, 70vw, 300px);
        max-width: 80%;
    }

    .blurb-container {
        gap: 1.5rem;
    }

    .row-content.team {
        flex-direction: column;
        gap: 1rem;
    }

    .top-banner {
        padding: 0rem 1rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .section.wishlist {
        padding: 3rem 1rem;
    }
}

@media screen and (max-width: 480px) {
    .title-image {
        width: 15rem;
        max-width: 95%;
    }

    .text-body {
        font-size: 1.8rem;
        line-height: 1.5rem;
    }

    .team-header .text-body.small {
        font-size: 1.25rem;
        line-height: 1rem;
    }

    .wishlist-cta{
        gap:1rem;
    }

    .row-content.social-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .marble-row {
        gap: 0.5rem;
    }

    .blurb-icon {
        max-width: clamp(1.5rem, 3vw, 2.5rem);
    }
}