/* SLAx shutdown site — shared theme */

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

body {
    background: #030712;
    color: white;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Aurora background container */
#aurora-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    background-color: #030712;
    overflow: hidden;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
    animation: aurora-drift linear infinite;
}

/* Blue blob — top-left */
.aurora-blob-1 {
    width: 65vw; height: 65vw;
    background: radial-gradient(circle at center, #3b82f6 0%, transparent 70%);
    filter: blur(90px);
    top: -20%; left: -15%;
    animation-duration: 48s;
    animation-delay: 0s;
}

/* Purple blob — right-center */
.aurora-blob-2 {
    width: 55vw; height: 55vw;
    background: radial-gradient(circle at center, #8b5cf6 0%, transparent 70%);
    filter: blur(110px);
    top: 25%; right: -15%;
    animation-duration: 64s;
    animation-delay: -20s;
}

/* Cyan blob — bottom-center */
.aurora-blob-3 {
    width: 45vw; height: 45vw;
    background: radial-gradient(circle at center, #06b6d4 0%, transparent 70%);
    filter: blur(80px);
    bottom: -10%; left: 25%;
    animation-duration: 54s;
    animation-delay: -10s;
}

@keyframes aurora-drift {
    0%   { transform: translate(0,    0   ) scale(1);    }
    25%  { transform: translate(4vw,  3vh ) scale(1.06); }
    50%  { transform: translate(2vw,  8vh ) scale(0.94); }
    75%  { transform: translate(-3vw, 4vh ) scale(1.03); }
    100% { transform: translate(0,    0   ) scale(1);    }
}

/* Stripe-style ribbon canvas */
#ribbon-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    filter: blur(22px);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 1.2s ease;
}

#ribbon-canvas.visible {
    opacity: 1;
}

/* Content sits above the background layers */
.content-layer {
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header navbar */
body > header {
    background-color: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgb(31, 41, 55);
}

.navbar-inner {
    display: flex;
    align-items: center;
    height: 4rem;
}

.logo-animated {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4, #3b82f6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logo-gradient 4s linear infinite;
    transition: transform 0.2s ease, filter 0.2s ease;
    display: inline-block;
}

.logo-animated:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

@keyframes logo-gradient {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Index: centered message layout */
main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* Subpages: top-aligned scroll layout */
main.page-main {
    display: block;
    padding: 2.5rem 1rem 3rem;
}

.page-narrow {
    max-width: 56rem;
    margin: 0 auto;
}

.page-narrow-sm {
    max-width: 32rem;
    margin: 0 auto;
}

/* Page headers (subpages) — glass bubble like the old .section-header-enhanced */
.page-header {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
}

.page-subtitle {
    color: rgb(156, 163, 175);
    text-align: center;
    margin-top: 0.5rem;
}

.page-updated {
    color: rgb(107, 114, 128);
    text-align: center;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Hero bubble (matches old landing hero) */
.landing-hero {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    text-align: center;
    padding: 2.5rem 3rem 3rem;
    max-width: 56rem;
}

.landing-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .landing-hero h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .landing-hero h1 {
        font-size: 4rem;
    }
}

.landing-hero p {
    font-size: 1.125rem;
    color: rgb(156, 163, 175);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Animated gradient underline */
.gradient-underline {
    position: relative;
    display: inline-block;
}

.gradient-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
    border-radius: 2px;
}

.text-white {
    color: white;
}

.portal-emphasis {
    color: rgb(209, 213, 219);
    font-weight: 600;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Legal/content cards (privacy, terms) */
.legal-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.legal-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.legal-card h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.legal-card h3 {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.legal-card p {
    color: rgb(209, 213, 219);
    font-size: 0.875rem;
    line-height: 1.625;
    margin-bottom: 1rem;
}

.legal-card p.muted {
    color: rgb(156, 163, 175);
}

.legal-card > :last-child,
.legal-card li:last-child {
    margin-bottom: 0;
}

.legal-card ul {
    list-style: disc inside;
    color: rgb(209, 213, 219);
    font-size: 0.875rem;
    line-height: 1.625;
    margin: 0 0 1rem 0.5rem;
}

.legal-card li {
    margin-bottom: 0.5rem;
}

.legal-card strong {
    color: white;
}

.legal-card a,
.contact-email {
    color: #60a5fa;
    transition: color 0.15s ease-in-out;
}

.legal-card a:hover {
    color: #93c5fd;
}

.legal-card.center {
    text-align: center;
}

/* Blue info note (privacy §5) */
.info-note {
    background-color: #1e3a8a;
    border: 1px solid #1d4ed8;
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #bfdbfe;
    font-size: 0.875rem;
    line-height: 1.625;
}

/* Gradient border cards (ToS disclaimer, contact card) */
.gradient-border-card {
    position: relative;
    background: rgba(17, 24, 39, 0.8);
    border-radius: 1rem;
    padding: 1.5rem;
    overflow: hidden;
}

.gradient-border-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.gradient-border-warning::before {
    background: linear-gradient(135deg, #ef4444, #f97316, #eab308);
}

.gradient-border-trust::before {
    background: linear-gradient(135deg, #3b82f6, #06b6d4, #0ea5e9);
}

.warning-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: #eab308;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.warning-heading svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Icon container with gradient background (contact page) */
.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.icon-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--icon-color-1), var(--icon-color-2));
    opacity: 0.2;
    border-radius: 12px;
}

.icon-container svg {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
}

.icon-container.trust {
    --icon-color-1: #3b82f6;
    --icon-color-2: #06b6d4;
}

.icon-container.trust svg {
    stroke: #60a5fa;
}

.contact-card {
    padding: 2rem;
    text-align: center;
}

.contact-email {
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: underline;
}

.contact-email:hover {
    color: white;
}

/* Footer */
footer {
    background-color: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-top: 1px solid rgb(31, 41, 55);
    margin-top: auto;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
    }
}

.footer-copy {
    color: rgb(156, 163, 175);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: rgb(156, 163, 175);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.footer-links a:hover {
    color: white;
}

.footer-sep {
    color: rgb(75, 85, 99);
}
