   body {
      background: #121212;
      color: #e0e0e0;
      font-family: "Roboto", Arial, sans-serif;
      margin: 0;
      padding: 0;
      font-size: 17px;
    }

    .container {
      width: min(1100px, 92%);
      margin: 0 auto;
    }

    a {
      color: #e0e0e0;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    /* HEADER */
    .header {
      background-color: #1e1e1e;
      color: #e0e0e0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      position: relative;
    }

    .header .logo {
      font-size: 1.5em;
      font-weight: bold;
      display: flex;
      align-items: center;
    }

    .logo a {
      color: #e0e0e0;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 10px;
	  font-size: 1.2em;
    }

    .logo-img {
      height: 35px;
      margin-right: 0;
    }

    .menu {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    .menu a {
      color: #e0e0e0;
      text-decoration: none;
      font-size: 1.2em;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }

    .hamburger div {
      width: 30px;
      height: 4px;
      background-color: #e0e0e0;
      margin: 4px 0;
    }

    /* Dropdown */
    .dropdown {
      position: relative;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 260px;
      background: #1a1a1a;
      border-radius: 10px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.25);
      padding: 8px 0;
      z-index: 999;
    }

    .dropdown-content a {
      display: block;
      padding: 10px 15px;
      text-decoration: none;
      color: #fff;
    }

    .dropdown-content a:hover {
      background: rgba(255,255,255,0.08);
      text-decoration: none;
    }

    .dropdown.open .dropdown-content {
      display: block;
    }

    /* PAGE */
    .home-page {
      padding: 24px 0 40px;
    }

    .home-hero {
      margin: 0 0 24px;
      padding: 28px 24px;
      border: 1px solid #2d2d2d;
      background: #181818;
     
      box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    }

    .eyebrow {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #93c5fd;
      margin-bottom: 10px;
    }

    .home-hero h1 {
      margin: 0 0 10px;
      font-size: clamp(30px, 5vw, 46px);
      line-height: 1.1;
    }

    .hero-lead {
      margin: 0;
      max-width: 760px;
      color: #bdbdbd;
      line-height: 1.6;
    }

    .section-card {
      margin: 0 0 24px;
      padding: 22px;
      border: 1px solid #2f2f2f;
     
      background: #181818;
      box-shadow: 0 8px 24px rgba(0,0,0,0.16);
    }

    .section-heading {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 18px;
    }

    .section-heading h2 {
      margin: 0;
      font-size: clamp(22px, 3vw, 30px);
      line-height: 1.2;
    }

    .section-date {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 12px;
      background: #232323;
      border: 1px solid #3a3a3a;
      border-radius: 999px;
      color: #d6d6d6;
      font-size: 14px;
      white-space: nowrap;
    }

    /* LIVE LIST */
    .live-list {
  display: grid;
  gap: 12px;
}

.live-card {
  display: grid;
  grid-template-columns: 130px 1fr 220px;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #2f2f2f;
  border-radius: 16px;
  background: linear-gradient(180deg, #1d1d1d 0%, #171717 100%);
}

.live-time {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.live-main h3 {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.25;
}

.live-main p {
  margin: 0;
  color: #b8b8b8;
  line-height: 1.5;
}

.live-race-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.live-race-title a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.live-race-title a:hover {
  text-decoration: underline;
}

.live-flag {
  display: block;
  border-radius: 3px;
  box-shadow: 0 0 0 1px #444;
  flex: 0 0 auto;
}

.live-now-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ef4444;
  display: inline-block;
  animation: livePulse 1.4s infinite;
  box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
}

@keyframes livePulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239,68,68,0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(239,68,68,0);
  }
}

.live-broadcaster {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.watch-label {
  font-size: 12px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.broadcaster-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.broadcaster-logo {
  max-width: 170px;
  max-height: 48px;
  width: auto;
  height: auto;
  display: block;
  border-radius: 10px;
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #2b2b2b;
  border: 1px solid #444;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.live-empty {
  padding: 18px;
  border: 1px dashed #3a3a3a;
  border-radius: 14px;
  color: #a3a3a3;
  background: #1b1b1b;
}


    /* CALENDAR */
    .race-calendar {
      display: grid;
      gap: 10px;
    }

    .calendar-head,
    .calendar-row {
      display: grid;
      grid-template-columns: 130px 1fr 220px;
      gap: 18px;
      align-items: center;
    }

    .calendar-head {
      padding: 0 8px 8px;
      color: #9f9f9f;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .calendar-row {
      padding: 16px 14px;
      border: 1px solid #2f2f2f;
      
      background: #1c1c1c;
    }

    .calendar-date {
    
      color: #fff;
    }

    .calendar-race {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .calendar-race a {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #f3f3f3;
      min-width: 0;
      line-height: 1.4;
    }

    .calendar-race-name {
      display: inline-block;
    }

    .race-status {
  margin-left: auto;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  position: relative;
}

/* zakończony */
.status-finished {
  background: #22c55e;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
}

.status-finished::before {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -1px;
}

/* live */
.status-live {
  background: transparent;
  border-radius: 999px;
}

.status-live::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(239,68,68,0.55);
  animation: livePulse 1.4s infinite;
}

@keyframes livePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239,68,68,0.55);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239,68,68,0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239,68,68,0);
  }
}

/* nadchodzący */
.status-upcoming {
  border: 1.5px solid #6b7280;
  background: transparent;
}

/* opcjonalnie: jeszcze bardziej subtelny pusty status */
/*
.status-upcoming {
  border: 1px solid #3f3f46;
  background: #1f1f1f;
}
*/


    .calendar-winner {
      text-align: right;
      color: #d7d7d7;
      font-weight: 500;
      line-height: 1.4;
    }

    .calendar-winner--empty {
      color: #8f8f8f;
      font-style: italic;
    }

    .race-flag {
      display: block;
      flex: 0 0 auto;
      border-radius: 3px;
      box-shadow: 0 0 0 1px #444;
    }

    .footer {
      background-color: #1e1e1e;
      color: #e0e0e0;
      text-align: center;
      padding: 15px 20px;
      font-size: 1em;
      margin-top: 20px;
    }
	
	
	.calendar-live-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ef4444;
  display: inline-block;
  animation: livePulse 1.4s infinite;
  box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
  vertical-align: middle;
}

@keyframes livePulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239,68,68,0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(239,68,68,0);
  }
}
	

    /* MOBILE */
    @media (max-width: 900px) {
      .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 68px;
        right: 20px;
        background-color: #1e1e1e;
        width: 220px;
        text-align: center;
        border: 1px solid #444;
        padding: 10px;
        z-index: 1000;
      }

      .menu.show {
        display: flex;
      }

      .hamburger {
        display: flex;
      }

      .dropdown-content {
        position: static;
        box-shadow: none;
      }

       .live-card {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .live-broadcaster {
    align-items: flex-start;
  }

  .broadcaster-logo {
    max-width: 160px;
    max-height: 44px;
  }

      .calendar-head {
        display: none;
      }

      .calendar-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px;
      }

      .calendar-date {
        order: 2;
        font-size: 14px;
        color: #b8b8b8;
      }

      .calendar-race {
        order: 1;
        align-items: flex-start;
        flex-wrap: wrap;
      }

      .calendar-race a {
        align-items: flex-start;
      }

      .calendar-winner {
        order: 3;
        text-align: left;
        color: #9f9f9f;
        font-size: 14px;
      }

      .calendar-winner::before {
        content: "Wygrał: ";
        color: #7f7f7f;
      }

      .calendar-winner--empty::before {
        content: "";
      }
    }

    @media (max-width: 640px) {
      .container {
        width: 94%;
      }

      .home-page {
        padding-top: 18px;
      }

      .home-hero,
      .section-card {
        padding: 16px;
        
      }

      .section-heading {
        align-items: flex-start;
        flex-direction: column;
      }

      .live-time {
        font-size: 18px;
      }

      .live-main h3 {
        font-size: 18px;
      }

      .calendar-race {
        gap: 10px;
      }

     .race-status {
    margin-left: 0;
  }
    }