/* ===========================
   JUWESTREAM '26  —  Design System
   Colors from press pack banner:
   - Background cream:  #F1E3BF
   - Magenta/Pink:      #CF3576
   - Orange:            #E17417
   - Red:               #CF330D
   - Salmon:            #F59291
   - Dark (text):       #272727
   - Purple:            #452862

   Fonts:
   - Chillax  → headings, display
   - Satoshi  → body, UI
   =========================== */

:root {
    --color-bg: #F1E3BF;
    --color-bg-warm: #EDD9AD;
    --color-text: #272727;
    --color-text-muted: #4a4032;
    --color-magenta: #CF3576;
    --color-orange: #E17417;
    --color-red: #CF330D;
    --color-salmon: #F59291;
    --color-purple: #452862;
    --color-cyan: #26C4D3;
    --color-lightblue: #569CD7;
    --color-green: #4A7B38;

    --color-surface: rgba(255, 255, 255, 0.45);
    --color-surface-hover: rgba(255, 255, 255, 0.65);
    --color-navbar-bg: rgba(237, 217, 173, 0.92);
    --color-navbar-border: rgba(39, 39, 39, 0.08);
    --color-navbar-shadow: rgba(39, 39, 39, 0.06);
    --color-footer-bg: #272727;
    --color-footer-text: rgba(241, 227, 191, 0.45);

    --border-radius: 20px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --section-gap: 7rem;

    --font-display: 'Chillax', sans-serif;
    --font-body: 'Satoshi', sans-serif;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
    --color-bg: #1a1428;
    --color-bg-warm: #231a35;
    --color-text: #F1E3BF;
    --color-text-muted: #c4b89a;
    --color-surface: rgba(255, 255, 255, 0.06);
    --color-surface-hover: rgba(255, 255, 255, 0.12);
    --color-navbar-bg: rgba(26, 20, 40, 0.92);
    --color-navbar-border: rgba(241, 227, 191, 0.08);
    --color-navbar-shadow: rgba(0, 0, 0, 0.25);
    --color-footer-bg: #0f0b18;
    --color-footer-text: rgba(241, 227, 191, 0.35);
}

[data-theme="dark"] .bg-mesh img {
    opacity: 0.15;
}

[data-theme="dark"] .timeline-dot {
    background: var(--color-bg);
}

[data-theme="dark"] .timeline-content {
    border-color: rgba(241, 227, 191, 0.06);
}

[data-theme="dark"] .team-avatar {
    background: linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
        linear-gradient(135deg, var(--color-magenta), var(--color-orange)) border-box;
}

[data-theme="dark"] .sponsor-card {
    border-color: rgba(241, 227, 191, 0.06);
}

[data-theme="dark"] .sponsor-card img {
    filter: grayscale(100%) brightness(1.5);
}

[data-theme="dark"] .sponsor-card:not([style*="background"]) img:not(.radio-logo) {
    filter: invert(1) brightness(0.9);
    opacity: 0.85;
}

[data-theme="dark"] .sponsor-card:not([style*="background"]):hover img:not(.radio-logo) {
    filter: invert(1) brightness(1);
    opacity: 1;
}

[data-theme="dark"] .video-container {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(241, 227, 191, 0.05);
}

[data-theme="dark"] .nav-links li:last-child a {
    background: var(--color-magenta);
    color: #fff;
    border-color: var(--color-magenta);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    border: none;
    border-radius: 50px;
    background: rgba(39, 39, 39, 0.12);
    cursor: pointer;
    margin-left: 1.2rem;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 3px;
}

.theme-toggle::after {
    content: '☀️';
    font-size: 13px;
    line-height: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    transform: translateX(0);
}

.theme-toggle:hover {
    background: rgba(39, 39, 39, 0.18);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(241, 227, 191, 0.15);
}

[data-theme="dark"] .theme-toggle::after {
    content: '🌙';
    transform: translateX(24px);
    background: var(--color-purple);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(241, 227, 191, 0.22);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.7;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
}

/* ===== BACKGROUND MESH ===== */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.bg-mesh--light {
    opacity: 0.3;
}

.bg-mesh--dark {
    opacity: 0;
}

[data-theme="dark"] .bg-mesh--light {
    opacity: 0;
}

[data-theme="dark"] .bg-mesh--dark {
    opacity: 0.15;
}

.bg-mesh img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== LOGO SWITCH ===== */
.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 6%;
    z-index: 100;
    background: var(--color-navbar-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--color-navbar-border);
    box-shadow: 0 2px 20px var(--color-navbar-shadow);
    transition: var(--transition);
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: var(--transition);
    letter-spacing: 0.3px;
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    background: transparent;
    border: 1.5px solid transparent;
}

.nav-links a:hover {
    color: var(--color-magenta);
    background: rgba(207, 53, 118, 0.08);
    border-color: rgba(207, 53, 118, 0.15);
}

.nav-links li:last-child a {
    background: var(--color-text);
    color: var(--color-bg);
    font-weight: 600;
    border-color: var(--color-text);
}

.nav-links li:last-child a:hover {
    background: var(--color-magenta);
    border-color: var(--color-magenta);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 53, 118, 0.3);
}

/* ===== LAYOUT UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.4rem;
    text-align: center;
    margin-bottom: 4.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -1px;
}

.highlight {
    color: var(--color-magenta);
    background: linear-gradient(90deg, var(--color-magenta), var(--color-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    position: relative;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5.5rem;
    line-height: 1.0;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: var(--color-text);
}

.hero-date {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-magenta);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 480px;
    color: var(--color-text-muted);
    line-height: 1.85;
}

/* ===== COUNTDOWN ===== */
.countdown-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    padding: 1.2rem 1rem;
    border-radius: 14px;
    min-width: 80px;
    border: 1px solid rgba(39, 39, 39, 0.04);
    box-shadow: 0 10px 30px rgba(39, 39, 39, 0.05);
    backdrop-filter: blur(10px);
}

.countdown-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.3rem;
    color: var(--color-magenta);
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

[data-theme="dark"] .countdown-item {
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background: linear-gradient(45deg, var(--color-magenta), var(--color-red));
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 8px 28px rgba(207, 53, 118, 0.3);
    border: none;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 38px rgba(207, 53, 118, 0.45);
}

.hero-graphic {
    position: absolute;
    top: 0;
    left: 45%;
    width: 55%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 0;
}

.disco-ball {
    position: relative;
    width: 340px;
    height: auto;
    max-width: 40vw;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(39, 39, 39, 0.18));
    pointer-events: auto;
}

.hero-vector {
    position: absolute;
    z-index: 1;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.hero-vector--geo {
    width: 500px;
    height: auto;
    max-width: 45vw;
    opacity: 0.15;
    animation: spinSlow 35s linear infinite;
}

.hero-vector--dots {
    width: 1400px;
    height: auto;
    max-width: 120vw;
    opacity: 0.12;
    filter: blur(14px);
    animation: spinSlowReverse 50s linear infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(-85deg);
    }

    50% {
        transform: translateY(-20px) rotate(-85deg);
    }

    100% {
        transform: translateY(0px) rotate(-85deg);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinSlowReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.floating {
    animation: float 8s ease-in-out infinite;
}

/* ===== STREAM SECTION ===== */
.stream-section {
    padding: var(--section-gap) 0;
    position: relative;
}

.stream-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(207, 53, 118, 0.025), transparent);
    z-index: -1;
}

.video-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow:
        0 30px 70px rgba(39, 39, 39, 0.12),
        0 0 0 1px rgba(39, 39, 39, 0.05);
    background: #1a1a1a;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== PAGE HEADER (subpages) ===== */
.page-header {
    padding: 12rem 0 5rem;
    text-align: center;
}

.page-header .section-title {
    margin-bottom: 2rem;
}

/* ===== TIMELINE SCHEDULE ===== */
.timeline-section {
    padding: var(--section-gap) 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 0;
}

/* The vertical line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, var(--color-magenta), var(--color-orange));
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 14px 50px;
    position: relative;
    width: 50%;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--color-bg);
    border: 4px solid var(--color-magenta);
    border-radius: 50%;
    top: 30px;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(207, 53, 118, 0.12);
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.35);
    box-shadow: 0 0 0 8px rgba(207, 53, 118, 0.2);
}

.timeline-item.left .timeline-dot {
    right: -11px;
}

.timeline-item.right .timeline-dot {
    left: -11px;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 5px rgba(225, 116, 23, 0.12);
}

.timeline-item.right:hover .timeline-dot {
    box-shadow: 0 0 0 8px rgba(225, 116, 23, 0.2);
}

.timeline-content {
    background: var(--color-surface);
    padding: 2.5rem 2.2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(39, 39, 39, 0.05);
    backdrop-filter: blur(12px);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 40px rgba(39, 39, 39, 0.08);
    border-color: rgba(39, 39, 39, 0.08);
    background: var(--color-surface-hover);
}

.timeline-content .time {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--color-text);
    font-weight: 600;
}

.timeline-content p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

/* ===== SPONSORS ===== */
.sponsor-tier-label {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--color-magenta);
    margin-top: 4rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.sponsor-tier-label--main {
    font-size: 2rem;
    color: var(--color-magenta);
    margin-top: 0;
}

.sponsor-tier-label--media {
    color: var(--color-orange);
}

.sponsor-tier-label--partners {
    color: var(--color-purple);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    align-items: center;
    padding: 2rem 0 3rem;
}

.sponsors-grid--main {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 1rem;
}

.sponsors-grid--media {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 1rem;
}

.sponsor-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(39, 39, 39, 0.05);
    transition: var(--transition);
    height: 150px;
    backdrop-filter: blur(8px);
    text-decoration: none;
}

.sponsor-card--main {
    height: 200px;
    padding: 1.5rem;
    border: 2px solid rgba(207, 53, 118, 0.15);
    box-shadow: 0 10px 40px rgba(207, 53, 118, 0.06);
}

.sponsor-card:hover {
    background: var(--color-surface-hover);
    transform: translateY(-6px);
    border-color: var(--color-magenta);
    box-shadow: 0 14px 35px rgba(207, 53, 118, 0.1);
}

.sponsor-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.55;
    transition: var(--transition);
    filter: grayscale(100%);
}

.sponsor-card:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.team-tier {
    margin-bottom: 5rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.tier-title {
    width: 100%;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-magenta);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.tier-0 .team-card {
    width: 100%;
    max-width: 420px;
}

.tier-0 .team-avatar {
    width: 180px;
    height: 180px;
}

.tier-0 h4 {
    font-size: 1.8rem;
}

.tier-1 .team-card {
    width: 100%;
    max-width: 380px;
}

.tier-2 {
    align-items: flex-start;
}

.tier-2 > .team-card, .team-group {
    width: 100%;
    max-width: 340px;
}

.team-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-subordinates {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.team-card.sub {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1.2rem;
    min-height: 100px;
    flex: 1;
}

.team-card.sub .team-avatar {
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 2px;
    border-width: 2px;
    flex-shrink: 0;
}

.team-card.sub h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.team-card.sub p {
    font-size: 0.85rem;
}

.team-card {
    background: var(--color-surface);
    padding: 3.5rem 2rem 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(39, 39, 39, 0.04);
    backdrop-filter: blur(10px);
}

.team-card:hover {
    transform: translateY(-12px);
    background: var(--color-surface-hover);
    border-color: var(--color-magenta);
    box-shadow: 0 20px 45px rgba(207, 53, 118, 0.1);
}

.team-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid transparent;
    background: linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
        linear-gradient(135deg, var(--color-magenta), var(--color-orange)) border-box;
    padding: 5px;
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    transform: scale(1.06);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: rgba(39, 39, 39, 0.05);
}

.team-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 600;
}

.team-card p {
    font-family: var(--font-body);
    color: var(--color-magenta);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== FOOTER ===== */
footer {
    background: var(--color-footer-bg);
    padding: 2.5rem 0 2rem;
    text-align: center;
    margin-top: var(--section-gap);
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 1rem;
    opacity: 0.75;
    transition: var(--transition);
}

.footer-logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(241, 227, 191, 0.25));
}

footer p {
    font-family: var(--font-body);
    color: var(--color-footer-text);
    font-size: 0.9rem;
}

[data-theme="dark"] .radio-logo {
    content: url("press pack/organizatorzy/logo_biale.webp");
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    :root {
        --section-gap: 9rem;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .disco-ball {
        width: 280px;
    }

    .section-title {
        font-size: 2.8rem;
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 6rem;
    }

    .navbar {
        padding: 0.3rem 1rem;
    }

    .logo img {
        height: 50px;
    }

    .hamburger {
        display: flex;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .theme-toggle {
        margin-left: 0;
        width: 46px;
        height: 24px;
    }

    .theme-toggle::after {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }

    [data-theme="dark"] .theme-toggle::after {
        transform: translateX(22px);
    }

    .nav-links {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-navbar-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: top 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
    }

    .nav-links.active {
        top: 0;
    }

    .nav-links li {
        font-size: 1.5rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .hero-date {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .hero-graphic {
        display: none;
    }

    .countdown-container {
        gap: 0.4rem;
        margin-bottom: 2.5rem;
        width: 100%;
        justify-content: center;
    }

    .countdown-item {
        padding: 0.6rem 0.2rem;
        min-width: 0;
        flex: 1;
        border-radius: 8px;
    }

    .countdown-value {
        font-size: 1.3rem;
    }

    .countdown-label {
        font-size: 0.6rem;
    }

    .timeline::after {
        left: 28px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 68px;
        padding-right: 16px;
        margin-bottom: 2.5rem;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 17px;
        right: auto;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-header {
        padding: 9rem 0 3rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .sponsor-card img {
        opacity: 1;
        filter: grayscale(0%);
    }

    [data-theme="dark"] .sponsor-card img {
        opacity: 1;
        filter: grayscale(100%) brightness(1.5);
    }
    
    [data-theme="dark"] .sponsor-card:not([style*="background"]) img:not(.radio-logo) {
        filter: invert(1) brightness(1);
        opacity: 1;
    }

    #poprzedni .video-container {
        padding-bottom: 100%;
    }

    footer {
        padding: 1rem 0 0.8rem;
        margin-top: 2rem;
    }

    .footer-logo {
        height: 65px;
        margin-bottom: 0.5rem;
    }

    footer p {
        font-size: 0.75rem;
    }
}
