/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* DESKTOP CSS */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.desktop {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    background: url("./images/background.png") no-repeat center center;
    background-size: cover;
    background-color: #161920;
    position: relative;
    overflow-y: auto;
    /* overflow: hidden; */
}

.menu-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 2vh 2vw;
    padding-bottom: 20px;
}

.title-group {
    width: 100%;
    text-align: center;
    margin-top: 2vh;
    margin-bottom: -72px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0vh;
}
.title-img {
    width: 25%;
    height: auto;
    margin-bottom: 1vh;
}

.social-icons {
    position: fixed;
    right: 2vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: -3.5vh;
    z-index: 100;
}

.social-icon {
    width: clamp(50px, 4vw, 70px);
    height: clamp(50px, 4vw, 70px);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    /* transform: scale(1.1); */
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*Link Items*/
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.link-items {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem 1.5rem;
    flex-wrap: wrap;
}

.link-item:hover {
    transform: scale(1.08);
    transition: transform 0.25s ease;
}

.link-item {
    transition: transform 0.25s ease;
}

.link-divider {
    width: 2px;
    height: 140px;
    border-left: 2px dashed #ccc;
    align-self: center;
    opacity: 0.5;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.link-circle {
    position: relative;
    width: 130px;
    height: 130px;
}

/* Ring 1 — outer, full solid */
.link-ring-1 {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 7px solid var(--color);
    opacity: 1;
}

/* Ring 2 — middle, dashed */
.link-ring-2 {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 6px dashed var(--color);
    opacity: 0.9;
}

/* Ring 3 — inner, 70% arc, spinning */
/* Uses conic-gradient + radial-gradient mask to create a partial arc ring */
.link-ring-3 {
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: conic-gradient(var(--color) 252deg, transparent 252deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
    animation: spin 2s linear infinite;
}

/* Center content */
.link-content {
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-ms {
    color: var(--color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.link-label {
    background: var(--color);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 18px;
    border-radius: 999px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/*Link Section*/
.link-section {
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.link-section img {
    max-width: 55rem;
    max-height: 22rem;
    object-fit: contain;
}

.link-join {
    margin-top: -1rem;
    position: relative;
    border: 8px solid #FFA4D1;
    border-radius: 16px;
    padding: 40px 40px 0 40px
}
.link-join-img {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
}
/*End Link Section*/
/*Download*/
.download-section {
    margin-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.download-section .image {
    max-width: 62.5rem;
}
.download-section .image img {
    width: 100%;
    height: 100%;
}
.download-btn {
    position: absolute;
    display: flex;
    gap: 1rem;
    align-items: center;
    bottom: 1rem;
}
.download-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.download-btn .button-download-ios {

}
.download-btn .button-download-android {

}
/*End Download*/
@media (max-width: 767px) {
    .title-img {
        width: 60%;
    }
    .link-section img {
        width: 100%;
        height: 100%;
    }
    .link-join {
        width: 100%;
        padding: 30px 12px 12px;
    }
    .link-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 1.2rem;
        padding: 1.2rem 0.5rem;
    }
    .link-divider {
        display: none;
    }
    .link-circle {
        width: 100px;
        height: 100px;
    }
    .link-ms {
        font-size: 0.75rem;
    }
    .download-btn {
        bottom: 0.5rem;
    }
    .download-btn .button-download-ios {
        height: 30px;
    }
    .download-btn .button-download-android {
        height: 30px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .title-img {
        width: 40%;
    }
    .link-section img {
        width: 100%;
        height: 100%;
    }
    .link-join {
        width: 100%;
        padding: 36px 16px 16px;
    }
    .link-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        gap: 1.2rem;
        padding: 1.2rem 0.5rem;
    }
    .link-divider {
        display: none;
    }
    .link-circle {
        width: 110px;
        height: 110px;
    }
    .download-btn .button-download-ios {
        height: 40px;
    }
    .download-btn .button-download-android {
        height: 40px;
    }
}
