﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

    html:target {
        scroll-behavior: auto;
    }

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4w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UgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.noise-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: soft-light;
    opacity: .4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.relative.bg-black {
    min-height: 70svh;
}

@media (min-width: 640px) {
    .relative.bg-black {
        min-height: 50svh;
    }
}

.hero-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.mask-fade {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 30%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, black 30%, black 85%, transparent 100%);
}

@media (max-width: 1024px) {
    .mask-fade {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 18%, black 82%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0, black 18%, black 82%, transparent 100%);
    }
}

.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60rem;
    z-index: 0;
}

    .fade-overlay::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    }

@media (max-width: 1024px) {
    .fade-overlay::after {
        background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    }
}

footer, .footer, FooterComponent {
    position: relative;
    z-index: 2;
}

.hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.wave-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    isolation: isolate;
    z-index: 0;
}

    .wave-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, #B65323, #ff0055, #7a00ff, #0099ff);
        background-size: 200% 100%;
        animation: gradientShift 10s ease-in-out infinite both;
        will-change: background-position;
        -webkit-mask-image: url("/images/waves/sm-waves.svg");
        mask-image: url("/images/waves/sm-waves.svg");
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: 50% 100%;
        mask-position: 50% 100%;
        -webkit-mask-size: cover;
        mask-size: cover;
        mask-mode: alpha;
    }

@media (max-width: 639px) {
    .wave-bg::before {
        animation: none !important;
        will-change: auto !important;
        -webkit-mask-size: 100% 100% !important;
        mask-size: 100% 100% !important;
        -webkit-mask-position: 50% 100% !important;
        mask-position: 50% 100% !important;
        background-position: 50% 50% !important;
    }

    .wave-bg::after {
        content: none !important;
    }
}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 639px) {
        .wave-bg::before {
            -webkit-mask-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600' preserveAspectRatio='none'>\
<rect width='1440' height='600' fill='black'/>\
<path fill='white' d='M0,520 C240,460 360,520 540,520 C780,520 780,420 1020,420 C1180,420 1290,470 1440,500 L1440,600 L0,600 Z'/>\
</svg>");
            mask-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600' preserveAspectRatio='none'>\
<rect width='1440' height='600' fill='black'/>\
<path fill='white' d='M0,520 C240,460 360,520 540,520 C780,520 780,420 1020,420 C1180,420 1290,470 1440,500 L1440,600 L0,600 Z'/>\
</svg>");
            -webkit-mask-size: 100% 100% !important;
            mask-size: 100% 100% !important;
            -webkit-mask-position: 50% 100% !important;
            mask-position: 50% 100% !important;
        }
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .wave-bg::before {
        animation: none;
        -webkit-mask-image: url("/images/waves/md-waves.svg");
        mask-image: url("/images/waves/md-waves.svg");
        -webkit-mask-size: cover;
        mask-size: cover;
        -webkit-mask-position: 50% 100%;
        mask-position: 50% 100%;
    }
}

@media (min-width: 1024px) {
    .wave-bg::before {
        -webkit-mask-image: url("/images/waves/lg-waves.svg");
        mask-image: url("/images/waves/lg-waves.svg");
        -webkit-mask-position: 50% 100%;
        mask-position: 50% 100%;
    }
}

@media (min-width: 1280px) {
    .wave-bg::before {
        -webkit-mask-image: url("/images/waves/xl-waves.svg");
        mask-image: url("/images/waves/xl-waves.svg");
        -webkit-mask-position: 50% 100%;
        mask-position: 50% 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wave-bg::before {
        animation: none !important;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.color-of-the-river-up {
    background: linear-gradient(#E6D6BE 30%, #212529, #000000 );
}

.color-of-the-river-middle {
    background: linear-gradient(#000000, #212529 10%, #E6D6BE 50%, #212529 90%, #000000 );
}

.color-of-the-river-down {
    background: linear-gradient(#000000 2%, #E6D6BE);
}

.snap-target {
    scroll-margin-top: 100vh;
    scroll-margin-bottom: 100vh;
}

.hero-bg {
    background: linear-gradient(#0B0F14, #FFA400);
}

@supports not (animation-timeline: view()) {
    .scroll-zoom {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-zoom {
        animation: none !important;
        transform: none !important;
    }
}

.coming-soon {
    opacity: 0;
    transform: translateY(4px) scale(0.98);
    transition: opacity .4s ease-in-out, transform .4s ease-in-out;
    pointer-events: none;
}

.p-panel:hover .coming-soon,
.p-panel:focus-within .coming-soon {
    opacity: 1;
    transform: none;
}

.became-invis {
    opacity: 1;
    transform: translateY(4px) scale(0.98);
    transition: opacity .4s ease-in-out, transform .4s ease-in-out;
    pointer-events: none;
}

.p-panel:hover .became-invis,
.p-panel:focus-within .became-invis {
    opacity: 0;
    transform: none;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes spin-gradient {
    to {
        --angle: 360deg;
    }
}

.card-glowing-bg {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #B65323, #EC0023, #A400BF, #FFFFFF, #5E04E1, #0E3DF4, #005CDF, #0064E7);
    background-size: 200% 200%;
    animation: shift-gradient 10s ease infinite;
    will-change: background-position;
}

@media (prefers-reduced-motion: prefer-reduced-motion) {
    .card-glowing-bg {
        animation: none;
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .card-glowing-bg {
        animation-duration: 20s;
    }
}

@keyframes shift-gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cards-bg {
    position: relative;
    border-radius: 1.5rem;
}

    .cards-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px), radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
        background-position: 0 0, 6px 6px;
        background-size: 12px 12px;
        opacity: 1;
    }

    .cards-bg > * {
        position: relative;
        z-index: 1;
    }

@media (max-width: 768px) {
    .cards-bg::before {
        background-size: 16px 16px;
        opacity: 1;
    }

    .cards-bg .card-glowing-bg {
        animation: none !important;
    }
}

.bottom-fade {
    mask-image: linear-gradient(to_bottom, black_0, black_75%, rgba(0,0,0,.7)_86%, rgba(0,0,0,.45)_92%, rgba(0,0,0,.2)_97%, transparent_100%);
    -webkit-mask-image: linear-gradient(to_bottom, black 0, black 75%, rgba(0,0,0,.7) 86%, rgba(0,0,0,.45) 92%, rgba(0,0,0,.2) 97%, transparent 100% );
}

.mask-top-fade {
    --fade-stop: 8%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, white var(--fade-stop), white 100% );
    mask-image: linear-gradient(to bottom, transparent 0, white var(--fade-stop), white 100% );
}

.gradient-outline {
    position: relative;
    border-radius: 0.375rem;
}

    .gradient-outline::before {
        content: "";
        position: absolute;
        inset: -3px;
        border-radius: inherit;
        padding: 3px;
        background: linear-gradient(90deg, #6366f1, #22d3ee);
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity .15s ease;
    }

    .gradient-outline:focus-within::before {
        opacity: 1;
    }

.title-wrap {
    text-align: center;
}

.title {
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
    color: #fff;
    font-size: clamp(1.5rem, 6vw, 3rem);
}

.bg-white-event {
    background-color: #E7E6E6;
}

#main-nav {
    background: transparent;
}

    #main-nav.scrolled {
        background: rgba(0, 0, 0, 0.40);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

        #main-nav.scrolled::after {
            opacity: 1;
        }

        #main-nav.scrolled img {
            transform: scale(0.9);
        }

.mm-toggle:not(:checked) ~ .mm-overlay {
    display: none;
}

.mm-toggle:checked ~ .mm-overlay {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.mm-toggle:not(:checked) ~ .m-panel {
    opacity: 0;
    transform: scale(0.95) translateY(-8px);
    pointer-events: none;
}

.mm-toggle:checked ~ .m-panel {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    animation: slideDown 0.2s ease-out;
}

.mm-toggle:not(:checked) + label .mm-burger {
    display: block;
}

.mm-toggle:not(:checked) + label .mm-close {
    display: none;
}

.mm-toggle:checked + label .mm-burger {
    display: none;
}

.mm-toggle:checked + label .mm-close {
    display: block;
}

.mm-toggle:checked + label:hover .mm-close {
    transform: rotate(90deg);
}

.pp-toggle:not(:checked) ~ .p-overlay {
    display: none;
}

.pp-toggle:checked ~ .p-overlay {
    display: block;
    animation: fadeIn 0.15s ease-in-out;
}

.pp-toggle:not(:checked) ~ .p-panel {
    opacity: 0;
    transform: scale(0.95) translateY(-8px);
    pointer-events: none;
    max-height: 0;
}

.pp-toggle:checked ~ .p-panel {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    max-height: 20rem;
    animation: slideDown 0.15s ease-out;
}

.m-panel, .p-panel {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.m-panel, .p-panel, .mm-overlay, .p-overlay {
    transition: all 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

nav a:hover {
    transform: translateY(-1px);
}

@media (max-width: 639px) {
    .m-panel {
        max-height: calc(100vh - 5rem);
        overflow-y: auto;
    }
}

.mm-toggle:checked ~ body,
.pp-toggle:checked ~ body {
    overflow: hidden;
}

.glass-panel {
    background: rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.date-gray-icon::-webkit-calendar-picker-indicator {
    filter: invert(60%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(90%) contrast(85%);
}

.date-gray-icon::-moz-focus-inner {
    color: #6b7280;
}