html, body {
    margin: 0;
    padding: 0;
}

/* HERO */
#hero-logo {
    height: 100vh;
    position: relative;
}

.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTENUTO */
.content-section {
    background: #f5f5f5;
    padding: 120px 0 140px 0;
}

/* TESTI (stile originale) */
.content-section p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #054A93;
}

.content-section h3 {
    color: #054A93;
    font-weight: 600;
}

/* AZZURRO */
.text-info {
    color: #054A93 !important;
}

/* ROSSO iniziali */
.highlight-red {
    color: #d62828;
    font-weight: 600;
}

/* LISTA */
.content-section ul {
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 10px;
    color: #054A93 !important;;
}

.content-section li::marker {
    color: #054A93 !important;;
}

/* SPAZI */
.text-center.mb-5 {
    margin-bottom: 80px !important;
}

.container .row {
    margin-top: 60px;
}

/* ===== AVATAR ===== */

.avatar-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

/* VIDEO (STA SOPRA) */
.avatar-box video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    z-index: 1;
}

/* PLACEHOLDER (STA SOTTO) */
.placeholder {
    position: absolute;
    inset: 0;
    background: #000 url('../Loop-gs.gif') center/cover no-repeat;
    z-index: 0;
	opacity: 100;
}

/* LOADER (SOPRA TUTTO) */
.avatar-loader {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    color: white;
    z-index: 2;
}

.avatar-loader.active {
    display: flex;
}

/* CONTROLLI */
.avatar-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.avatar-controls button {
    flex: 1;
    padding: 14px;
    border: none;
    font-weight: bold;
    font-size: 16px;
}

.btn-start {
    background: #28a745;
    color: white;
}

.btn-stop {
    background: #ff5c5c;
    color: white;
}

.mt-4 {
	font-size: 26px;
}

.countdown {
  position: absolute;
  top: 8%; /* 👈 qui lo alzi */
  left: 50%;
  transform: translateX(-50%); /* 👈 solo orizzontale */

  font-size: 14px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;

  display: none;
  z-index: 3;
  text-align: center;
}
.countdown.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}
.col-md-6{
	text-align: right;
}