:root {
  font-family: "Segoe UI", sans-serif;
  color: #e2e8f0;
  background-color: #0f172a;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #1e293b;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
}

.app-header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  background: #2d2d2d;
  color: #e2e8f0;
  border-bottom: 1px solid #334155;
}

.app-header h1 {
  background: linear-gradient(
    90deg,
    #ff0000 0%,
    #ff7f00 10%,
    #ffff00 20%,
    #7fff00 30%,
    #00ff00 40%,
    #00ff7f 50%,
    #00ffff 60%,
    #007fff 70%,
    #0000ff 80%,
    #7f00ff 90%,
    #ff0000 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s linear infinite;
  font-weight: 700;
  margin: 0;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

main {
  display: grid;
  gap: 1rem;
  flex: 1;
  padding: 1rem;
  background: #2d2d2d;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
}

input,
select {
  padding: 0.75rem;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: #1e293b;
  color: #e2e8f0;
}

input:focus,
select:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

button {
  cursor: pointer;
  background: #0ea5e9;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

button:hover {
  background: #0284c7;
}

button.secondary {
  background: transparent;
  border: 1px solid #475569;
  color: #e2e8f0;
}

button.secondary:hover {
  background: #334155;
}

button.secondary.active {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #0f172a;
}

#logout-btn {
  background: #dc2626;
  color: #fff;
  border: none;
}

#logout-btn:hover {
  background: #b91c1c;
}

.wgc-button {
  background: #f97316;
  color: #000;
  border: none;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: background 0.2s ease;
  cursor: pointer;
  flex: 1;
  min-width: fit-content;
  max-width: 90%;
  text-align: center;
}

.wgc-button:hover {
  background: #ea580c;
}

#follow-btn {
  background: #39ff14;
  color: #000;
  border: none;
  font-weight: 600;
  flex: 1;
  min-width: fit-content;
  max-width: 90%;
}

#follow-btn:hover {
  background: #32e014;
}

#follow-btn.active {
  background: #39ff14;
  color: #000;
  border: none;
}

#map {
  width: 100%;
  height: 60vh;
  min-height: 320px;
  border-radius: 0.5rem;
  border: 2px solid #e2e8f0;
}

.online-counter {
  background: rgba(15, 23, 42, 0.9);
  color: #10b981;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.hidden {
  display: none;
}

#auth-status {
  min-height: 1.5rem;
  font-size: 0.9rem;
  color: #f87171;
}

#status-message {
  min-height: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 0.75rem;
  margin: 0.35rem 0 0.5rem;
  border-radius: 0.375rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.status-success {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-error {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.status-info {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

label {
  color: #cbd5e1;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.toolbar-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.mode-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mode-label {
  font-weight: 600;
  color: #e2e8f0;
  font-size: 0.95rem;
  white-space: nowrap;
}

.mode-select {
  padding: 0.75rem;
  border: 2px solid #39ff14;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: #4a4a4a;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 140px;
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e2e8f0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.mode-select:hover {
  border-color: #39ff14;
  background-color: #334155;
}

.mode-select:focus {
  outline: none;
  border-color: #39ff14;
}

#user-info {
  font-weight: 600;
  color: #e2e8f0;
}

section {
  background: #1e293b;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #334155;
}

#map-section {
  background: #2d2d2d;
}

#auth-section {
  border: 2px solid #39ff14;
}

#auth-section h2 {
  color: #f97316;
  margin-top: 0;
}

#auth-section button[type="submit"] {
  background: #39ff14;
  color: #000;
}

#auth-section button[type="submit"]:hover {
  background: #32e60a;
}

#mode:focus {
  outline: none;
  border-color: #39ff14 !important;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.7) !important;
}

#password:focus {
  outline: none;
  border-color: #39ff14 !important;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.7) !important;
}

#login:focus {
  outline: none;
  border-color: #39ff14 !important;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.7) !important;
}

#channel-select:focus,
.channel-select:focus {
  outline: none;
  border-color: #39ff14 !important;
}

.custom-marker {
  background: transparent;
}

.marker-pin-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-pin-shell > .marker-icon,
.marker-pin-shell > .marker-icon-radio-self,
.marker-pin-shell > .marker-icon-radio-other {
  flex-shrink: 0;
}

.marker-channel-badge {
  margin-top: 2px;
  min-width: 1.125rem;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  color: #020617;
  background: #39ff14;
  border: 1px solid #166534;
  border-radius: 5px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.marker-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  border: 2px solid #fff;
  box-shadow: 0 0 6px rgba(15, 23, 42, 0.4);
}

.marker-icon-radio-self {
  background: #f97316 !important; /* pomarańczowe tło dla własnej ikony przy radiu */
  color: #000;
  font-size: 0;
}

.marker-icon-radio-other {
  background: #39ff14 !important; /* neon zielone tło dla innych użytkowników przy radiu (bez świecenia) */
  color: #000;
  font-size: 0;
}

.marker-icon-radio-self .radio-tower-icon,
.marker-icon-radio-other .radio-tower-icon {
  width: 30px;
  height: 30px;
  display: block;
}


@media (max-width: 640px) {
  main {
    padding: 0.5rem;
    gap: 0.5rem;
  }

  #map {
    height: 40vh;
    min-height: 240px;
  }

  .online-counter {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    margin-bottom: 0.5rem;
  }

  #map-section {
    padding: 0.75rem;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .toolbar-actions-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
  }

  .mode-selector {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .mode-label {
    font-size: 0.9rem;
  }

  .mode-select {
    width: 100%;
    min-width: auto;
    font-size: 1rem;
    padding: 0.875rem;
  }

  button {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
  }

  .toolbar-actions-row #follow-btn,
  .toolbar-actions-row #logout-btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    padding: 0.55rem 0.25rem !important;
    font-size: 0.74rem !important;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    box-sizing: border-box;
  }

  /* Kurzer „Home“-Text: größer und klarer als die beiden langen Buttons */
  .toolbar-actions-row .wgc-button {
    flex: 0 0 auto;
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    padding: 0.65rem 0.95rem !important;
    font-size: 1.125rem !important;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-align: center;
    box-sizing: border-box;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .wgc-button {
    width: 100%;
  }

  #user-info {
    text-align: center;
    width: 100%;
    font-size: 0.9rem;
  }

  .app-header h1 {
    font-size: 1.5rem;
  }

  .app-header p {
    font-size: 0.9rem;
  }

  section {
    padding: 1rem;
  }

  #radio-section {
    flex-direction: column !important;
  }

  #radio-section iframe {
    width: 100% !important;
    min-width: 100% !important;
  }
}

/* Czat */
#chat-section {
  margin-top: 1rem;
  width: 100%;
  background: #2d2d2d;
}

.chat-container {
  display: flex;
  gap: 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  overflow: hidden;
  height: 600px;
  min-height: 600px;
  width: 100%;
}

.chat-sidebar {
  width: 250px;
  min-width: 250px;
  background: #1a1a1a;
  border-right: 1px solid #334155;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.chat-users-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.chat-users-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  list-style: none;
  cursor: pointer;
  padding: 0.55rem 0.7rem;
  margin: 0;
  border: 2px solid #334155;
  border-radius: 0.375rem;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}

.chat-users-summary::-webkit-details-marker,
.chat-users-summary::marker {
  display: none;
}

.chat-users-summary-label {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.chat-users-summary-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.chat-users-chevron {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(-45deg);
  margin-top: -0.15rem;
  transition: transform 0.2s ease;
}

.chat-users-details[open] .chat-users-chevron {
  transform: rotate(135deg);
  margin-top: 0.1rem;
}

.chat-users-details[open] .chat-users-summary {
  margin-bottom: 0.45rem;
}

.chat-users-count-num {
  font-weight: 700;
  color: #39ff14;
  font-variant-numeric: tabular-nums;
}

.chat-users-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#users-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.chat-users-select {
  width: 100%;
  flex: 1;
  min-height: 10rem;
  max-height: 22rem;
  padding: 0.35rem 0.25rem;
  box-sizing: border-box;
  font-size: 0.95rem;
  line-height: 1.35;
  background: #0f172a;
  color: #e2e8f0;
  border: 2px solid #334155;
  border-radius: 0.375rem;
  overflow-y: auto;
  cursor: pointer;
}

.chat-users-select:focus {
  outline: none;
  border-color: #39ff14;
  box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.2);
}

.chat-users-select option {
  padding: 0.25rem 0.35rem;
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 1rem;
  border-bottom: 1px solid #334155;
  background: #f97316;
}

.chat-header h3 {
  margin: 0;
  color: #e2e8f0;
  font-size: 1rem;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.message {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0;
  max-width: 70%;
  word-wrap: break-word;
  background: transparent;
  border: none;
}

.message.own {
  align-self: flex-end;
  background: transparent;
  color: #e2e8f0;
}

.message.other {
  align-self: flex-start;
  background: transparent;
  color: #e2e8f0;
}

.message-header {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.message-time {
  font-size: 0.9rem;
  opacity: 0.7;
}

.message-content {
  line-height: 1.6;
  font-size: 1.15rem;
}

.image-thumbnail-container {
  margin-top: 0.5rem;
}

.message-content .image-thumbnail {
  max-width: 200px;
  max-height: 200px;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  object-fit: cover;
}

.message-content .image-thumbnail:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Modal do wyświetlania zdjęć w pełnym rozmiarze */
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.image-modal.active {
  display: flex;
}

.image-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.5rem;
  object-fit: contain;
}

.image-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  transition: opacity 0.2s;
}

.image-modal-close:hover {
  opacity: 0.7;
}

.youtube-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding-bottom: 56.25%; /* Proporcje 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  background: #000;
}

.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0.5rem;
}

.chat-input-container {
  padding: 1rem;
  border-top: 1px solid #334155;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-toolbar {
  display: flex;
  gap: 0.5rem;
}

.emoji-btn,
.image-btn,
.youtube-btn {
  padding: 0.5rem;
  background: transparent;
  border: 1px solid #475569;
  border-radius: 0.375rem;
  color: #e2e8f0;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s;
}

.emoji-btn:hover,
.image-btn:hover,
.youtube-btn:hover {
  background: #334155;
}

.emoji-picker {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.5rem;
  padding: 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
  position: relative;
  z-index: 100;
}

.emoji-picker button {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: background 0.2s;
}

.emoji-picker button:hover {
  background: #334155;
}

#chat-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  background: #2d2d2d;
  color: #e2e8f0;
  font-size: 1rem;
  resize: none;
  font-family: inherit;
}

#chat-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

#youtube-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 1rem;
}

#youtube-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

#send-btn {
  padding: 0.75rem 1.5rem;
  background: #39ff14;
  color: #000;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

#send-btn:hover {
  background: #32e60a;
}

.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  #chat-section {
    width: 100%;
    margin-top: 1rem;
    padding: 0;
  }

  .chat-container {
    flex-direction: column;
    height: calc(100vh - 100px);
    min-height: 600px;
    max-height: none;
    width: 100%;
  }

  .chat-sidebar {
    width: 100%;
    flex-shrink: 0;
    min-height: 0;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid #334155;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .chat-users-details {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
  }

  .chat-users-details:not([open]) #users-list {
    display: none;
  }

  .chat-users-summary {
    font-size: 0.9rem;
    padding: 0.5rem 0.65rem;
  }

  #users-list {
    flex: 0 1 auto;
    min-height: 0;
    max-height: min(45vh, 300px);
    overflow: hidden;
  }

  .chat-users-details[open] .chat-users-select {
    min-height: 6rem;
    max-height: min(42vh, 280px);
    flex: 1;
    font-size: 0.9rem;
  }

  .chat-main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .chat-header {
    padding: 0.75rem;
    flex-shrink: 0;
  }

  .chat-header h3 {
    font-size: 0.9rem;
  }

  .chat-messages {
    padding: 1rem 0.75rem;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .message {
    max-width: 90%;
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .message-header {
    font-size: 1.1rem;
  }

  .message-content {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .chat-input-container {
    padding: 0.75rem;
    flex-shrink: 0;
    position: relative;
  }

  .emoji-picker {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    z-index: 1000;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
  }

  .emoji-picker button {
    font-size: 1.3rem;
    padding: 0.4rem;
  }

  #chat-input {
    font-size: 1rem;
    padding: 0.875rem;
    min-height: 44px;
  }

  #send-btn {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    min-height: 44px;
  }

  .chat-toolbar {
    gap: 0.4rem;
  }

  .emoji-btn,
  .image-btn,
  .youtube-btn {
    padding: 0.6rem;
    font-size: 1.1rem;
    min-width: 44px;
    min-height: 44px;
  }

  #youtube-input {
    font-size: 1rem;
    padding: 0.875rem;
    min-height: 44px;
  }

  .message-content .image-thumbnail {
    max-width: 150px;
    max-height: 150px;
  }

  .image-modal-content {
    max-width: 95%;
    max-height: 95%;
  }

  .image-modal-close {
    top: -35px;
    font-size: 1.5rem;
  }
}

@media (min-width: 900px) {
  main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }

  #map-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 90%;
  }

  #map {
    width: 100%;
    height: 800px;
    max-width: 100%;
    max-height: 800px;
  }

  .toolbar {
    width: 100%;
    max-width: 100%;
  }

  #follow-btn {
    flex: 0;
    max-width: none;
    width: auto;
  }

  .wgc-button {
    flex: 0;
    max-width: none;
    width: auto;
  }

  #chat-section {
    width: 90%;
    max-width: 90%;
  }

  .chat-container {
    height: 850px;
    min-height: 850px;
    width: 100%;
  }

  .chat-sidebar {
    width: 300px;
    min-width: 300px;
  }
}

.app-footer {
  background: #0f172a;
  border-top: 1px solid #334155;
  padding: 0.75rem 1rem;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: auto;
}

.version-info {
  display: inline-block;
}

.version-info span {
  color: #0ea5e9;
  font-weight: 600;
  font-family: monospace;
}

.pulsing-link {
  animation: pulseColors 10s ease-in-out infinite;
}

@keyframes pulseColors {
  0% {
    background-color: #dc2626;
  }
  11% {
    background-color: #ea580c;
  }
  22% {
    background-color: #f97316;
  }
  33% {
    background-color: #fb923c;
  }
  44% {
    background-color: #fdba74;
  }
  55% {
    background-color: #fef08a;
  }
  66% {
    background-color: #fde047;
  }
  77% {
    background-color: #facc15;
  }
  88% {
    background-color: #eab308;
  }
  100% {
    background-color: #dc2626;
  }
}

