* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #06084F; /* très foncé, neutre */
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/Florida_by_Piotrus_152.JPG/1280px-Florida_by_Piotrus_152.JPG");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #E0E6FF; /* bleu clair doux */
  font-family: 'Courier New', monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Fenêtre centrale */
.container {
  flex-direction: column;
  background: #0C20A1; /* bleu foncé */
  border: 2px solid #4A7FFF; /* bleu néon moins saturé */
  border-radius: 16px;
  box-shadow:
    0 0 12px rgba(74, 127, 255, 0.6), /* glow doux */
    inset 0 0 6px rgba(255, 255, 255, 0.1);
  padding: 16px;
  max-width: 850px;
  width: 95%;
}

/* Sidebar horizontal */
.sidebar {
  background: #3A62C9; /* bleu moyen, moins vif */
  width: 100%;
  padding: 20px;
  box-shadow: inset 0 -1px 0 #3258b4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.85rem;
  line-height: 1.3;
  gap: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.sidebar .avatar {
  width: 80px;
  border-radius: 50%;
  border: 2px dashed #7B5FCC; /* violet modéré */
  box-shadow: 0 0 6px #7B5FCC; /* glow doux */
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar a {
  color: #A8AFFF; /* bleu très clair */
  text-decoration: none;
  transition: color 0.25s ease;
}
.sidebar a:hover {
  color: #D1B1B8; /* violet clair pastel */
}

.intro {
  color: #CED8FF; /* bleu clair pastel */
  max-width: 360px;
  text-align: justify;
}

/* Clock */
.sidebar-clock .clock {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(123, 95, 204, 0.25);
  box-shadow: 0 0 12px rgba(123, 95, 204, 0.6);
  border: 2px solid #7B5FCC;
}

.sidebar-clock .numbers {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  font-size: 1.1em;
  font-weight: 700;
  color: #E0E6FF;
  text-shadow:
    -1px -1px 2px rgba(0,0,0,0.7),
    1px 1px 2px rgba(0,0,0,0.7);
  user-select: none;
  pointer-events: none;
}

.sidebar-clock .numbers span {
  position: absolute;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  top: 50%;
  left: 50%;
  transform-origin: center;
  transform:
    rotate(calc(var(--i) * 30deg))
    translate(55px)
    rotate(calc(var(--i) * -30deg));
}

/* Aiguilles (inchangées sauf un petit ajustement d'épaisseur et glow) */
.sidebar-clock .center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #D1B1B8;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px #D1B1B8;
  z-index: 10;
}

.sidebar-clock .hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  background: #A8C7FF;
  transform-origin: bottom center;
  transition: all 0.1s ease-in-out;
  border-radius: 3px;
  box-shadow: 0 0 6px #A8C7FF;
}

.sidebar-clock .hour {
  width: 5px;
  height: 38px;
  z-index: 3;
}

.sidebar-clock .minute {
  width: 4px;
  height: 58px;
  z-index: 2;
}

.sidebar-clock .second {
  width: 2px;
  height: 62px;
  background: #D1B1B8;
  box-shadow: 0 0 8px #D1B1B8;
  z-index: 1;
}



/* Grille du contenu */
.content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
}

/* Cartes */
.card, .widget {
  background:  #1C2D8C; /* bleu foncé adouci */
  border: 2px solid #4A7FFF; /* bleu néon modéré */
  box-shadow:
    inset -1px -1px 5px rgba(255, 255, 255, 0.15),
    inset 1px 1px 6px rgba(123, 95, 204, 0.3);
  font-family: 'Courier New', monospace;
  color: #D1B1B8; /* violet pastel clair */
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: auto;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}
.card:hover, .widget:hover {
  box-shadow: 0 0 14px #7B5FCC, 0 0 14px #4A7FFF;
}

/* Widget image */
.card img, .widget img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid #7B5FCC;
  margin-top: 12px;
  filter: drop-shadow(0 0 4px #7B5FCC);
}

.widget {
  background: #06084F; /* fond très foncé */
  border: 2px solid #7B5FCC; /* violet doux */
  box-shadow: 0 0 12px #7B5FCC;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.widget img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 0 8px #4A7FFF);
}
