#rainfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

.view {
    display: none;
    position: relative;
    z-index: 5;
}

.view.isactive {
    display: block;
}

.viewhome,
.viewresellers {
    min-height: calc(100dvh - 80px);
}

.viewresellers .headline {
    opacity: 0;
    animation: titlein 0.9s ease forwards;
}

.viewresellers .subcopy {
    opacity: 0;
    animation: btnin 0.9s ease forwards;
    animation-delay: 0.12s;
}

.viewresellers .resellerlist {
    opacity: 0;
    animation: btnin 0.9s ease forwards;
    animation-delay: 0.24s;
}

.main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.serpenttitle {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(3rem, 12vw, 68px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    background: linear-gradient(135deg, #f4f6fc 0%, #cfd3e0 45%, #7c88ad 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #cfd3e0;
    opacity: 0;
    animation: titlein 0.9s ease forwards;
}

@keyframes titlein {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #2a2925;
    border-radius: 8px;
    color: #f3f1ea;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    opacity: 0;
    animation: btnin 0.9s ease forwards;
    animation-delay: 0.15s;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

@keyframes btnin {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3a3830;
    transform: translateY(-2px);
}

.download img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: transform 0.15s ease;
}

.download:hover img {
    transform: translateY(2px);
}

.discord {
    position: absolute;
    bottom: 36px;
    right: 36px;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.discord img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.55;
    transition: opacity 0.15s ease;
}

.discord:hover img {
    opacity: 1;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 14, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

.overlaycontent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    transform: scale(0.96);
    transition: transform 0.3s ease;
}

.overlay.open .overlaycontent {
    transform: scale(1);
}

.overlaycontent h2 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #cfd3e0;
}

.dlplatformchoices {
    display: flex;
    gap: 24px;
}

.dlplatformchoice {
    --logoscale: 0.97;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.dlplatformchoice.dlwindows {
    --logoscale: 1.25;
}

.dlplatformchoice img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    pointer-events: none;
    transform: scale(var(--logoscale));
}

.dlplatformchoice:hover {
    transform: translateY(-3px) scale(1.06);
}

.visuallyhidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

.overlayclose {
    position: absolute;
    top: 36px;
    right: 36px;
    background: none;
    border: none;
    color: #84817a;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s ease;
}

.overlayclose:hover {
    color: #f3f1ea;
}

.overlayclose svg {
    width: 22px;
    height: 22px;
}
