:root {
  --bg: #050505;
  --panel: #0d0d10;
  --text: #f6f6f7;
  --muted: #b0b0b8;
  --border: #1f1f24;
  --accent: #f7d611;
  --accent-strong: #f7d611;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

a:hover,
a:focus-visible {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgb(0, 0, 0);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  position: relative;
  overflow: visible;
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.brand img {
  height: 44px;
  width: auto;
  max-width: 160px;
  display: block;
  border: none;
  border-radius: 0;
  transform: translateY(2px);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: border-color 140ms ease, transform 140ms ease, color 140ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.menu-icon {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
  box-shadow: 0 -6px currentColor, 0 6px currentColor;
}

.nav-links {
  display: none;
  gap: 12px;
  font-size: 0.95rem;
  flex-direction: column;
  position: absolute;
  right: 16px;
  top: calc(100% + 10px);
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.nav-link {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: var(--border);
  color: var(--accent);
}

.nav-link.is-active {
  border-color: var(--border);
  color: var(--accent);
}

.nav.is-open .nav-links {
  display: flex;
}

.site-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0px 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hero {
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
  max-width: calc(960px + 32px);
}

.link-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

body[data-page="home"] .link-stack .btn {
  color: var(--accent);
  border-color: var(--accent);
}

body[data-page="home"] .link-stack .btn:hover,
body[data-page="home"] .link-stack .btn:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

body[data-page="home"] .link-stack .btn-primary {
  color: #000000;
}

body[data-page="home"] .link-stack .btn-primary:hover,
body[data-page="home"] .link-stack .btn-primary:focus-visible {
  color: #000000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, color 140ms ease, border-color 140ms ease;
  text-align: center;
}

.btn:hover,
.btn:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(98, 245, 198, 0.08);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04100a;
  font-weight: 700;
  border: 1px solid var(--accent);
  box-shadow: 0 12px 30px rgba(209, 193, 45, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #03150d;
  box-shadow: 0 14px 38px rgba(209, 198, 45, 0.34);
}

.btn-spotify {
  color: #1ed760;
  border-color: #1ed760;
}

.btn-spotify:hover,
.btn-spotify:focus-visible {
  color: #1ed760;
  border-color: #1ed760;
}

.btn-apple-music {
  color: #fa233b;
  border-color: #fa233b;
}

.btn-apple-music:hover,
.btn-apple-music:focus-visible {
  color: #fa233b;
  border-color: #fa233b;
}

.btn-traxsource {
  background: #40a1ff;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid #40a1ff;
  box-shadow: 0 12px 30px rgba(64, 161, 255, 0.28);
}

.btn-traxsource:hover,
.btn-traxsource:focus-visible {
  color: #ffffff;
  border-color: #40a1ff;
  box-shadow: 0 14px 38px rgba(64, 161, 255, 0.36);
}

.btn-disabled,
.btn[disabled],
.btn[aria-disabled="true"] {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: not-allowed;
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-disabled:hover,
.btn-disabled:focus-visible,
.btn[disabled]:hover,
.btn[disabled]:focus-visible,
.btn[aria-disabled="true"]:hover,
.btn[aria-disabled="true"]:focus-visible {
  color: var(--muted);
  border-color: var(--border);
  outline: none;
  transform: none;
  box-shadow: none;
}

.site-footer {
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 16px 40px;
}

.footer-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  height: 24px;
}

.footer-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  width: 24px;
  color: var(--text);
  flex: 0 0 auto;
}

.footer-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  pointer-events: none;
}

.footer-icon:hover,
.footer-icon:focus-visible {
  color: var(--accent);
  outline: none;
}

.footer-icon.is-disabled {
  opacity: 0.45;
  cursor: default;
}

.content-block {
  background: linear-gradient(145deg, rgba(13, 13, 16, 0.9), rgba(9, 9, 12, 0.9));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.content-block.form-block {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 30px rgba(98, 245, 198, 0.3);
}

.content-block h1 {
  margin-top: 0;
}

.email-reveal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.email-link {
  word-break: break-word;
}

.poster {
  width: 100%;
  box-shadow: var(--shadow);
}

.party-details {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.party-details h2 {
  margin-bottom: 4px;
}

.party-details h1 {
  margin-bottom: 8px;
}

.party-details p {
  margin-top: 0;
}

.party-details h2 + p,
.party-details h2 + .party-list {
  margin-top: 0;
}

.party-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.party-media img {
  width: 100%;
  height: auto;
}

.party-cta-mobile {
  margin-top: 12px;
}

.party-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-columns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}

.info-block {
  flex: 1 1 160px;
}

.info-block h2 {
  margin-bottom: 6px;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-error {
  margin: 0;
  color: var(--accent);
  font-weight: 600;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-weight: 600;
  letter-spacing: 0.2px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0b0b0d;
  color: var(--text);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(245, 230, 98, 0.08);
}

.checkbox-field {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.hidden {
  display: none;
}

@media (min-width: 640px) {
  .nav {
    padding: 16px 20px;
  }

  .site-main,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .btn {
    width: auto;
  }

  .link-stack .btn {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .party-cta-mobile {
    display: none;
  }

  .party-layout {
    flex-direction: row;
    align-items: stretch;
  }

  .party-layout .party-media,
  .party-layout .party-details {
    flex: 1;
  }

  .party-layout .party-details {
    margin-top: 0;
    padding-left: 24px;
    justify-content: flex-start;
    gap: 16px;
  }

  .party-layout .party-media {
    display: flex;
    align-items: flex-start;
  }

  .party-layout .poster {
    height: auto;
    object-fit: contain;
  }

  .info-columns {
    gap: 32px;
  }
}

@media (min-width: 960px) {
  .site-main {
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
  }
}
