:root {
    --primary: #1d71b8;

    --text: #12324d;
    --muted: #6793b8;
    --line: rgba(29, 113, 184, 0.14);

    --bg-1: #f4f9ff;
    --bg-2: #e6f1fb;
    --bg-3: #d7e9f8;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        linear-gradient(0deg, var(--bg-1) 0%, var(--bg-2) 46%, var(--bg-3) 100%);
    overflow-x: hidden;
}

.page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.hero {
    flex: 1;
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 2rem;
}

.hero-inner {
    width: min(1100px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.logo-wrap {
    width: min(540px, 88vw);
    padding: 1.6rem 1.8rem;

    backdrop-filter: blur(10px);
}

.logo {
    display: block;
    width: 100%;
    height: auto;
}

.main-title,
.main-description {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.footer {
    display: flex;
    justify-content: center;
    padding: 1rem 1.5rem 1.4rem;
    backdrop-filter: blur(8px);
}

.footer-inner {
    width: min(1100px, 100%);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

.ticker {
    width: min(980px, 100%);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-track {
    display: flex;
    width: max-content;
    padding: 1rem 0;
    will-change: transform;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-track span {
    font-family: "Orbitron", sans-serif;
    font-weight: 100;
    letter-spacing: 0.24em;
    text-transform: uppercase;

    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    margin-right: 3.5rem;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    white-space: nowrap;
    color: var(--muted);
    text-shadow: 0 0 24px rgba(29, 113, 184, 0.18);
}

.portal-button {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    border: 1px solid rgba(29, 113, 184, 0.22);

    background: rgba(255, 255, 255, 0.62);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;

    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(29, 113, 184, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.portal-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 36px rgba(29, 113, 184, 0.18);
}

.portal-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .portal-button {
        top: 16px;
        right: 16px;
        padding: 0.7rem 1.05rem;
        font-size: 0.95rem;
    }
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
