/* ===== BASE ===== */
* {
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

h1, h2, h3, .h1, .h2, .h3 {
  font-family: "Montserrat", serif;
  font-weight: 900;
  font-style: normal;
}

/* ===== NAVBAR ===== */
.nav-custom { background-color: black; }

.nav-cta-arrow {
  display: inline-block;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transform: perspective(200px) rotateY(25deg) translateZ(4px);
  text-shadow: -3px 0 rgba(0,0,0,0.4);
  animation: arrowSlide 1.4s ease-in-out infinite;
  transition: color 0.25s ease;
}

.nav-cta-arrow.clicked { color: #ffc107; }

@keyframes arrowSlide {
  0%, 100% { transform: perspective(200px) rotateY(25deg) translateZ(4px) translateX(0); }
  50%       { transform: perspective(200px) rotateY(25deg) translateZ(4px) translateX(6px); }
}

/* Navbar sempre su una riga */
.navbar .container {
  flex-wrap: nowrap;
}

.navbar-brand-custom {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .navbar-brand-custom { font-size: 0.75rem; letter-spacing: 0.05em; }
  .nav-cta-arrow { font-size: 0.9rem; }
  .nav-link.px-2 { padding-left: 0.3rem !important; padding-right: 0.3rem !important; }
}

.navbar-brand-custom {
  font-family: "Orbitron", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: transparent !important;
  -webkit-text-stroke: 1.5px #dc3545;
  text-shadow: 0 0 12px rgba(220,53,69,0.7), 0 0 25px rgba(220,53,69,0.3);
  transition: text-shadow 0.3s ease, -webkit-text-stroke 0.3s ease;
}

.navbar-brand-custom:hover {
  -webkit-text-stroke: 1.5px #ff4d5e;
  text-shadow: 0 0 20px rgba(220,53,69,1), 0 0 50px rgba(220,53,69,0.5);
}

/* ===== BACKGROUNDS ===== */
.div-custom {
  background-color: #000;
  position: relative;
  overflow: hidden;
}
.cv-custom {
  background-color: black;
  background-size: cover;
  background-position: center;
}
.chisiamo-custom {
  background-color: rgb(17, 0, 33);
  background-size: cover;
  background-position: center;
}

/* ===== LOGO 3D ===== */
.logo-3d-wrapper {
  perspective: 900px;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.fra-custom {
  height: 50vh;
  transform-style: preserve-3d;
  animation: logoFloat 5s ease-in-out infinite, logoGlow 3s ease-in-out infinite alternate;
  cursor: pointer;
  will-change: transform, filter;
  transition: filter 0.3s ease;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px) rotateY(0deg) rotateX(0deg); }
  25%       { transform: translateY(-18px) rotateY(8deg) rotateX(3deg); }
  50%       { transform: translateY(-25px) rotateY(0deg) rotateX(5deg); }
  75%       { transform: translateY(-12px) rotateY(-8deg) rotateX(2deg); }
}

@keyframes logoGlow {
  from {
    filter: drop-shadow(0 0 10px rgba(220,53,69,0.4))
            drop-shadow(0 0 20px rgba(220,53,69,0.2));
  }
  to {
    filter: drop-shadow(0 0 25px rgba(220,53,69,1))
            drop-shadow(0 0 55px rgba(220,53,69,0.7))
            drop-shadow(0 0 90px rgba(220,53,69,0.4));
  }
}

/* ===== TEXT INFO SECTION ===== */
.info-text-container {
  background: linear-gradient(135deg, rgba(12,0,22,0.95) 0%, rgba(35,0,12,0.9) 100%);
  border: 1px solid rgba(220,53,69,0.3);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 0 50px rgba(220,53,69,0.12), inset 0 0 40px rgba(0,0,0,0.5);
}

.info-intro {
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.8rem;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  .category-grid { grid-template-columns: 1fr; }
}

.category-item {
  background: rgba(255,255,255,0.03);
  border-left: 3px solid rgba(220,53,69,0.5);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(20px);
}

.category-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.category-item:hover {
  background: rgba(220,53,69,0.08);
  border-left-color: rgb(220,53,69);
  transform: translateX(6px);
}

.category-title {
  color: rgb(220,53,69);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.category-desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0;
}

.rock-quote {
  border-top: 1px solid rgba(220,53,69,0.3);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-style: italic;
  color: rgb(220,53,69);
  font-size: 1rem;
  line-height: 1.9;
  text-align: center;
}

/* ===== VIDEO HEADER ===== */
header {
  position: relative;
  background-color: black;
  height: 100vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  filter: brightness(0.75) contrast(1.1) saturate(1.3);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(80,0,10,0.15) 50%,
    rgba(0,0,0,0.65) 100%
  );
  z-index: 1;
}

/* scanlines */
header .overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.04) 2px,
    rgba(0,0,0,0.04) 4px
  );
  pointer-events: none;
}

/* 3D LIVE-MUSIC title */
.live-title {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #fff;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.8),
    0 3px 0 rgba(220,53,69,0.6),
    0 6px 0 rgba(220,53,69,0.4),
    0 9px 0 rgba(220,53,69,0.25),
    0 12px 0 rgba(220,53,69,0.12),
    0 0 30px rgba(220,53,69,0.9),
    0 0 70px rgba(220,53,69,0.5);
  animation: titlePulse 3.5s ease-in-out infinite alternate, titleEntrance 1s ease-out both;
}

@keyframes titlePulse {
  from {
    text-shadow:
      0 1px 0 rgba(255,255,255,0.7),
      0 3px 0 rgba(220,53,69,0.5),
      0 6px 0 rgba(220,53,69,0.3),
      0 0 20px rgba(220,53,69,0.6),
      0 0 50px rgba(220,53,69,0.3);
    letter-spacing: 0.20em;
  }
  to {
    text-shadow:
      0 1px 0 rgba(255,255,255,0.95),
      0 3px 0 rgba(220,53,69,0.8),
      0 6px 0 rgba(220,53,69,0.55),
      0 0 50px rgba(220,53,69,1),
      0 0 90px rgba(220,53,69,0.7),
      0 0 130px rgba(220,53,69,0.35);
    letter-spacing: 0.26em;
  }
}

@keyframes titleEntrance {
  from { opacity: 0; transform: translateZ(-80px) scale(0.85); }
  to   { opacity: 1; transform: translateZ(0) scale(1); }
}

/* Particles */
.particles-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(220,53,69,0.75);
  animation: particleRise linear infinite;
}

@keyframes particleRise {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; transform: translateY(80vh) scale(1); }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-5vh) scale(0.4); opacity: 0; }
}

/* ===== SEZIONE FRENK ===== */
.frenk-title {
  color: #fff;
  font-weight: 900;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.7),
    0 3px 0 rgba(180,180,180,0.5),
    0 6px 0 rgba(120,120,120,0.3),
    0 9px 0 rgba(80,80,80,0.2),
    0 0 20px rgba(255,255,255,0.25);
  animation: frenkTitlePulse 4s ease-in-out infinite alternate;
}

@keyframes frenkTitlePulse {
  from { text-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 4px 0 rgba(150,150,150,0.4), 0 0 15px rgba(255,255,255,0.15); }
  to   { text-shadow: 0 1px 0 rgba(255,255,255,0.9), 0 5px 0 rgba(200,200,200,0.5), 0 0 30px rgba(255,255,255,0.35); }
}

.frenk-arrow-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.2rem 0 1rem;
}

.frenk-arrow-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.frenk-arrow {
  font-size: 3rem;
  color: #dc3545;
  animation: arrowBounce 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(220,53,69,0.7));
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

.frenk-click {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}

.frenk-arrow-link:hover .frenk-arrow {
  filter: drop-shadow(0 0 16px rgba(220,53,69,1));
  color: #ff4d5e;
}

.frenk-link {
  font-size: 1.6rem;
  font-weight: 900;
  color: #dc3545;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.frenk-link:hover {
  color: #ff6b7a;
  text-decoration: none;
}

.mondo-nuovo {
  display: inline-block;
  cursor: pointer;
  font-style: italic;
  transform-style: preserve-3d;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.5),
    0 3px 0 rgba(220,53,69,0.6),
    0 6px 0 rgba(180,30,30,0.4),
    0 9px 0 rgba(120,10,10,0.2),
    0 0 18px rgba(220,53,69,0.5);
  transition: text-shadow 0.3s ease;
}

.mondo-nuovo.fire {
  animation: mondoFire 2s ease-in-out;
}

@keyframes mondoFire {
  0%   {
    color: #dc3545;
    text-shadow: 0 2px 0 rgba(220,53,69,0.9), 0 5px 0 rgba(180,30,30,0.6), 0 0 25px rgba(220,53,69,0.9);
  }
  25%  {
    color: #ff6a00;
    text-shadow: 0 2px 0 rgba(255,106,0,1),   0 6px 0 rgba(200,70,0,0.7),  0 0 40px rgba(255,106,0,1), 0 0 70px rgba(255,106,0,0.5);
  }
  50%  {
    color: #ffffff;
    text-shadow: 0 2px 0 rgba(255,200,150,1),  0 6px 0 rgba(255,255,255,0.8), 0 0 50px rgba(255,255,255,1), 0 0 90px rgba(255,200,100,0.6);
  }
  75%  {
    color: #ff6a00;
    text-shadow: 0 2px 0 rgba(255,106,0,1),   0 6px 0 rgba(200,70,0,0.7),  0 0 40px rgba(255,106,0,1);
  }
  100% {
    color: #dc3545;
    text-shadow: 0 2px 0 rgba(220,53,69,0.9), 0 5px 0 rgba(180,30,30,0.6), 0 0 18px rgba(220,53,69,0.5);
  }
}

/* ===== ARTIST SECTIONS ===== */
.artist {
  padding-bottom: 106px;
  background: #000;
}

.artist_content { padding-top: 40px; }

.artist_image {
  width: calc(60% + 150px);
  padding-right: 1px;
}

.artist_image img {
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(220,53,69,0.25));
  transition: filter 0.5s ease, transform 0.5s ease;
}

.artist_image img:hover {
  filter: drop-shadow(0 30px 60px rgba(220,53,69,0.6)) brightness(1.08);
  transform: scale(1.02) translateY(-6px);
}

.artist .section_title h1 { color: #fff; }
.artist_text p { color: rgba(255, 255, 255, 0.85); }

/* Override per la sezione Rocco che ha sfondo giallo */
.artist .bg-warning .section_title h1 { color: #1a1a1a; }
.artist .bg-warning .artist_text p { color: #333; }

.artist_text { margin-top: 20px; }
.artist_text p {
  font-size: 1.15rem;
  line-height: 2;
  max-width: 100%;
}
.artist_text p:not(:last-child) { margin-bottom: 30px; }
.artist_sig { margin-top: 51px; margin-left: 26px; }

.single_player_container {
  width: calc(100% + 12px);
  background: #bb5e5e;
  left: -10px;
  margin-top: 62px;
}

.single_player { width: 100%; }

.jp-type-single .player_details { margin-top: 0; padding-left: 46px; padding-right: 54px; }
.jp-type-single .player_controls .jp-interface { padding-left: 44px; padding-right: 52px; }
.jp-type-single .jp-play { transform: translateY(7px); }

/* ===== GALLERY ===== */
.gallery-section {
  background-color: #0d0000;
  padding: 4rem 0 3rem;
  position: relative;
}

@media (max-width: 575px) {
  .gallery-section { padding: 3rem 0 2rem; }
}

.gallery-section::before {
  content: '— GALLERY —';
  display: block;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.55em;
  color: rgba(220,53,69,0.55);
  font-weight: 900;
  margin-bottom: 2rem;
}

.photo-card-wrapper {
  perspective: 1400px;
  padding: 4px;
}

.photo-card {
  border: 1px solid rgba(220,53,69,0.18);
  background: transparent;
  overflow: hidden;
  border-radius: 12px;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.4s ease,
              border-color 0.4s ease,
              opacity 0.65s ease;
  box-shadow:
    0 8px 25px rgba(0,0,0,0.7),
    0 2px 6px rgba(220,53,69,0.08);
  opacity: 0;
  transform: translateY(40px);
  position: relative;
  will-change: transform;
}

.photo-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.photo-card:hover {
  box-shadow:
    0 30px 70px rgba(0,0,0,0.8),
    0 0 40px rgba(220,53,69,0.5),
    0 0 80px rgba(220,53,69,0.18);
  border-color: rgba(220,53,69,0.55);
  z-index: 10;
}

/* shine overlay che segue il mouse tramite CSS vars */
.photo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0.18) 0%,
    rgba(220,53,69,0.08) 30%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
}

.photo-card:hover::before { opacity: 1; }

/* overlay scuro in basso */
.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(0,0,0,0.5) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
  pointer-events: none;
}

.photo-card:hover::after { opacity: 1; }

.photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
  filter: brightness(0.88) saturate(1.1);
}

@media (max-width: 575px) {
  .photo-card img { aspect-ratio: 3 / 2; }
}

.photo-card:hover img {
  transform: scale(1.07);
  filter: brightness(1.08) saturate(1.4) contrast(1.06);
}

/* ===== LAYOUT UTILS ===== */
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

video { width: 100%; height: auto; }

.flex-container { height: 100%; display: flex; flex-direction: column; }
.flex-item { padding: 1em; width: 100%; flex-basis: 50%; }

/* ===== SCROLL FADE ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* ===== MISC ===== */
.bg-image {
  background-color: rgb(253,0,0);
  background-size: cover;
  background-position: center;
}
.header-custom {
  background-image: url(/media/logo\ ORBITA\ 2025\ copia.png);
  background-size: cover;
  background-repeat: no-repeat;
  height: 50vh;
  width: 50vh;
}
.fra2-custom { height: 400px; width: 400px; min-width: 100%; min-height: 100%; }
