:root {
    --ffo-bg: #07111f;
    --ffo-bg-soft: #0b1728;
    --ffo-panel: #101d31;
    --ffo-panel-soft: #14243b;
    --ffo-border: rgba(255, 255, 255, 0.12);

    --ffo-navy: #162b6f;
    --ffo-navy-dark: #0e1d4f;

    --ffo-gold: #f0c545;
    --ffo-gold-dark: #d8aa2c;

    --ffo-text: #f8fafc;
    --ffo-text-muted: #b9c4d3;

    --ffo-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
    --ffo-radius: 14px;
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/Montserrat-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/Montserrat-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/Montserrat-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

html {
    min-width: 1000px;

    background: var(--ffo-bg);

    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 1000px;
    min-height: 100vh;

    margin: 0;

    background:
        radial-gradient(
            circle at top left,
            rgba(22, 43, 111, 0.28),
            transparent 360px
        ),
        linear-gradient(
            180deg,
            #081321 0%,
            var(--ffo-bg) 45%,
            #050b13 100%
        );

    color: var(--ffo-text);

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
}

a {
    color: inherit;
}

.site-shell {
    width: 995px;
    min-height: 100vh;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    background: var(--ffo-bg);
}

/* HEADER */

.site-header {
    flex: 0 0 auto;

    background: #091626;


}

.site-header__inner {
    width: 995px;
    height: 98px;

    padding: 0 18px;

    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: stretch;
}

.site-brand {
    position: relative;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 18px;

    overflow: hidden;

    border-right: 1px solid rgba(255, 255, 255, 0.08);

    text-decoration: none;
}

.site-brand__logo {
    position: absolute;

    width: 300px;
    height: 180px;

    max-width: none;

    display: block;

    object-fit: contain;
}

.site-nav {
    min-width: 0;
    height: 100%;

    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: stretch;
}

.site-nav__link {
    position: relative;

    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 4px;

    color: #e7edf5;

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;

    white-space: nowrap;
}

.site-nav__link:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.05);
}

.site-nav__link--active {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.025);
}

.site-nav__link--active::after {
    content: "";

    position: absolute;

    right: 15px;
    bottom: 0;
    left: 15px;

    height: 4px;

    background: var(--ffo-gold);
}

.site-nav__link--sheets {
    color: var(--ffo-gold);
}

.site-nav__link--sheets:hover {
    color: #ffffff;
}

/* PAGE */

.site-content {
    flex: 0 0 auto;

    padding: 18px 0 8px;
}

/* SPONSOR */

.site-sponsor {
    min-height: 138px;

    margin: 10px 18px 10px;
    padding: 16px 22px;

    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 145px;
    align-items: center;
    gap: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(240, 197, 69, 0.045),
            transparent 45%
        ),
        #0b1728;

    border: 1px solid rgba(240, 197, 69, 0.32);
    border-left: 4px solid var(--ffo-gold);
}

.site-sponsor__label {
    color: var(--ffo-gold);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;

    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.site-sponsor__content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.site-sponsor__content strong {
    color: #ffffff;

    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
}

.site-sponsor__content span {
    color: #9eabba;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.site-sponsor__link {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 14px;

    background: rgba(240, 197, 69, 0.10);

    border: 1px solid rgba(240, 197, 69, 0.45);

    color: var(--ffo-gold);

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}

.site-sponsor__link:hover {
    background: var(--ffo-gold);

    color: #07111f;
}

/* FOOTER */

.site-footer {
    flex: 0 0 auto;

    background: #081321;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.site-footer__inner {
    height: 40px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    color: #8996a8;

    font-size: 13px;
}

.site-footer__inner span::after {
    content: "|";

    margin-left: 10px;

    color: #566273;
}

.site-footer a {
    color: var(--ffo-gold);

    text-decoration: none;

    font-weight: 700;
}

.site-footer a:hover {
    color: #ffffff;
}

/* HOMEPAGE PLACEHOLDER */

.home-placeholder {
    min-height: 420px;

    padding: 70px 60px;

    background:
        radial-gradient(
            circle at top right,
            rgba(240, 197, 69, 0.12),
            transparent 320px
        ),
        linear-gradient(
            180deg,
            rgba(20, 36, 59, 0.98),
            rgba(11, 23, 40, 0.98)
        );

    border: 1px solid var(--ffo-border);
    border-radius: var(--ffo-radius);

    box-shadow: var(--ffo-shadow);
}

.home-placeholder__badge {
    display: inline-block;

    margin-bottom: 18px;
    padding: 7px 11px;

    background: rgba(240, 197, 69, 0.12);

    border: 1px solid rgba(240, 197, 69, 0.42);
    border-radius: 999px;

    color: var(--ffo-gold);

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-placeholder h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 46px;
    line-height: 1;
}

.home-placeholder p {
    width: 650px;

    margin: 0 0 12px;

    color: var(--ffo-text-muted);

    font-size: 18px;
    line-height: 1.6;
}

/* DEADLINE */

.deadline-panel {
    width: 100%;
    min-height: 82px;

    padding: 15px 18px;

    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 20px;

    background: #0d1a2c;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.deadline-panel__label {
    color: var(--ffo-gold);

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    white-space: nowrap;
}

.deadline-panel__content {
    display: contents;
}

.deadline-panel__content > div:first-child {
    text-align: center;
}

.deadline-panel h1 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 25px;
    font-weight: 700;
    line-height: 1.1;

    text-align: center;
}

.deadline-panel__date {
    color: var(--ffo-text-muted);

    font-size: 14px;
    font-weight: 500;

    text-align: center;
}

.deadline-panel__timer {
    min-width: 0;

    color: var(--ffo-gold);

    font-size: 27px;
    font-weight: 700;

    text-align: right;

    white-space: nowrap;
}