:root {
    --cs-primary: #0b1d3a;
    --cs-primary-2: #0f2d52;
    --cs-accent: #1da7bf;
    --cs-highlight: #f7c948;
    --cs-text: #1b2430;
    --cs-muted: #5a6473;
    --cs-bg: #f5f7fb;
    --cs-white: #ffffff;
    --cs-border: rgba(11, 29, 58, 0.08);
    --shadow: 0 18px 40px rgba(15, 42, 84, 0.12);
    --header-bg: rgba(11, 29, 58, 0.92);
    --header-border: rgba(255, 255, 255, 0.08);
    --header-link: rgba(255, 255, 255, 0.8);
    --header-link-active: #ffffff;
    --footer-text: rgba(255, 255, 255, 0.8);
    --footer-link: rgba(255, 255, 255, 0.8);
    --footer-border: rgba(255, 255, 255, 0.12);
    --footer-bottom-text: rgba(255, 255, 255, 0.76);
    --brand-title-color: #ffffff;
    --active-indicator-color: #7b61ff;
    --brand-subtitle-color: var(--active-indicator-color);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--cs-text);
    background: var(--cs-white);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

h1, h2, h3, h4 {
    margin-top: 0;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--header-border);
}

.navbar {
    min-height: 100px;
    align-items: center;
}

.navbar-brand {
    color: var(--brand-title-color);
    font-weight: 700;
}

.brand-logo {
    width: 74px;
    height: 74px;
    border-radius: 14px;
    object-fit: contain;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.brand-logo--small {
    width: 52px;
    height: 52px;
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: min(100%, 430px);
    max-height: 320px;
    object-fit: contain;
    border-radius: 24px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.48);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.brand-name {
    display: block;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.1;
    color: var(--brand-title-color);
}

.navbar-brand small {
    color: var(--brand-subtitle-color);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: var(--header-link);
    font-weight: 600;
    padding: 0.6rem 0.9rem;
    position: relative;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--header-link-active);
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.2rem;
    height: 3px;
    border-radius: 99px;
    background: var(--active-indicator-color);
    box-shadow: 0 0 10px rgba(123, 97, 255, 0.75);
}

.btn {
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--active-indicator-color), #6a50f5);
    border: none;
    box-shadow: 0 12px 28px rgba(123, 97, 255, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6a50f5, #5a42e5);
}

.btn-outline-primary {
    border-color: var(--cs-accent);
    color: var(--cs-accent);
}

.page-hero {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(11, 29, 58, 0.9), rgba(21, 77, 112, 0.85)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: var(--cs-white);
}

.page-hero--event {
    background: linear-gradient(135deg, rgba(11, 29, 58, 0.92), rgba(39, 93, 123, 0.8)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.page-hero--sponsors {
    background: linear-gradient(135deg, rgba(11, 29, 58, 0.9), rgba(23, 67, 98, 0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.page-hero--gallery {
    background: linear-gradient(135deg, rgba(11, 29, 58, 0.9), rgba(18, 76, 107, 0.8)), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.page-hero--contact {
    background: linear-gradient(135deg, rgba(11, 29, 58, 0.9), rgba(35, 62, 100, 0.8)), url('https://images.unsplash.com/photo-1516321165247-4aa89a48be28?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--active-indicator-color);
}

.page-hero h1,
.section h2 {
    letter-spacing: -0.04em;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin-bottom: 1rem;
    max-width: 700px;
}

.lead {
    font-size: 1.13rem;
    max-width: 640px;
}

.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--cs-bg);
}

.feature-card,
.info-card,
.sponsor-card,
.contact-card {
    background: var(--cs-white);
    border: 1px solid var(--cs-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.9rem;
    color: var(--cs-text);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--cs-accent);
    font-weight: 800;
}

.info-number {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--cs-accent);
    margin-bottom: 0.75rem;
}

.sponsor-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(29, 167, 191, 0.1);
    color: var(--cs-primary);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.sponsor-card a {
    color: var(--cs-accent);
    font-weight: 700;
}

.gallery-card {
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: var(--cs-white);
    border: 1px solid var(--cs-border);
    box-shadow: var(--shadow);
}

.gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-card:hover img {
    transform: scale(1.03);
}

.gallery-card figcaption {
    padding: 1rem 1.1rem 1.2rem;
    font-weight: 600;
    color: var(--cs-primary);
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-email {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-email a {
    color: var(--cs-primary);
}

.site-footer {
    background: var(--cs-primary);
    color: var(--footer-text);
    padding-top: 4rem;
}

.site-footer h3 {
    color: var(--cs-white);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--footer-link);
}

.footer-bottom {
    margin-top: 2rem;
    padding: 1.2rem 0 2rem;
    border-top: 1px solid var(--footer-border);
    color: var(--active-indicator-color);
}

.text-primary {
    color: var(--cs-accent) !important;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.metric-box {
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 150px;
}

.metric-box strong {
    display: block;
    font-size: 1.8rem;
    color: var(--cs-white);
}

.metric-box span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 100px;
    }

    .navbar-collapse {
        margin-top: 0.6rem;
        padding: 0.85rem 1rem;
        border: 1px solid var(--header-border);
        border-radius: 14px;
        background: var(--header-bg);
    }

    .navbar-nav {
        padding: 1rem 0 1.2rem;
        align-items: flex-start !important;
        gap: 0.15rem !important;
    }

    .navbar-nav .btn {
        margin-top: 0.5rem;
        width: 100%;
    }

    .navbar-nav .nav-link.active::after {
        left: 0.9rem;
        right: auto;
        width: 2rem;
        bottom: 0.15rem;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: flex-end;
    }

    .navbar-expand-lg .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.1rem !important;
    }

    .navbar-nav .nav-link {
        white-space: nowrap;
    }

    .navbar-expand-lg .navbar-nav .menu-item {
        display: flex;
        align-items: center;
    }

    .navbar-expand-lg .navbar-nav .menu-item + .menu-item::before {
        content: "|";
        color: var(--header-link);
        opacity: 0.8;
        margin-right: 0.25rem;
    }
}

@media (max-width: 767.98px) {
    .brand-logo {
        width: 62px;
        height: 62px;
    }

    .brand-logo--small {
        width: 46px;
        height: 46px;
    }

    .hero-logo {
        max-height: 240px;
        margin-top: 0.8rem;
    }

    .section {
        padding: 4rem 0;
    }

    .page-hero {
        padding: 4.5rem 0;
    }

    .feature-card,
    .info-card,
    .sponsor-card,
    .contact-card {
        padding: 1.5rem;
    }
}
