/* -------------------------------
GLOBAL STYLES
------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600&family=Poppins:ital,wght@0,400;0,700;0,800;1,400&display=swap');

@font-face {
    font-family: "Nigallen-Sans";
    src: url("../assets/fonts/nigallen_sans.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #1a3f8f;
    --secondary-color: #FDE44C;
    --tertiary-color: #ff643d;
    --background-color: #fafbfd;
    --text-color: #333;
    --font-family: 'Poppins', sans-serif;
    --font-size: 16px;
    --line-height: 1.5;
    --font-display: "Bricolage Grotesque", system-ui, sans-serif;
    --muted-foreground: oklch(0.49 0.022 260);
    --primary: oklch(0.51 0.23 262);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size);
    line-height: var(--line-height);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    overflow-x: hidden;
}


/* -------------------------------
HERO SECTION STYLES
------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 88vh;
    min-height: 88svh;

    background-image:
        linear-gradient(#e1e5ea 1px, transparent 1px),
        linear-gradient(90deg, #e1e5ea 1px, transparent 1px);
    background-size: 40px 40px;
}

.inv-only {
    display: inline-flex;
    position: absolute;
    top: 2rem;
    left: 50%;
    margin: 0;
    padding: 7px 13px;
    border: 1px solid var(--secondary-color);
    border-radius: 100px;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transform: translateX(-50%);
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    padding: 2rem;
}

.inv-only,
.estd {
    z-index: 2;
}

.hero-description {
    max-width: 34rem;
    margin: 1rem 0 0;
    line-height: 1.65;
}

.hero-mascot {
    position: absolute;
    z-index: 0;

    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);

    width: min(400px, 60vw);
    height: auto;
    max-height: 65%;
    object-fit: contain;
    object-position: bottom center;

    pointer-events: none;
    user-select: none;
}

.estd {
    position: absolute;
    z-index: 2;
    bottom: 2rem;
    left: 2rem;
    margin: 0;
}

.hero-title {
    font-family: 'Nigallen-Sans', var(--font-family);
    font-size: 9rem;
    font-weight: normal;
    color: var(--primary-color);
    margin: 0;
    line-height: 0.8;
}

.hero-title span {
    color: var(--tertiary-color);
}

.login-btn-wrapper {
    position: relative;
    width: fit-content;
    margin: 1rem auto 0;
    border-radius: 25px;
    overflow: hidden;
}

.login-btn {
    display: block;
    width: auto;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    text-decoration: none;
    color: var(--primary-color);
    border-radius: 100px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    position: relative;
    transition: all .35s;
    padding: 0 30px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
}

.login-btn span {
    position: relative;
    z-index: 2;
}

.login-btn:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: all .35s;
    border-radius: 20px;
}

.login-btn:hover {
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.login-btn:hover:after {
    width: 100%;
}

.tagline-container {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagline-text {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--tertiary-color);
    margin: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tagline-text.fade-out {
    opacity: 0;
    transform: translateY(8px);
}


/* -------------------------------
TICKER SECTION STYLES
------------------------------- */
.ticker-wrapper {
    overflow: hidden;
    background: var(--secondary-color);
    transform: rotate(-1deg) scale(1.01);
    margin-top: -10px;
    margin-bottom: -10px;
    position: relative;
    z-index: 1;
}

.ticker-content {
    display: flex;
    width: max-content;
    animation: ticker-scroll 32s linear infinite;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 11px 13px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.ticker-star {
    color: var(--primary-color);
    font-size: 1.2rem;
}

@keyframes ticker-scroll {
    to {
        transform: translateX(-50%);
    }
}


/* ------------------------------
ABOUT SECTION STYLES
------------------------------ */
.about {
    background: #e4f0ff;
    padding-block: 72px;
    scroll-margin-top: 25px;
    padding: 50px 100px;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 75px;
}

.about-grid h2 {
    font-size: 37px;
}

.about-grid h2 span {
    color: var(--tertiary-color);
}

.about-signoff {
    display: block;
    font-size: 16px;
    color: var(--muted-foreground);
    margin-top: 25px;
    font-style: italic;
}

.about-copy h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-copy p {
    color: var(--muted-foreground);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}