    /* Wszystkie linki - żółty tekst */ 
    a { color: #facc15; text-decoration: none; }
    a:hover { text-decoration: underline; }
    *, *::before, *::after { box-sizing: border-box; }
    html {
      scroll-behavior: smooth;
    }
    body {
      margin: 0;
      font-family: 'Candara', sans-serif;
      background-color: #0c0c0c;
      color: #cccccc;
      /* color: #fafafa; */
      margin-bottom: 4rem;
    }
    /* Top bar */
    .top-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 1rem;
      height: 60px;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background-color: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .menu-toggle { background: none; border: none; cursor: pointer; display: none; margin-right: 1.5rem;}
    .menu-icon { width: 24px; height: 18px; position: relative; display: block; }
    .menu-icon span { position: absolute; width: 100%; height: 3px; background: #facc15; transition: transform 0.3s, opacity 0.3s; }
    .menu-icon span:nth-child(1) { top: 0; }
    .menu-icon span:nth-child(2) { top: 7.5px; }
    .menu-icon span:nth-child(3) { top: 15px; }
    .menu-toggle.open .menu-icon span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .menu-toggle.open .menu-icon span:nth-child(2) { opacity: 0; }
    .menu-toggle.open .menu-icon span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
    .header-title {
      display: none;
    }
    nav {
      display: flex;
      gap: 0.5rem;
      align-items: center;
      justify-content: center;
      width: 100vw;
    }
    nav a { color: #facc15; text-decoration: none; padding: 0.5rem 1rem; border-radius: 4px; transition: background 0.2s; font-weight: bold; }
    nav a:hover { background: rgba(250,204,21,0.2); }
    .desktop-form-btn {
      display: inline-flex;
      align-items: center;
      border-radius: 4px;
      background-color: #facc15;
      color: #0b0c10;
      text-decoration: none;
      transition: background 0.2s;
    }
    .desktop-form-btn:hover { background-color: #e5b90c; }
    .mobile-form-btn, .desktop-form-btn {
      background: #facc15; color: #0b0c10; font-weight: bold;
      border-radius: 5px; display: inline-flex; align-items: center; gap: 0.5em;
      padding: 0.5rem 1rem;
    }
    .mobile-form-btn {display: none; }
    .desktop-form-btn { display: none; }
    .download-button {
      display: inline-flex;
      align-items: center;
      border-radius: 4px;
      background-color: #facc15;
      color: #0b0c10;
      text-decoration: none;
      transition: background 0.2s;
      background: #facc15; color: #0b0c10; font-weight: bold;
      border-radius: 5px;
      padding: 0.5rem 1rem;
    }
    .download-button:hover {
      background-color: #e5b90c;
      text-decoration: underline;
      cursor: pointer;
    }
    @media (min-width:769px) {
      nav { display: flex; }
      .desktop-form-btn { display: inline-flex; margin-left:1rem; }
    }

    header {
      background-image: url('background.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      
      height: 360px;
      width: 100%;
      margin-top: 60px;
    }

    section { width: 100%; margin: 1.2rem auto; padding: 0 1rem; scroll-margin-top: 80px; }
    @media (min-width: 769px) {
      section { max-width: 800px; margin-left: auto; margin-right: auto; }
    }
    h2 { color: #facc15; border-bottom: 2px solid #facc15; padding-bottom: 0.5rem; }
    h3 { margin-bottom: 0.5rem; margin-top: 1.5rem; text-transform: uppercase; text-decoration: underline;}
    h4 {margin-top: 1rem; margin-bottom: 0.5rem;}
    li { margin-top: 0.3rem;}
    ul {margin: 0}
    .btn { display: inline-block; padding: 0.75rem 1.5rem; background: #facc15; color: #0b0c10; text-decoration: none; font-weight: bold; border-radius: 5px; }
    .news-cards { display: flex; flex-direction: column; gap: 1rem; }
    .news-card { background: #1a1a1a; padding: 1rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.5); box-sizing: border-box; }
    .news-header { display: flex; justify-content: space-between; align-items: center; }
    .news-title { font-size: 1.25rem; font-weight: bold; color: #facc15; }
    .news-meta { font-size: 0.9rem; color: #888; }
    .news-content { margin-top: 0.5rem; font-size: 1rem; line-height:1.4; }
    .news-content a.news-link { color: #facc15; text-decoration: none; border-bottom:1px solid transparent; transition:border-color 0.2s; }
    .news-content a.news-link:hover { border-bottom-color: #facc15; }
    #show-more { background:#facc15; color:#0b0c10; border:none; padding:0.75rem 1.5rem; font-weight:bold; border-radius:5px; cursor:pointer; display:block; margin:1rem auto; }
    .regulamin-content p {
      margin: 0.5rem 0;
    }
      /* Utility hidden class */
    .hidden {
      display: none !important;
    }
    /* Dystans między punktami regulaminu */
    .regulamin-list li {
      margin-bottom: 1rem;
    }
    .opis p {
      text-indent: 2rem;
    }
    .profesor{
      font-style: italic;
      text-align: justify;
    }

    .cytat {
      display: block;
      margin: 1rem auto;
      /* font-style: italic; */
      font-size: 1.3rem;
      font-weight: 100;
      width: 80%
    }

    .idea {
      text-align: justify;
    }

     .organizatorzy p {
      text-indent: 2rem;
    }

    .table-visible {
      width: 100%;
      border-collapse: collapse;
      
    }
    .table-visible th {
      border: 1px solid #cccccc;
      border-bottom: 2px solid #cccccc;
      padding: 0.2rem 0.5rem;
      text-align: left;
    }
    .table-visible td {
      border: 1px solid #cccccc;
      padding: 0.2rem 0.5rem;
    }

    .table-invisible {
      width: 100%;
      border: none;
      margin-bottom: 1rem;
    }

    .team td {
      vertical-align: top;
      padding-top: 0.7rem;
    }

    .organizers-logos {
      width: 100%;
      display: flex;
      justify-content: center;
    }

    .organizer-logo {
      width: 60%;
      margin: 2rem 0;
    }

.container {
  display: flex;
  justify-content: center;
}

    /* Scena */
.stage {
  top: 60px;
  position: absolute;
  width: 1555px;
  height: 380px;
  background-color: transparent;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* Podgląd ścieżki (nie wpływa na animację) */
.path {
  top: 60px;
  left: 50px;
  position: absolute;
  inset: 0;
}

/* Punkt z poświatą */
.dot {
  position: absolute;
  inset-inline-start: 50px;
  /* rozmiar i wygląd „glow” */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fde8af 0 40%, #fdde8a 60% 100%);
  /* poświata – kilka drop-shadow daje ładny efekt */
  filter:
    drop-shadow(0 0 6px #ffe398)
    drop-shadow(0 0 12px #ffe398)
    drop-shadow(0 0 18px #ffe398);

  /* RUCH PO ŚCIEŻCE (ważne) */
  offset-path: path("M0 81.03c0.78,-205.72 687.91,174.75 694.51,113.59 2.34,-21.7 -16.26,-0.33 18.09,-6.2 23.21,-3.96 63.76,-54.71 106.08,-63.71 16.84,-3.58 24.43,25.51 -21.96,25.78 -28.35,0.15 -71.73,-29.39 -89.65,-53.63 -15.63,-21.14 -10,-35.09 -1.23,-26.57 8.18,7.94 32.54,60.31 -26.05,62.4 -84.08,3 -182.18,80.22 -305.3,90.71 -229.09,19.53 -212.82,9.87 -267.84,47.39 -36.65,24.99 -10.04,63.18 15.75,50.57 60.5,-29.59 -3.17,-318.64 216.72,-265.16 53.44,13 375.38,102.29 374.83,83.27 -1.26,-43.6 -15.55,11.51 42.43,37.6 17.08,7.68 20.1,11.78 -0.5,2.16 -34.81,-16.26 -12.02,-81.02 -68.57,-72.58 -51.02,7.62 -31.27,154.24 52.15,132.55 51.8,-13.48 34.35,-69 53.24,-91.33 53.42,-63.16 158.3,38.82 256.07,62.94 65.47,16.16 183.38,48.45 233.97,-8.33 8.22,-9.22 42.98,-71.84 13.11,-76.73 -10.07,-1.64 -57.61,55.85 72.94,89.76 91.43,23.76 131.48,100.58 13.93,89.93 -99.03,-8.98 -186.7,-191.47 -331.48,-223.7 -118.28,-26.34 -271.75,37.77 -290.12,29.33 -7.17,-3.29 -5.27,-12.59 6.54,-4.97 7.09,4.57 -22.45,62.79 -32.88,26.75 -4.51,-15.57 -27.8,15.62 -30.02,20.4 -4.96,10.71 37.59,57.66 33.14,57.74 -4.8,0.08 -25.13,-21.33 -59.63,-35.52 -46.25,-19.04 -123.38,-47.02 -177.23,-46.86 -67.04,0.2 -104.34,30.41 -165.18,61.64 -34.68,17.8 -129.05,38.52 -206.27,3.39 -61.92,-28.18 -129.78,-62.66 -129.59,-112.61");
  offset-distance: 0%;
  /* Obrót: 0deg = bez obracania; 'auto' jeśli ma podążać obrotem za styczną */
  offset-rotate: 0deg;

  animation: move 34s linear infinite;
}

@keyframes move {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}

    @media (max-width:768px) {
      body {
        width: 100vw;
      }
      .menu-toggle { display: block; }
      nav { display: none; flex-direction: column; background: #1a1a1a; position: absolute; top: 60px; left: 0; right: 0; gap: unset }
      nav a { width: 100vw; display: flex; justify-content: center; align-items: center; height: 80px; font-size: 1.5rem; font-weight: bold; padding: 1rem;}
      nav.open { display: flex; }
      .mobile-form-btn { display: inline-flex; height: 60px; font-size: 1.5rem;}
      header {
        background-image: url('background-mobile.png');
        background-size: cover;
        width: 100vw;
        height: unset;
        aspect-ratio: 3/2;
        margin-top: 80px;
      }
      .news-header { display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
      .top-bar {
        width: 100vw;
        height: 80px;
        padding: 0.5rem
      }
      .organizer-logo {
      width: 80%
    }

      .stage {
        top: 80px;
        position: absolute;
        width: 100vw;
        height: 375px;
        background-color: transparent;
        overflow: hidden;
      }

      .dot {
        position: absolute;
        inset-inline-start: -10px;
        /* rozmiar i wygląd „glow” */
        width: 6px;
        height: 6px;
        background: radial-gradient(circle at 50% 50%, #fde8af 0 40%, #fdde8a 60% 100%);
        /* poświata – kilka drop-shadow daje ładny efekt */
        filter:
          drop-shadow(0 0 6px #ffe398)
          drop-shadow(0 0 10px #ffe398)
          drop-shadow(0 0 14px #ffe398);

        /* RUCH PO ŚCIEŻCE (ważne) */
        offset-path: path("M30.85 0c-29.82,-0.6 -30.34,56.04 -1.02,99.24 52.9,77.94 187.96,109.67 190.01,90.71 3.41,-31.57 -31.34,-15.71 18.83,-8.4 33.15,4.84 11.7,-39.38 73.27,-52.47 24.5,-5.21 34.15,28.17 -33.34,28.55 -41.25,0.23 -25.33,-67.17 -51.41,-102.43 -22.74,-30.75 -14.54,-51.05 -1.79,-38.66 11.9,11.56 47.35,87.74 -37.9,90.78 -130.79,4.67 -120.16,187.56 -171.06,165.9 -44.7,-19.03 9.7,-88.4 72.9,-119.42 56.75,-27.86 148.14,-35.37 147.87,-36.6 -13.87,-61.93 -22.62,16.73 61.73,54.69 24.84,11.17 29.23,17.14 -0.74,3.14 -50.64,-23.65 17.43,-63 -64.83,-50.72 -74.23,11.08 -41.76,111.54 32.84,89.33 74.62,-22.21 53.25,-48.73 80.73,-81.23 67.66,-79.99 152.95,14.91 152.98,-49.34 0.04,-92.88 -134.63,18.74 -194.1,-7.2 -10.51,-4.58 -7.65,-18.31 9.53,-7.22 10.3,6.65 -32.67,91.35 -47.85,38.91 -6.56,-22.65 -52.01,12.91 -43.66,29.68 12.51,25.14 74.86,34.62 53.2,57.18 -15.32,15.96 -51.76,11.83 -91.74,-24.86 -126.35,-115.96 -108.43,-169.56 -154.45,-169.56");
        offset-distance: 0%;
        /* Obrót: 0deg = bez obracania; 'auto' jeśli ma podążać obrotem za styczną */
        offset-rotate: 0deg;

        animation: move 30s linear infinite;
      }
    }