:root {
  --primary-font: 'Playfair Display', serif;
  --secondary-font: 'Roboto', sans-serif;
  --bg-color: #ffffff;
  --accent-bg: #f2f4f5;
  --text-color: #000000;
  --subtitle-color: #666666;
  --button-bg: #ffffff;
  --button-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --button-radius: 8px;
  --max-width: 100%;
}

/* --- Animations --- */
@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headerSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--secondary-font);
  background-color: #f8f9fa; /* Slightly darker body to make the container pop */
  color: var(--text-color);
  line-height: 1.5;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.app-container {
  width: 100%;
  max-width: var(--max-width);
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header / Banner */
.header {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: #e9ecef;
  clip-path: ellipse(120% 100% at 50% 0%); /* Creates the arch/vault shape */
  animation: headerSlideDown 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  animation: fadeInZoom 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2));
}

/* Profile Section */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -40px; 
  z-index: 5;
  padding: 0 24px;
  background: transparent; /* Let the banner's clip-path show through */
  flex-grow: 1;
}

.profile-img-container {
  width: 110px;
  height: 110px;
  background: white;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
  margin-bottom: 20px;
  margin-top: -55px;
  z-index: 10;
  animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.site-title {
  font-family: var(--primary-font);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
  color: var(--text-color);
  animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

.site-subtitle {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--subtitle-color);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 28px;
  max-width: 90%;
  line-height: 1.4;
  animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 22px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease-out 0.7s backwards;
}

.social-icon {
  width: 22px;
  height: 22px;
  color: var(--text-color);
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
  transform: scale(1.2);
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Content Links Area */
.content-area {
  width: 100%;
  max-width: 800px; /* Capping content width for readability on ultra-wide screens */
  margin: 0 auto;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 0.6s ease-out 0.8s backwards;
}

.section-heading {
  font-family: var(--primary-font);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.links-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-button {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #d4af37, #f0d060, #d4af37);
  padding: 16px 20px;
  text-decoration: none;
  color: #000000;
  border-radius: var(--button-radius);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  border: none;
}

.link-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #c5a032, #e8c850, #c5a032);
  border-color: transparent;
}

.link-button:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  background: linear-gradient(135deg, #b8902d, #d4af37, #b8902d);
}

/* Subtle shine effect on hover */
.link-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.5s;
}

.link-button:hover::after {
  left: 100%;
}

.link-icon {
  width: 28px;
  height: 28px;
  margin-right: 16px;
  flex-shrink: 0;
}

.link-icon img,
.link-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.link-text {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Gold Button Variant - PACCHETTI PROMO (nero sfuma grigio scuro) */
.link-button--gold {
  background: linear-gradient(135deg, #1a1a1a, #4a4a4a, #1a1a1a);
  color: #ffffff;
  border: 2px solid #666666;
  box-shadow: 0 6px 25px rgba(26, 26, 26, 0.6);
  transform: scale(1.04);
  padding: 18px 24px;
  margin: 4px 0;
}

.link-button--gold:hover {
  background: linear-gradient(135deg, #0d0d0d, #3a3a3a, #0d0d0d);
  box-shadow: 0 10px 35px rgba(26, 26, 26, 0.7);
  transform: scale(1.06);
  border-color: #888888;
}

.link-button--gold:active {
  background: linear-gradient(135deg, #000000, #2a2a2a, #000000);
  box-shadow: 0 4px 15px rgba(26, 26, 26, 0.5);
  transform: scale(1.02);
}

.link-button--gold .link-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.link-button--gold .link-icon {
  color: #ffffff;
  width: 32px;
  height: 32px;
}

/* Silver Button Variant - IL MIO PERCORSO (argento) */
.link-button--silver {
  background: linear-gradient(135deg, #a8a8a8, #d0d0d0, #a8a8a8);
  color: #000000;
  border: 2px solid #e0e0e0;
  box-shadow: 0 6px 25px rgba(160, 160, 160, 0.5);
  transform: scale(1.04);
  padding: 18px 24px;
  margin: 4px 0;
}

.link-button--silver:hover {
  background: linear-gradient(135deg, #909090, #c0c0c0, #909090);
  box-shadow: 0 10px 35px rgba(160, 160, 160, 0.6);
  transform: scale(1.06);
  border-color: #f0f0f0;
}

.link-button--silver:active {
  background: linear-gradient(135deg, #787878, #a8a8a8, #787878);
  box-shadow: 0 4px 15px rgba(160, 160, 160, 0.4);
  transform: scale(1.02);
}

.link-button--silver .link-text {
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.link-button--silver .link-icon {
  color: #000000;
  width: 32px;
  height: 32px;
}

/* Sponsor Button Variant */
.link-button--sponsor {
  background: linear-gradient(135deg, #1a3a4a, #2c6e8a, #1a3a4a);
  color: #ffffff;
  border: 2px solid #4a9ebe;
  box-shadow: 0 6px 25px rgba(26, 58, 74, 0.5);
  transform: scale(1.04);
  padding: 18px 24px;
  margin: 4px 0;
}

.link-button--sponsor:hover {
  background: linear-gradient(135deg, #142e3b, #235e77, #142e3b);
  box-shadow: 0 10px 35px rgba(26, 58, 74, 0.6);
  transform: scale(1.06);
  border-color: #6bb8d8;
}

.link-button--sponsor:active {
  background: linear-gradient(135deg, #0e222c, #1a3a4a, #0e222c);
  box-shadow: 0 4px 15px rgba(26, 58, 74, 0.4);
  transform: scale(1.02);
}

.link-button--sponsor .link-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.link-button--sponsor .link-icon {
  color: #ffffff;
  width: 32px;
  height: 32px;
}

/* Footer Button */
.footer-cta {
  margin-top: auto;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.pill-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  text-decoration: none;
  color: #333;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: black;
  border-radius: 50%;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .app-container {
    box-shadow: none;
  }
}
