@import url("https://fonts.googleapis.com/css2?family=Pirata+One&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap");

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #010010;
  font-family: "Playfair Display", serif;
}

body {
  position: relative;
  overflow-x: hidden;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

p {
  color: #ffffff;
}

a {
  text-decoration: none;
}

#canvas {
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.nexus-page {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
}

.header {
  position: relative;
  z-index: 5;
  padding-top: 20px;
}

.header-inner {
  position: relative;
  z-index: 5;
  isolation: isolate;
}

.logo-layer {
  position: relative;
  z-index: -1;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  
  line-height: 0;
}

.logo {
  margin-left: auto;
  margin-right: auto;
  display: block;
  height: 120px;
  width: auto;
  position: relative;
  z-index: 1;
 
}

.navbar {
  background-color: transparent;
  z-index: 5;
  position: relative;
  margin-bottom: 1rem;
}

.navbar-toggler {
  border: none;
  background: none;
  padding: 0.5rem;
  outline: none;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  display: inline-block;
  position: relative;
  width: 30px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease-in-out;
  background-image: none !important;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  top: 8px;
}

.nav-link.nav-gradient {
  font-family: "Playfair Display", serif;
  font-size: 1.5em;
  font-weight: 700;
  background: linear-gradient(#5e6fa5, #eee, #44ce9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  margin: 0 1rem;
  text-align: center;
}

.navbar-nav {
  flex-direction: row;
  text-align: center;
}

.navbar-nav-wrapper {
  height: 100%;
  padding: 0 1rem;
}

.navbar-nav-wrapper a {
  white-space: nowrap;
}

.custom-navbar-links {
  max-width: 1000px;
  padding: 0 1rem;
}

.custom-left-link,
.custom-right-link {
  flex: 1;
  min-width: 100px;
}

.custom-center-link {
  flex-shrink: 0;
  font-size: 1.5em;
  font-weight: bold;
}

.intro-text-container {
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  position: relative;
  z-index: 3;
}

.intro-text {
  color: #ffffff;
  font-weight: bold;
  margin: 0;
  text-align: justify;
}

.intro-text a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.intro-text a:hover {
  color: #44ce9b;
}

.tn-instructions-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: min(100%, 320px);
  margin-top: 1.5rem;
  padding: 0.8rem 1.25rem;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(94, 111, 165, 0.42), rgba(68, 206, 155, 0.26));
  border: 1px solid rgba(143, 255, 213, 0.82);
  border-radius: 12px;
  box-shadow: inset 0 0 22px rgba(68, 206, 155, 0.08);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.tn-instructions-button span {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tn-instructions-button small {
  font-size: 0.78rem;
  opacity: 0.86;
}

.tn-instructions-button:hover,
.tn-instructions-button:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(94, 111, 165, 0.66), rgba(68, 206, 155, 0.44));
  border-color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
  transform: translateY(-2px);
}

.intro-text-container .quote {
  color: #ffffff !important;
  font-style: italic;
  font-size: 1.2em;
  font-weight: 400;
  margin: 3%;
  text-align: justify;
}

.box {
  border: 2px solid transparent;
  border-image: linear-gradient(to right, #5e6fa5, #eee, #44ce9b) 1 stretch;
  text-align: center;
  font-size: 2em;
  z-index: 10;
  background-color: #010010;
  margin-bottom: 10px;
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.25s ease;
  outline: none;
}

.box:hover,
.box:focus {
  filter: grayscale(100%);
}

.box:focus-visible {
  box-shadow: 0 0 0 3px rgba(68, 206, 155, 0.45);
}

.box img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 10px;
}

.box p {
  margin: 0 0 12px;
  color: #ffffff;
}

.minmarg {
  margin-top: -1% !important;
}

.main-header {
  font-weight: bold;
  background: -webkit-linear-gradient(#5e6fa5, #eee, #44ce9b);
  background: linear-gradient(#5e6fa5, #eee, #44ce9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 2%;
  font-size: 4em;
  position: relative;
}

.main-header-2 {
  font-weight: bold;
  background: -webkit-linear-gradient(#5e6fa5, #eee, #44ce9b);
  background: linear-gradient(#5e6fa5, #eee, #44ce9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 2%;
  font-size: 2em;
  position: relative;
}

.tags {
  color: white;
  text-align: center;
  margin-top: 2%;
  margin-bottom: 2%;
}

.construction {
  width: 70% !important;
  margin-left: auto;
  margin-right: auto;
  display: block;
  background-color: #010010;
  background-blend-mode: multiply;
}

.zine-box {
  height: 350px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  justify-content: center;
  text-align: center;
}

.zine-box img.mreza {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.instr-button {
  position: relative;
  z-index: 10000;
}

.tn-footer {
  position: relative;
  z-index: 4;
  width: 100%;
  margin-top: auto;
  padding: 7px 15px 6px;
  background-color: #010010;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.tn-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.tn-footer p {
  margin: 0 0 3px;
  color: #ffffff;
  font-size: 0.85rem;
  line-height: 1.2;
}

.tn-footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  line-height: 1.2;
}

.tn-footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
}

.tn-footer-nav a:hover {
  color: #44ce9b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #010010;
}

::-webkit-scrollbar-thumb {
  background: #5e6fa5;
}

::-webkit-scrollbar-thumb:hover {
  background: #44ce9b;
}

@keyframes rotateAnimation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991px) {
  .nav-link.nav-gradient {
    font-size: 1.35em;
    margin: 0 0.7rem;
  }

  .box {
    font-size: 1.7em;
  }
}

@media (max-width: 768px) {
  .custom-navbar-links {
    flex-direction: column;
    align-items: center;
  }

  .custom-left-link,
  .custom-right-link,
  .custom-center-link {
    flex: none;
    margin: 0.3rem 0;
  }

  .logo {
    height: 100px;
  }

  .intro-text {
    text-align: left;
  }

  .intro-text-container .quote {
    text-align: left;
    font-size: 1.05em;
    margin: 24px 0;
  }

  .box {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5em;
  }

  .box img {
    max-height: 220px;
  }

  canvas#canvas {
    display: none !important;
  }

  .tn-footer {
    margin-top: auto;
    padding: 7px 12px 6px;
  }

  .tn-footer p {
    font-size: 0.8rem;
    margin-bottom: 3px;
  }

  .tn-footer-nav {
    flex-direction: column;
    gap: 4px;
  }

  .tn-footer-nav a {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 85px;
  }

  .nav-link.nav-gradient {
    font-size: 1.2em;
  }

  .box {
    font-size: 1.25em;
  }

  .box img {
    max-height: 190px;
  }

  .intro-text {
    font-size: 0.95rem;
  }

  .tn-footer {
    padding: 6px 10px 5px;
  }
}



/******************************************ZINE COVERS ***********************************/

.zine-covers {
  position: relative;
  z-index: 3;
}

.zine-covers .d-flex {
  justify-content: center;
}

.zine-covers .zine-cover {
  container-type: inline-size;
  position: relative;
  display: block;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 461 / 600;
  margin: 0 auto;

  background-color: #111;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;

  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.55);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.zine-payment-form {
  display: grid;
  gap: 0.7rem;
  width: 100%;
  margin: 0;
}

.zine-receipt-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0 0.15rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.zine-receipt-checkbox input {
  flex: 0 0 auto;
  margin-top: 0.18rem;
  accent-color: #44ce9b;
}

.zine-nft-receipt-option {
  margin-top: 0.7rem;
}

.zine-nft-receipt-option .zine-receipt-checkbox {
  margin-top: 0;
}

.zine-receipt-email-field {
  margin-top: 0.7rem;
  text-align: left;
}

.zine-receipt-email-field label {
  display: block;
  margin-bottom: 0.3rem;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.zine-receipt-email-field input {
  box-sizing: border-box;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  font: inherit;
}

.zine-purchase-panel {
  width: min(100%, 920px);
  margin: 0 auto;
}

.zine-access-and-claim {
  width: min(100%, 360px);
  margin: 0 auto;
}

.zine-purchase-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

.zine-purchase-cover {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.zine-purchase-content {
  min-width: 0;
  color: #ffffff;
}

/* Keep every box in the Mez Breeze purchase stack on one shared measure. */
.zine-covers .zine-purchase-panel .zine-cover,
.zine-covers .zine-access-and-claim .zine-cover {
  max-width: 100%;
}

.zine-card-claim {
  margin-top: 1.5rem;
  padding: 1.25rem;
  color: #ffffff;
  background: rgba(1, 0, 16, 0.88);
  border: 1px solid rgba(68, 206, 155, 0.72);
  border-radius: 16px;
  text-align: center;
}

.zine-card-claim h2 {
  margin: 0 0 0.45rem;
  color: #ffffff;
  font-size: 1.3rem;
}

.zine-card-claim > p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.zine-cover-static {
  cursor: default;
}

.zine-payment-action {
  position: absolute;
  left: 50%;
  bottom: 5.2cqw;
  transform: translateX(-50%);
  min-width: 58%;
  padding: 2cqw 3cqw;
  color: #ffffff;
  background: rgba(1, 0, 16, 0.82);
  border: 1px solid rgba(68, 206, 155, 0.78);
  border-radius: 999px;
  font-family: "Playfair Display SC", serif;
  font-size: 4.2cqw;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.zine-checkout-options {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.zine-checkout-heading {
  text-align: left;
}

.zine-checkout-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.08;
}

.zine-checkout-heading > p:last-child {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
}

.zine-checkout-eyebrow {
  margin: 0 0 0.35rem;
  color: #8fffd5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.zine-payment-section {
  padding: 1rem;
  background: rgba(1, 0, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
}

.zine-payment-section-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(94, 111, 165, 0.12));
  border-color: rgba(255, 255, 255, 0.38);
}

.zine-payment-section-crypto {
  border-color: rgba(68, 206, 155, 0.42);
  background: linear-gradient(135deg, rgba(68, 206, 155, 0.07), rgba(94, 111, 165, 0.09));
  box-shadow: inset 0 0 28px rgba(68, 206, 155, 0.035);
}

.zine-payment-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.zine-payment-section-heading h3 {
  margin: 0.12rem 0 0;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.zine-payment-kicker,
.zine-payment-tag,
.crypto-payment-option {
  display: inline-block;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.zine-payment-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.zine-payment-tag {
  padding: 0.32rem 0.52rem;
  color: #010010;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  white-space: nowrap;
}

.zine-checkout-button {
  width: 100%;
  min-height: 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: rgba(1, 0, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.zine-checkout-button small {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.82;
}

.zine-checkout-button:hover,
.zine-checkout-button:focus-visible {
  background: rgba(94, 111, 165, 0.3);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.zine-checkout-button-crypto {
  border-color: rgba(68, 206, 155, 0.85);
  background: rgba(24, 105, 80, 0.46);
  box-shadow: inset 0 0 22px rgba(68, 206, 155, 0.1);
}

.zine-checkout-button-crypto:hover,
.zine-checkout-button-crypto:focus-visible {
  background: rgba(68, 206, 155, 0.18);
  border-color: #44ce9b;
}

.zine-checkout-button-card {
  color: #010010;
  background: rgba(255, 255, 255, 0.94);
  border-color: #ffffff;
}

.zine-checkout-button-card:hover,
.zine-checkout-button-card:focus-visible {
  color: #010010;
  background: #ffffff;
  border-color: #8fffd5;
}

.zine-payment-section-heading-crypto {
  position: relative;
  padding-right: 0.15rem;
}

.zine-payment-info {
  position: relative;
  flex: 0 0 auto;
}

.zine-payment-info summary {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: #010010;
  background: #8fffd5;
  border: 1px solid #ffffff;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: help;
  list-style: none;
}

.zine-payment-info summary::-webkit-details-marker {
  display: none;
}

.zine-payment-info summary:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.zine-payment-info-popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.55rem);
  right: 0;
  display: none;
  width: min(310px, calc(100vw - 3rem));
  padding: 0.85rem 0.95rem;
  color: #ffffff;
  background: #10132a;
  border: 1px solid rgba(143, 255, 213, 0.75);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: left;
}

.zine-payment-info[open] .zine-payment-info-popover,
.zine-payment-info:hover .zine-payment-info-popover,
.zine-payment-info:focus-within .zine-payment-info-popover {
  display: block;
}

.zine-payment-info-popover strong {
  display: block;
  margin-bottom: 0.35rem;
}

.zine-payment-info-popover ul {
  margin: 0;
  padding-left: 1.1rem;
}

.zine-payment-info-popover li + li {
  margin-top: 0.3rem;
}

.zine-payment-info-support {
  margin: 0.7rem 0 0;
  padding-top: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.zine-payment-info-support a {
  color: #8fffd5;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.zine-payment-info-support a:hover,
.zine-payment-info-support a:focus-visible {
  color: #ffffff;
}

.crypto-payment-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.crypto-payment-choice {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid;
  border-radius: 13px;
}

.crypto-payment-choice-polygon {
  background: rgba(68, 206, 155, 0.085);
  border-color: rgba(68, 206, 155, 0.58);
}

.crypto-payment-choice-relay {
  background: rgba(94, 111, 165, 0.15);
  border-color: rgba(133, 164, 255, 0.62);
}

.crypto-payment-option {
  width: fit-content;
  margin-bottom: 0.45rem;
  padding: 0.28rem 0.48rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(1, 0, 16, 0.55);
  border-radius: 999px;
}

.crypto-payment-choice h4 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
}

.crypto-payment-choice > p {
  min-height: 2.6em;
  margin: 0.35rem 0 0.7rem;
  color: rgba(255, 255, 255, 0.74);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.77rem;
  line-height: 1.35;
}

.crypto-payment-choice-polygon .zine-checkout-button {
  margin-top: auto;
}

.relay-checkout-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.3rem 0.55rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.relay-checkout-fields label {
  color: rgba(255, 255, 255, 0.78);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.relay-checkout-fields select {
  min-width: 0;
  padding: 0.52rem 0.58rem;
  color: #ffffff;
  background: rgba(1, 0, 16, 0.92);
  border: 1px solid rgba(68, 206, 155, 0.55);
  border-radius: 8px;
  font: inherit;
  font-size: 0.8rem;
}

.zine-checkout-button-relay {
  border-color: rgba(133, 164, 255, 0.9);
  box-shadow: inset 0 0 22px rgba(94, 111, 165, 0.14);
}

.zine-checkout-button-relay:hover,
.zine-checkout-button-relay:focus-visible {
  background: rgba(94, 111, 165, 0.3);
  border-color: #b9c8ff;
}

.relay-quote-summary {
  margin-top: 0.7rem;
  padding: 0.7rem 0.8rem;
  color: #ffffff;
  background: rgba(94, 111, 165, 0.14);
  border: 1px solid rgba(133, 164, 255, 0.65);
  border-radius: 9px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
}

.relay-quote-summary strong {
  display: block;
  margin-bottom: 0.2rem;
}

.relay-quote-summary span {
  display: block;
}

.relay-quote-summary span + span {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.76);
}

.solana-wallet-dialog {
  width: min(92vw, 420px);
  padding: 0;
  color: #ffffff;
  background: #090817;
  border: 1px solid rgba(133, 164, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.solana-wallet-dialog::backdrop {
  background: rgba(1, 0, 16, 0.78);
  backdrop-filter: blur(4px);
}

.solana-wallet-dialog-panel {
  padding: 1.25rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.solana-wallet-dialog h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.15rem;
}

.solana-wallet-dialog p {
  margin: 0.35rem 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.solana-wallet-options {
  display: grid;
  gap: 0.5rem;
}

.solana-wallet-option,
.solana-wallet-cancel {
  width: 100%;
  padding: 0.7rem 0.8rem;
  color: #ffffff;
  background: rgba(94, 111, 165, 0.16);
  border: 1px solid rgba(133, 164, 255, 0.65);
  border-radius: 9px;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.solana-wallet-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.solana-wallet-option img {
  flex: 0 0 auto;
  border-radius: 8px;
}

.solana-wallet-option:hover,
.solana-wallet-option:focus-visible {
  background: rgba(68, 206, 155, 0.18);
  border-color: #8fffd5;
}

.solana-wallet-cancel {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  text-align: center;
}

.solana-wallet-cancel:hover,
.solana-wallet-cancel:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 480px) {
  .relay-checkout-fields {
    grid-template-columns: 1fr;
  }
}

.zine-checkout-extra {
  margin-top: 0.65rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
}

.zine-card-receipt-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: left;
}

.zine-checkout-extra summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.zine-payment-section-card .zine-checkout-extra summary {
  color: rgba(255, 255, 255, 0.82);
}

.zine-checkout-extra summary span {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zine-checkout-extra[open] summary {
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.zine-checkout-extra-crypto {
  margin-top: 0.8rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.zine-payment-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.8rem;
  color: #8fffd5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.zine-payment-guide-link:hover,
.zine-payment-guide-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zine-checkout-support {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  text-align: center;
}

.zine-checkout-support a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Instructions */
.tn-instructions-page {
  padding-bottom: 4rem;
}

.tn-instructions-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 0 1.8rem;
  text-align: center;
}

.tn-instructions-hero .zine-checkout-eyebrow {
  color: #8fffd5;
}

.tn-instructions-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 7vw, 4.3rem);
  line-height: 1;
}

.tn-instructions-hero > p:last-child {
  max-width: 620px;
  margin: 0.9rem auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.tn-instructions-nav {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tn-instructions-nav a {
  padding: 0.62rem 0.9rem;
  color: #ffffff;
  background: rgba(1, 0, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 750;
}

.tn-instructions-nav a:first-child {
  color: #010010;
  background: #8fffd5;
  border-color: #8fffd5;
}

.tn-instructions-nav a:hover,
.tn-instructions-nav a:focus-visible {
  border-color: #ffffff;
  transform: translateY(-1px);
}

.tn-guide-section {
  margin: 0 auto;
  scroll-margin-top: 1.5rem;
}

.tn-guide-section + .tn-guide-section {
  margin-top: 4.5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.tn-guide-heading {
  max-width: 720px;
  margin: 0 auto 1.6rem;
  text-align: center;
}

.tn-guide-heading span {
  color: #8fffd5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tn-guide-heading h2 {
  margin: 0.35rem 0 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.tn-guide-heading p {
  margin: 0.65rem auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.tn-payment-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 1.4rem;
}

.tn-payment-path {
  padding: 1.25rem;
  background: rgba(1, 0, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
}

.tn-payment-path-crypto {
  border-color: rgba(68, 206, 155, 0.58);
  background: linear-gradient(145deg, rgba(68, 206, 155, 0.09), rgba(94, 111, 165, 0.12));
}

.tn-payment-path-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.68);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tn-payment-path h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.28rem;
}

.tn-payment-path p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
}

.tn-payment-path ul {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.5;
}

.tn-payment-path li + li {
  margin-top: 0.35rem;
}

.tn-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}

.tn-guide-step {
  overflow: hidden;
  background: rgba(1, 0, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
}

.tn-guide-visual {
  position: relative;
  min-height: 170px;
  padding: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 15%, rgba(68, 206, 155, 0.21), transparent 36%),
    linear-gradient(145deg, #151936, #070719 62%, #13241e);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tn-guide-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.tn-guide-browser {
  position: relative;
  z-index: 1;
  min-height: 138px;
  padding: 0.72rem;
  background: rgba(1, 0, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.tn-guide-browser-bar {
  display: flex;
  gap: 0.28rem;
  margin-bottom: 0.75rem;
}

.tn-guide-browser-bar span {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.tn-guide-mock-button,
.tn-guide-mock-card,
.tn-guide-mock-reader {
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 8px;
  text-align: center;
}

.tn-guide-mock-button {
  min-height: 58px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(143, 255, 213, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
}

.tn-guide-mock-button small {
  display: block;
  margin-top: 0.2rem;
  opacity: 0.68;
  font-size: 0.62rem;
  font-weight: 500;
}

.tn-guide-mock-card {
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  background: transparent;
}

.tn-guide-mock-card span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 0.45rem;
  background: rgba(94, 111, 165, 0.18);
  border: 1px solid rgba(133, 164, 255, 0.55);
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 750;
}

.tn-guide-mock-reader {
  grid-template-columns: 1fr 1fr;
  min-height: 104px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.tn-guide-mock-reader span {
  height: 100%;
  background: linear-gradient(145deg, rgba(94, 111, 165, 0.3), rgba(68, 206, 155, 0.15));
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.tn-guide-mock-reader span:last-child {
  border-right: 0;
}

.tn-guide-step-copy {
  padding: 1rem;
}

.tn-guide-step-number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.55rem;
  color: #010010;
  background: #8fffd5;
  border-radius: 50%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
}

.tn-guide-step h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.06rem;
}

.tn-guide-step p {
  margin: 0.48rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.5;
}

.tn-guide-note {
  max-width: 900px;
  margin: 1.25rem auto 0;
  padding: 0.9rem 1rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(68, 206, 155, 0.08);
  border-left: 3px solid #44ce9b;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.5;
}

.tn-guide-details {
  display: grid;
  gap: 0.55rem;
  max-width: 900px;
  margin: 1rem auto 0;
}

.tn-guide-details details {
  padding: 0.85rem 1rem;
  color: #ffffff;
  background: rgba(1, 0, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tn-guide-details summary {
  font-size: 0.86rem;
  font-weight: 750;
  cursor: pointer;
}

.tn-guide-details p {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.5;
}

.tn-guide-details a {
  color: #8fffd5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tn-guide-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.tn-guide-cta .tn-instructions-button {
  margin-top: 0;
}

@media (max-width: 900px) {
  .tn-guide-steps {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .tn-guide-step {
    display: grid;
    grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1fr);
  }

  .tn-guide-visual {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .tn-payment-paths {
    grid-template-columns: 1fr;
  }

  .tn-guide-step {
    grid-template-columns: 1fr;
  }

  .tn-guide-visual {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .tn-guide-section + .tn-guide-section {
    margin-top: 3.5rem;
    padding-top: 3rem;
  }
}

.zine-wallet-access-button {
  margin-top: 0.85rem;
  color: #010010;
  background: #44ce9b;
  border-color: #8fffd5;
}

.zine-wallet-access-button:hover,
.zine-wallet-access-button:focus-visible {
  color: #ffffff;
  background: rgba(68, 206, 155, 0.26);
  border-color: #8fffd5;
}

.zine-checkout-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.wallet-testnet-note,
.wallet-account-summary,
.wallet-checkout-status {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.wallet-account-summary {
  color: #ffffff;
}

.wallet-checkout-status {
  padding: 0.7rem 0.8rem;
  background: rgba(94, 111, 165, 0.16);
  border: 1px solid rgba(94, 111, 165, 0.7);
  border-radius: 10px;
}

.wallet-checkout-status[data-status="pending"] {
  border-color: rgba(238, 238, 238, 0.72);
}

.wallet-checkout-status[data-status="success"] {
  background: rgba(68, 206, 155, 0.13);
  border-color: rgba(68, 206, 155, 0.85);
}

.wallet-checkout-status[data-status="error"] {
  background: rgba(176, 70, 94, 0.15);
  border-color: rgba(255, 130, 154, 0.75);
}

.wallet-checkout-status a {
  display: block;
  margin-top: 0.45rem;
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.payment-message {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: rgba(68, 206, 155, 0.12);
  border: 1px solid rgba(68, 206, 155, 0.65);
  text-align: center;
}

.payment-message-error {
  background: rgba(176, 70, 94, 0.15);
  border-color: rgba(255, 130, 154, 0.75);
}

.zine-access-recovery {
  margin-top: 1.15rem;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(68, 206, 155, 0.16), rgba(94, 111, 165, 0.16)),
    rgba(1, 0, 16, 0.9);
  border: 1px solid rgba(143, 255, 213, 0.72);
  border-radius: 14px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.24),
    inset 0 0 24px rgba(68, 206, 155, 0.055);
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}

.zine-access-recovery summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.zine-access-recovery summary::-webkit-details-marker {
  display: none;
}

.zine-access-recovery summary > span:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.16rem;
}

.zine-access-recovery-kicker {
  color: #8fffd5;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.zine-access-recovery summary strong {
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  line-height: 1.2;
}

.zine-access-recovery summary small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.zine-access-recovery summary:hover,
.zine-access-recovery summary:focus-visible {
  background: rgba(68, 206, 155, 0.1);
}

.zine-access-recovery summary:focus-visible {
  outline: 2px solid #8fffd5;
  outline-offset: -3px;
  border-radius: 12px;
}

.zine-access-recovery-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  color: #8fffd5;
  font-size: 1rem;
  border: 1px solid rgba(143, 255, 213, 0.56);
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.zine-access-recovery[open] .zine-access-recovery-arrow {
  transform: rotate(90deg);
}

.zine-access-recovery-body {
  margin: 0;
  padding: 1rem;
  background: rgba(1, 0, 16, 0.66);
  border-top: 1px solid rgba(143, 255, 213, 0.25);
}

.zine-access-recovery-body p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.45;
}

.zine-access-recovery label {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 700;
}

.zine-recovery-fields {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.zine-access-recovery input {
  min-width: 0;
  flex: 1;
  padding: 0.65rem 0.75rem;
  color: #ffffff;
  background: rgba(1, 0, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  font: inherit;
}

.zine-access-recovery button {
  padding: 0.65rem 0.85rem;
  color: #ffffff;
  background: rgba(68, 206, 155, 0.16);
  border: 1px solid rgba(143, 255, 213, 0.65);
  border-radius: 8px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.zine-access-recovery button:hover,
.zine-access-recovery button:focus-visible {
  background: rgba(68, 206, 155, 0.28);
  border-color: #8fffd5;
}

@media (max-width: 480px) {
  .zine-recovery-fields {
    flex-direction: column;
  }
}

.recovery-confirmation button {
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: linear-gradient(to right, #5e6fa5, #44ce9b);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.recovery-confirmation button:hover,
.recovery-confirmation button:focus-visible {
  background: linear-gradient(to right, #44ce9b, #5e6fa5);
}

.recovery-confirmation-page {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: #ffffff;
  background: #010010;
}

.recovery-confirmation {
  width: min(100%, 560px);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(68, 206, 155, 0.65);
  border-radius: 16px;
  text-align: center;
}

.recovery-confirmation h1,
.recovery-confirmation p {
  color: #ffffff;
}

.recovery-confirmation-logo {
  width: 110px;
  height: auto;
  margin-bottom: 1rem;
}

.recovery-confirmation-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  opacity: 0.82;
}

.zine-covers .zine-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 20px;
  box-shadow:
    inset 0 0 15px rgba(45, 255, 196, 0.25),
    0 0 10px 2px rgba(45, 255, 196, 0.2);
  z-index: 0;
}

.zine-covers .zine-cover:hover,
.zine-covers .zine-cover:focus {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.62);
}

.zine-covers .zine-cover-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5.2cqw;
  gap: 2.6cqw;
  z-index: 1;
}

.zine-covers .zine-cover-title {
  margin: 0;
  text-align: center;
  font-family: "Playfair Display SC", serif;
  font-weight: 800;
  letter-spacing: 0.22cqw;
  text-transform: uppercase;
  font-size: 10.4cqw;
  line-height: 1.05;
  background: linear-gradient(#5e6fa5, #b09cfaff, #44ce9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zine-covers .zine-cover-subtitle {
  margin: 0;
  text-align: center;
  font-family: "Playfair Display SC", serif;
  font-weight: 700;
  font-size: 10.4cqw;
  line-height: 1.1;
  background: linear-gradient(#5e6fa5, #b09cfaff, #44ce9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zine-covers .zine-cover-logo {
  display: block;
  margin-top: 1.7cqw;
  max-width: 88%;
  max-height: calc(100% - 32.5cqw);
  object-fit: contain;
}

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

  .zine-purchase-cover {
    max-width: 250px;
  }

  .zine-checkout-heading {
    text-align: center;
  }

  .crypto-payment-choices {
    grid-template-columns: 1fr;
  }

  .crypto-payment-choice > p {
    min-height: 0;
  }

  .zine-covers .zine-cover {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .zine-covers .zine-cover {
    max-width: 220px;
  }
}


/* ================================
   TOTAL NEXUS MAGAZINE CARDS
   ================================ */

.media-arts-hero,
.zine-product-intro {
  position: relative;
  z-index: 3;
  width: min(100%, 760px);
  margin: 0 auto;
  color: #ffffff;
}

.media-arts-eyebrow,
.zine-product-category {
  margin: 0 0 0.45rem;
  color: #8fffd5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-arts-hero h1,
.zine-product-intro h1 {
  margin: 0;
  font-family: "Playfair Display SC", serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(#5e6fa5, #eeeeee, #44ce9b, #19d2df);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.media-arts-hero > p:last-child,
.zine-product-intro > p:last-child {
  max-width: 680px;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.65;
}

.media-arts-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: min(100%, 1010px);
  margin: 0 auto 1.5rem;
  padding: 0 0.75rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.media-arts-section-heading h2,
.media-arts-section-heading p {
  margin: 0;
}

.media-arts-section-heading h2 {
  color: #ffffff;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.media-arts-section-heading p {
  color: rgba(255, 255, 255, 0.66);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.issue-section {
  position: relative;
  z-index: 3;
  padding-top: 38px !important;
  padding-bottom: 52px !important;
}

.issue-section .row {
  align-items: stretch;
}

.issue-section .d-flex {
  justify-content: center;
}

/* Whole card = closed magazine cover */
.issue-card {
  position: relative;
  width: 100%;
  max-width: 305px;
  min-height: 455px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;

  padding: 34px 24px 26px;

  text-align: center;

  background:
    radial-gradient(circle at 50% 34%, rgba(68, 206, 155, 0.28) 0%, rgba(30, 185, 205, 0.16) 24%, transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(94, 111, 165, 0.34) 0%, rgba(1, 0, 16, 0) 42%),
    radial-gradient(circle at 25% 78%, rgba(0, 210, 190, 0.22) 0%, rgba(1, 0, 16, 0) 38%),
    linear-gradient(145deg, #07091f 0%, #010010 54%, #05031a 100%);

  border: 1px solid rgba(255, 255, 255, 0.24);

  box-shadow:
    18px 22px 34px rgba(0, 0, 0, 0.62),
    inset 0 0 42px rgba(68, 206, 155, 0.05),
    inset -18px 0 30px rgba(0, 0, 0, 0.62);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.issue-card-link {
  color: inherit;
  text-decoration: none;
}

.issue-card-link:focus-visible {
  outline: 3px solid #8fffd5;
  outline-offset: 6px;
}

/* Gradient frame */
.issue-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, #5e6fa5, #eeeeee, #44ce9b, #19d2df);
  opacity: 0.82;
  pointer-events: none;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Glossy diagonal reflection */
.issue-card .issue-card-body::before {
  content: "";
  position: absolute;
  top: -370px;
  left: -95px;
  width: 185px;
  height: 540px;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 42%,
    transparent 74%
  );

  opacity: 0.32;
  transform: rotate(8deg);
}

/* Hover effect */
.issue-card:hover {
  transform: translateY(-7px);
  border-color: rgba(68, 206, 155, 0.75);

  box-shadow:
    20px 26px 42px rgba(0, 0, 0, 0.72),
    0 0 20px rgba(68, 206, 155, 0.16),
    0 0 36px rgba(94, 111, 165, 0.12),
    inset 0 0 46px rgba(68, 206, 155, 0.06),
    inset -18px 0 30px rgba(0, 0, 0, 0.64);
}

/* Cover clickable area */
.issue-cover-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;

  width: 100%;
  height: 72%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  padding-top: 38px;

  transform: none;

  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  text-decoration: none;
}

.issue-cover-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 0 14px;
  flex: 1;
}

.issue-card .issue-cover-link > .issue-cover-art {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 30px 18px 0;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.72));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.issue-card:hover .issue-cover-link > .issue-cover-art,
.issue-card:focus-visible .issue-cover-link > .issue-cover-art {
  transform: scale(1.025);
  filter:
    drop-shadow(0 16px 22px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 16px rgba(68, 206, 155, 0.18));
}

.issue-cover-title {
  margin: 0;
  text-align: center;
  font-family: "Playfair Display SC", serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.08rem;
  line-height: 1.05;
  background: linear-gradient(#5e6fa5, #b09cfaff, #44ce9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.issue-cover-subtitle {
  margin: 0;
  text-align: center;
  font-family: "Playfair Display SC", serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  background: linear-gradient(#5e6fa5, #b09cfaff, #44ce9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Disable old pseudo elements if they exist */
.issue-cover-link::before,
.issue-cover-link::after {
  display: none !important;
}

/* Logo: centered below title and subtitle */
.issue-cover-logo {
  display: block;
  width: 58%;
  max-width: 150px;
  height: auto;
  margin-top: 8px;
  object-fit: contain;

  filter:
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 12px rgba(68, 206, 155, 0.25))
    drop-shadow(0 0 18px rgba(94, 111, 165, 0.18));

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.issue-card:hover .issue-cover-logo {
  transform: scale(1.055);

  filter:
    drop-shadow(0 14px 20px rgba(0, 0, 0, 0.82))
    drop-shadow(0 0 16px rgba(68, 206, 155, 0.32))
    drop-shadow(0 0 24px rgba(25, 210, 223, 0.2));
}

/* Fallback for issue cards that only include a bare logo image */
.issue-cover-link > img:not(.issue-cover-logo) {
  display: block;
  width: 58%;
  max-width: 150px;
  height: auto;
  margin-top: auto;
  object-fit: contain;

  filter:
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 12px rgba(68, 206, 155, 0.25))
    drop-shadow(0 0 18px rgba(94, 111, 165, 0.18));

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.issue-card:hover .issue-cover-link > img:not(.issue-cover-logo) {
  transform: scale(1.055);

  filter:
    drop-shadow(0 14px 20px rgba(0, 0, 0, 0.82))
    drop-shadow(0 0 16px rgba(68, 206, 155, 0.32))
    drop-shadow(0 0 24px rgba(25, 210, 223, 0.2));
}

/* Bottom text area */
.issue-card-body {
  position: relative;
  z-index: 4;

  width: 100%;
  min-height: 145px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;

  padding-top: 285px;
}

.issue-card h2,
.issue-card-title {
  display: block;
  margin: 0 0 20px;

  font-family: "Playfair Display", serif;
  font-size: 1.44rem;
  font-weight: 700;
  line-height: 1.12;

  background: linear-gradient(#5e6fa5, #eeeeee, #44ce9b, #19d2df);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.issue-card-title {
  margin-bottom: 0.55rem;
}

/* Button */
.issue-button {
  display: inline-block;

  padding: 7px 18px;

  color: #ffffff;
  background-color: rgba(1, 0, 16, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.46);

  font-size: 0.8rem;
  line-height: 1.15;
  text-decoration: none;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.issue-card-link:hover .issue-button,
.issue-card-link:focus-visible .issue-button {
  color: #44ce9b;
  border-color: #44ce9b;
  background-color: rgba(68, 206, 155, 0.08);
  box-shadow: 0 0 12px rgba(68, 206, 155, 0.15);
}

.issue-button:hover,
.issue-button:focus {
  color: #44ce9b;
  border-color: #44ce9b;
  background-color: rgba(68, 206, 155, 0.08);
  box-shadow: 0 0 12px rgba(68, 206, 155, 0.15);
}

/* Tablet */
@media (max-width: 991px) {
  .issue-card {
    max-width: 292px;
    min-height: 435px;
  }

  .issue-cover-title {
    font-size: 1rem;
  }

  .issue-cover-subtitle {
    font-size: 0.92rem;
  }

  .issue-cover-logo {
    width: 56%;
    max-width: 135px;
  }

  .issue-card-body {
    padding-top: 265px;
  }

  .issue-card h2,
  .issue-card-title {
    font-size: 1.34rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .issue-section {
    padding-top: 28px !important;
    padding-bottom: 38px !important;
  }

  .issue-card {
    max-width: 275px;
    min-height: 410px;
    padding: 30px 20px 22px;
  }

  .issue-card::after {
    left: 16px;
    width: 24px;
  }

  .issue-cover-title {
    font-size: 0.95rem;
  }

  .issue-cover-subtitle {
    font-size: 0.88rem;
  }

  .issue-cover-logo {
    width: 54%;
    max-width: 122px;
  }

  .issue-card-body {
    padding-top: 250px;
  }

  .issue-card h2,
  .issue-card-title {
    font-size: 1.24rem;
    margin-bottom: 16px;
  }

  .issue-button {
    font-size: 0.78rem;
    padding: 6px 15px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .issue-card {
    max-width: 255px;
    min-height: 385px;
    padding: 28px 18px 20px;
  }

  .issue-card::after {
    left: 14px;
    width: 22px;
  }

  .issue-cover-title {
    font-size: 0.88rem;
  }

  .issue-cover-subtitle {
    font-size: 0.82rem;
  }

  .issue-cover-logo {
    width: 52%;
    max-width: 108px;
  }

  .issue-card-body {
    padding-top: 230px;
  }

  .issue-card h2,
  .issue-card-title {
    font-size: 1.14rem;
  }
}
