:root {
  --rt-white: #fff;
  --rt-text-primary: #f3f3f3;
  --rt-text-secondary: #cfd5ff;
  --rt-text-muted: #c8ccf0;
  --rt-text-soft: #d2d6ff;
  --rt-text-warm: #ffe9be;
  --rt-accent-pink: #e91e96;
  --rt-accent-orange-1: #ff4a2d;
  --rt-accent-orange-2: #ff8f1f;
  --rt-accent-orange-3: #ffb327;
  --rt-accent-orange-4: #ff9f1c;
  --rt-accent-hover: #ffb347;
  --rt-accent-highlight: #ffc45d;
  --rt-panel-bg-a: rgba(18, 13, 52, 0.9);
  --rt-panel-bg-b: rgba(10, 14, 44, 0.84);
  --rt-panel-border: rgba(160, 93, 255, 0.3);
  --rt-glow-soft: rgba(255, 138, 31, 0.35);
  --rt-glow-strong: rgba(255, 138, 31, 0.55);
  --rt-btn-gradient: linear-gradient(90deg, var(--rt-accent-orange-1) 0%, var(--rt-accent-orange-2) 18%, var(--rt-accent-orange-3) 55%, var(--rt-accent-orange-4) 100%);
  --rt-panel-shadow-soft: 0 6px 18px var(--rt-glow-soft);
  --rt-panel-shadow-strong: 0 10px 28px var(--rt-glow-strong);
  --rt-content-width: min(100%, 760px);
  --rt-content-offset: clamp(0rem, 5vw, 4rem);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0;
  padding: 0;
  overflow: visible;
}

@media (max-width: 768px) {
  .header {
    overflow-x: hidden;
  }

  .navbar {
    padding-top: max(0.5rem, env(safe-area-inset-top));
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    min-height: 56px;
    width: 100%;
  }
}

.navbar {
  background-color: rgba(19, 18, 35, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(100%, 1280px);
  margin: 0 auto;
  min-height: 56px;
  padding-left: max(0.75rem, env(safe-area-inset-left));
  padding-right: max(0.75rem, env(safe-area-inset-right));
  flex-wrap: wrap;
  box-sizing: border-box;
  box-shadow: 5px 5px 16px rgba(0, 0, 0, 0.5);
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  overflow: visible;
}

@supports ((backdrop-filter: blur(5px)) or (-webkit-backdrop-filter: blur(5px))) {
  .navbar {
    background-color: rgba(34, 34, 34, 0.45);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.navbar.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: none;
  flex-direction: column;
  width: 100%;
  margin-left: 0;
  padding: 1rem 0;
  gap: 1rem;
  order: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 0.25rem;
}

.navbar.is-open .nav-menu {
  display: flex;
}

.logo-link {
  display: block;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.82rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  position: relative;
  transition: color 0.2s;
  box-sizing: border-box;
}

.nav-link::after {
  display: none;
}

.nav-link:hover {
  color: var(--rt-accent-hover);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:focus-visible,
.social-icon:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--rt-accent-orange-3);
  outline-offset: 2px;
}

.social-icons {
  display: none;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border-radius: 50%;
  transition: background 0.2s;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background: rgba(0, 0, 0, 0.6);
  filter: brightness(1.05);
  box-shadow: 0 0 24px rgba(255, 179, 39, 0.45);
  box-shadow: 0 0 24px color-mix(in srgb, var(--rt-accent-orange-3) 75%, transparent);
}

.logo {
  display: block;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
  max-height: 55px;
  max-width: 100%;
}

@media (min-width: 481px) {
  .logo img {
    height: 58px;
    max-height: 58px;
  }
}

@media (min-width: 769px) {
  .header {
    position: relative;
    top: auto;
    z-index: 1;
    margin: 0;
    padding: 0;
  }

  .navbar {
    flex-wrap: nowrap;
    min-height: 64px;
    padding: 0 1rem;
    gap: 1.1rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    margin-left: auto;
    margin-top: 0;
    padding: 0;
    border-top: none;
    order: 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 1.35rem;
  }

  .nav-list li {
    width: auto;
    border-bottom: none;
  }

  .nav-link {
    display: inline-block;
    padding: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 5px;
    background: var(--rt-accent-pink);
    transition: width 0.2s;
    display: block;
  }

  .social-icons {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .logo img {
    height: 74px;
    max-height: 74px;
  }
}

@media (min-width: 993px) {
  .header {
    margin: 0;
    padding: 0;
  }

  .navbar {
    gap: 1.5rem;
  }

  .nav-list {
    gap: 1.75rem;
  }

  .nav-link {
    font-size: 1.05rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon svg {
    width: 20px;
    height: 20px;
  }

  .logo img {
    height: 88px;
    max-height: 88px;
  }
}
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background-color: #222;
  background-image:
    radial-gradient(1200px 600px at 20% 10%, rgba(131, 58, 180, 0.22), transparent 60%),
    radial-gradient(900px 500px at 75% 20%, rgba(255, 123, 0, 0.2), transparent 65%),
    url("../img/web/bg1.avif");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: scroll;
  color: #fff;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 93, 255, 0.6) rgba(20, 18, 48, 0.8);
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: rgba(20, 18, 48, 0.8);
  border-radius: 10px;
  margin: 0.25rem 0;
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(160, 93, 255, 0.7), rgba(138, 70, 220, 0.6));
  border-radius: 10px;
  border: 2px solid rgba(20, 18, 48, 0.6);
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(180, 120, 255, 0.85), rgba(160, 93, 255, 0.75));
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body {
    background-attachment: fixed;
  }
}

main {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 1.2rem 1rem 2.6rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  align-items: stretch;
  width: var(--rt-content-width);
  max-width: 740px;
  text-transform: uppercase;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  transform: skewX(-7deg);
  padding-left: 0;
  margin: 0.85rem 0 0 var(--rt-content-offset);
}

.hero-title-line {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
}

.hero-title-line-top {
  font-size: clamp(1.72rem, 4.55vw, 3.7rem);
}

.hero-title-line-bottom {
  font-size: clamp(2.28rem, 6.55vw, 5.35rem);
}

.hero-title-line-left {
  justify-content: flex-start;
}

.hero-title-line-center {
  justify-content: center;
}

.hero-title-line-right {
  justify-content: center;
}

.hero-title-white {
  color: #fff;
  -webkit-text-stroke: 3px #111;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
}

.hero-title-gradient {
  background: linear-gradient(180deg, #ffc533 0%, #ff7a00 50%, #ff2b2b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 3px #111;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.event-date {
  margin: 0.85rem 0 0 var(--rt-content-offset);
  width: fit-content;
  padding: 0.25rem 1rem 0.35rem;
  border-radius: 0.25rem;
  background: linear-gradient(90deg, #6d28d9 0%, #9333ea 45%, #312e81 100%);
  color: #fff;
  font-size: clamp(1.3rem, 2.8vw, 2.45rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.18) inset, 0 6px 18px rgba(0, 0, 0, 0.35);
}

@media (min-width: 769px) {
  .hero-title {
    margin-left: clamp(-1.35rem, -1.7vw, -0.7rem);
  }

  .event-date {
    margin-top: 2rem;
    margin-left: clamp(0rem, 2.2vw, 1.8rem);
    margin-right: clamp(0rem, 2.2vw, 1.8rem);
    margin-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  main {
    padding: 0.75rem max(0.9rem, env(safe-area-inset-right)) max(1.8rem, env(safe-area-inset-bottom)) max(0.9rem, env(safe-area-inset-left));
  }

  body {
    background-size: auto 100vh;
    background-size: auto 100svh;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
  }

  .hero-title {
    width: min(100%, 480px);
    max-width: 480px;
    margin: 0 auto;
    transform: skewX(-4deg);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .hero-title-line {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    text-align: center;
    overflow: visible;
  }

  .hero-title-line-top {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .hero-title-line-bottom {
    font-size: clamp(1.7rem, 10vw, 2.7rem);
  }

  .event-date {
    margin: 0.75rem auto 0;
    font-size: clamp(1.1rem, 6vw, 1.6rem);
    padding: 0.4rem 0.9rem 0.45rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}

.site-footer {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 1.25rem 1rem max(1.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(160, 93, 255, 0.2);
  text-align: center;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.site-footer-links a {
  color: #cfd5ff;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: #ffd88a;
  text-decoration: underline;
}

.site-footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #cfd5ff;
  cursor: pointer;
  text-decoration: none;
}

.site-footer-cookie-btn:hover {
  color: #ffd88a;
  text-decoration: underline;
}

.site-footer-credit {
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: rgba(207, 213, 255, 0.7);
  font-family: "Segoe UI", Tahoma, sans-serif;
}
.countdown {
  margin: 1.15rem auto 0;
  width: min(100%, 860px);
  display: grid;
  gap: 0.8rem;
}

.countdown-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.countdown-copy {
  display: grid;
  gap: 0.25rem;
  max-width: 760px;
  text-align: center;
}

.countdown-title {
  margin: 0;
  color: var(--rt-text-primary);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1rem, 1.85vw, 1.62rem);
  font-weight: 800;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.countdown-subtext {
  margin: 0;
  margin-top: 0.05rem;
  color: var(--rt-text-secondary);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.countdown-actions {
  display: grid;
  gap: 0.35rem;
  justify-items: stretch;
}

.countdown-foot {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.countdown-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #1a1408;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 900;
  line-height: 1;
  min-width: 210px;
  padding: 0.95rem 1.6rem;
  border-radius: 0.9rem;
  border: 1px solid var(--rt-panel-border);
  clip-path: polygon(0 0, 92% 0, 100% 100%, 8% 100%);
  background: var(--rt-btn-gradient);
  box-shadow: var(--rt-panel-shadow-soft);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.countdown-button:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.06);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: var(--rt-panel-shadow-strong);
}

.countdown-button::before {
  content: "";
  position: absolute;
  top: -25%;
  left: -45%;
  width: 38%;
  height: 150%;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 35%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.12) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-170%) skewX(-16deg);
  mix-blend-mode: screen;
  opacity: 0.72;
  z-index: 1;
  animation: cta-sweep-light 2.1s linear infinite;
}

.countdown-button:focus-visible {
  outline: 2px solid var(--rt-accent-orange-3);
  outline-offset: 3px;
}

@keyframes cta-sweep-light {
  0% {
    transform: translateX(-170%) skewX(-16deg);
  }
  100% {
    transform: translateX(360%) skewX(-16deg);
  }
}

.countdown-button.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.countdown-panel {
  --panel-tilt: 3.5%;
  display: grid;
  grid-template-columns: auto repeat(4, minmax(62px, auto));
  align-items: center;
  gap: 0;
  padding: 0.48rem 0.95rem 0.45rem;
  min-width: 590px;
  border-radius: 1rem;
  background: linear-gradient(140deg, var(--rt-panel-bg-a), var(--rt-panel-bg-b));
  border: 1px solid var(--rt-panel-border);
  clip-path: polygon(0 0, calc(100% - var(--panel-tilt)) 0, 100% 100%, var(--panel-tilt) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 5px 16px rgba(0, 0, 0, 0.3);
  flex: 0 1 auto;
}

.countdown-prefix {
  margin: 0;
  padding: 0 0.8rem;
  color: var(--rt-text-soft);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(2rem, 1.05vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.countdown-item {
  min-width: 52px;
  padding: 0 0.5rem;
  text-align: center;
  position: relative;
}

.countdown-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  width: 1px;
  height: 76%;
  background: linear-gradient(180deg, rgba(233, 30, 150, 0.65), rgba(255, 143, 31, 0.45));
  background: linear-gradient(180deg, color-mix(in srgb, var(--rt-accent-pink) 80%, transparent), color-mix(in srgb, var(--rt-accent-orange-2) 60%, transparent));
}

.countdown-value {
  display: block;
  color: #fff;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2.45rem);
  font-weight: 900;
  line-height: 1;
}

.countdown-label {
  display: block;
  margin-top: 0.1rem;
  color: var(--rt-text-muted);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.countdown-item-highlight .countdown-value {
  color: var(--rt-accent-highlight);
}

.countdown[data-countdown-state="finished"] .countdown-panel {
  opacity: 0.85;
}

@media (min-width: 769px) {
  .countdown {
    margin-top: 1.3rem;
    width: min(100%, 860px);
  }
}

@media (max-width: 768px) {
  .countdown {
    margin: 1rem auto 0;
    width: min(100%, 460px);
    gap: 0.75rem;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .countdown-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .countdown-foot {
    flex-direction: column;
    gap: 0.65rem;
  }

  .countdown-copy {
    text-align: center;
  }

  .countdown-title {
    text-align: center;
    font-size: clamp(1.1rem, 6vw, 1.45rem);
  }

  .countdown-subtext {
    font-size: 0.86rem;
  }

  .countdown-actions {
    justify-items: center;
  }

  .countdown-button {
    width: min(100%, 320px);
    min-height: 48px;
    margin: 0 auto;
    font-size: clamp(1.1rem, 6.3vw, 1.45rem);
    padding: 0.9rem 1.15rem;
    box-sizing: border-box;
  }

  .countdown-panel {
    --panel-tilt: 2.5%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 0;
    padding: 0.45rem 0.5rem;
    min-width: 0;
    border-radius: 0.8rem;
  }

  .countdown-prefix {
    grid-column: 1 / -1;
    text-align: center;
    padding: 0.1rem 0 0.35rem;
    font-size: 0.75rem;
  }

  .countdown-item {
    min-width: 0;
    padding: 0 0.4rem;
  }

  .countdown-item::after {
    display: none;
  }

  .countdown-value {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .countdown-label {
    font-size: 0.64rem;
    letter-spacing: 0.05em;
  }
}

@supports not (clip-path: polygon(0 0, calc(100% - var(--panel-tilt)) 0, 100% 100%, var(--panel-tilt) 100%)) {
  .countdown-panel {
    clip-path: none;
  }
}
.cards-section {
  margin: 2.1rem auto 0;
  width: min(100%, 1080px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.feature-card {
  --n1: #ff00d4;
  --n2: #7a35ff;
  --n3: #00d4ff;
  position: relative;
  min-height: 176px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  border-radius: 0.95rem;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), 0 0 8px rgba(255, 0, 212, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), 0 0 8px color-mix(in srgb, var(--n1) 35%, transparent);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 22%), linear-gradient(180deg, rgba(7, 10, 30, 0.02) 46%, rgba(7, 10, 30, 0.8) 100%);
  z-index: -1;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0deg, rgba(255, 255, 255, 0) 280deg, var(--n1) 315deg, var(--n2) 338deg, var(--n3) 350deg, rgba(255, 255, 255, 0) 360deg);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.52), 0 0 14px rgba(255, 0, 212, 0.35), 0 0 18px rgba(122, 53, 255, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.52), 0 0 14px color-mix(in srgb, var(--n1) 55%, transparent), 0 0 18px color-mix(in srgb, var(--n2) 45%, transparent);
  filter: saturate(1.06);
}

.feature-card:hover::after {
  opacity: 1;
  animation: card-border-run 1.4s linear infinite;
  filter: drop-shadow(0 0 7px rgba(255, 0, 212, 0.4)) drop-shadow(0 0 8px rgba(0, 212, 255, 0.34));
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--n1) 70%, transparent)) drop-shadow(0 0 8px color-mix(in srgb, var(--n3) 55%, transparent));
}

@keyframes card-border-run {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.feature-card-title {
  color: #fff;
  font-family: "Segoe UI", Tahoma, sans-serif;
  width: 100%;
  text-align: center;
  font-size: clamp(1.4rem, 2.05vw, 2.1rem);
  font-weight: 900;
  line-height: 1.05;
  -webkit-text-stroke: 1.2px rgba(6, 9, 26, 0.65);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.78);
  z-index: 1;
}

.feature-card-guests .feature-card-title {
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  overflow-wrap: anywhere;
}

.feature-card:focus-visible {
  outline: 2px solid var(--rt-accent-orange-3);
  outline-offset: 3px;
}

.feature-card-cosplay {
  --n1: #ff00d4;
  --n2: #d214ff;
  --n3: #7a35ff;
  background-image: linear-gradient(140deg, rgba(255, 0, 200, 0.45), rgba(40, 0, 80, 0.38)), url("../img/web/cosplay.avif");
  background-position: left center;
}

.feature-card-guests {
  --n1: #00d4ff;
  --n2: #3ac8ff;
  --n3: #5f7cff;
  background-image: linear-gradient(140deg, rgba(0, 209, 255, 0.4), rgba(6, 28, 78, 0.4)), url("../img/web/invitados.avif");
  background-position: center 40%;
}

.feature-card-tournaments {
  --n1: #9d2dff;
  --n2: #6f2cff;
  --n3: #ff00d4;
  background-image: linear-gradient(140deg, rgba(128, 0, 255, 0.42), rgba(43, 16, 94, 0.38)), url("../img/web/lanparty.avif");
  background-position: 64% 35%;
}

.feature-card-shops {
  --n1: #ff8a00;
  --n2: #ff3d00;
  --n3: #ff00d4;
  background-image: linear-gradient(140deg, rgba(255, 107, 0, 0.46), rgba(88, 19, 59, 0.4)), url("../img/web/tienda.avif");
  background-position: 82% center;
}

@media (max-width: 768px) {
  .cards-section {
    width: min(100%, 500px);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .feature-card {
    min-height: 120px;
    padding: 0.75rem 0.8rem;
    border-radius: 0.75rem;
    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
    min-width: 0;
  }

  .feature-card-title {
    font-size: clamp(1.15rem, 5.5vw, 1.65rem);
    line-height: 1.15;
  }
}

@media (max-width: 420px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 142px;
  }
}

@media (hover: none) {
  .feature-card:hover {
    transform: none;
    filter: none;
  }

  .feature-card:hover::after {
    opacity: 0;
    animation: none;
    filter: none;
  }
}

@supports not (clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%)) {
  .feature-card {
    clip-path: none;
    border-radius: 0.95rem;
  }
}

@supports not ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
  .feature-card::after {
    display: none;
  }
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  background: rgba(7, 9, 30, 0.72);
  backdrop-filter: blur(4px);
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: 95vw;
  max-width: 95vw;
  height: 95vh;
  max-height: 95vh;
  overflow: auto;
  padding: 1.25rem 1rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(160, 93, 255, 0.35);
  background: linear-gradient(150deg, rgba(17, 14, 52, 0.95), rgba(7, 12, 40, 0.96));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 93, 255, 0.6) rgba(20, 18, 48, 0.8);
}

.modal-dialog::-webkit-scrollbar {
  width: 10px;
}

.modal-dialog::-webkit-scrollbar-track {
  background: rgba(20, 18, 48, 0.8);
  border-radius: 10px;
  margin: 0.25rem 0;
}

.modal-dialog::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(160, 93, 255, 0.7), rgba(138, 70, 220, 0.6));
  border-radius: 10px;
  border: 2px solid rgba(20, 18, 48, 0.6);
}

.modal-dialog::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(180, 120, 255, 0.85), rgba(160, 93, 255, 0.75));
}

.modal-title {
  margin: 0;
  color: #fff;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 900;
}

.modal-subtitle {
  margin: 0.45rem 0 1rem;
  color: #cfd5ff;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 600;
}

.modal-dialog--collab {
  width: min(92vw, 720px);
  max-width: min(92vw, 720px);
  height: auto;
  max-height: min(88vh, 680px);
}

.modal-dialog--map {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-dialog--map .modal-lloc-info {
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.modal-dialog--map .modal-map-wrap {
  flex: 1;
  min-height: 0;
}

.modal-lloc-info {
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(20, 18, 48, 0.9), rgba(12, 10, 35, 0.95));
  border: 1px solid rgba(160, 93, 255, 0.3);
}

.modal-lloc-address {
  margin: 0 0 0.75rem;
  color: #e8eaf6;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
}

.modal-lloc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.modal-lloc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.95rem 1.6rem;
  border-radius: 0.9rem;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--rt-panel-border);
  clip-path: polygon(0 0, 92% 0, 100% 100%, 8% 100%);
  box-shadow: var(--rt-panel-shadow-soft);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.modal-lloc-btn:focus {
  outline: none;
}

.modal-lloc-btn:focus-visible {
  outline: 2px solid var(--rt-accent-orange-3);
  outline-offset: 3px;
}

.modal-lloc-btn:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.06);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: var(--rt-panel-shadow-strong);
}

.modal-lloc-btn--primary {
  color: #1a1408;
  background: var(--rt-btn-gradient);
}

.modal-lloc-btn--primary::before {
  content: "";
  position: absolute;
  top: -25%;
  left: -45%;
  width: 38%;
  height: 150%;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 35%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 65%);
  transform: skewX(-18deg);
}

.modal-lloc-btn--secondary {
  color: #1a1408;
  background: var(--rt-btn-gradient);
}

.modal-lloc-btn--secondary::before {
  content: "";
  position: absolute;
  top: -25%;
  left: -45%;
  width: 38%;
  height: 150%;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 35%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 65%);
  transform: skewX(-18deg);
}

.modal-map-wrap {
  position: relative;
  width: 100%;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(160, 93, 255, 0.25);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.25);
}

.modal-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 0;
}

.modal-close {
  position: absolute;
  right: 0.5rem;
  top: 0.35rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 0.5rem;
}

.modal-close:hover,
.modal-close:focus {
  background: rgba(255, 255, 255, 0.1);
}

.modal-close:focus-visible {
  outline: 2px solid var(--rt-accent-orange-3);
  outline-offset: 2px;
}

/* Carrusel Cosplay â€” nou disseny, una sola llista d'imatges */
.cosplay-carousel {
  --carousel-accent: #e879f9;
  --carousel-bg: rgba(15, 12, 36, 0.97);
  --carousel-border: rgba(192, 132, 252, 0.35);
  position: relative;
  width: min(100%, 820px);
  min-height: 320px;
  margin: 0.75rem auto 0;
  padding: 0.85rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(165deg, var(--carousel-bg), rgba(8, 6, 24, 0.98)),
    radial-gradient(100% 80% at 20% 0%, rgba(232, 121, 249, 0.08), transparent 50%),
    radial-gradient(90% 60% at 80% 100%, rgba(34, 211, 238, 0.08), transparent 50%);
  border: 1px solid var(--carousel-border);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cosplay-carousel:focus-visible {
  outline: 2px solid var(--carousel-accent);
  outline-offset: 3px;
}

.carousel-stage {
  position: relative;
  width: 100%;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0a0a1a;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.carousel-track {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #0a0a1a;
}

.carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  z-index: 5;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: rgba(232, 121, 249, 0.35);
  color: #fff;
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--carousel-accent);
  outline-offset: 2px;
}

.carousel-btn-prev {
  left: 0.5rem;
}

.carousel-btn-next {
  right: 0.5rem;
}

.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.carousel-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--carousel-accent);
  box-shadow: 0 0 12px rgba(232, 121, 249, 0.5);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--carousel-accent);
  outline-offset: 2px;
}

.carousel-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.carousel-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 0.2rem 0;
}

.carousel-thumb {
  flex: 0 0 72px;
  height: 48px;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  padding: 0;
  overflow: hidden;
  background: rgba(20, 18, 40, 0.8);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.75;
}

.carousel-thumb.is-active {
  border-color: var(--carousel-accent);
  opacity: 1;
}

.carousel-thumb.is-active img {
  opacity: 1;
}

.carousel-thumb:hover {
  border-color: rgba(232, 121, 249, 0.6);
  opacity: 1;
}

.carousel-thumb:focus-visible {
  outline: 2px solid var(--carousel-accent);
  outline-offset: 2px;
}

.carousel-thumbs::-webkit-scrollbar {
  height: 6px;
}

.carousel-thumbs::-webkit-scrollbar-thumb {
  background: rgba(192, 132, 252, 0.4);
  border-radius: 999px;
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.7rem;
}

.collab-item {
  min-height: 88px;
  border-radius: 0.7rem;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  color: #d9ddff;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  padding: 0.4rem;
}

.collab-item img {
  width: 100%;
  height: 100%;
  max-height: 84px;
  object-fit: contain;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.video-item {
  margin: 0;
}

.video-loop {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0b0d2f;
}

@media (min-width: 901px) {
  .modal-dialog {
    width: min(80vw, 1400px);
    max-height: min(88vh, 820px);
  }

  .video-grid {
    gap: 0.75rem;
  }

  .video-loop {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .modal-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    padding: 1rem 0.75rem 1rem;
    padding-top: max(2.5rem, env(safe-area-inset-top));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    padding-left: max(0.75rem, env(safe-area-inset-left));
  }

  .modal-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    padding-right: 44px;
  }

  .modal-subtitle {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  }

  .modal-dialog--collab {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .cosplay-carousel {
    width: 100%;
    padding: 0.6rem 0.5rem;
  }

  .carousel-thumb {
    flex: 0 0 56px;
    height: 38px;
  }

  .carousel-status {
    width: 100%;
    text-align: center;
  }
}

body.is-modal-open {
  overflow: hidden;
}
.faq-section {
  margin: 2.5rem auto 0;
  width: min(100%, 720px);
  padding: 0 1rem 2rem;
}

.faq-title {
  margin: 0 0 1.25rem;
  color: #fff;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.02em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  border-radius: 0.75rem;
  border: 1px solid rgba(160, 93, 255, 0.25);
  background: linear-gradient(145deg, rgba(12, 14, 42, 0.6), rgba(8, 10, 30, 0.75));
  overflow: hidden;
}

.faq-item summary {
  padding: 0.9rem 1rem;
  color: #ffd88a;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 1rem 1rem;
}

.faq-item .faq-answer p {
  margin: 0 0 0.6rem;
  color: #e8eaf6;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  line-height: 1.6;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .faq-section {
    margin-top: 1.8rem;
    padding: 0 max(0.85rem, env(safe-area-inset-left)) 1.5rem max(0.85rem, env(safe-area-inset-right));
  }

  .faq-title {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
  }

  .faq-item summary {
    min-height: 48px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }

  .faq-item .faq-answer {
    padding: 0 1rem 1rem;
  }

  .faq-item .faq-answer p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }
}
.page-main {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 1.4rem 1rem 2.4rem;
}

.page-content {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 1.4rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(12, 14, 42, 0.78), rgba(8, 10, 30, 0.86));
  border: 1px solid rgba(160, 93, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.page-title {
  margin: 0 0 1rem;
  color: #fff;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.page-subtitle {
  margin: 1.25rem 0 0.6rem;
  color: #ffd88a;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 800;
}

.page-text {
  margin: 0.55rem 0;
  color: #f0f2ff;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.65;
}

.page-contact-links {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.page-contact-link {
  width: fit-content;
  color: #ffd88a;
  text-decoration: none;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-weight: 700;
}

.page-contact-link:hover {
  text-decoration: underline;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #1a1408;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 900;
  line-height: 1;
  min-width: 180px;
  padding: 0.95rem 1.6rem;
  border-radius: 0.9rem;
  border: 1px solid var(--rt-panel-border);
  clip-path: polygon(0 0, 92% 0, 100% 100%, 8% 100%);
  background: var(--rt-btn-gradient);
  box-shadow: var(--rt-panel-shadow-soft);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 0.5rem;
}

.page-btn:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.06);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: var(--rt-panel-shadow-strong);
}

.page-btn::before {
  content: "";
  position: absolute;
  top: -25%;
  left: -45%;
  width: 38%;
  height: 150%;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 35%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0.12) 65%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-170%) skewX(-16deg);
  mix-blend-mode: screen;
  opacity: 0.72;
  z-index: 1;
}

.page-btn:focus-visible {
  outline: 2px solid var(--rt-accent-orange-3);
  outline-offset: 3px;
}

.site-footer {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 1.25rem 1rem max(1.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(160, 93, 255, 0.2);
  text-align: center;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.site-footer-links a {
  color: #cfd5ff;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: #ffd88a;
  text-decoration: underline;
}

.site-footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #cfd5ff;
  cursor: pointer;
  text-decoration: none;
}

.site-footer-cookie-btn:hover {
  color: #ffd88a;
  text-decoration: underline;
}

.site-footer-credit {
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: rgba(207, 213, 255, 0.7);
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.page-content--legal .page-subtitle {
  margin-top: 1.5rem;
}

.page-content--legal .page-subtitle:first-of-type {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .page-main {
    padding: 0.8rem max(0.85rem, env(safe-area-inset-right)) max(1.8rem, env(safe-area-inset-bottom)) max(0.85rem, env(safe-area-inset-left));
  }

  .page-content {
    padding: 1rem max(0.85rem, env(safe-area-inset-right)) 1rem max(0.85rem, env(safe-area-inset-left));
    border-radius: 0.8rem;
  }

  .page-title {
    font-size: clamp(1.5rem, 5vw, 1.9rem);
  }

  .page-text {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  }
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  background: linear-gradient(160deg, rgba(18, 14, 42, 0.98), rgba(10, 8, 28, 0.99));
  border-top: 2px solid rgba(160, 93, 255, 0.4);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  font-family: "Segoe UI", Tahoma, sans-serif;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.cookie-banner__text {
  margin: 0 0 1rem;
  color: #cfd5ff;
  font-size: 0.95rem;
  line-height: 1.45;
}

.cookie-banner__link {
  color: #ffd88a;
  text-decoration: underline;
}

.cookie-banner__link:hover {
  color: #ffe9a8;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-banner__btn {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--rt-accent-orange-3);
  outline-offset: 2px;
}

.cookie-banner__btn--reject {
  color: #cfd5ff;
  background: rgba(80, 70, 120, 0.5);
  border-color: rgba(160, 93, 255, 0.35);
}

.cookie-banner__btn--reject:hover {
  background: rgba(100, 90, 140, 0.6);
}

.cookie-banner__btn--accept {
  color: #1a1408;
  background: linear-gradient(90deg, var(--rt-accent-orange-1), var(--rt-accent-orange-3));
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px var(--rt-glow-soft);
}

.cookie-banner__btn--accept:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

@media (min-width: 480px) {
  .cookie-banner {
    left: 50%;
    right: auto;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(100% - 2rem, 520px);
    border-radius: 0.75rem;
    border-top: none;
    border: 1px solid rgba(160, 93, 255, 0.4);
  }

  .cookie-banner--hidden {
    transform: translateX(-50%) translateY(calc(100% + 2rem));
  }
}
