:root {
  --bg: #05060d;
  --bg-2: #0b1020;
  --text: #e8edf2;
  --muted: #9aa4b7;
  --accent: #7af0c4;
  --accent-2: #ff5f9f;
  --card: rgba(10, 14, 26, 0.78);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --font: "Bahnschrift", "Montserrat Alternates", "Oswald", "Avenir Next", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(circle at 20% 20%, rgba(122, 240, 196, 0.06), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 95, 159, 0.08), transparent 32%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.section {
  padding: 6rem 7vw;
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 0.5rem 0;
}

h1,
h2,
h3 {
  margin: 0.2rem 0 0.4rem 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 3vw, 3.4rem);
}

h2 {
  font-size: clamp(2rem, 2.5vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

.meta {
  color: var(--muted);
  margin: 0.1rem 0 0.2rem;
  font-size: 0.95rem;
}

.lede {
  color: var(--muted);
  margin: 0.3rem 0 0;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.trio {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(122, 240, 196, 0.08), rgba(255, 95, 159, 0.06));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.card.lift {
  transform: translateY(0);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card.lift:hover {
  transform: translateY(-6px);
  border-color: rgba(122, 240, 196, 0.35);
}

.metrics {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  color: var(--text);
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), #63ffd2);
  color: #020409;
  box-shadow: 0 10px 30px rgba(122, 240, 196, 0.35);
}

.btn.outline {
  border-color: rgba(255, 255, 255, 0.2);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(122, 240, 196, 0.28);
}

.pill {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}

.pill.soft {
  background: rgba(122, 240, 196, 0.12);
  color: #d9fff3;
  border-color: rgba(122, 240, 196, 0.4);
}

.floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.9rem 7vw;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  z-index: 20;
  background: rgba(5, 6, 13, 0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-nav.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-nav nav {
  display: flex;
  gap: 1rem;
  font-weight: 600;
}

.floating-nav nav a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: background 0.25s ease;
}

.floating-nav nav a:hover {
  background: rgba(255, 255, 255, 0.07);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 110px;
  filter: brightness(1.2);
}

.nav-actions {
  display: flex;
  gap: 0.6rem;
}

.hero {
  min-height: 100vh;
  display: block;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) brightness(0.85);
}

#hero-canvas,
.grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grain {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(122, 240, 196, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(5, 6, 13, 0) 30%, rgba(5, 6, 13, 0.8) 90%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  display: grid;
  gap: 1rem;
}

.hero-logo {
  width: min(380px, 60vw);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

.badge {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.badge .label {
  color: var(--muted);
  font-size: 0.85rem;
}

.badge .value {
  font-size: 1.4rem;
  font-weight: 800;
}

.music .card,
.shows .card {
  min-height: 220px;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.8rem;
  margin-right: 0.4rem;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow);
}

.gallery-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.tall {
  grid-row: span 2;
}

.bg-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bg-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,13,0.82), rgba(5,6,13,0.72));
  z-index: 0;
}

.bg-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 20% 30%, rgba(122,240,196,0.22), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,95,159,0.18), transparent 38%);
  z-index: 0;
}

.bg-frame > * {
  position: relative;
  z-index: 1;
}

.frame-hero {
  background: url("Media/Web_Media/Musicos/Full_Band/LORFHEO_01.jpeg") center/cover fixed no-repeat;
}

.frame-one {
  background: url("Media/Web_Media/Musicos/Full_Band/LORFHEO_02.jpeg") center/cover fixed no-repeat;
}

.frame-two {
  background: url("Media/Web_Media/Musicos/DIEGO ESCUTIA.jpg") center/cover fixed no-repeat;
}

.frame-three {
  background: url("Media/Web_Media/Musicos/JUAN CORRAL.jpg") center/cover fixed no-repeat;
}

.hero-band {
  min-height: 90vh;
  display: grid;
  align-items: center;
  padding: 6rem 7vw;
}

.dashboard {
  background: linear-gradient(180deg, rgba(122, 240, 196, 0.06), rgba(5, 6, 13, 0.4)), var(--bg-2);
}

.dashboard-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

form {
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1rem;
}

.helper {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.login-status,
.form-status {
  margin-top: 0.6rem;
  font-weight: 700;
}

.login-card,
.stats-card,
.form-card {
  min-height: 320px;
}

.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.investor {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.investor .bar {
  height: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 0.4rem;
  overflow: hidden;
}

.investor .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: 0;
  transition: width 0.5s ease;
}

.totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.totals .label {
  color: var(--muted);
  margin: 0;
}

.totals .value {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.1rem 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

.transactions {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.tx {
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.tx strong {
  display: block;
  margin-bottom: 0.2rem;
}

.tx .status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.status.pending { color: #ffd166; border-color: rgba(255, 209, 102, 0.4); }
.status.validating { color: #7af0c4; border-color: rgba(122, 240, 196, 0.5); }
.status.ready { color: #9d7aff; border-color: rgba(157, 122, 255, 0.5); }

.shows .card h3 {
  margin-bottom: 0.4rem;
}

.shows .meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.socials {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.social svg {
  width: 18px;
  height: 18px;
}

.footer {
  padding: 2.5rem 7vw;
  border-top: 1px solid var(--border);
  background: #03040a;
  color: var(--muted);
}

.brandline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  color: var(--text);
  font-weight: 700;
}

.brandline img {
  width: 120px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem;
  width: min(480px, 92vw);
  box-shadow: var(--shadow);
  z-index: 1;
}

.modal .close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .floating-nav nav {
    display: none;
  }

  .bg-frame,
  .frame-hero,
  .frame-one,
  .frame-two,
  .frame-three {
    background-attachment: scroll;
  }

  .hero {
    padding: 2.5rem 6vw 6rem;
  }

  .hero-logo {
    width: min(260px, 80vw);
  }

  .scroll-cue {
    left: 6vw;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 4rem 6vw;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .floating-nav {
    padding: 0.8rem 6vw;
  }
}
