/* =====================================
   SKIN ALBERT – kompletní styl s animací
=====================================*/

/* ===============================
   Statický gradient – hlavní pozadí
================================ */
.theme-albert .profile__content {
  position: relative; /* pro pseudo-element animace */
  background: linear-gradient(135deg, #3b82f6 0%, #4caf50 100%); /* statický gradient */
  color: #fff;
  padding: 2rem 3%;
  border-radius: 12px;
  overflow: hidden;
}

/* ===============================
   Animovaný gradient – duha
   (pseudo-element, aby nepřepisoval statický gradient)
================================ */
.theme-albert .profile__content.animation-on::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    270deg,
    #81c784,  /* jemná zelená */
    #64b5f6,  /* jemná modrá */
    #4caf50,
    #1b74c8
  );
  background-size: 1400% 1400%;
  animation: rainbow-bg 20s ease infinite;
  opacity: 0.4;           /* jemná průhlednost animace */
  z-index: -1;           /* za text */
  border-radius: inherit; /* zachová rohy kontejneru */
}

/* ===============================
   Animace rainbow-bg
================================ */
@keyframes rainbow-bg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===============================
   Proměnné akcentních barev
================================ */
.theme-albert {
  --accent-main: #1B74C8;
  --accent-secondary: #4caf50;
}

/* ===============================
   Popisky / nadpisy
================================ */
.theme-albert .profile__subtitle {
  color: #fff6b3;
}

.theme-albert .profile__content h2 {
  border-left: 8px solid;
  border-image: linear-gradient(to bottom, #ffd700, #ffe066) 1;
  color: #fff;
}

.theme-albert .profile__content h3 {
  color: #fff;
}

/* ===============================
   Seznamy – li
================================ */
.theme-albert .profile__content ul li {
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-weight: 600;
  font-size: 1.6rem;
  margin: 0.5rem 0;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.theme-albert .profile__content ul li:hover {
  transform: scale(1.05);
  background-color: #1B74C8;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* ===============================
   Boxy – tmavé a světlé
================================ */
.theme-albert .box-dark {
  background: rgba(0,0,0,0.25);   /* tmavé pozadí */
  color: #fff;                     /* bílý text */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.theme-albert .box-dark:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,0.35);
  background: rgba(0,0,0,0.35);
}

.theme-albert .box-dark p {
  color: #fff !important; /* vynutí bílý font */
}

.theme-albert .box-light {
  background: rgba(255,255,255,0.88);    /* světlé pozadí */
  color: #000;                           /* černý text */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.theme-albert .box-light:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.75);
}

/* ===============================
   Tlačítka – Albert
================================ */
.theme-albert .btn-letak {
  background: linear-gradient(135deg, var(--accent-main), var(--accent-secondary));
  color: #ffd700;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  padding: 1rem 2rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.theme-albert .btn-letak:hover {
  background: linear-gradient(135deg, #ffd700, #ffe066);
  color: #1874C8 !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transform: scale(1.1);
}

/* ===============================
   Přepínač animace
================================ */
.theme-albert .toggle-animation {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  z-index: 10;
  background-color: #1bc800; /* zelená = animace ON */
  transition: background 0.3s ease;
}

.theme-albert .toggle-animation.off {
  background-color: #e01b1b; /* červená = animace OFF */
}

/* ===============================
   Responsivita
================================ */
@media (max-width: 768px) {
  .theme-albert .profile__content {
    padding: 1.5rem 2%;
  }

  .theme-albert .profile__content h2 {
    font-size: 1.6rem;
  }

  .theme-albert .profile__content ul li {
    font-size: 1.4rem;
  }

  .theme-albert .btn-letak {
    width: 100%;
    font-size: 1.3rem;
  }
}