:root {
    --dark-green: #283618;
    --olive: #606c38;
    --cream: #fefae0;
    --gold: #dda15e;
    --bronze: #bc6c25;
}

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

html, body {
    height: 100vh;
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-green);
    color: var(--cream);
    display: flex;
    flex-direction: column;
}

.banner {
    background-color: var(--dark-green);
    flex: 4; 
    display: flex;
}

.banner-left, .banner-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    max-height: 22vh;
    max-width: 80%;   
    object-fit: contain;
    transform: translateY(3%); 
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2.5vh, 25px);
    width: 90%;
    max-width: 650px;
}

.server-link {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(1.1rem, min(3vw, 3vh), 1.6rem);
    font-weight: 800;
    color: var(--cream);
    background: var(--olive);
    padding: 2.2vh 2vw; 
    border-radius: 4px; 
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}

.server-link:hover {
    border-color: var(--gold);
    background: #525e30;
}

.server-link.copied {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(221, 161, 94, 0.3);
}

.carousel-section {
    background-color: var(--olive);
    flex: 5; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: clamp(250px, min(40vw, 50vh), 600px);
    height: clamp(140px, min(22vw, 32vh), 340px);
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: var(--dark-green);
    opacity: 0;
    transform: scale(0.2) translateX(0);
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item.pos-center {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 5;
}

.carousel-item.pos-left-1 {
    transform: translateX(-45%) scale(0.66);
    opacity: 0.8;
    z-index: 4;
    filter: brightness(0.6);
}

.carousel-item.pos-right-1 {
    transform: translateX(45%) scale(0.66);
    opacity: 0.8;
    z-index: 4;
    filter: brightness(0.6);
}

.carousel-item.pos-left-2 {
    transform: translateX(-75%) scale(0.33);
    opacity: 0.5;
    z-index: 3;
    filter: brightness(0.4);
}

.carousel-item.pos-right-2 {
    transform: translateX(75%) scale(0.33);
    opacity: 0.5;
    z-index: 3;
    filter: brightness(0.4);
}

.legal-footer {
    background-color: var(--dark-green);
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1vh 5vw;
    color: var(--olive);
    font-size: clamp(0.7rem, min(1vw, 1.5vh), 0.9rem);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .banner {
        flex-direction: column;
    }
    .banner-left {
        flex: 1;
    }
    .banner-right {
        flex: 1.5;
    }
    .links-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 95%;
        gap: 10px;
    }
    .server-link {
        font-size: clamp(0.7rem, 2.5vw, 1rem);
        padding: 1.5vh 2vw;
        width: auto;
        flex-grow: 1;
    }
    .logo-img {
        max-height: 15vh;
    }
}
