@font-face {
  font-family: "Special Gothic Expanded One";
  src: url("assets/fonts/special-gothic-expanded-one.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nata Sans";
  src: url("assets/fonts/nata-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nata Sans";
  src: url("assets/fonts/nata-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Nata Sans";
  src: url("assets/fonts/nata-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #090707;
  --ink: #121010;
  --paper: #d8d4ce;
  --muted: #8e8984;
  --red: #f20d24;
  --dark-red: #85000d;
  --silver: #d8d8d6;
  --steel: #a6a7a8;
  --line: rgba(255, 255, 255, 0.15);
  --display: "Special Gothic Expanded One", sans-serif;
  --body: "Nata Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--body);
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-kicker {
  margin: 0 0 24px;
  color: var(--steel);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
}

.hero {
  position: relative;
  padding-top: clamp(620px, 82svh, 850px);
  isolation: isolate;
  background: var(--black);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(620px, 82svh, 850px);
  z-index: -1;
  background:
    linear-gradient(0deg, #090707 0%, transparent 6%),
    url("banner.png") center top / cover no-repeat;
}
.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand-logo { width: 150px; height: 72px; display: block; overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-content { position: relative; display: flex; flex-direction: column; align-items: center; padding-block: 70px 110px; text-align: center; }
.hero-content::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--black);
}
.eyebrow {
  margin: 0 0 17px;
  color: var(--steel);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
}
.hero h1, .modal-heading h2, .modal-success-view h2 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: 1.12;
}
.hero h1 { max-width: 1180px; margin: 0; font-size: clamp(42px, 5.2vw, 72px); white-space: nowrap; }
.hero h1 span {
  color: var(--silver);
  background: linear-gradient(180deg, #f0f0ee, #878889);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy { max-width: 700px; margin: 30px auto 34px; color: #c9c3bd; font-size: 18px; line-height: 1.6; }
.primary-button {
  width: fit-content;
  min-width: 250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--red);
  color: #fff;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease;
  clip-path: polygon(0 0, 95% 0, 100% 25%, 100% 100%, 5% 100%, 0 75%);
}
.primary-button:hover { transform: translateY(-4px); background: #ff2538; }
.reveal { opacity: 0; transform: translateY(22px); animation: reveal .7s cubic-bezier(.2,.7,.2,1) forwards; }
.delay-1 { animation-delay: .12s; } .delay-2 { animation-delay: .23s; } .delay-3 { animation-delay: .34s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

.vote-section {
  position: relative;
  padding-block: 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 22%, rgba(242,13,36,.22), transparent 29%),
    linear-gradient(135deg, #140b0c, #080707 60%);
  border-block: 1px solid rgba(242,13,36,.4);
}
.vote-section::after {
  content: "VOTÁ";
  position: absolute;
  right: -2vw;
  bottom: -4vw;
  z-index: 0;
  color: rgba(255,255,255,.018);
  font-family: var(--display);
  font-size: 28vw;
  font-weight: 900;
  line-height: .7;
}
.vote-layout { position: relative; z-index: 1; }
.song-panel { border-top: 2px solid #929292; background: rgba(8,7,7,.72); backdrop-filter: blur(6px); }
.song-panel-head { min-height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.song-panel-head p { margin: 0; color: var(--muted); font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.counter { display: flex; align-items: baseline; gap: 4px; font-family: var(--body); white-space: nowrap; }
.counter strong { color: var(--silver); font-size: 36px; line-height: 1; }
.counter span { color: var(--muted); font-size: 11px; }
.song-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}
.song-row {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 14px 16px;
  border: 0;
  background: #0d0c0c;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, padding-left .2s ease;
}
.song-row:hover { background: #171616; }
.song-row .song-name { font-family: var(--body); font-size: 15px; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: .025em; }
.song-row.selected { background: linear-gradient(135deg, #515151, #202020); box-shadow: inset 0 0 0 2px #d5d5d3; }
.song-row.selected .song-name { color: #fff; }
.song-row.locked:not(.selected) { opacity: .38; }
.selection-help { margin: 0; padding: 16px 22px; color: var(--muted); font-size: 12px; }
.selection-help.ready { color: #111; background: var(--silver); }
.confirm-votes-button {
  width: calc(100% - 44px);
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.25);
  background: var(--red);
  color: #fff;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.confirm-votes-button:hover:not(:disabled) { transform: translateY(-2px); }
.confirm-votes-button:disabled { opacity: .28; cursor: not-allowed; }

.vote-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.vote-modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.84); backdrop-filter: blur(10px); cursor: pointer; }
.modal-card {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: 54px;
  background: var(--paper);
  color: var(--black);
  box-shadow: 0 35px 100px rgba(0,0,0,.65);
}
.modal-close { position: absolute; top: 16px; right: 18px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid #8b8782; background: transparent; color: #111; font-size: 25px; line-height: 1; cursor: pointer; }
.modal-form-view { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; }
.modal-form-view[hidden] { display: none; }
.modal-heading h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); }
.modal-heading > p:not(.section-kicker) { max-width: 340px; color: #5c5752; line-height: 1.55; }
.picked-summary { margin-top: 48px; padding: 20px 0; border-block: 2px solid var(--black); }
.picked-summary > span { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.picked-summary ol { margin: 14px 0 0; padding-left: 25px; font-family: var(--body); font-size: 16px; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.picked-summary li + li { margin-top: 7px; }
#vote-form { display: flex; flex-direction: column; gap: 24px; padding-top: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
label:not(.check-label) { display: flex; flex-direction: column; gap: 8px; }
label > span { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
input[type="text"], input[type="email"], input[type="date"], input[type="tel"] {
  width: 100%;
  height: 50px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1.5px solid #8d8780;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--black);
  font-size: 17px;
  transition: border-color .2s ease;
}
input:focus { border-color: var(--red); }
input.invalid { border-color: var(--red); }
.check-label { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.check-label input { margin: 2px 0 0; accent-color: var(--red); }
.check-label span { color: #5b5651; font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.45; text-transform: none; }
.form-error { min-height: 18px; margin: -10px 0; color: #4c4946; font-size: 12px; font-weight: 700; }
.submit-button {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .14em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.submit-button:hover:not(:disabled) { background: #c90016; transform: translateY(-2px); }
.submit-button:disabled { cursor: not-allowed; opacity: .32; }
.privacy-note { margin: -10px 0 0; color: #77716b; font-size: 11px; line-height: 1.4; }

.modal-success-view { padding: 20px 34px 10px; text-align: center; }
.modal-success-view[hidden] { display: none; }
.success-mark { width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 30px; border: 1px solid var(--silver); color: var(--silver); font-size: 28px; transform: rotate(45deg); }
.success-mark::first-line { transform: rotate(-45deg); }
.modal-success-view .success-mark { border-color: #555; color: #222; }
.modal-success-view h2 { margin: 0; font-size: clamp(42px, 5.5vw, 76px); }
.modal-success-view h2 span { color: #737373; }
.results-lead { max-width: 620px; margin: 25px auto 35px; color: #5f5b57; line-height: 1.6; }
.ranking { text-align: left; }
.rank-row { display: grid; grid-template-columns: 45px 1fr 55px; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid rgba(0,0,0,.16); }
.rank-position { color: #67635f; font-family: var(--body); font-size: 16px; font-weight: 700; }
.rank-name { margin-bottom: 9px; font-family: var(--body); font-size: 18px; font-weight: 700; text-transform: uppercase; }
.rank-track { height: 3px; background: rgba(0,0,0,.12); }
.rank-fill { width: 0; height: 100%; background: var(--red); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.rank-percent { text-align: right; font-family: var(--body); font-size: 13px; font-weight: 700; }
.share-button { margin-top: 30px; padding: 16px 22px; border: 0; background: #171515; color: #fff; font-family: var(--body); font-weight: 700; letter-spacing: .12em; cursor: pointer; }

footer { padding-block: 50px 28px; background: #050404; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-brands { min-height: 190px; display: flex; align-items: center; justify-content: center; gap: 42px; }
.cro-footer-logo { width: 190px; height: 100px; object-fit: contain; filter: grayscale(1) brightness(1.15); }
.nocita-footer-logo { width: 150px; height: 82px; object-fit: contain; }
.brand-divider { color: #58524d; font-family: var(--display); font-size: 22px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--line); color: #6c6661; font-family: var(--body); font-size: 9px; letter-spacing: .13em; }

.selection-dock { display: none; }

@media (max-width: 900px) {
  .modal-form-view { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .hero { min-height: 0; padding-top: 66svh; }
  .hero::before {
    height: 66svh;
    background:
      linear-gradient(0deg, #090707 0%, transparent 8%),
      linear-gradient(90deg, rgba(4,3,3,.32), transparent 65%),
      url("banner.png") 52% top / cover no-repeat;
  }
  .nav { height: 70px; }
  .brand-logo { width: 116px; height: 60px; }
  .hero-content { margin: 0 auto; padding-block: 45px 72px; }
  .hero h1 { max-width: 360px; font-size: clamp(34px, 9.7vw, 43px); line-height: 1.24; letter-spacing: -.015em; white-space: normal; }
  .hero-copy { max-width: 340px; margin-block: 24px; font-size: 15px; }
  .vote-section { padding-block: 72px; }
  .song-panel { margin-inline: -14px; }
  .song-panel-head { position: sticky; top: 0; z-index: 4; min-height: 70px; padding: 12px 14px; background: #090808; }
  .song-panel-head p { max-width: 230px; font-size: 12px; line-height: 1.35; letter-spacing: .08em; }
  .counter strong { font-size: 30px; }
  .counter span { font-size: 9px; }
  .song-row { grid-template-columns: 1fr; min-height: 72px; padding: 12px; }
  .song-row .song-name { font-size: 12px; line-height: 1.3; }
  .selection-help { padding-inline: 14px; }
  .confirm-votes-button { width: calc(100% - 28px); margin: 14px; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .vote-modal { align-items: center; padding: 16px; }
  .modal-card { width: 100%; max-height: 86svh; padding: 38px 20px 22px; border-radius: 18px; }
  .modal-close { top: 12px; right: 12px; width: 34px; height: 34px; font-size: 22px; }
  .modal-form-view { gap: 16px; }
  .modal-heading .section-kicker { margin-bottom: 10px; font-size: 10px; }
  .modal-heading h2 { max-width: calc(100% - 30px); font-size: 30px; line-height: 1.16; }
  .modal-heading > p:not(.section-kicker) { margin: 12px 0 0; font-size: 13px; line-height: 1.45; }
  .picked-summary { margin-top: 15px; padding: 12px 0; }
  .picked-summary > span { font-size: 9px; }
  .picked-summary ol { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding: 0; list-style: none; }
  .picked-summary li { padding: 5px 7px; border: 1px solid #aaa6a1; font-size: 9px; line-height: 1.15; }
  .picked-summary li + li { margin-top: 0; }
  #vote-form { padding-top: 0; gap: 13px; }
  label:not(.check-label) { gap: 4px; }
  label > span { font-size: 9px; }
  input[type="text"], input[type="email"], input[type="date"], input[type="tel"] { height: 40px; font-size: 14px; }
  .check-label { gap: 8px; }
  .check-label span { font-size: 10px; line-height: 1.3; }
  .form-error { min-height: 12px; margin: -5px 0; font-size: 10px; }
  .submit-button { min-height: 50px; padding: 13px 16px; font-size: 12px; }
  .privacy-note { margin-top: -6px; font-size: 9px; }
  .modal-success-view { padding: 8px 0 0; }
  .modal-success-view h2 { font-size: 37px; line-height: 1.2; }
  .rank-row { grid-template-columns: 32px 1fr 42px; gap: 8px; }
  .rank-name { font-size: 13px; }
  .selection-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 90;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 10px 18px;
    background: #eeeae3;
    color: var(--black);
    border: 1px solid #fff;
    box-shadow: 0 8px 35px rgba(0,0,0,.45);
    transform: translateY(90px);
    transition: transform .25s ease;
  }
  .selection-dock.visible { transform: translateY(0); }
  .selection-dock > span { font-family: var(--body); font-size: 12px; font-weight: 700; }
  .selection-dock strong { color: #4d4d4d; }
  .selection-dock button { height: 42px; padding-inline: 17px; border: 0; background: var(--red); color: #fff; font-family: var(--body); font-size: 11px; font-weight: 700; }
  .selection-dock button:disabled { opacity: .35; }
  .footer-brands { gap: 18px; overflow: hidden; }
  .cro-footer-logo { width: 145px; height: 80px; }
  .nocita-footer-logo { width: 120px; height: 70px; }
  .footer-bottom { gap: 20px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
