/* Styles for the farewell landing page (Views/Home/Index.cshtml).
   Colors are taken from the dotnetFlix logo. */

:root {
    --dnf-cyan: #5ccae8;
    --dnf-purple: #5b57a6;
    --dnf-magenta: #a3238f;
    --dnf-pink: #e0158c;
    --bg: #0d0d16;
    --bg-card: #161626;
    --text: #f2f2f7;
    --text-muted: #a9a9bf;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
    font-weight: 400;
    color: var(--text);
    background-color: var(--bg);
    /* Two soft brand-colored glows behind the content. */
    background-image:
        radial-gradient(ellipse 60% 45% at 15% 0%, rgba(92, 202, 232, 0.18), transparent 70%),
        radial-gradient(ellipse 60% 45% at 85% 100%, rgba(163, 35, 143, 0.22), transparent 70%);
    background-attachment: fixed;
}

/* Hard-stop stripe in the logo colors. */
.brand-stripe {
    height: 8px;
    background: linear-gradient(90deg,
        var(--dnf-cyan) 0 33.33%,
        var(--dnf-purple) 33.33% 66.66%,
        var(--dnf-magenta) 66.66% 100%);
}

.farewell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 16px 48px;
}

.farewell-logo {
    width: min(460px, 85vw);
    height: auto;
    margin-bottom: 48px;
}

.farewell-kicker {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dnf-cyan);
}

.farewell-title {
    margin: 0 0 24px;
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 700;
    line-height: 1.05;
}

.farewell-title .accent {
    color: var(--dnf-pink);
}

.farewell-text {
    margin: 0 0 40px;
    max-width: 560px;
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 300;
    line-height: 1.5;
    color: var(--text);
}

.youtube-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 34px;
    border-radius: 999px;
    background-color: var(--dnf-magenta);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(163, 35, 143, 0.45);
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.youtube-button:hover,
.youtube-button:focus-visible {
    background-color: var(--dnf-pink);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(224, 21, 140, 0.55);
}

.youtube-button:focus-visible {
    outline: 3px solid var(--dnf-cyan);
    outline-offset: 4px;
}

.youtube-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
    flex-shrink: 0;
}

.farewell-hint {
    margin: 24px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.farewell-hint .url {
    color: var(--dnf-cyan);
    font-weight: 700;
}

.farewell-footer {
    padding: 24px 16px 32px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    background-color: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.farewell-footer p {
    margin: 4px 0;
}

.farewell-footer .license {
    font-size: 13px;
}

.farewell-footer a {
    color: var(--dnf-cyan);
}

.farewell-footer a:hover {
    color: #ffffff;
}

@media (max-width: 480px) {
    .youtube-button {
        gap: 10px;
        padding: 14px 22px;
        font-size: 18px;
    }
    .youtube-icon {
        width: 26px;
        height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .youtube-button {
        transition: none;
    }
    .youtube-button:hover {
        transform: none;
    }
}
