
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-1: #010714;
    --bg-2: #041d4a;
    --bg-3: #01040b;
    --surface: rgba(255, 255, 255, 0.052);
    --surface-strong: rgba(255, 255, 255, 0.076);
    --surface-line: rgba(255, 255, 255, 0.10);
    --text-main: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.82);
    --text-muted: rgba(255, 255, 255, 0.64);
    --accent-blue: #a6cbff;
    --accent-orange: #f59a3d;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
    --radius-lg: 24px;
    --radius-md: 999px;
}

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

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Prompt', sans-serif;
    min-height: 100vh;
    color: var(--text-main);
    position: relative;
    overflow-y: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(88, 137, 255, 0.14) 0%, transparent 24%),
        radial-gradient(circle at 82% 20%, rgba(35, 98, 255, 0.12) 0%, transparent 22%),
        radial-gradient(circle at 78% 76%, rgba(245, 154, 61, 0.09) 0%, transparent 14%),
        linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 48%, var(--bg-3) 100%);
}

.world-map,
.bg-grid,
.bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.world-map {
    z-index: 0;
    background: url('../images/world-lines.svg') center center / cover no-repeat;
    opacity: 0.045;
    mix-blend-mode: screen;
}

.bg-grid {
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.16;
    mask-image: radial-gradient(circle at center, black 34%, transparent 86%);
    -webkit-mask-image: radial-gradient(circle at center, black 34%, transparent 86%);
}

.bg-glow {
    z-index: 0;
}

.bg-glow-left {
    background: radial-gradient(circle at 16% 18%, rgba(255,255,255,0.06), transparent 16%);
    animation: slowPulse 8s ease-in-out infinite;
}

.bg-glow-right {
    background: radial-gradient(circle at 82% 18%, rgba(71, 122, 255, 0.12), transparent 18%);
    animation: slowFloat 10s ease-in-out infinite;
}

.bg-glow-orange {
    background: radial-gradient(circle at 78% 74%, rgba(245,154,61,0.12), transparent 14%);
    animation: slowPulse 7s ease-in-out infinite;
}

.language-switch {
    position: fixed;
    top: 28px;
    right: 34px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    letter-spacing: 0.6px;
    color: rgba(255,255,255,0.60);
}

.language-switch a {
    color: rgba(255,255,255,0.70);
    text-decoration: none;
    transition: color .22s ease, opacity .22s ease;
}

.language-switch a.active,
.language-switch a:hover {
    color: #ffffff;
}

.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    width: min(1080px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 84px 0 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero {
    text-align: center;
    margin-bottom: 42px;
}

.headline {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.headline::after {
    content: "";
    display: block;
    width: 84px;
    height: 2px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(166,203,255,0.95), rgba(245,154,61,0.75));
    opacity: 0.85;
}

.tagline {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.9;
    color: var(--text-soft);
}

.grid {
    width: min(860px, 100%);
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 430px;
    padding: 34px 28px 30px;
    text-decoration: none;
    color: var(--text-main);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.078), rgba(255,255,255,0.05)),
        linear-gradient(125deg, rgba(255,255,255,0.035) 0%, transparent 34%, transparent 62%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--surface-line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}

.card::before {
    content: "";
    position: absolute;
    top: -34%;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 180px;
    background: radial-gradient(circle,
        rgba(255,255,255,0.055) 0%,
        rgba(255,255,255,0.028) 38%,
        transparent 72%);
    pointer-events: none;
}


.card::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 2px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(166,203,255,0.48), rgba(245,154,61,0.22));
    opacity: 0.78;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(245,154,61,0.22);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.50);
    background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.055));
}

.logo-slot,
.card h2,
.card p,
.btn {
    position: relative;
    z-index: 2;
}

.logo-slot {
    width: min(210px, 70%);
    max-width: 210px;
    height: 108px;
    margin-bottom: 28px;
    border-radius: 18px;
    
    
    color: rgba(255,255,255,0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.card h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 14px;
}

.card p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-soft);
    max-width: 92%;
    margin-bottom: 26px;
}

.btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(245,154,61,0.44);
    background: rgba(245,154,61,0.08);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 55%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left .55s ease;
}

.card:hover .btn {
    background: rgba(245,154,61,0.16);
    border-color: rgba(245,154,61,0.58);
    box-shadow: 0 10px 28px rgba(245,154,61,0.16);
}

.card:hover .btn::after {
    left: 130%;
}

.site-footer {
    width: min(860px, 100%);
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.dev-credit a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .22s ease, text-shadow .22s ease;
}

.dev-credit a:hover {
    opacity: 0.92;
    text-shadow: 0 0 12px rgba(245,154,61,0.22);
}

@keyframes slowPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.82; }
}

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

@media (max-width: 920px) {
    body {
        overflow-y: auto;
    }

    .container {
        width: min(1080px, calc(100vw - 28px));
        padding: 72px 0 28px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card {
        min-height: unset;
    }

    .site-footer {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .language-switch {
        top: 18px;
        right: 18px;
        font-size: 0.84rem;
    }

    .headline {
        letter-spacing: 3px;
    }

    .tagline {
        font-size: 1rem;
    }

    .card {
        padding: 28px 20px 24px;
    }

    .logo-slot {
        width: min(180px, 72%);
        height: 94px;
    }

    .card h2 {
        font-size: 1.34rem;
    }

    .card p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .site-footer {
        flex-direction: column;
    }
}


.logo {
    width: min(210px, 70%);
    max-height: 110px;
    object-fit: contain;
    margin-bottom: 28px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35))
            drop-shadow(0 0 10px rgba(255,255,255,0.08));
    transition: transform .35s ease, filter .35s ease;
}

.card:hover .logo {
    transform: translateY(-4px) scale(1.02);
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.45))
            drop-shadow(0 0 14px rgba(255,255,255,0.12));
}


.recommended-entry {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.recommended-label {
    color: rgba(255,255,255,0.62);
    font-size: 0.9rem;
    line-height: 1;
}

.recommended-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(245,154,61,0.10);
    border: 1px solid rgba(245,154,61,0.36);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.recommended-link:hover {
    background: rgba(245,154,61,0.16);
    border-color: rgba(245,154,61,0.52);
    box-shadow: 0 10px 24px rgba(245,154,61,0.14);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .recommended-entry {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
}


/* Subtle pulse animation for recommended entry */
.recommended-link {
    animation: subtlePulse 4s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%,100% { box-shadow: 0 0 0 rgba(245,154,61,0.0); }
    50% { box-shadow: 0 0 18px rgba(245,154,61,0.18); }
}

/* Soft reminder banner */
.soft-reminder {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(10,18,40,0.92);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 14px 20px;
    border-radius: 999px;
    display: flex;
    gap: 14px;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: all .5s ease;
    z-index: 999;
}

.soft-reminder.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.soft-reminder a {
    color: #f59a3d;
    text-decoration: none;
    font-weight: 600;
}

.soft-reminder a:hover {
    text-decoration: underline;
}


/* Cinematic subtle motion background */
.cinematic-bg {
    position: fixed;
    inset: -20%;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.04), transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(245,154,61,0.06), transparent 45%);
    animation: cinematicMove 25s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes cinematicMove {
    0% {
        transform: translateX(-2%) translateY(-1%) scale(1);
    }
    50% {
        transform: translateX(2%) translateY(1%) scale(1.03);
    }
    100% {
        transform: translateX(-1%) translateY(2%) scale(1.02);
    }
}

.card img {
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}