/* ============================================================
   ALIEN PILGRIMS — SIMPLIFIED HOMEPAGE STYLES
   Keep: background, bubbles, illustrated header, hero carousel, footer.
   ============================================================ */

/* Variables */
:root {
    --black: #02060a;
    --deep-blue: #031521;
    --blue: #06324a;
    --blue-light: #075b78;
    --cyan: #00ffcc;
    --cyan-soft: #5fffe5;
    --green: #00ff66;
    --green-dark: #00a84a;
    --white: #ecffff;
    --muted: #8cb8c1;
    --purple: #8a5cff;
    --panel: rgba(3, 27, 40, 0.78);
    --panel-light: rgba(7, 67, 86, 0.45);
    --border: rgba(0, 255, 204, 0.35);
    --font: "Courier New", Courier, monospace;
    --max-width: 1600px;
}

/* Reset and base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% 0%, #073d58 0%, #021a29 35%, #01090f 75%, #000 100%);
    color: var(--white);
    font-family: var(--font);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* Background atmosphere */

.ocean-bg {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: -3;

    opacity: 0.5;

    background:
        radial-gradient(
            ellipse at 20% 30%,
            rgba(0, 255, 204, 0.10),
            transparent 40%
        ),

        radial-gradient(
            ellipse at 80% 60%,
            rgba(0, 255, 102, 0.07),
            transparent 40%
        );
}


/* subtle scanline effect */

body::after {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 20;

    opacity: 0.035;

    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            #ffffff 4px
        );
}


/* ============================================================
   FLOATING BUBBLES
   ============================================================ */

.bubble {

    position: fixed;

    border-radius: 50%;

    border: 1px solid rgba(0, 255, 204, 0.15);

    background: rgba(0, 255, 204, 0.025);

    box-shadow:
        inset 0 0 20px rgba(0, 255, 204, 0.04),
        0 0 30px rgba(0, 255, 204, 0.03);

    pointer-events: none;

    z-index: -1;

    animation: floatBubble 12s ease-in-out infinite;
}

.bubble-1 {
    width: 140px;
    height: 140px;

    top: 15%;
    left: 4%;
}

.bubble-2 {
    width: 80px;
    height: 80px;

    top: 55%;
    right: 7%;

    animation-delay: -3s;
}

.bubble-3 {
    width: 220px;
    height: 220px;

    bottom: 5%;
    left: -80px;

    animation-delay: -6s;
}

.bubble-4 {
    width: 55px;
    height: 55px;

    top: 35%;
    right: 20%;

    animation-delay: -8s;
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-25px) translateX(10px);
    }
}



/* Header */

.site-header {

    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 20px auto 0;

    min-height: 64px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 10px 16px;

    background: rgba(0, 15, 24, 0.75);

    border: 1px solid var(--border);

    border-radius: 8px;

    backdrop-filter: blur(12px);

    box-shadow:
        0 0 30px rgba(0, 255, 204, 0.04);
}

.site-logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 15px;

    letter-spacing: 2px;

    color: var(--cyan);

    white-space: nowrap;

    text-shadow:
        0 0 10px rgba(0, 255, 204, 0.5);
}

.logo-symbol {
    font-size: 20px;
}

.main-nav {

    display: flex;

    align-items: center;

    gap: 6px;

    flex-wrap: wrap;

    justify-content: flex-end;
}

.main-nav a {

    padding: 7px 10px;

    border: 1px solid transparent;

    color: var(--muted);

    font-size: 12px;

    letter-spacing: 1px;

    transition:
        color 0.2s,
        border-color 0.2s,
        background 0.2s;
}

.main-nav a:hover,
.main-nav a.active {

    color: var(--cyan);

    border-color: var(--border);

    background: rgba(0, 255, 204, 0.04);
}



/* Main page width */

.site-main {

    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 20px auto 0;
}



/* Footer */

.site-footer {

    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;

    padding: 25px 0 40px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: rgba(140, 184, 193, 0.55);

    font-size: 9px;

    letter-spacing: 1px;
}




/* Responsive layout */
@media (max-width: 800px) {
    .site-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
    }

    .site-logo {
        justify-content: center;
    }

    .main-nav {
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .site-header,
    .site-main,
    .site-footer {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
    }

    .main-nav {
        gap: 4px;
    }

    .main-nav .nav-item {
        width: 44px;
        height: 44px;
        padding: 5px;
    }

    .main-nav .nav-tooltip {
        width: 180px;
    }
}

/* Illustrated navigation */
.site-header {
    position: relative;
    z-index: 30;
}

.main-nav {
    gap: 20px;
    align-items: center;
}

.main-nav .nav-item {
    position: relative;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgba(0, 255, 204, 0);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.main-nav .nav-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.main-nav .nav-item:hover,
.main-nav .nav-item:focus-visible,
.main-nav .nav-item.active {
    border-color: var(--border);
    background: rgba(0, 255, 204, 0.09);
    outline: none;
}

.main-nav .nav-item:hover img,
.main-nav .nav-item:focus-visible img {
    transform: scale(1.12);
}

/* Navigation tooltips */
.main-nav .nav-tooltip {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 210px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(2, 20, 31, 0.97);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 204, 0.08);
    text-align: center;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 50;
}

.main-nav .nav-tooltip strong {
    color: var(--cyan);
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 1px;
}

.main-nav .nav-tooltip small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.main-nav .nav-item:hover .nav-tooltip,
.main-nav .nav-item:focus-visible .nav-tooltip,
.main-nav .nav-item:focus .nav-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Image logo */
.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    display: block;
    width: auto;
    height: 64px;
    max-width: 280px;
    object-fit: contain;
}

/* Bubbly hero carousel */
.hero.hero-carousel {
    position: relative;
    display: block;
    isolation: isolate;

    height: 700px;
    min-height: 0;
    padding: 0;
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 24px;
    background: #03131b;
    box-shadow: 0 0 35px rgba(0, 255, 204, 0.06);
}

.hero-carousel .hero-slides {
    position: relative;
    height: 100%;
    min-height: 0;
}

.hero-carousel .hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: clamp(28px, 6vw, 80px);
    padding-bottom: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.55s ease, visibility 0.55s ease;
    overflow-y: auto;
    box-sizing: border-box;
}

.hero-carousel .hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(0, 10, 18, 0.92) 0%, rgba(0, 10, 18, 0.70) 45%, rgba(0, 10, 18, 0.15) 100%),
        linear-gradient(0deg, rgba(0, 10, 18, 0.45), transparent 45%);
}

.hero-carousel .hero-slide.active {
    position: absolute;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-carousel .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--green);
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero-carousel h1 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(48px, 8vw, 92px);
    line-height: 0.95;
    letter-spacing: -4px;
    font-weight: normal;
    text-shadow: 0 0 30px rgba(0, 255, 204, 0.08);
}

.hero-carousel h1 span {
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

.hero-carousel .hero-text {
    max-width: 620px;
    margin: 30px 0;
    color: rgba(230, 250, 255, 0.85);
    font-size: 16px;
}

.hero-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid var(--cyan);
    background: rgba(0, 255, 204, 0.08);
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: 1px;
    transition: 0.2s;
}

.button-2 {
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid var(--cyan);
    background: rgba(255, 0, 0, 0.336);
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: 1px;
    transition: 0.2s;
}


.button:hover {
    background: var(--cyan);
    color: #001014;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.25);
}

.text-link {
    color: var(--green);
    font-size: 12px;
    letter-spacing: 1px;
}

.text-link:hover {
    text-decoration: underline;
}

/* Carousel controls */
.hero-carousel .hero-controls {
    position: absolute;
    z-index: 5;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: calc(100% - 24px);
}

.hero-carousel .hero-arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--cyan);
    background: rgba(0, 15, 25, 0.78);
    font-family: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-carousel .hero-arrow:hover {
    color: #001014;
    background: var(--cyan);
    transform: scale(1.08);
}

.hero-carousel .hero-arrow:focus-visible,
.hero-carousel .hero-dot:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

.hero-carousel .hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-carousel .hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-carousel .hero-dot.active {
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.65);
    transform: scale(1.12);
}

.hero-carousel .hero-dot:hover {
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.45);
}

/* Mobile carousel */
@media (max-width: 700px) {
    .hero.hero-carousel {
        height: 540px;
        min-height: 0;
    }

    .hero-carousel .hero-slides {
        height: 100%;
        min-height: 0;
    }

    .hero-carousel .hero-slide {
        padding: 30px 22px 100px;
        background-position: center;
    }

    .hero-carousel .hero-slide::before {
        background:
            linear-gradient(90deg, rgba(0, 10, 18, 0.82), rgba(0, 10, 18, 0.48)),
            linear-gradient(0deg, rgba(0, 10, 18, 0.65), transparent 70%);
    }

    .hero-carousel h1 {
        font-size: clamp(40px, 10vw, 58px);
        letter-spacing: -2px;
        line-height: 1;
    }

    .hero-carousel .hero-text {
        font-size: 14px;
        line-height: 1.7;
        margin: 22px 0;
    }

    .hero-carousel .hero-links {
        gap: 14px;
    }

    .hero-carousel .hero-controls {
        bottom: 16px;
        gap: 12px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .bubble,
    .status-dot,
    .hero-carousel .hero-slide,
    .hero-carousel .hero-arrow,
    .hero-carousel .hero-dot {
        animation: none;
        transition: none;
    }
}

/* Space between the header and the main panel */
        .about-main {
            margin-top: 24px;
            margin-bottom: 24px;
        }

        /* Main outer box — styled like the homepage carousel */
        .about-panel {
            position: relative;
            padding: clamp(24px, 5vw, 60px);
            overflow: hidden;

            border: 1px solid var(--border);
            border-radius: 24px;

            background:
                radial-gradient(
                    circle at 85% 10%,
                    rgba(0, 255, 204, 0.09),
                    transparent 32%
                ),
                linear-gradient(
                    135deg,
                    rgba(3, 27, 40, 0.96),
                    rgba(1, 13, 22, 0.96)
                );

            box-shadow: 0 0 35px rgba(0, 255, 204, 0.06);
        }

        /* Small label above the main heading */
        .about-eyebrow {
            display: flex;
            align-items: center;
            gap: 10px;

            margin: 0 0 12px;

            color: var(--cyan);
            font-size: 11px;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .about-status-dot {
            width: 8px;
            height: 8px;
            flex-shrink: 0;

            border-radius: 50%;
            background: var(--green);
            box-shadow: 0 0 12px rgba(0, 255, 102, 0.7);
        }

        /* Main heading */
        .about-panel h1 {
            margin: 0 0 16px;

            color: var(--white);
            font-size: clamp(30px, 5vw, 54px);
            line-height: 1.12;
            letter-spacing: -1px;
        }

        .about-panel h1 span {
            color: var(--cyan);
        }

        .about-intro {
            max-width: 1000px;
            margin: 0 0 32px;

            color: var(--muted);
            font-size: 14px;
            line-height: 1.8;
        }

        /* Inner boxes for the crew and contact form */
        .about-section {
            margin-top: 28px;
            padding: clamp(20px, 3vw, 32px);

            border: 1px solid rgba(0, 255, 204, 0.24);
            border-radius: 14px;

            background: rgba(0, 12, 20, 0.48);
        }

        .about-section h2 {
            margin: 0 0 18px;

            color: var(--cyan-soft);
            font-size: clamp(18px, 2.6vw, 25px);
            letter-spacing: 1px;
        }

        .about-section > p {
            margin: 0 0 20px;

            color: var(--muted);
            font-size: 13px;
            line-height: 1.8;
        }

        /* Crew list */
        .member-list {
            display: grid;
            gap: 12px;

            margin: 0;
            padding: 0;
            list-style: none;
        }

        .member-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;

            padding: 15px 16px;

            border: 1px solid rgba(140, 184, 193, 0.18);
            border-radius: 8px;

            background: rgba(7, 67, 86, 0.2);
        }

        .member-name {
            color: var(--white);
            font-size: 14px;
            font-weight: bold;
        }

        .member-role {
            color: var(--cyan);
            font-size: 11px;
            letter-spacing: 1px;
            text-align: right;
        }

        /* Contact form layout */
        .contact-form {
            display: grid;
            gap: 16px;
        }

        .contact-form label {
            display: grid;
            gap: 7px;

            color: var(--muted);
            font-size: 11px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .contact-form input,
        .contact-form textarea {
            box-sizing: border-box;
            width: 100%;

            border: 1px solid rgba(0, 255, 204, 0.28);
            border-radius: 7px;
            padding: 13px 14px;

            background: rgba(0, 7, 12, 0.72);
            color: var(--white);

            font: inherit;
            font-size: 13px;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--cyan);
            box-shadow: 0 0 0 3px rgba(0, 255, 204, 0.08);
        }

        .contact-form textarea {
            min-height: 150px;
            resize: vertical;
        }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: rgba(140, 184, 193, 0.55);
        }

        .contact-submit {
            justify-self: start;

            border: 1px solid var(--cyan);
            border-radius: 6px;
            padding: 12px 18px;

            background: rgba(0, 255, 204, 0.08);
            color: var(--cyan-soft);

            font: inherit;
            font-size: 11px;
            letter-spacing: 1px;

            cursor: pointer;
            transition: background 0.2s, transform 0.2s;
        }

        .contact-submit:hover {
            background: rgba(0, 255, 204, 0.16);
            transform: translateY(-1px);
        }

        .form-note {
            margin: 0;
            color: rgba(140, 184, 193, 0.7);
            font-size: 11px;
            line-height: 1.6;
        }

        /* Mobile adjustments */
        @media (max-width: 600px) {
            .about-panel {
                padding: 22px 18px;
                border-radius: 16px;
            }

            .member-card {
                align-items: flex-start;
                flex-direction: column;
                gap: 5px;
            }

            .member-role {
                text-align: left;
            }

            .contact-submit {
                width: 100%;
            }

            }

