/* ============================
   RESET & BASE
   ============================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #eee;
  font-family: 'Segoe UI', Arial, sans-serif;
  scroll-behavior: smooth;
}

/* ============================
   CONTAINER PRINCIPALE
   ============================ */
.corrieri-wrapper {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
  animation: fadeInSoft 0.6s ease forwards;
}

/* ============================
   TITOLO & INTRO
   ============================ */
.corrieri-wrapper h1 {
  text-align: center;
  color: #d4af37;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.intro {
  text-align: center;
  color: #ccc;
  margin-bottom: 25px;
}

/* ============================
   CARD CORRIERI
   ============================ */
.corriere-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  margin: 20px 0;
  border-radius: 12px;
  border-left: 6px solid #d4af37;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.corriere-card:hover {
  transform: translateY(-3px) scale(1.01);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
}

.corriere-card h2 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 10px;
}

.corriere-card p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 8px;
}

.corriere-card a {
  color: #d4af37;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease;
}

.corriere-card a:hover {
  color: #f5d76e;
  text-decoration: underline;
}

/* ============================
   FOOTER & BOTTONE RITORNO
   ============================ */
.corrieri-footer {
  text-align: center;
  margin: 60px 0 40px;
}

.btn-return {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: #111217;
  color: #d4af37;
  border: 1px solid #d4af37;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(53, 255, 138, 0.25);
  transition: all 0.25s ease;
}

.btn-return:hover {
  background: #d4af37;
  color: #050608;
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.55);
  transform: translateY(-2px);
}

/* ============================
   BOTTONE TORNA SU (FISSO)
   ============================ */
.btn-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: #111217;
  color: #d4af37;
  border: 1px solid #d4af37;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
  transition: all 0.25s ease;
  z-index: 999;
}

.btn-top:hover {
  background: #d4af37;
  color: #050608;
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.55);
  transform: translateY(-3px);
}

/* ============================
   ANIMAZIONI
   ============================ */
@keyframes fadeInSoft {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (max-width: 700px) {
  .corrieri-wrapper {
    margin: 30px auto;
    padding: 15px;
  }
  
  .corriere-card {
    padding: 15px;
  }
  
  .btn-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}