:root {
  --asphalt: #0a0a0a;
  --asphalt-2: #0f0f0f;
  --blood: #b30000;
  --blood-2: #ff2a2a;
  --silver: #b9bcc1;
  --silver-2: #7a7f86;
  --paper: #ffffff;
  --muted: #c9c9c9;
  --shadow: 0 18px 60px rgba(0, 0, 0, .55);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, .35);
  --radius: 18px;
  --radius-sm: 14px;
  --max: 1120px;
  /* Tipografia */
  --font-title: 'Carnivalee Freakshow', Impact, 'Arial Black', fantasy;
  --font-body: Arial, Helvetica, system-ui, sans-serif;
}

* {
  box-sizing: border-box
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(179, 0, 0, .22), transparent 55%),
    radial-gradient(1000px 500px at 85% 15%, rgba(185, 188, 193, .12), transparent 52%),
    linear-gradient(180deg, var(--asphalt), var(--asphalt-2));
  color: var(--paper);
  font-family: var(--font-body);
  letter-spacing: .2px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
textarea {
  font: inherit;
  color: inherit
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(10, 10, 10, .9);
  border: 1px solid rgba(185, 188, 193, .35);
  padding: 10px 12px;
  border-radius: 12px;
  transform: translateY(-140%);
  transition: transform .25s ease;
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0)
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, .62);
  backdrop-filter: saturate(130%) blur(10px);
  border-bottom: 1px solid rgba(185, 188, 193, .22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  height: 89px;
  display: block;
  padding: 6px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(185, 188, 193, .15), rgba(10, 10, 10, .4)),
    radial-gradient(50px 50px at 30% 20%, rgba(255, 42, 42, .22), transparent 60%);
  border: 1px solid rgba(185, 188, 193, .25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .6));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1
}

/* Carnivalee Freakshow para brand title */

.brand-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
  margin-top: 5px;
  letter-spacing: .6px;
  font-family: var(--font-body);
  font-weight: 300;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 18px;
}

.nav-desktop a {
  opacity: .9;
  font-size: 16px;
  letter-spacing: .8px;
  text-transform: uppercase;
  position: relative;
}

.nav-desktop a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--blood), rgba(179, 0, 0, 0));
  transition: width .22s ease;
}

.nav-desktop a:hover {
  opacity: 1
}

.nav-desktop a:hover::after {
  width: 100%
}

.nav-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(185, 188, 193, .25);
  background: rgba(10, 10, 10, .45);
  backdrop-filter: blur(10px);
  gap: 6px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, .85);
  border-radius: 2px;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, .52);
  backdrop-filter: blur(10px);
  z-index: 55;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(360px, 92vw);
  background: linear-gradient(180deg, rgba(15, 15, 15, .98), rgba(10, 10, 10, .98));
  border-left: 1px solid rgba(185, 188, 193, .22);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .6);
  z-index: 60;
  transform: translateX(102%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}

body.is-nav-open .sidebar {
  transform: translateX(0)
}

body.is-nav-open .backdrop {
  display: block
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 12px;
}

.sidebar-title {
  font-family: "Metal Mania", system-ui;
  font-size: 22px;
  letter-spacing: 1px;
}

.sidebar-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(185, 188, 193, .25);
  background: rgba(10, 10, 10, .4);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  gap: 8px;
}

.sidebar-nav a {
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(185, 188, 193, .18);
  background: rgba(255, 255, 255, .03);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-nav a:hover {
  border-color: rgba(179, 0, 0, .6);
  box-shadow: 0 0 0 1px rgba(179, 0, 0, .25), 0 18px 50px rgba(179, 0, 0, .12);
}

.sidebar-footer {
  padding: 18px;
  margin-top: auto
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(185, 188, 193, .25);
  background: rgba(255, 255, 255, .03);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 188, 193, .38);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  border-color: rgba(179, 0, 0, .65);
  background: linear-gradient(180deg, rgba(179, 0, 0, .96), rgba(115, 0, 0, .96));
  box-shadow: 0 18px 60px rgba(179, 0, 0, .18);
}

.btn-primary:hover {
  border-color: rgba(255, 42, 42, .85);
  box-shadow: 0 0 0 1px rgba(179, 0, 0, .3), 0 18px 60px rgba(179, 0, 0, .22);
}

.btn-ghost {
  background: transparent;
}

.btn-full {
  width: 100%
}

.hero {
  position: relative;
  min-height: calc(100dvh - 72px);
  display: grid;
  align-items: center;
  padding: 44px 0 26px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10, 10, 10, .78), rgba(10, 10, 10, .9)),
    radial-gradient(1000px 700px at 20% 20%, rgba(179, 0, 0, .18), transparent 56%),
    url("images/home_7.jpg");
  background-size: cover;
  background-position: center;
  filter: contrast(1.08) saturate(.92);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(185, 188, 193, .22);
  background: rgba(10, 10, 10, .35);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
}

.hero-title {
  margin: 14px 0 0;
  font-family: var(--font-title);
  font-size: clamp(46px, 7vw, 92px);
  letter-spacing: 2px;
  line-height: .95;
  text-shadow: 0 18px 60px rgba(0, 0, 0, .55);
}

.hero-lead {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}

.stat {
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(185, 188, 193, .22);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

.stat-number {
  font-family: var(--font-title);
  font-size: 22px;
  letter-spacing: .8px;
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background:
    radial-gradient(800px 500px at 20% 0%, rgba(179, 0, 0, .12), transparent 60%),
    linear-gradient(180deg, rgba(15, 15, 15, .85), rgba(10, 10, 10, .8));
  border-top: 1px solid rgba(185, 188, 193, .15);
  border-bottom: 1px solid rgba(185, 188, 193, .12);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.section-title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(30px, 3.5vw, 44px);
  letter-spacing: 2px;
}

.section-subtitle {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, .72);
  line-height: 1.55;
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 18px;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(185, 188, 193, .18);
  background:
    radial-gradient(600px 220px at 15% 0%, rgba(179, 0, 0, .14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, .05), rgba(10, 10, 10, .72));
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: contrast(1.05) saturate(.92);
}

.card-body {
  padding: 18px 18px 20px
}

.card-title {
  margin: 0;
  font-family: "Metal Mania", system-ui;
  letter-spacing: .8px;
  font-size: 26px;
}

.card-meta {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .7);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}

.card-text {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
  font-size: 16px;
}

.card-link {
  margin-top: 14px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(179, 0, 0, .75);
  padding-bottom: 3px;
}

.event-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 42, 42, .45);
  box-shadow: 0 0 0 1px rgba(179, 0, 0, .28), 0 28px 70px rgba(179, 0, 0, .14);
}

.timeline {
  position: relative;
  padding: 4px 0;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(185, 188, 193, .05), rgba(185, 188, 193, .26), rgba(185, 188, 193, .05));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 30px 1fr;
  align-items: start;
  gap: 18px;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3
}

.timeline-dot {
  grid-column: 2;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--blood);
  margin-top: 18px;
  box-shadow: 0 0 0 4px rgba(179, 0, 0, .2), 0 16px 50px rgba(179, 0, 0, .2);
  justify-self: center;
}

.timeline-content {
  padding: 18px 18px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(185, 188, 193, .18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  box-shadow: var(--shadow-soft);
}

.timeline-title {
  margin: 0;
  font-family: "Metal Mania", system-ui;
  letter-spacing: .8px;
  font-size: 24px;
}

.timeline-meta {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .7);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}

.timeline-text {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
  font-size: 16px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.gallery-item {
  display: block;
  position: relative;
  height: 0;
  padding-bottom: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(185, 188, 193, .18);
  background: rgba(255, 255, 255, .02);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(.95);
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 42, 42, .35);
  box-shadow: 0 0 0 1px rgba(179, 0, 0, .2), 0 26px 70px rgba(0, 0, 0, .55);
}

.sponsors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sponsor {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(185, 188, 193, .18);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
}

.sponsor img {
  max-height: 44px;
  width: auto;
  filter: grayscale(1) brightness(.95) contrast(1.05);
  opacity: .9;
  transition: filter .22s ease, opacity .22s ease, transform .22s ease;
}

.sponsor:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 42, 42, .35);
  box-shadow: 0 0 0 1px rgba(179, 0, 0, .2), 0 26px 70px rgba(0, 0, 0, .55);
}

.sponsor:hover img {
  filter: grayscale(0) brightness(1) contrast(1.02);
  opacity: 1;
  transform: scale(1.02);
}

.members {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(185, 188, 193, .18);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.member-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(255, 255, 255, .03);
}

.member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, .05), rgba(10, 10, 10, .72));
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05) saturate(.7);
  transition: filter .25s ease, transform .25s ease;
}

.member:hover .member-photo img {
  filter: grayscale(0) contrast(1.06) saturate(1.15);
}

.member-info {
  padding: 16px 16px 18px
}

.member-name {
  margin: 0;
  font-family: "Metal Mania", system-ui;
  font-size: 22px;
  letter-spacing: .8px;
}

.member-role {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .72);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}

.member:hover {
  transform: translateY(-6px);
  border-color: rgba(179, 0, 0, .42);
  box-shadow: 0 0 0 1px rgba(179, 0, 0, .22), 0 28px 70px rgba(179, 0, 0, .12);
}

.footer {
  padding: 70px 0 24px;
  background:
    radial-gradient(900px 500px at 75% 0%, rgba(179, 0, 0, .12), transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, .95), rgba(10, 10, 10, 1));
  border-top: 1px solid rgba(185, 188, 193, .18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: start;
}

.footer-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(185, 188, 193, .18);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.footer-title {
  margin: 0;
  font-family: "Metal Mania", system-ui;
  font-size: 28px;
  letter-spacing: 1px;
}

.footer-text {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .75);
  line-height: 1.55;
}

.map-frame {
  margin-top: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(185, 188, 193, .2);
  background: rgba(0, 0, 0, .2);
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(.75) invert(.92) contrast(1.2) brightness(.75) saturate(.35);
}

.contact {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: rgba(255, 255, 255, .74);
}

.field-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(185, 188, 193, .22);
  background: rgba(10, 10, 10, .45);
  padding: 12px 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field-input:focus {
  border-color: rgba(255, 42, 42, .7);
  box-shadow: 0 0 0 3px rgba(179, 0, 0, .18);
}

textarea.field-input {
  resize: vertical;
  min-height: 120px
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(185, 188, 193, .22);
  background: rgba(255, 255, 255, .03);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.pill:hover {
  border-color: rgba(179, 0, 0, .55);
  box-shadow: 0 0 0 1px rgba(179, 0, 0, .2);
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(185, 188, 193, .14);
  color: rgba(255, 255, 255, .72);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.footer-top {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(185, 188, 193, .2);
  background: rgba(255, 255, 255, .02);
}

.footer-top:hover {
  border-color: rgba(179, 0, 0, .55);
  box-shadow: 0 0 0 1px rgba(179, 0, 0, .2);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none
  }

  .card,
  .member,
  .gallery-item,
  .btn {
    transition: none
  }
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .members {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .sponsors {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .timeline::before {
    left: 12px;
    transform: none
  }

  .timeline-item {
    grid-template-columns: 30px 1fr
  }

  .timeline-dot {
    grid-column: 1;
    justify-self: start;
    margin-left: 6px
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2
  }
}

@media (max-width: 1080px) {}

@media (max-width: 760px) {

  .hero {
    min-height: calc(100dvh - 70px)
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 520px
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .gallery,
  .albums-grid,
  .album-modal-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  .cards,
  .members {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 28px, var(--max))
  }

  .brand-subtitle {
    display: none
  }

  .gallery,
  .albums-grid,
  .album-modal-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .cards,
  .members,
  .sponsors,
  .videos-grid,
  .downloads-grid {
    grid-template-columns: 1fr
  }

  .member-photo {
    aspect-ratio: 3 / 4;
  }

  .card-media {
    height: 210px
  }

  .album-search-bar {
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── Albums grid ──────────────────────────────────────────────────────────── */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.album-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(185, 188, 193, .13);
  background: rgba(255, 255, 255, .03);
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
  border-color: rgba(179, 0, 0, .45);
}

.album-card-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, .04);
}

.album-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, transparent 55%);
  pointer-events: none;
}

.album-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
}

.album-card-name {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.2;
}

.album-card-count {
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  font-family: 'Inter', sans-serif;
}

.album-card-no-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(179, 0, 0, .08);
  font-size: 48px;
}

/* ── Album Modal ──────────────────────────────────────────────────────────── */
.album-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .96);
  z-index: 150;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.album-modal[hidden] {
  display: none
}

.album-modal-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.album-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(185, 188, 193, .15);
  flex-shrink: 0;
  background: rgba(10, 10, 10, .6);
  backdrop-filter: blur(8px);
}

.album-modal-title {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}

.album-modal-close {
  background: rgba(179, 0, 0, .18);
  border: 1px solid rgba(179, 0, 0, .4);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 16px;
  transition: background .18s, border-color .18s;
}

.album-modal-close:hover {
  background: rgba(179, 0, 0, .4)
}

.album-modal-grid {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  align-content: start;
}

.album-photo-thumb {
  position: relative;
  height: 0;
  padding-bottom: 100%;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(185, 188, 193, .12);
  transition: transform .18s, box-shadow .18s;
}

.album-photo-thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6)
}

.album-photo-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.album-modal-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, .45);
  font-size: 15px;
  grid-column: 1/-1;
}

/* ── Footer social links ──────────────────────────────────────────────────── */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 20px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  transition: color .18s;
  font-family: 'Inter', sans-serif;
}

.social-link:hover {
  color: var(--blood-2)
}

.social-link svg {
  flex-shrink: 0;
  opacity: .8
}

/* ── Videos grid ──────────────────────────────────────────────────────────── */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.video-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(185, 188, 193, .15);
  background: rgba(255, 255, 255, .03);
  display: flex;
  flex-direction: column;
}

.video-item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

.video-item-title {
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .3px;
  border-top: 1px solid rgba(185, 188, 193, .1);
}

/* ── Skeleton loader ──────────────────────────────────────────────────────── */
.skeleton-card {
  border-radius: var(--radius);
  border: 1px solid rgba(185, 188, 193, .12);
  background: linear-gradient(90deg,
      rgba(255, 255, 255, .03) 25%,
      rgba(255, 255, 255, .07) 50%,
      rgba(255, 255, 255, .03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  min-height: 320px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0
  }

  100% {
    background-position: -200% 0
  }
}

.skeleton-line {
  border-radius: 6px;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, .04) 25%,
      rgba(255, 255, 255, .09) 50%,
      rgba(255, 255, 255, .04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  display: block;
}

/* ── Lightbox ─────────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(18px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.lightbox[hidden] {
  display: none
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(185, 188, 193, .22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .7);
  animation: lbIn .3s ease;
}

@keyframes lbIn {
  from {
    opacity: 0;
    transform: scale(.94)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

.lightbox-caption {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin: 0;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 1px solid rgba(185, 188, 193, .22);
  background: rgba(10, 10, 10, .55);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: rgba(255, 42, 42, .55);
  box-shadow: 0 0 0 1px rgba(179, 0, 0, .3);
}

.lightbox-close {
  top: 16px;
  right: 16px;
  padding: 10px 14px;
  font-size: 16px;
  z-index: 210;
}

.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 16px;
  z-index: 210;
}

.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 16px;
  z-index: 210;
}

@media (max-width: 768px) {
  .lightbox {
    padding: 0;
    gap: 20px;
    justify-content: center;
  }

  .lightbox-img {
    max-width: 100vw;
    max-height: 65vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 24px;
    transform: none;
    background: rgba(10, 10, 10, 0.82);
    border-color: rgba(255, 255, 255, 0.15);
    padding: 14px 22px;
    font-size: 32px;
    backdrop-filter: blur(4px);
  }

  .lightbox-prev {
    left: 24px;
  }

  .lightbox-next {
    right: 24px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    padding: 12px 18px;
    font-size: 20px;
    background: rgba(10, 10, 10, 0.82);
  }

  .lightbox-caption {
    font-size: 13px;
    margin-bottom: 80px;
    /* space for buttons */
    padding: 0 24px;
    text-align: center;
    max-width: 100%;
  }
}

/* ── Toast notification ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: linear-gradient(180deg, rgba(20, 20, 20, .97), rgba(10, 10, 10, .97));
  border: 1px solid rgba(185, 188, 193, .22);
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px;
  letter-spacing: .5px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
  z-index: 300;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), opacity .35s ease;
  opacity: 0;
  white-space: nowrap;
  max-width: min(90vw, 480px);
  text-align: center;
}

.toast[hidden] {
  display: none
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.toast-ok {
  border-color: rgba(29, 208, 122, .45);
  color: rgba(170, 255, 215, .95)
}

.toast.toast-err {
  border-color: rgba(255, 77, 77, .5);
  color: rgba(255, 200, 200, .95)
}

/* ── Status badge on event cards ─────────────────────────────────────────── */
.event-status {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(185, 188, 193, .2);
  font-size: 11px;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.event-status.confirmado {
  border-color: rgba(29, 208, 122, .45);
  color: rgba(170, 255, 215, .95)
}

.event-status.cancelado {
  border-color: rgba(255, 77, 77, .5);
  color: rgba(255, 200, 200, .95)
}

.event-status.planejado {
  border-color: rgba(240, 180, 41, .45);
  color: rgba(255, 236, 184, .95)
}

/* ── Album search bar ─────────────────────────────────────────────────────── */
.album-search-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  max-width: 540px;
}

.album-search-bar input[type="search"] {
  flex: 1;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(185, 188, 193, .2);
  border-radius: 999px;
  padding: 12px 20px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}

.album-search-bar input[type="search"]:focus {
  border-color: rgba(185, 28, 28, .6);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, .12);
}

.album-search-bar input[type="search"]::placeholder {
  color: rgba(255, 255, 255, .35);
}

/* ── Downloads grid ───────────────────────────────────────────────────────── */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(185, 188, 193, .12);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}

.download-card:hover {
  border-color: rgba(185, 28, 28, .45);
  background: rgba(185, 28, 28, .07);
  transform: translateY(-2px);
}

.download-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.download-info {
  flex: 1;
  min-width: 0;
}

.download-info strong {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .9);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-info small {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.download-arrow {
  font-size: 18px;
  color: rgba(185, 28, 28, .7);
  flex-shrink: 0;
  transition: transform .2s;
}

.download-card:hover .download-arrow {
  transform: translate(2px, -2px);
}



/* ── Floating Back to Top ─────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 10, 10, .92);
  border: 1px solid rgba(185, 188, 192, .4);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1000;
  transition: opacity .3s, transform .3s, border-color .3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 42, 42, .6);
  color: var(--blood-2);
}