:root {
    --bg-color: #000000;
    --secondary: #2A1664;
    --accent: #D81A37;
    --orange: #FF9823;
    --text: #FFFAE6;
    --glass-blur: 15px;
    --glass-bg: rgba(30, 30, 30, 0.4);
    --card-bg: rgba(25, 25, 25, 0.4);
    --card-border: rgba(255, 255, 255, 0.05);
    color-scheme: dark;
    --vid-width: calc(100dvh * 16 / 9);
    --gap: calc(max(0px, (100vw - var(--vid-width)) / 2));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    forced-color-adjust: none;
    height: 100%;
    overscroll-behavior: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text);
    font-family: 'Red Hat Display', sans-serif;
    overflow-x: hidden;
    width: 100%;
    min-height: 100dvh;
}

body.is-locked {
    overflow: hidden !important;
    height: 100dvh;
    position: fixed;
    width: 100%;
}

#background-mount {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 0;
    overflow: hidden;
    background: #000;
}

#background-mount canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.is-16-9-view::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    background: linear-gradient(to right,
            #000 0%,
            #000 calc((100% - var(--vid-width)) / 2),
            transparent calc(((100% - var(--vid-width)) / 2) + 200px),
            transparent calc(((100% + var(--vid-width)) / 2) - 200px),
            #000 calc((100% + var(--vid-width)) / 2),
            #000 100%);
}

.loader-countdown {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(216, 26, 55, 0.4);
    font-variant-numeric: tabular-nums; 
}


#loader-bar {
    transition: opacity 0.5s ease;
}

.side-gradients {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    pointer-events: none;
    z-index: 300;
}

.side-gradients::before,
.side-gradients::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--gap);
    background: linear-gradient(to right, #000, transparent);
}

.side-gradients::before {
    left: 0;
}

.side-gradients::after {
    right: 0;
    transform: scaleX(-1);
}

.is-16-9-view canvas,
.is-16-9-view video {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    width: auto !important;
    height: 100% !important;
    transform: translateX(-50%) !important;
    object-fit: contain !important;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/grain.png');
    background-size: 256px 256px;
    opacity: 0.10;
    pointer-events: none;
    z-index: 310;
    mix-blend-mode: overlay;
}

.track-container {
    position: fixed;
    right: calc(var(--gap) + 30px);
    top: 50%;
    transform: translateY(-50%);
    height: 60vh;
    width: 60px;
    z-index: 200;
    cursor: pointer;
    mix-blend-mode: difference;
    transition: opacity 0.5s, right 0.3s ease;
    display: flex;
    justify-content: center;
}

.track-label {
    position: absolute;
    right: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    color: #fff;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.4s cubic-bezier(0.17, 0.88, 0.32, 1.28);
    pointer-events: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.track-container:hover .track-label {
    opacity: 1;
    transform: translateX(0);
}

nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-200%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 210;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: width 0.3s ease, transform 1s cubic-bezier(0.2, 0, 0.2, 1);
}

@media (min-width: 1200px) and (min-aspect-ratio: 1.5/1) {
    nav {
        width: 60%;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Audiowide', sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
}

.logo-sub {
    font-size: 0.5rem;
    font-weight: 500;
    color: #888;
    margin-top: 2px;
}

.accent-text {
    color: var(--accent);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flag-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 1.1rem;
}

@keyframes popOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.dynamic-list button {
    opacity: 0;
    animation: popOut 0.3s cubic-bezier(0.17, 0.88, 0.32, 1.27) forwards;
}

.dynamic-list button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.flag-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}


@media (max-width: 800px) {
    .logo-main .accent-text {
        display: none;
    }

    .logo-sub {
        font-size: 0.4rem;
        text-transform: lowercase;
    }

    .logo-sub::after {
        content: "";
    }

    .powered-by {
        display: none;
    }
}

.nav-links {
    display: flex;
    gap: clamp(15px, 3vw, 40px);
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-family: 'Red Hat Display';
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 0.85rem;
}

.nav-start,
.nav-news,
.nav-sponsor {
    display: none;
}

@media (min-width: 801px) {
    .nav-news {
        display: block;
    }
}

@media (min-width: 1001px) {
    .nav-start {
        display: block;
    }
}

@media (min-width: 1201px) {
    .nav-sponsor {
        display: block;
    }
}

.nav-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    align-items: flex-start;
    padding-top: 12dvh;
    z-index: 15;
    pointer-events: none;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    left: var(--gap);
    padding-left: 6vw;
    width: var(--vid-width);
    max-width: 1600px;
    opacity: 0;
    transform: translateY(-20px);
    padding-top: 0;
    min-height: 120px;
    z-index: 2;
    pointer-events: auto;
}

.hero-content.reveal {
    transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1), opacity 0.5s cubic-bezier(0.2, 0, 0, 1);
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(4rem, 10vw, 10rem);
    line-height: 0.85;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 2vh;
}

.title-line {
    display: block;
    overflow: hidden;
}

.gradient-word {
    display: inline-block;
}

.btn-group {
    margin-top: 5vh;
    display: flex;
    gap: 20px;
    pointer-events: auto;
}

.btn {
    padding: 15px 32px;
    font-family: 'Red Hat Display';
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary.ready {
    pointer-events: auto;
    opacity: 1;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary:hover {
    background: var(--orange);
    color: #000;
}

.btn.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

.team-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.8s;
}

.team-header {
    margin-left: var(--gap);
    padding-left: 6vw;
    margin-bottom: 6vh;
    font-family: 'Anton';
    font-size: clamp(2rem, 4vw, 4rem);
    text-transform: uppercase;
    will-change: transform;
    color: var(--text);
}

.team-strip {
    margin-left: var(--gap);
    display: flex;
    gap: 40px;
    padding-left: 6vw;
    width: max-content;
    will-change: transform;
}

.card-spacer {
    width: min(1000px, 100vw);
    flex-shrink: 0;
    opacity: 0;
}

.card {
    width: min(600px, 80vw);
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    padding: 30px;
    flex-shrink: 0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
}

.card.team-member {
    width: 350px;
}

.card:hover,
.card:focus-visible {
    background: rgba(40, 40, 40, 0.8);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
    outline: none;
}

.card.random-tooltip {
    position: relative;
}

.card.random-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1;
    pointer-events: auto;
    transition: 0.3s cubic-bezier(0.17, 0.88, 0.32, 1.28);
    box-shadow: 0 4px 15px rgba(216, 26, 55, 0.4);
    z-index: 220;
}

.card.random-tooltip:hover::after,
.card.random-tooltip:focus-visible::after {
    transform: translateX(-50%) translateY(-5px);
}

.card-pfp {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #333, #111);
    border: 2px solid var(--accent);
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}

.pfp-joanna {
    background-image: url('assets/profile_cards/joanna.avif');
}

.pfp-adam {
    background-image: url('assets/profile_cards/adam.avif');
}

.pfp-rys {
    background-image: url('assets/profile_cards/rys.avif');
}

.pfp-misha {
    background-image: url('assets/profile_cards/miha.avif');
}

.pfp-piotr {
    background-image: url('assets/profile_cards/piotr.avif');
}

.pfp-hanna {
    background-image: url('assets/profile_cards/hanna.avif');
}

.card-role {
    color: var(--accent);
    font-family: 'Audiowide';
    font-size: 0.7rem;
    margin-bottom: 8px;
    letter-spacing: 1.5px;
}

.card-name {
    font-family: 'Anton';
    font-size: 1.9rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: #fff;
}

.card-desc {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.form-status {
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    min-height: 1.2em;
    transition: 0.3s cubic-bezier(0.2, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(5px);
    width: 100%;
}

.form-status.active {
    opacity: 1;
    transform: translateY(0);
}

.form-status.error {
    color: var(--accent);
}

.form-status.success {
    color: #4CAF50;
}

.footer-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30dvh;
    z-index: 120;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2dvh calc(5vw + 80px) 2dvh 5vw;
    transform: translateY(110%);
    will-change: transform;
}

.footer-content {
    width: 90%;
    max-width: calc(100dvh * (16 / 18));
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-left {
    flex: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-brand-text {
    font-family: 'Audiowide';
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.footer-address {
    color: #888;
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 250px;
}

.footer-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.footer-credits {
    color: #FFFAE6;
    font-size: 0.65rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.footer-credits .separator {
    color: #FFFAE6;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.social-links-minimal {
    display: flex;
    gap: 15px;
}

.social-icon-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: 0.3s;
}

.social-icon-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.social-icon-btn img {
    width: 25px;
    height: 25px;
    opacity: 0.6;
    transition: 0.3s;
}

.social-icon-btn:hover {
    background: rgba(216, 26, 55, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}


.social-icon-btn {
    position: relative;
}

.social-icon-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s cubic-bezier(0.17, 0.88, 0.32, 1.28);
    box-shadow: 0 4px 15px rgba(216, 26, 55, 0.4);
}

.social-icon-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.social-icon-btn:hover img {
    opacity: 1;
}

@media (max-width: 1150px) {
    .footer-credits {
        flex-direction: column;
        gap: 5px;
    }

    .footer-credits .separator {
        display: none;
    }
}

@media (max-width: 800px) {
    .footer-section {
        height: auto;
        min-height: 25dvh;
        padding: 30px 20px 20px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-address {
        max-width: none;
    }

    .footer-right {
        justify-content: center;
    }
}


#loader-fallback {
    position: absolute;
    bottom: 25dvh;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: 1s ease;
    z-index: 410;
}

#force-minimal-btn {
    background: transparent;
    color: var(--orange);
    border: 1px solid var(--orange);
    padding: 12px 24px;
    font-family: 'Audiowide', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

#force-minimal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--orange);
    transition: 0.4s;
    z-index: -1;
}

#force-minimal-btn:hover {
    color: #fff;
}

#force-minimal-btn:hover::before {
    left: 0;
}

.upgrade-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    color: #fff;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 420;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.17, 0.88, 0.32, 1.27);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.upgrade-toast:hover {
    transform: translateX(-50%) translateY(-5px);
    border-color: var(--accent);
}

.upgrade-toast .progress-bar {
    width: 0%;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s;
}

.fade-out {
    opacity: 0 !important;
    pointer-events: none;
}

.fade-in {
    opacity: 1 !important;
}

#force-minimal-btn:active {
    transform: scale(0.95);
}

.quality-list button:hover {
    color: var(--accent) !important;
    transform: translateX(5px);
}

.dynamic-list {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 15px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 430;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 60px;
    padding-left: 30px;
}

.scroll-spacer {
    height: 1200dvh;
}

.section-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 130;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.newsletter-card,
.sponsor-card {
    
    
    padding: clamp(40px, 10vw, 60px) clamp(20px, 6vw, 40px);
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-family: 'Audiowide';
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Anton';
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1;
}

.section-desc {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 500px;
}

@media (max-width: 550px) {
    .input-group {
        flex-direction: column;
        gap: 10px;
    }

    .input-group .btn {
        width: 100%;
        padding: 12px 10px;
        font-size: 0.75rem;
    }
}

.email-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    padding: 15px 25px;
    border-radius: 100px;
    font-family: 'Red Hat Display';
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    
    text-align: center;
}

.email-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.orange-text {
    color: var(--orange);
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.benefit-tag {
    background: rgba(255, 152, 35, 0.1);
    border: 1px solid rgba(255, 152, 35, 0.2);
    color: var(--orange);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-family: 'Audiowide';
}

@media (max-width: 768px) {
    .footer-section {
        padding: 20px 20px;
        min-height: auto;
        align-items: flex-end;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px 10px;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
        margin-bottom: 5px;
    }

    .footer-col:first-child .logo {
        margin-bottom: 0 !important;
        font-size: 1.1rem !important;
    }

    .footer-col:first-child p {
        margin: 0 !important;
        text-align: right;
        font-size: 0.65rem !important;
    }

    .footer-col h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .footer-col ul {
        list-style: none;
    }

    .footer-col ul li {
        margin-bottom: 5px;
    }

    .footer-col ul li a {
        text-decoration: none;
        color: #888;
        font-size: 0.75rem;
        transition: 0.3s;
    }

    .footer-col ul li a:hover {
        color: var(--accent);
    }

    .track-container {
        display: none;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    nav {
        top: 10px;
        padding: 6px 25px;
        width: 85%;
        max-height: 60px;
    }

    .logo-main {
        font-size: 1rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 5rem);
        margin-bottom: 1vh;
    }

    .hero-content p {
        font-size: 0.85rem;
        max-width: 450px;
    }

    .btn-group {
        margin-top: 3vh;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 10px;
    }

    .section-desc {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .newsletter-card,
    .sponsor-card {
        padding: 30px 20px;
        
    }

    .footer-section {
        padding: 15px 20px;
    }

    .social-icon-btn {
        width: 35px;
        height: 35px;
    }

    .social-icon-btn img {
        width: 18px;
        height: 18px;
    }

    .footer-brand-text {
        font-size: 1rem;
    }

    .footer-address,
    .footer-credits {
        font-size: 0.6rem;
    }

    .team-header {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        margin-bottom: 3vh;
    }

    .card {
        width: min(600px, 80vw);
        padding: 20px;
    }

    .card-pfp {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .card-name {
        font-size: 1.4rem;
    }

    .card-desc {
        font-size: 0.75rem;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 440;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    position: relative;
    padding: 0;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.17, 0.88, 0.32, 1.28);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: rgba(19, 19, 19, 0.7);
    border: 1px solid rgba(123, 123, 123, 0.9);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.5;
    transition: 0.3s;
    z-index: 450;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding-bottom: 80px;
    justify-content: center;
}

.stack-container {
    position: relative;
    width: 100%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.stack-img {
    position: absolute;
    width: min(50%, 65vh);
    aspect-ratio: 1/1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1), opacity 0.3s ease;
    background: #000;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.img-frame {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stack-img:nth-child(1) {
    transform: translate(-50%, -50%) rotate(-5deg);
    z-index: 2;
}

.stack-img:nth-child(2) {
    transform: translate(-50%, -50%) rotate(5deg);
    z-index: 1;
}

.stack-img.active-hover {
    transform: translate(-50%, -50%) scale(1.05) rotate(0deg);
    z-index: 10;
    opacity: 1 !important;
}

.modal-links {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 450;
}

.btn-glass {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: max(12px, 1.3vw);
    backdrop-filter: blur(15px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-glass:hover::before {
    opacity: 1;
}

.btn-glass:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.btn-glass .icon-wrap {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-glass.ig .icon-wrap {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.btn-glass.gh .icon-wrap {
    background: #333;
}

.btn-glass:hover .icon-wrap {
    transform: scale(1.2);
}

.stack-img.active-hover:nth-child(1) {
    z-index: 445;
    filter: brightness(1) blur(0);
    transform: translate(-90%, -50%) rotate(0deg) scale(1.05);
}

.stack-img:not(.active-hover):nth-child(2) {
    z-index: 442;
    filter: brightness(0.5) blur(4px);
    transform: translate(-10%, -50%) rotate(5deg) scale(0.85);
}

.stack-img.active-hover:nth-child(2) {
    z-index: 445;
    filter: brightness(1) blur(0);
    transform: translate(-10%, -50%) rotate(0deg) scale(1.05);
}

.stack-img:not(.active-hover):nth-child(1) {
    z-index: 442;
    filter: brightness(0.5) blur(4px);
    transform: translate(-90%, -50%) rotate(-5deg) scale(0.85);
}

.social-icon-btn:focus-visible,
.flag-btn:focus-visible,
.btn:focus-visible,
.card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.card {
    cursor: pointer;
    outline: none;
}

@media (max-width: 900px) {
    .modal-content {
        padding: 0;
        height: 85vh;
        max-height: 95vh;
    }
}

@media (max-width: 768px),
(orientation: portrait) {
    .modal-content {
        width: 95%;
        height: 85vh;
        max-height: 95vh;
    }

    .stack-img {
        width: min(85vw, 40vh);
    }

    .stack-img.active-hover:nth-child(1) {
        transform: translate(-50%, -90%) rotate(0deg) scale(1.05);
    }

    .stack-img:not(.active-hover):nth-child(2) {
        transform: translate(-50%, -10%) rotate(0deg) scale(0.85);
    }

    .stack-img.active-hover:nth-child(2) {
        transform: translate(-50%, -10%) rotate(0deg) scale(1.05);
    }

    .stack-img:not(.active-hover):nth-child(1) {
        transform: translate(-50%, -90%) rotate(0deg) scale(0.85);
    }
}

.nav-arrow {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 230;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    padding: 0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    color: var(--accent);
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .nav-arrow {
        display: flex;
    }
}

.nav-arrow svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
    transition: transform 0.3s ease, stroke 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.8));
}

.arrow-top {
    top: 90px;
}

.arrow-bottom {
    bottom: 20px;
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes floatDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

.arrow-top svg {
    animation: floatUp 6s ease-in-out infinite;
}

.arrow-bottom svg {
    animation: floatDown 6s ease-in-out infinite;
}

.nav-arrow:hover {
    transform: translateX(-50%) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(216, 26, 55, 0.6));
}

.hero-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    font-weight: 700;
    transition: 0.3s;
}

.hero-link:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 440;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    height: 85vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.17, 0.88, 0.32, 1.28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(19, 19, 19, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
}

.modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
    height: 100%;
}

.modal-body.about-body {
    justify-content: flex-start !important;
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.modal-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.modal-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.story-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 24px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent), var(--orange), transparent);
    opacity: 0.5;
}

.story-node {
    display: flex;
    gap: 25px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}

.story-node:nth-child(1) {
    animation-delay: 0.1s;
}

.story-node:nth-child(2) {
    animation-delay: 0.2s;
}

.story-node:nth-child(3) {
    animation-delay: 0.3s;
}

.story-node:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-number {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--bg-color);
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--accent);
    z-index: 2;
    box-shadow: 0 0 15px rgba(216, 26, 55, 0.4);
    transition: 0.3s;
}

.story-node:hover .story-number {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.story-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    flex: 1;
    transition: 0.3s cubic-bezier(0.17, 0.88, 0.32, 1.28);
}

.story-node:hover .story-content {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(216, 26, 55, 0.4);
    transform: translateX(10px);
}

.story-subtitle {
    font-family: 'Audiowide', sans-serif;
    color: var(--orange);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.story-heading {
    font-family: 'Anton', sans-serif;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.story-text {
    color: #ccc;
    line-height: 1.6;
    font-size: 1rem;
}

.story-text strong {
    color: #fff;
}

.accent-text {
    color: var(--accent);
    font-weight: 900;
}

@media (max-width: 800px) {

    .story-number,
    .story-timeline::before {
        display: none;
    }

    .story-content {
        transform: none !important;
    }
}


@media (max-width: 600px) {
    .modal-body {
        padding: 60px 20px 30px;
    }

    .story-node {
        gap: 0;
    }

    .story-content {
        padding: 15px;
    }
}