:root {
  --ink: #f8fbff;
  --muted: #bdc9de;
  --navy: #0f172a;
  --deep: #1e293b;
  --cyan: #38bdf8;
  --violet: #a855f7;
  --pink: #f472b6;
  --glass: rgba(19, 31, 55, 0.58);
  --glass-strong: rgba(17, 29, 52, 0.76);
  --border: rgba(255, 255, 255, 0.14);
  --border-hover: rgba(56, 189, 248, 0.5);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --transition: 0.3s ease;
}

/* ===== ALAP ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(168, 85, 247, 0.1), transparent 30%),
    radial-gradient(circle at 90% 30%, rgba(56, 189, 248, 0.08), transparent 28%),
    var(--navy);
  font-family: "DM Sans", sans-serif;
  transition: background 0.4s ease, color 0.4s ease;
}

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--pink);
  color: white;
}

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

::-webkit-scrollbar-track {
  background: #09101d;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--cyan), var(--violet));
  border-radius: 999px;
}

/* ===== VILÁGOS MÓD ===== */

body.light {
  --ink: #13203a;
  --muted: #50617a;
  --navy: #edf6ff;
  --deep: #dbeaf8;
  --glass: rgba(255, 255, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.84);
  --border: rgba(30, 41, 59, 0.12);
  --border-hover: rgba(56, 189, 248, 0.4);
  --shadow: 0 25px 70px rgba(54, 88, 130, 0.15);

  background:
    radial-gradient(circle at 15% 10%, rgba(168, 85, 247, 0.08), transparent 30%),
    radial-gradient(circle at 90% 30%, rgba(56, 189, 248, 0.08), transparent 28%),
    var(--navy);
}

body.light ::-webkit-scrollbar-track {
  background: #dceaf7;
}

/* ===== ÜVEG ===== */

.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ===== ANIMÁLT HÁTTÉR ===== */

.aurora {
  position: fixed;
  width: 38vw;
  height: 38vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.28;
  z-index: -2;
  animation: auroraMove 18s ease-in-out infinite alternate;
  will-change: transform;
}

.aurora-one {
  top: -18vw;
  left: -12vw;
  background: var(--violet);
}

.aurora-two {
  top: 28vh;
  right: -16vw;
  width: 34vw;
  height: 34vw;
  background: var(--cyan);
  animation-delay: -7s;
}

.aurora-three {
  bottom: -18vw;
  left: 28vw;
  width: 32vw;
  height: 32vw;
  background: var(--pink);
  animation-delay: -11s;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.9) 1px, transparent 1.5px),
    radial-gradient(rgba(142, 223, 255, 0.8) 1px, transparent 1.5px);
  background-size: 110px 110px, 175px 175px;
  background-position: 20px 20px, 80px 50px;
  animation: starMove 35s linear infinite;
}

body.light .stars {
  opacity: 0.14;
}

/* ===== LOADER ===== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #0f172a;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader span {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--cyan);
  border-right-color: var(--pink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ===== NAVIGÁCIÓ ===== */

.site-nav {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 50;
  width: min(1120px, calc(100% - 36px));
  min-height: 62px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateX(-50%);
  border-radius: 18px;
}

.brand {
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  font: 1.7rem/1 "Playfair Display", serif;
}

.brand span {
  color: var(--pink);
  font-size: 0.7rem;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a,
.logout {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color var(--transition);
}

.nav-links a:hover,
.logout:hover {
  color: var(--cyan);
}

.icon-button {
  padding: 7px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: color var(--transition), background var(--transition);
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.icon-button.active {
  color: var(--pink);
}

.music-control {
  display: flex;
  align-items: center;
  gap: 4px;
}

.volume-slider {
  width: 58px;
  accent-color: var(--pink);
  cursor: pointer;
}

.icon-button.muted {
  opacity: 0.4;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 130px 24px 90px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1000px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  font: clamp(4rem, 11vw, 8.8rem) / 0.92 "Playfair Display", serif;
  letter-spacing: -0.065em;
  background: linear-gradient(
    115deg,
    #fff 15%,
    var(--cyan) 43%,
    var(--pink) 72%,
    #fff
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}

.typing {
  max-width: 650px;
  min-height: 3em;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.typing::after {
  content: "|";
  color: var(--cyan);
  animation: blink 1s infinite;
}

.scroll-cue {
  position: absolute;
  top: calc(100% + 70px);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: color var(--transition);
}

.scroll-cue:hover {
  color: var(--cyan);
}

.scroll-cue i {
  position: relative;
  width: 24px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}

.hero-orbit {
  position: absolute;
  width: min(72vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-orbit::before {
  top: 8%;
  left: 20%;
  width: 10px;
  height: 10px;
  background: var(--pink);
  box-shadow: 0 0 34px 9px var(--pink);
}

.hero-orbit::after {
  right: 7%;
  bottom: 14%;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 30px 8px var(--cyan);
}

/* ===== SZEKCIÓK ===== */

.section {
  width: min(1120px, calc(100% - 44px));
  margin-inline: auto;
  padding: 125px 0;
}

.section-heading {
  margin-bottom: 60px;
}

.section-heading h2,
.message-card h2,
.wish-banner h2 {
  margin: 0;
  color: var(--ink);
  font: clamp(2.6rem, 5vw, 5.2rem) / 0.98 "Playfair Display", serif;
  letter-spacing: -0.055em;
}

.section-heading h2 em,
.message-card h2 em,
.wish-banner h2 em {
  color: var(--pink);
}

/* ===== TIMELINE ===== */

.timeline {
  position: relative;
  width: min(100%, 850px);
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 90px;
  width: 1px;
  background: linear-gradient(
    transparent,
    var(--cyan),
    var(--pink),
    transparent
  );
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 30px;
  margin-bottom: 42px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  padding-top: 26px;
  color: var(--cyan);
  text-align: right;
  font: 1.55rem/1 "Playfair Display", serif;
}

.timeline-card {
  padding: 28px 30px;
  border-radius: var(--radius-md);
  transition:
    transform var(--transition),
    border-color var(--transition);
}

.timeline-card:hover {
  border-color: var(--border-hover);
  transform: translateX(8px);
}

.timeline-date {
  margin: 0 0 8px;
  color: var(--pink) !important;
  font-size: 0.74rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-card h3,
.thanks-card h3,
.thing-card h3,
.universe-card h3,
.bucket-card h3 {
  margin: 0 0 9px;
  font-size: 1.2rem;
}

.timeline-card p,
.thanks-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== GALÉRIA ===== */

.gallery {
  columns: 3 250px;
  column-gap: 18px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #15203a;
  cursor: pointer;
  break-inside: avoid;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.4s ease;
}

.gallery-item:nth-child(2n) img {
  aspect-ratio: 1 / 1.35;
}

.gallery-item:nth-child(3n) img {
  aspect-ratio: 1.35 / 1;
}

.gallery-item span {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.68);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover img {
  filter: saturate(1.12);
  transform: scale(1.08);
}

.gallery-item:hover span {
  opacity: 1;
  transform: none;
}

/* ===== ÜZENET ===== */

.message-section {
  padding-top: 145px;
}

.message-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 82px);
  border-radius: var(--radius-lg);
}

.message-card::after {
  content: "";
  position: absolute;
  top: -170px;
  right: -200px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--violet);
  filter: blur(130px);
  opacity: 0.25;
  pointer-events: none;
}

.quote-mark {
  position: absolute;
  top: -30px;
  right: 7%;
  color: var(--cyan);
  font: 12rem/1 "Playfair Display", serif;
  opacity: 0.11;
  pointer-events: none;
}

.long-message {
  max-width: 720px;
  margin: 32px 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.9;
  white-space: pre-line;
}

.signature {
  margin: 0;
  font: italic 1.15rem/1.4 "Playfair Display", serif;
}

.signature span {
  color: var(--pink);
}

/* ===== KIS DOLGOK ===== */

.things-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.thing-card {
  min-height: 210px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    transparent
  );
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.thing-card:hover {
  border-color: var(--cyan);
  background: linear-gradient(
    145deg,
    rgba(56, 189, 248, 0.1),
    rgba(255, 255, 255, 0.02)
  );
  transform: translateY(-7px);
}

.thing-card > span {
  display: block;
  margin-bottom: 30px;
  color: var(--cyan);
  font-size: 1.9rem;
}

.thing-card p,
.bucket-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* ===== IDÉZET ===== */

.quote-section {
  padding-bottom: 65px;
}

.memory-quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote-line {
  width: 1px;
  height: 70px;
  margin: 0 auto 35px;
  background: linear-gradient(var(--cyan), var(--pink));
}

.memory-quote blockquote {
  margin: 0;
  font: italic clamp(1.8rem, 4vw, 3.7rem) / 1.2 "Playfair Display", serif;
  letter-spacing: -0.035em;
}

.memory-quote blockquote em {
  color: var(--cyan);
}

.memory-quote figcaption {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

/* ===== KÖSZÖNÖM ===== */

.thanks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.thanks-card {
  padding: 32px;
  border-radius: var(--radius-md);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.thanks-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(40, 58, 92, 0.62);
  transform: translateY(-8px);
}

.card-icon {
  margin-bottom: 22px;
  color: var(--pink);
  font-size: 2.1rem;
}

/* ===== JÓKÍVÁNSÁGOK ===== */

.wish-banner {
  padding: clamp(38px, 7vw, 82px);
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    linear-gradient(
      125deg,
      rgba(56, 189, 248, 0.14),
      rgba(168, 85, 247, 0.24),
      rgba(244, 114, 182, 0.12)
    ),
    var(--glass);
}

.wish-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.wish-list span {
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  transition:
    transform var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.wish-list span:hover {
  border-color: var(--cyan);
  color: var(--ink);
  transform: translateY(-2px);
}

/* ===== LEVÉL ===== */

.letter-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.4fr;
  gap: 55px;
  align-items: center;
}

.letter-aside {
  padding: 25px;
}

.letter-aside p:last-child {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.letter-number {
  display: block;
  color: transparent;
  font: clamp(5rem, 11vw, 9rem) / 1 "Playfair Display", serif;
  -webkit-text-stroke: 1px var(--cyan);
  opacity: 0.6;
}

.letter-card {
  position: relative;
  padding: clamp(32px, 6vw, 68px);
  border-radius: var(--radius-lg);
}

.letter-card h2 {
  margin: 0 0 26px;
  font: clamp(2.2rem, 4vw, 4rem) / 1 "Playfair Display", serif;
}

.letter-card h2 em {
  color: var(--pink);
}

.letter-card > p:not(.signature) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.9;
  white-space: pre-line;
}

.letter-card > p:not(.signature):last-of-type {
  margin-bottom: 0;
}

.mini-star {
  position: absolute;
  top: 9%;
  right: 9%;
  color: var(--cyan);
  font-size: 2rem;
}

/* ===== UNIVERSE ===== */

.universe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.universe-card {
  min-height: 230px;
  padding: 34px 29px;
  border-radius: var(--radius-md);
  transition:
    transform var(--transition),
    border-color var(--transition);
}

.universe-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-7px);
}

.universe-card > span {
  color: var(--pink);
  font: italic 2rem/1 "Playfair Display", serif;
}

.universe-card h3 {
  margin-top: 35px;
}

.universe-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ===== ZENE ===== */

.soundtrack-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  padding: clamp(35px, 6vw, 70px);
  border-radius: var(--radius-lg);
}

.soundtrack-panel h2,
.bucket-intro h2 {
  margin: 0;
  font: clamp(2.5rem, 4.5vw, 4.8rem) / 0.98 "Playfair Display", serif;
  letter-spacing: -0.055em;
}

.soundtrack-panel h2 em,
.bucket-intro h2 em {
  color: var(--pink);
}

.soundtrack-copy {
  max-width: 430px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.track-list {
  display: grid;
}

.track {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  transition:
    padding var(--transition),
    background var(--transition);
}

.track:hover {
  padding-left: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.track b {
  color: var(--cyan);
  font-size: 0.72rem;
}

.track span {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}

.track strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track small {
  color: var(--muted);
  font-size: 0.7rem;
}

.track i {
  color: var(--pink);
  font-style: normal;
}

/* ===== BUCKET LIST ===== */

.bucket-intro {
  margin-bottom: 50px;
  text-align: center;
}

.bucket-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bucket-card {
  min-height: 205px;
  padding: 29px 22px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.bucket-card:hover {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.1);
  transform: translateY(-6px);
}

.bucket-card span {
  color: var(--cyan);
  font-size: 1.8rem;
}

.bucket-card h3 {
  margin-top: 30px;
}

/* ===== FINÁLÉ ===== */

.finale {
  padding-top: 35px;
}

.finale-card {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 12vw, 135px) 22px;
  border: 1px solid var(--border);
  border-radius: 35px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 110%,
      rgba(168, 85, 247, 0.58),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      rgba(56, 189, 248, 0.13),
      rgba(244, 114, 182, 0.18)
    );
}

.finale-card h2 {
  margin: 0;
  font: clamp(2.8rem, 7vw, 6rem) / 0.96 "Playfair Display", serif;
  letter-spacing: -0.055em;
}

.finale-card h2 em {
  color: var(--pink);
}

.finale-button {
  display: inline-block;
  margin-top: 34px;
  text-decoration: none;
}

.sparkle {
  position: absolute;
  color: white;
  opacity: 0.6;
  pointer-events: none;
  animation: twinkle 3s ease-in-out infinite;
}

.s1 {
  top: 24%;
  left: 17%;
  font-size: 1.8rem;
}

.s2 {
  top: 35%;
  right: 16%;
  font-size: 2.4rem;
  animation-delay: -1.1s;
}

.s3 {
  right: 31%;
  bottom: 18%;
  font-size: 1.1rem;
  animation-delay: -2.1s;
}

/* ===== FOOTER ===== */

footer {
  padding: 50px 20px 60px;
  text-align: center;
}

footer p {
  margin: 0 0 8px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: italic clamp(2rem, 4vw, 3.3rem) / 1.1 "Playfair Display", serif;
}

footer span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ===== BACK TO TOP ===== */

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 20;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--glass);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    border-color var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

/* ===== LIGHTBOX ===== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 50px;
  background: rgba(4, 9, 20, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 25px 80px #000;
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 2.5rem;
  line-height: 1;
}

/* ===== GOMB ===== */

.primary-button {
  display: inline-block;
  width: 100%;
  padding: 15px 18px;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(
    110deg,
    var(--cyan),
    var(--violet),
    var(--pink)
  );
  color: white;
  cursor: pointer;
  font: 700 0.9rem "DM Sans", sans-serif;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.primary-button:hover {
  box-shadow: 0 14px 30px rgba(168, 85, 247, 0.28);
  transform: translateY(-3px);
}

.primary-button span {
  float: right;
  font-size: 1.1rem;
}

/* ===== LOGIN ===== */

.login-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 30px 0;
}

.login-shell {
  width: min(480px, calc(100% - 36px));
  padding: 30px 0;
}

.login-card {
  padding: clamp(32px, 7vw, 58px);
  border-radius: var(--radius-lg);
  text-align: center;
}

.login-card h1 {
  margin: 0;
  font: clamp(2.65rem, 8vw, 4.1rem) / 0.98 "Playfair Display", serif;
}

.login-card h1 em {
  color: var(--pink);
}

.login-intro {
  margin: 24px 0 32px;
  color: var(--muted);
  line-height: 1.7;
}

.login-form {
  display: grid;
  gap: 17px;
  text-align: left;
}

.login-form label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.login-form input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  background: rgba(15, 23, 42, 0.28);
  color: var(--ink);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

body.light .login-form input {
  background: rgba(255, 255, 255, 0.52);
}

.login-form input::placeholder {
  color: var(--muted);
}

.login-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.form-error {
  margin: 0;
  color: #ff9fc8;
  font-size: 0.83rem;
}

.login-note {
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

/* ===== REVEAL ===== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== ANIMÁCIÓK ===== */

@keyframes auroraMove {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(5vw, 4vh, 0) scale(1.08);
  }

  100% {
    transform: translate3d(11vw, 8vh, 0) scale(1.14);
  }
}

@keyframes starMove {
  from {
    background-position: 20px 20px, 80px 50px;
  }

  to {
    background-position: 120px 120px, 255px 165px;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes scrollDot {
  50% {
    transform: translate(-50%, 13px);
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1) rotate(0);
  }

  50% {
    opacity: 0.15;
    transform: scale(1.8) rotate(30deg);
  }
}

/* ===== TABLET ===== */

@media (max-width: 1000px) {
  .things-grid,
  .bucket-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .soundtrack-panel {
    gap: 40px;
  }
}

/* ===== MOBIL ===== */

@media (max-width: 700px) {
  html {
    scroll-padding-top: 82px;
  }

  .site-nav {
    top: 12px;
    width: calc(100% - 24px);
    min-height: 55px;
    padding: 7px 12px;
    border-radius: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 3px;
  }

  .logout {
    font-size: 0.7rem;
  }

  .volume-slider {
    width: 42px;
  }

  .hero {
    padding: 110px 18px 80px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 17vw, 6rem);
  }

  .typing {
    max-width: 90%;
    font-size: 0.92rem;
  }

  .hero-orbit {
    width: 125vw;
  }

  .scroll-cue {
    top: calc(100% + 55px);
  }

  .section {
    width: min(100% - 34px, 1120px);
    padding: 95px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .message-card h2,
  .wish-banner h2 {
    font-size: clamp(2.25rem, 10vw, 4rem);
  }

  .timeline::before {
    left: 16px;
  }

  .timeline-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }

  .timeline-number {
    padding-top: 23px;
    font-size: 1rem;
  }

  .timeline-card {
    padding: 23px 21px;
  }

  .timeline-card:hover {
    transform: translateY(-3px);
  }

  .gallery {
    columns: 2 145px;
    column-gap: 12px;
  }

  .gallery-item {
    margin-bottom: 12px;
    border-radius: 13px;
  }

  .gallery-item span {
    opacity: 1;
    transform: none;
  }

  .message-card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .message-section {
    padding-top: 100px;
  }

  .quote-mark {
    top: -15px;
    right: 3%;
    font-size: 8rem;
  }

  .long-message {
    font-size: 1rem;
    line-height: 1.8;
  }

  .things-grid,
  .thanks-grid,
  .universe-grid,
  .bucket-grid,
  .letter-layout,
  .soundtrack-panel {
    grid-template-columns: 1fr;
  }

  .thing-card,
  .universe-card,
  .bucket-card {
    min-height: auto;
  }

  .memory-quote blockquote {
    font-size: clamp(1.7rem, 8vw, 2.8rem);
  }

  .wish-banner {
    padding: 38px 24px;
    border-radius: 24px;
  }

  .wish-list {
    gap: 9px;
  }

  .wish-list span {
    padding: 9px 13px;
    font-size: 0.82rem;
  }

  .letter-layout,
  .soundtrack-panel {
    gap: 28px;
  }

  .letter-aside {
    padding: 0;
  }

  .letter-number {
    font-size: 5rem;
  }

  .letter-card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .letter-card > p:not(.signature) {
    font-size: 0.97rem;
  }

  .soundtrack-panel {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .track {
    gap: 12px;
    padding: 14px 8px;
  }

  .track:hover {
    padding-left: 12px;
  }

  .finale {
    padding-top: 20px;
  }

  .finale-card {
    padding: 80px 20px;
    border-radius: 26px;
  }

  .sparkle.s1 {
    left: 10%;
  }

  .sparkle.s2 {
    right: 10%;
  }

  .sparkle.s3 {
    right: 20%;
  }

  .lightbox {
    padding: 50px 17px;
  }

  .lightbox-close {
    top: 15px;
    right: 17px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  footer {
    padding: 40px 20px 50px;
  }

  footer p {
    font-size: 2rem;
  }
}

/* ===== KIS MOBIL ===== */

@media (max-width: 420px) {
  .site-nav {
    width: calc(100% - 16px);
  }

  .music-control {
    display: none;
  }

  .hero {
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 18vw, 4.8rem);
  }

  .section {
    width: calc(100% - 28px);
  }

  .gallery {
    columns: 1;
  }

  .gallery-item:nth-child(2n) img,
  .gallery-item:nth-child(3n) img {
    aspect-ratio: 1 / 0.9;
  }

  .login-shell {
    width: calc(100% - 24px);
  }

  .login-card {
    padding: 30px 22px;
    border-radius: 24px;
  }
}

/* ===== MOZGÁS CSÖKKENTÉSE ===== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}



















/* =========================================================
   BORI LOGIN – ÚJRAGONDOLT, KOMPAKT DESIGN
   ========================================================= */

.login-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(168, 85, 247, 0.24),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(56, 189, 248, 0.20),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #11172d 0%,
      #10172b 45%,
      #091727 100%
    );
}

.login-page .aurora {
  opacity: .22;
  filter: blur(90px);
}

.login-page .aurora-one {
  width: 420px;
  height: 420px;
  top: -160px;
  left: -130px;
}

.login-page .aurora-two {
  width: 360px;
  height: 360px;
  top: 45%;
  right: -140px;
}

.login-page .aurora-three {
  width: 300px;
  height: 300px;
  bottom: -170px;
  left: 35%;
}

.login-page .stars {
  opacity: .28;
}

/* KÖZPONTI DOBOZ */

.login-shell {
  position: relative;
  z-index: 2;
  width: min(470px, 100%);
  margin: 0 auto;
  padding: 0;
}

.login-card {
  width: 100%;
  padding: 42px 44px 38px;
  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(29, 40, 67, .82),
      rgba(13, 22, 42, .76)
    );

  border: 1px solid rgba(255,255,255,.13);

  box-shadow:
    0 35px 90px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.05);

  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);

  overflow: hidden;
  position: relative;
}

/* FINOM FÉNY A KÁRTYÁBAN */

.login-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -120px;
  right: -100px;
  border-radius: 50%;
  background: var(--violet);
  filter: blur(80px);
  opacity: .18;
  pointer-events: none;
}

.login-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  bottom: -110px;
  left: -80px;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(80px);
  opacity: .12;
  pointer-events: none;
}

/* FELIRAT */

.login-card .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 17px;
  font-size: .68rem;
  letter-spacing: .2em;
}

/* CÍM */

.login-card h1 {
  position: relative;
  z-index: 1;

  margin: 0;

  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 4.3rem);
  line-height: .92;
  letter-spacing: -.055em;

  color: #fff;
}

.login-card h1 em {
  display: block;
  margin-top: 3px;

  font-style: italic;

  background:
    linear-gradient(
      90deg,
      var(--pink),
      #ff8fc8,
      var(--violet)
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* BEVEZETŐ */

.login-intro {
  position: relative;
  z-index: 1;

  max-width: 360px;
  margin: 22px auto 27px;

  color: #aebbd2;
  font-size: .88rem;
  line-height: 1.65;
}

/* FORM */

.login-form {
  position: relative;
  z-index: 1;

  display: grid;
  gap: 14px;

  text-align: left;
}

.login-form label {
  display: block;

  color: #aebbd2;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.login-form input {
  height: 48px;

  margin-top: 7px;
  padding: 0 14px;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;

  background: rgba(255,255,255,.045);

  color: #fff;
  font-size: .88rem;

  outline: none;

  transition:
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.login-form input::placeholder {
  color: #73819a;
}

.login-form input:hover {
  background: rgba(255,255,255,.06);
}

.login-form input:focus {
  border-color: var(--cyan);
  background: rgba(56,189,248,.055);

  box-shadow:
    0 0 0 3px rgba(56,189,248,.10),
    0 8px 25px rgba(56,189,248,.08);
}

/* HIBA */

.form-error {
  margin: 0;

  padding: 10px 12px;

  border: 1px solid rgba(244,114,182,.2);
  border-radius: 10px;

  background: rgba(244,114,182,.08);

  color: #ffafd0;
  font-size: .77rem;
}

/* GOMB */

.login-card .primary-button {
  width: 100%;
  height: 48px;

  margin-top: 4px;
  padding: 0 18px;

  border-radius: 12px;

  background:
    linear-gradient(
      100deg,
      var(--cyan),
      var(--violet),
      var(--pink)
    );

  box-shadow:
    0 10px 30px rgba(168,85,247,.18);

  font-size: .84rem;
}

.login-card .primary-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 14px 32px rgba(168,85,247,.28);
}

.login-card .primary-button span {
  font-size: 1rem;
}

/* ALSÓ SZÖVEG */

.login-note {
  position: relative;
  z-index: 1;

  margin: 21px 0 0;

  color: #71809a;
  font-size: .67rem;
  letter-spacing: .03em;
}

/* MOBIL */

@media (max-width: 600px) {

  .login-page {
    padding: 20px 14px;
  }

  .login-shell {
    width: 100%;
  }

  .login-card {
    padding: 34px 24px 30px;
    border-radius: 24px;
  }

  .login-card h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .login-intro {
    margin-top: 18px;
    margin-bottom: 24px;
    font-size: .84rem;
  }

  .login-form input,
  .login-card .primary-button {
    height: 47px;
  }
}

/* NAGYON KIS TELEFON */

@media (max-width: 380px) {

  .login-card {
    padding: 30px 20px 27px;
  }

  .login-card h1 {
    font-size: 2.8rem;
  }

  .login-card .eyebrow {
    font-size: .61rem;
  }
}

/* VILÁGOS MÓD */

body.light .login-page {
  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(168,85,247,.13),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(56,189,248,.14),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #eaf4ff,
      #f3f7ff
    );
}

body.light .login-card {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.82),
      rgba(239,247,255,.72)
    );

  border-color: rgba(30,41,59,.10);

  box-shadow:
    0 35px 90px rgba(54,88,130,.16);
}

body.light .login-card h1 {
  color: #16223d;
}

body.light .login-intro,
body.light .login-form label {
  color: #53647c;
}

body.light .login-form input {
  background: rgba(255,255,255,.65);
  color: #16223d;
  border-color: rgba(30,41,59,.12);
}

body.light .login-form input::placeholder {
  color: #8190a5;
}

body.light .login-note {
  color: #71819a;
}




















































/* =========================================================
   TELJES MOBIL OPTIMALIZÁLÁS
   ========================================================= */

@media (max-width: 700px) {

  /* ===== ÁLTALÁNOS ===== */

  html {
    scroll-padding-top: 78px;
  }

  body {
    font-size: 15px;
  }

  .section {
    width: calc(100% - 28px);
    padding: 78px 0;
  }

  /* ===== MOBIL NAVIGÁCIÓ ===== */

  .site-nav {
    top: 10px;
    left: 50%;
    width: calc(100% - 20px);
    min-height: 52px;
    height: 52px;

    padding: 6px 12px;

    border-radius: 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    transform: translateX(-50%);
  }

  /* Csak a B és a kilépés marad */

  .brand {
    display: flex;
    align-items: center;
    font-size: 1.55rem;
  }

  .brand span {
    font-size: .62rem;
  }

  .nav-links {
    display: none !important;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
  }

  .nav-actions .theme-toggle,
  .nav-actions .music-control {
    display: none !important;
  }

  .logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    padding: 7px 11px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: rgba(255,255,255,.04);

    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;

    transition:
      color .25s ease,
      border-color .25s ease,
      background .25s ease;
  }

  .logout:hover,
  .logout:active {
    color: var(--ink);
    border-color: var(--cyan);
    background: rgba(56,189,248,.08);
  }

  /* ===== HERO ===== */

  .hero {
    min-height: 100svh;

    padding:
      95px
      18px
      70px;

    display: grid;
    place-items: center;
  }

  .hero-content {
    width: 100%;
  }

  .hero .eyebrow {
    margin-bottom: 15px;
    font-size: .62rem;
    letter-spacing: .15em;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.8rem);
    line-height: .9;
    letter-spacing: -.06em;
  }

  .typing {
    width: min(100%, 340px);

    margin-top: 22px;

    min-height: 3.5em;

    font-size: .88rem;
    line-height: 1.65;
    letter-spacing: .02em;
  }

  .scroll-cue {
    top: calc(100% + 48px);

    font-size: .62rem;
  }

  .scroll-cue i {
    width: 21px;
    height: 34px;
  }

  .scroll-cue i::after {
    left: 50%;
    width: 2px;
    height: 7px;
  }

  .hero-orbit {
    width: 128vw;
    max-width: none;

    opacity: .5;
  }

  /* ===== CÍMEK ===== */

  .section-heading {
    margin-bottom: 34px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: .63rem;
    letter-spacing: .16em;
  }

  .section-heading h2,
  .message-card h2,
  .wish-banner h2 {
    font-size: clamp(2.2rem, 10vw, 3.7rem);
    line-height: .98;
    letter-spacing: -.05em;
  }

  /* ===== TIMELINE ===== */

  .timeline {
    width: 100%;
  }

  .timeline::before {
    top: 14px;
    bottom: 14px;
    left: 13px;
  }

  .timeline-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;

    margin-bottom: 22px;
  }

  .timeline-number {
    padding-top: 21px;

    text-align: center;

    font-size: .85rem;
  }

  .timeline-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .timeline-card:hover {
    transform: none;
  }

  .timeline-date {
    margin-bottom: 6px;

    font-size: .64rem !important;
    letter-spacing: .08em;
  }

  .timeline-card h3 {
    margin-bottom: 8px;
    font-size: 1.03rem;
  }

  .timeline-card p {
    font-size: .84rem;
    line-height: 1.65;
  }

  /* ===== GALÉRIA ===== */

  .gallery {
    columns: 2;
    column-gap: 9px;
  }

  .gallery-item {
    margin-bottom: 9px;
    border-radius: 11px;
  }

  .gallery-item img,
  .gallery-item:nth-child(2n) img,
  .gallery-item:nth-child(3n) img {
    aspect-ratio: 1 / 1.08;
  }

  .gallery-item:hover img {
    transform: none;
  }

  .gallery-item span {
    top: 8px;
    right: 8px;

    width: 30px;
    height: 30px;

    font-size: .8rem;

    opacity: 1;
    transform: none;
  }

  /* ===== ÜZENET ===== */

  .message-section {
    padding-top: 82px;
  }

  .message-card {
    padding: 30px 21px;
    border-radius: 22px;
  }

  .message-card::after {
    width: 230px;
    height: 230px;
    right: -130px;
    top: -110px;
    filter: blur(90px);
  }

  .quote-mark {
    top: -12px;
    right: 3%;
    font-size: 7rem;
  }

  .long-message {
    margin: 25px 0;

    font-size: .92rem;
    line-height: 1.78;
  }

  .signature {
    font-size: 1rem;
  }

  /* ===== KIS DOLGOK ===== */

  .things-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .thing-card {
    min-height: 175px;
    padding: 19px 16px;
    border-radius: 17px;
  }

  .thing-card > span {
    margin-bottom: 19px;
    font-size: 1.55rem;
  }

  .thing-card h3 {
    margin-bottom: 7px;
    font-size: .95rem;
  }

  .thing-card p {
    font-size: .77rem;
    line-height: 1.55;
  }

  /* ===== IDÉZET ===== */

  .quote-section {
    padding-top: 55px;
    padding-bottom: 35px;
  }

  .quote-line {
    height: 45px;
    margin-bottom: 25px;
  }

  .memory-quote blockquote {
    font-size: clamp(1.55rem, 7.8vw, 2.5rem);
    line-height: 1.17;
  }

  .memory-quote figcaption {
    margin-top: 20px;
    font-size: .58rem;
    line-height: 1.5;
  }

  /* ===== KÖSZÖNÖM ===== */

  .thanks-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .thanks-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .thanks-card:hover {
    transform: none;
  }

  .card-icon {
    margin-bottom: 16px;
    font-size: 1.75rem;
  }

  .thanks-card h3 {
    font-size: 1.02rem;
  }

  .thanks-card p {
    font-size: .84rem;
    line-height: 1.65;
  }

  /* ===== JÓKÍVÁNSÁGOK ===== */

  .wish-banner {
    padding: 34px 20px;
    border-radius: 22px;
  }

  .wish-list {
    gap: 7px;
    margin-top: 25px;
  }

  .wish-list span {
    padding: 8px 11px;
    font-size: .72rem;
  }

  /* ===== LEVÉL ===== */

  .letter-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .letter-aside {
    padding: 0;
  }

  .letter-number {
    margin: -8px 0 4px;

    font-size: 4.7rem;
  }

  .letter-aside p:last-child {
    max-width: 100%;
    font-size: .84rem;
    line-height: 1.65;
  }

  .letter-card {
    padding: 29px 20px;
    border-radius: 22px;
  }

  .letter-card h2 {
    margin-bottom: 20px;
    font-size: 2.35rem;
  }

  .letter-card > p:not(.signature) {
    font-size: .89rem;
    line-height: 1.78;
  }

  .mini-star {
    top: 7%;
    right: 8%;
    font-size: 1.4rem;
  }

  /* ===== SAJÁT VILÁG ===== */

  .universe-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .universe-card {
    min-height: auto;
    padding: 24px 20px;
    border-radius: 18px;
  }

  .universe-card:hover {
    transform: none;
  }

  .universe-card > span {
    font-size: 1.65rem;
  }

  .universe-card h3 {
    margin-top: 22px;
    font-size: 1rem;
  }

  .universe-card p {
    font-size: .78rem;
    line-height: 1.6;
  }

  /* ===== ZENE ===== */

  .soundtrack-panel {
    grid-template-columns: 1fr;
    gap: 28px;

    padding: 29px 20px;
    border-radius: 22px;
  }

  .soundtrack-panel h2,
  .bucket-intro h2 {
    font-size: clamp(2.2rem, 9.5vw, 3.5rem);
  }

  .soundtrack-copy {
    margin-top: 18px;
    font-size: .84rem;
    line-height: 1.65;
  }

  .track {
    gap: 11px;
    padding: 13px 5px;
  }

  .track:hover {
    padding-left: 5px;
  }

  .track strong {
    font-size: .77rem;
  }

  .track small {
    font-size: .63rem;
  }

  /* ===== BUCKET LIST ===== */

  .bucket-intro {
    margin-bottom: 32px;
  }

  .bucket-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .bucket-card {
    min-height: 170px;
    padding: 20px 15px;
    border-radius: 17px;
  }

  .bucket-card span {
    font-size: 1.5rem;
  }

  .bucket-card h3 {
    margin-top: 22px;
    font-size: .92rem;
  }

  .bucket-card p {
    font-size: .72rem;
    line-height: 1.55;
  }

  /* ===== FINÁLÉ ===== */

  .finale {
    padding-top: 10px;
  }

  .finale-card {
    padding: 75px 17px;
    border-radius: 24px;
  }

  .finale-card h2 {
    font-size: clamp(2.55rem, 12vw, 4.5rem);
  }

  .finale-button {
    width: auto;
    min-width: 190px;
    margin-top: 27px;
  }

  .s1 {
    left: 9%;
    top: 19%;
  }

  .s2 {
    right: 9%;
    top: 27%;
  }

  .s3 {
    right: 18%;
    bottom: 15%;
  }

  /* ===== FOOTER ===== */

  footer {
    padding: 35px 15px 45px;
  }

  footer p {
    font-size: 1.9rem;
  }

  footer span {
    font-size: .62rem;
  }

  /* ===== LIGHTBOX ===== */

  .lightbox {
    padding: 50px 12px 20px;
  }

  .lightbox img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 12px;
  }

  .lightbox-close {
    top: 12px;
    right: 14px;
    font-size: 2.1rem;
  }

  /* ===== BACK TO TOP ===== */

  .back-to-top {
    right: 14px;
    bottom: 14px;

    width: 41px;
    height: 41px;

    font-size: 1rem;
  }

  /* ===== HÁTTÉR ===== */

  .aurora {
    filter: blur(75px);
    opacity: .2;
  }

  .aurora-one {
    width: 300px;
    height: 300px;
    top: -130px;
    left: -130px;
  }

  .aurora-two {
    width: 260px;
    height: 260px;
    right: -130px;
  }

  .aurora-three {
    width: 250px;
    height: 250px;
    left: 20%;
    bottom: -150px;
  }

  .stars {
    opacity: .24;
    background-size: 90px 90px, 145px 145px;
  }
}


/* =========================================================
   EXTRA KIS TELEFON
   ========================================================= */

@media (max-width: 420px) {

  .site-nav {
    width: calc(100% - 14px);
    min-height: 50px;
    height: 50px;
    padding: 6px 10px;
  }

  .brand {
    font-size: 1.42rem;
  }

  .logout {
    min-height: 32px;
    padding: 6px 9px;
    font-size: .64rem;
  }

  .hero {
    padding-top: 90px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 17vw, 4.8rem);
  }

  .typing {
    font-size: .83rem;
  }

  .section {
    width: calc(100% - 24px);
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 29px;
  }

  .section-heading h2,
  .message-card h2,
  .wish-banner h2 {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .gallery {
    columns: 1;
  }

  .gallery-item img,
  .gallery-item:nth-child(2n) img,
  .gallery-item:nth-child(3n) img {
    aspect-ratio: 1 / .9;
  }

  .things-grid,
  .bucket-grid {
    grid-template-columns: 1fr;
  }

  .thing-card,
  .bucket-card {
    min-height: auto;
  }

  .message-card {
    padding: 27px 18px;
  }

  .long-message {
    font-size: .88rem;
  }

  .letter-card {
    padding: 27px 18px;
  }

  .soundtrack-panel {
    padding: 27px 18px;
  }

  .finale-card {
    padding: 65px 15px;
  }
}


/* =========================================================
   TOUCH / MOBIL VISZELKEDÉS
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

  .timeline-card:hover,
  .thing-card:hover,
  .thanks-card:hover,
  .universe-card:hover,
  .bucket-card:hover {
    transform: none;
  }

  .timeline-card,
  .thing-card,
  .thanks-card,
  .universe-card,
  .bucket-card,
  .primary-button,
  .gallery-item {
    -webkit-tap-highlight-color: transparent;
  }

  .gallery-item:active {
    transform: scale(.985);
  }

  .primary-button:active {
    transform: scale(.985);
  }
}






























/* ===== TŰZIJÁTÉK ===== */

.confetti {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  overflow: hidden;
}

.confetti span {
  will-change: transform, opacity;
}

@keyframes fireworkParticle {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform:
      translate(
        calc(-50% + var(--dx)),
        calc(-50% + var(--dy))
      )
      scale(0.15);
  }
}