* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #f4f9ff 0%, #dfeefb 40%, #c9dfe8 100%);
    color: #16324f;
    padding: clamp(20px, 5vh, 48px) 20px;
}

.welcome-content {
    width: min(100%, 980px);
    margin: 0 auto;
}

.welcome-carousel {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2.16 / 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(15, 61, 99, 0.16);
}

.welcome-carousel-slides,
.welcome-carousel-slide,
.welcome-carousel-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.welcome-carousel-slide {
    margin: 0;
    opacity: 0;
    transition: opacity 350ms ease;
}

.welcome-carousel-slide.is-active {
    opacity: 1;
}

.welcome-carousel-slide img {
    object-fit: cover;
    object-position: center 55%;
}

.welcome-carousel-arrow,
.welcome-carousel-toggle,
.welcome-carousel-indicators button {
    display: grid;
    place-items: center;
    border: 0;
    color: white;
    cursor: pointer;
}

.welcome-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 32, 35, 0.6);
    font-size: 1.4rem;
    transform: translateY(-50%);
}

.welcome-carousel-previous {
    left: 16px;
}

.welcome-carousel-next {
    right: 16px;
}

.welcome-carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 34px 62px 14px 16px;
    background: linear-gradient(transparent, rgba(12, 23, 23, 0.78));
    color: white;
    font-size: 0.9rem;
}

.welcome-carousel-indicators {
    position: absolute;
    right: 16px;
    bottom: 15px;
    z-index: 2;
    display: flex;
    gap: 7px;
}

.welcome-carousel-indicators button {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.62);
}

.welcome-carousel-indicators button[aria-current="true"] {
    background: white;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.welcome-carousel-toggle {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 32, 35, 0.6);
    font-size: 0.85rem;
}

.welcome-carousel-arrow:focus-visible,
.welcome-carousel-toggle:focus-visible,
.welcome-carousel-indicators button:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}

.welcome-message {
    padding: 32px 12px 0;
    text-align: center;
}

.welcome-message h1 {
    margin: 0 auto 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: #123a5a;
    max-width: 800px;
}

.welcome-message p {
    font-size: 1.1rem;
    margin: 0 auto 24px;
    color: #365a73;
    max-width: 650px;
}

.welcome-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.welcome-action {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid rgba(15, 61, 99, 0.28);
    border-radius: 6px;
    color: #0f3d63;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.welcome-action-primary {
    background: linear-gradient(135deg, #1d5f8f, #0f3d63);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 61, 99, 0.2);
}

.welcome-action:not(.welcome-action-primary) {
    background: rgba(255, 255, 255, 0.56);
}

.welcome-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 61, 99, 0.28);
}

.welcome-action:active {
    transform: translateY(0);
}

.browse-link {
    display: inline-block;
    margin-top: 22px;
    color: #365a73;
    text-underline-offset: 4px;
}

@media (max-width: 600px) {
    body {
        padding: 16px 15px 28px;
    }

    .welcome-carousel {
        aspect-ratio: 1.2 / 1;
    }

    .welcome-carousel-arrow {
        width: 38px;
        height: 38px;
    }

    .welcome-carousel-previous {
        left: 10px;
    }

    .welcome-carousel-next {
        right: 10px;
    }

    .welcome-carousel-caption {
        padding: 34px 16px 14px;
        font-size: 0.82rem;
    }

    .welcome-carousel-count {
        white-space: nowrap;
    }

    .welcome-carousel-indicators {
        display: none;
    }

    .welcome-message {
        padding: 24px 4px 0;
    }

    .welcome-message p {
        font-size: 1rem;
    }

    .welcome-actions {
        flex-direction: column;
        gap: 10px;
    }

    .welcome-action {
        width: 100%;
    }
}
