* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Boîtier LaMetric */
.lametric {
  width: 900px;
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;

  background: url("lametric-bg.png") center / cover no-repeat;

  /*box-shadow:
    inset 0 0 25px rgba(0,0,0,0.7),
    0 10px 20px rgba(0,0,0,0.9);*/
}

/* Assombrissement pour lisibilité */
.lametric::after {
  content: "";
  position: absolute;
  inset: 0;
  /*background: rgba(0,0,0,0.55);*/
  z-index: 0;
}

/* Heure */
.clock {
  position: relative;
  z-index: 1;
  width: 120px;
  text-align: left;
margin-left: 30px;
  font-family: "VT323", monospace;
  font-size: 42px;
  color: #ffffff;

  text-shadow:
    0 0 6px rgba(255,255,255,0.8),
    0 0 12px rgba(255,255,255,0.4);
}

/* Séparateur */
.separator {
  position: relative;
  z-index: 1;
  width: 2px;
  height: 120px;
  background: rgba(255,255,255,0.25);
}

/* Zone news */
.news {
  position: relative;
  z-index: 1;
  flex: 1;
  height: 100%;
  overflow: hidden;
  margin-right: 30px;
}

/* Ticker */
.ticker {
  display: inline-flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll 70s linear infinite;

  font-family: "VT323", monospace;
  font-size: 90px;
  color: #00ffd5;

  text-shadow:
    0 0 5px rgba(0,255,213,0.6),
    0 0 12px rgba(0,255,213,0.4);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Pause au survol (optionnel) */
.lametric:hover .ticker {
  animation-play-state: paused;
}
