body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    
    background: radial-gradient(circle at top, #2b0b3f, #0d001a);
    background-color: #0d001a;
    background-attachment: fixed;
    
    position: relative;
    z-index: 1;
    overflow: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    
    background: 
        radial-gradient(circle at 20% 80%, rgba(76, 29, 149, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(88, 28, 135, 0.15) 0%, transparent 40%);
        
    box-shadow: inset 0 0 150px 50px rgba(0, 0, 0, 0.9);
    filter: blur(30px);
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: overlay; 
    
    animation: darkMist 8s ease-in-out infinite alternate;
}

@keyframes darkMist {
    0% { opacity: 0.5; transform: scale(1) translate(0px, 0px); }
    100% { opacity: 1; transform: scale(1.05) translate(-15px, 10px); }
}

.sot-timer-container {
  background: rgba(10, 5, 15, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px;
  max-width: 420px;
  margin: 20px auto;
  text-align: center;
  color: #fff;
  font-family: inherit;
}

.sot-title {
  margin: 0 0 16px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e879f9;
  letter-spacing: 0.5px;
}

.sot-timer {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.timer-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(236, 72, 153, 0.15);
  border-radius: 10px;
  padding: 10px;
  min-width: 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-box span:first-child {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f43f5e;
  text-shadow: 0 0 15px rgba(244, 63, 94, 0.7);
}

.timer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #a855f7;
  margin-top: 4px;
}

.sot-status-text {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Napis zastępujący zegar, gdy cała załoga jest już gotowa na ten rok */
#sot-comeback {
  display: none;
}

.sot-comeback {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f43f5e;
  text-shadow: 0 0 15px rgba(244, 63, 94, 0.7);
  margin: 6px 0 4px 0;
}

.sot-login-hint {
  margin-top: 8px;
  font-size: 0.78rem;
  color: #a855f7;
  min-height: 14px;
}

/* SEKACJA ZAŁOGI (CHECKBOXY) */
.crew-section {
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  margin-top: 14px;
  padding-top: 14px;
}

.crew-title {
  font-size: 20px;
  color: #c084fc;
  margin-bottom: 15px;
  font-weight: 500;
}

.crew-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.crew-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.85rem;
  color: #cbd5e1;
  transition: color 0.3s, opacity 0.3s;
}

.crew-label:hover {
  color: #fff;
}

.crew-label input {
  display: none;
}

/* Checkbox innej osoby - zablokowany, nieklikalny */
.crew-label.locked {
  opacity: 0.4;
  cursor: not-allowed;
}

.crew-label.locked:hover {
  color: #cbd5e1;
}

.crew-label input:disabled + .custom-chk {
  cursor: not-allowed;
}

.custom-chk {
  width: 18px;
  height: 18px;
  border: 2px solid #7e22ce;
  border-radius: 4px;
  margin-right: 8px;
  display: inline-block;
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.crew-label input:checked + .custom-chk {
  background: #d946ef;
  border-color: #d946ef;
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.6);
}

.crew-label input:checked + .custom-chk::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#backBtn {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px 18px;
    width: auto;
    max-width: none;
    background-color: #1e1e1e; /* Szare tło */
    border: 1px solid #333;
    border-radius: 8px;
    color: #888888;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none; /* Przydatne, gdy używasz tagu <a> */
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    z-index: 1000;
}

#backBtn:hover {
    background-color: #333333; /* Jaśniejszy szary po najechaniu */
    border-color: #555555;
}
