/*
Theme Name: Nenerchy Prima Ballerina Tour Restored Font
Theme URI: https://nenerchy.com/fi
Description: Dark Nenerchy landing page with a Prima Ballerina Tour calendar. Background visibility fixed, original-style tour font restored, and the calendar made slightly narrower.
Version: 1.6.1
Author: JR
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nenerchy-prima-ballerina-tour-restored-font
Tags: one-column, custom-background, entertainment, responsive-layout
*/

:root {
  --nny-bg: #010304;
  --nny-text: #f6f3ed;
  --nny-muted: rgba(246, 243, 237, 0.84);
  --nny-panel: rgba(2, 5, 6, 0.72);
  --nny-line: rgba(246, 243, 237, 0.16);
  --nny-cyan: #94eeff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--nny-bg);
}

body {
  color: var(--nny-text);
  font-family: Arial, Helvetica, sans-serif;
}

.nny-page,
.nny-hero {
  min-height: 100vh;
}

.nny-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #010304;
  background-image: var(--nny-hero-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.nny-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-position: inherit;
  background-size: inherit;
  background-repeat: inherit;
  filter: brightness(0.92) contrast(1.08) saturate(1);
  transform: scale(1.01);
  opacity: 0.95;
  z-index: 0;
}

.nny-overlay,
.nny-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nny-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.22) 42%, rgba(0,0,0,0.12) 62%, rgba(0,0,0,0.34) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.18) 38%, rgba(0,0,0,0.25) 72%, rgba(0,0,0,0.62) 100%),
    radial-gradient(circle at 74% 34%, rgba(110, 225, 255, 0.18) 0%, rgba(0,0,0,0.02) 24%, rgba(0,0,0,0.2) 72%, rgba(0,0,0,0.42) 100%);
}

.nny-grain {
  z-index: 2;
  opacity: 0.14;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px),
    radial-gradient(circle at 72% 26%, rgba(0, 162, 215, 0.08), transparent 22%),
    radial-gradient(circle at 30% 76%, rgba(0, 162, 215, 0.035), transparent 26%);
  background-size: 4px 4px, 4px 4px, auto, auto;
}

.nny-center {
  position: relative;
  z-index: 3;
  flex: 1;
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 470px);
  align-items: center;
  gap: clamp(2.4rem, 4.8vw, 5rem);
  padding: clamp(3.4rem, 7vh, 5.2rem) clamp(1.1rem, 4.2vw, 3.4rem);
}

.nny-brand {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
  max-width: min(46vw, 620px);
  justify-self: center;
  text-align: center;
  transform: translateY(0.8rem);
  overflow: hidden;
}

.nny-eyebrow,
.nny-title,
.nny-coming-soon,
.nny-footer p,
.nny-tour-kicker,
.nny-tour-title,
.nny-tour-more {
  margin: 0;
}

.nny-title {
  display: block;
  max-width: 100%;
  font-family: "Bodoni Moda", "Bodoni 72", "Bodoni MT", Didot, "Times New Roman", Times, serif;
  font-size: clamp(3.3rem, 4.75vw, 5.55rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--nny-text);
  text-shadow: 0 4px 28px rgba(0,0,0,0.48), 0 0 2px rgba(255,255,255,0.2);
}

.nny-eyebrow {
  font-family: "UnifrakturMaguntia", "Old English Text MT", "Cloister Black", "UnifrakturCook", serif;
  font-weight: 400;
}

.nny-tour-title {
  font-family: "UnifrakturMaguntia", "Old English Text MT", "Cloister Black", "UnifrakturCook", serif;
  font-weight: 400;
}

.nny-eyebrow {
  margin-bottom: clamp(1.2rem, 3vh, 2.3rem);
  font-size: clamp(1rem, 1.55vw, 1.85rem);
  line-height: 1;
  text-transform: uppercase;
  color: rgba(246, 243, 237, 0.94);
  text-shadow: 0 2px 14px rgba(0,0,0,0.62);
}

.nny-coming-soon {
  margin-top: clamp(0.9rem, 2vh, 1.35rem);
  color: var(--nny-muted);
  font-size: clamp(0.78rem, 1vw, 1rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.nny-tour-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 470px;
  justify-self: center;
  padding: clamp(1rem, 1.7vw, 1.45rem);
  border: 1px solid var(--nny-line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.024) 34%, rgba(0,0,0,0.56) 100%),
    var(--nny-panel);
  box-shadow: 0 30px 90px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.045);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nny-tour-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(150, 237, 255, 0.11);
  border-radius: 22px;
  pointer-events: none;
}

.nny-tour-kicker {
  position: relative;
  z-index: 1;
  color: rgba(246, 243, 237, 0.76);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nny-tour-title {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  max-width: none;
  font-size: clamp(2.3rem, 2.8vw, 3.2rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--nny-text);
  text-shadow: 0 6px 26px rgba(0,0,0,0.48);
}

.nny-tour-title-line {
  display: block;
  white-space: nowrap;
}

.nny-tour-title-main {
  font-size: 0.96em;
}

.nny-tour-title-sub {
  font-size: 0.92em;
}

.nny-tour-title-sub {
  margin-top: -0.08em;
}

.nny-tour-list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: clamp(1.1rem, 2.3vh, 1.55rem) 0 0;
  margin: 0;
}

.nny-tour-item {
  display: grid;
  grid-template-columns: 4.85rem minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.95rem;
  row-gap: 0.18rem;
  padding: 0.48rem 0;
  border-bottom: 1px solid rgba(246, 243, 237, 0.12);
}

.nny-tour-item:last-child {
  border-bottom: 0;
}

.nny-tour-date,
.nny-tour-venue,
.nny-tour-note,
.nny-tour-more {
  text-transform: uppercase;
}

.nny-tour-date {
  color: var(--nny-cyan);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nny-tour-venue {
  min-width: 0;
  color: var(--nny-text);
  font-size: clamp(0.87rem, 1.08vw, 1rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.035em;
}

.nny-tour-note {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  margin-top: 0.08rem;
  padding: 0.12rem 0.46rem;
  border: 1px solid rgba(150, 237, 255, 0.42);
  border-radius: 999px;
  color: rgba(246, 243, 237, 0.96);
  background: rgba(150, 237, 255, 0.08);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.nny-tour-more {
  position: relative;
  z-index: 1;
  margin-top: 1.12rem;
  color: rgba(246, 243, 237, 0.86);
  font-size: clamp(0.86rem, 1.05vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.nny-footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(1rem, 2vw, 1.6rem);
}

.nny-footer p {
  color: rgba(246, 243, 237, 0.8);
  font-size: clamp(0.72rem, 0.9vw, 0.95rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .nny-hero {
    overflow: visible;
  }

  .nny-center {
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 5vh, 3rem);
    align-content: start;
    padding-top: clamp(3rem, 8vh, 5rem);
    padding-bottom: clamp(2rem, 6vh, 4rem);
  }

  .nny-brand {
    order: 1;
    max-width: min(720px, 100%);
    transform: none;
    overflow: visible;
  }

  .nny-tour-card {
    order: 2;
    max-width: 620px;
    margin: 0 auto;
  }

  .nny-title {
    font-size: clamp(3.5rem, 13.8vw, 6.2rem);
  }
}

@media (max-width: 640px) {
  .nny-hero,
  .nny-hero::before {
    background-position: 50% center;
  }

  .nny-hero::before {
    filter: brightness(0.88) contrast(1.08) saturate(1);
    opacity: 0.95;
  }

  .nny-overlay {
    background:
      linear-gradient(to bottom, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.28) 32%, rgba(0,0,0,0.34) 70%, rgba(0,0,0,0.7) 100%),
      radial-gradient(circle at 50% 22%, rgba(110, 225, 255, 0.16), transparent 30%);
  }

  .nny-center {
    padding: 2.4rem 0.9rem 1.7rem;
    gap: 1.6rem;
  }

  .nny-title {
    font-size: clamp(3rem, 14.2vw, 4.8rem);
    line-height: 0.92;
    letter-spacing: 0.005em;
  }

  .nny-eyebrow {
    margin-bottom: 1.1rem;
  }

  .nny-coming-soon {
    letter-spacing: 0.22em;
  }

  .nny-tour-card {
    border-radius: 22px;
    padding: 1rem;
  }

  .nny-tour-card::before {
    inset: 7px;
    border-radius: 17px;
  }

  .nny-tour-title {
    font-size: clamp(1.85rem, 7.7vw, 2.35rem);
    line-height: 0.9;
  }

  .nny-tour-item {
    grid-template-columns: 3.95rem minmax(0, 1fr);
    column-gap: 0.65rem;
    padding: 0.38rem 0;
  }

  .nny-tour-date {
    font-size: 0.9rem;
  }

  .nny-tour-venue {
    font-size: 0.86rem;
    letter-spacing: 0.02em;
  }

  .nny-tour-note {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 380px) {
  .nny-center {
    padding-left: 0.72rem;
    padding-right: 0.72rem;
  }

  .nny-title {
    font-size: clamp(2.65rem, 13.5vw, 3.9rem);
  }

  .nny-tour-card {
    padding: 0.86rem;
  }

  .nny-tour-kicker {
    font-size: 0.66rem;
  }

  .nny-tour-title {
    font-size: clamp(1.6rem, 8.2vw, 1.95rem);
    line-height: 0.9;
  }

  .nny-tour-item {
    grid-template-columns: 3.4rem minmax(0, 1fr);
    column-gap: 0.5rem;
  }

  .nny-tour-date,
  .nny-tour-venue {
    font-size: 0.78rem;
  }
}
