/* repertoire-sites.com — The Enchanted Codex */

:root {
  --white: #f9f9f9;
  --black: #010101;
  --color1: #131338;
  --colorpink: #b50fb8;
  --pink-text: #ff6beb;
  --pink-border: #ff0c82;
  --overlay: rgba(249, 249, 249, 0.25);
  --header-bg: rgba(1, 0, 6, 0.2);
  --header-border: rgba(255, 255, 255, 0.3);
  --gradient: linear-gradient(90deg, #ff0c82 0%, #f0ccff 48.558%, #49eff5 100%);
  --container-max: 1440px;
  --content-width: 1200px;
  --side-padding: clamp(16px, 8.33vw, 120px);
  --section-py: clamp(40px, 5.56vw, 80px);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: normal;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

.content-width {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

/* Typography */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-title {
  font-weight: 700;
  font-size: clamp(24px, 2.22vw, 32px);
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}

.section-subtitle {
  font-weight: 400;
  font-size: clamp(14px, 1.11vw, 16px);
  text-align: center;
  width: 100%;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  text-align: center;
  width: 100%;
}

.section-header .section-title,
.section-header .section-subtitle {
  text-align: center;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--side-padding);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.site-header--mobile {
  padding: 10px 16px;
  border: 1px solid var(--header-border);
  border-top: none;
}

.logo {
  width: 125px;
  height: 10px;
  position: relative;
  flex-shrink: 0;
}

.logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  padding: 5px 0;
  transition: opacity 0.2s;
}

.nav-desktop a:hover {
  opacity: 0.8;
}

.burger-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-btn img {
  width: 100%;
  height: 100%;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(1, 0, 6, 0.95);
  border-bottom: 1px solid var(--header-border);
  z-index: 999;
  padding: 20px 16px;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 80px;
  background: var(--colorpink);
  border: none;
  border-radius: 10px 60px 10px 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(16px, 1.39vw, 20px);
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  box-shadow: inset 0 4px 33.2px 0 white;
  transition:
    transform 0.2s,
    filter 0.2s;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border: 1px solid var(--colorpink);
  border-radius: 33px;
  background: var(--overlay);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  box-shadow: inset 0 4px 10px 0 rgba(255, 255, 255, 0.78);
}

.badge--small {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
}

.pill-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--colorpink);
  border-radius: 33px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  box-shadow: inset 0 4px 10px 0 rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.gradient-line {
  width: 100%;
  height: 0.5px;
  background: var(--gradient);
}

/* Hero */
.hero {
  position: relative;
  min-height: 707px;
  padding: 120px 0 40px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 10% 12%,
    rgba(3, 0, 3, 0.52) 0%,
    rgba(250, 0, 255, 0) 100%
  );
  opacity: 0.52;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 525px;
  flex-shrink: 0;
}

.hero__badge {
  align-self: flex-start;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__title {
  font-weight: 700;
  font-size: clamp(28px, 2.5vw, 36px);
  text-transform: uppercase;
}

.hero__desc {
  font-weight: 400;
  font-size: 16px;
}

.hero__image {
  position: relative;
  z-index: 1;
  width: clamp(280px, 38.5vw, 554px);
  height: clamp(276px, 38vw, 547px);
  border-radius: 600px;
  background: #000;
  overflow: hidden;
  flex-shrink: 0;
}

.hero__image img,
.hero__video {
  position: absolute;
  width: 103.25%;
  height: 104.14%;
  left: -1.78%;
  top: -2.44%;
  max-width: none;
  object-fit: cover;
}

.hero__video {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.hero--mobile {
  min-height: auto;
  padding: 100px 0 40px;
}

.hero--mobile .hero__inner {
  flex-direction: column;
  text-align: center;
  gap: 40px;
}

.hero--mobile .hero__content {
  max-width: 100%;
  align-items: center;
}

.hero--mobile .hero__badge {
  align-self: stretch;
}

.hero--mobile .hero__image {
  width: 285px;
  height: 282px;
  border-radius: 50%;
}

.hero--mobile .btn-primary {
  width: 100%;
}

/* Ticker */
.ticker {
  background: #b50fb8;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}

.ticker__track {
  display: flex;
  gap: 30px;
  animation: ticker 20s linear infinite;
  white-space: nowrap;
}

.ticker__item {
  font-size: 14px;
  color: var(--white);
  flex-shrink: 0;
  text-transform: uppercase;
  font-weight: 700;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Lore Section */
.lore-section {
  position: relative;
}

.lore-section__bg {
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
}

.lore-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.43;
}

.lore-block {
  position: relative;
  padding: var(--section-py) var(--side-padding);
}

.lore-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.lore-slider {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.lore-slider__track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.lore-card {
  position: relative;
  grid-column: span 2;
  min-height: 170px;
  border: 1px solid var(--pink-border);
  border-radius: 16px 60px 16px 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
}

.lore-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.lore-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.lore-card__bg {
  position: absolute;
  inset: 0;
  background: var(--color1);
  border-radius: inherit;
  pointer-events: none;
}

.lore-card__bg img {
  position: absolute;
  width: 102%;
  height: 217%;
  object-fit: cover;
  opacity: 0.6;
}

.lore-card__icon {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
}
.lore-card__icon img {
  width: 100%;
  height: 100%;
}

.lore-card__title {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: clamp(18px, 1.67vw, 24px);
  text-align: center;
}

/* Preview */
.preview-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.preview-image {
  position: relative;
  width: 100%;
  max-width: 986px;
  aspect-ratio: 986 / 508;
  overflow: hidden;
}

.preview-image__static,
.preview-image__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-image__video {
  display: none;
  position: absolute;
  inset: 0;
}

.preview-image.is-playing .preview-image__static {
  display: none;
}

.preview-image.is-playing .preview-image__video {
  display: block;
}

.preview-image.is-playing::after {
  display: none;
}

.preview-image img.preview-image__static {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.8);
}

.preview-block .preview-image .btn-primary {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 52px));
  z-index: 2;
}

.preview-image.is-playing .btn-primary {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.preview-block .preview-image .btn-primary:hover {
  transform: translate(-50%, calc(-50% + 52px)) scale(1.02);
}

/* Council */
.council-section {
  background: var(--black);
  padding: var(--section-py) var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.council-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.council-card {
  position: relative;
  border: 1px solid var(--pink-border);
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  overflow: hidden;
  height: 100%;
}

.council-card__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.council-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.council-card__photo {
  position: relative;
  width: 200px;
  height: 182px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 20px;
}

.council-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.council-card__info {
  position: relative;
  width: 100%;
  background: var(--color1);
  border: 1px solid var(--pink-border);
  border-radius: 0 60px 0 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  align-self: stretch;
  margin-top: 20px;
}

.council-card__name {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
}

.council-card__bio {
  font-size: 14px;
  font-weight: 400;
}

/* Grove */
.grove-section {
  background: var(--black);
  padding: var(--section-py) var(--side-padding);
}

.grove-card {
  background: var(--color1);
  border: 1px solid var(--pink-border);
  border-radius: 10px 60px 10px 10px;
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: var(--content-width);
  margin: 0 auto;
}

.grove-card__image {
  width: 343px;
  height: 271px;
  flex-shrink: 0;
  overflow: hidden;
}

.grove-card__image img {
  width: 117.77%;
  height: 100%;
  margin-left: -3.1%;
  max-width: none;
  object-fit: cover;
}

.grove-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grove-card__title {
  font-weight: 700;
  font-size: clamp(24px, 2.22vw, 32px);
  text-transform: uppercase;
}

.grove-card__body {
  font-size: 16px;
}

.grove-card__sub {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.grove-card__sub h3 {
  font-weight: 700;
  font-size: 20px;
}

/* Games */
.games-section {
  position: relative;
  background: var(--black);
  padding: var(--section-py) var(--side-padding);
  overflow: hidden;
}

.games-section__smoke {
  position: absolute;
  left: 0;
  top: 0;
  width: 652px;
  height: 434px;
  transform: rotate(-90deg) translateY(-50%);
  transform-origin: top left;
  pointer-events: none;
  opacity: 0.5;
}

.games-section__smoke img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.games-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  max-width: var(--content-width);
  margin: 0 auto 30px;
}

.games-header__balance {
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--pink-text);
}

.games-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.game-card {
  background: #292955;
  border: 1px solid var(--pink-border);
  border-radius: 10px 60px 10px 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.game-card__image {
  width: 100%;
  height: clamp(194px, 22.9vw, 330px);
  border-radius: 16px;
  overflow: hidden;
}

.game-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__title {
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--pink-text);
}

.game-card__desc {
  width: 100%;
  font-size: 14px;
}

.game-card__stats {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-card__stats-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-block__label {
  font-weight: 700;
  font-size: 16px;
  color: var(--pink-text);
}

.game-card__howto {
  font-size: 14px;
  white-space: pre-wrap;
}

.rules-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  padding: 0;
}

.rules-toggle img {
  width: 20px;
  height: 20px;
  transform: rotate(180deg) scaleY(-1);
  transition: transform 0.3s;
}

.rules-toggle.is-open img {
  transform: rotate(0deg) scaleY(-1);
}

.rules-content {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.rules-content.is-open {
  display: flex;
}

.rules-content li {
  font-size: 14px;
  list-style: disc;
  margin-left: 21px;
}

/* Slot Machine */
.slot-machine {
  width: 100%;
  max-width: 525px;
  background: rgba(19, 19, 56, 0.8);
  border-radius: 16px;
  padding: 20px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  position: relative;
  --slot-size: 68px;
  --slot-gap: 20px;
}

.slot-reels-wrap {
  position: relative;
  width: fit-content;
}

.slot-reels {
  display: flex;
  gap: var(--slot-gap);
  justify-content: center;
}

.slot-reel {
  width: var(--slot-size);
  height: calc(var(--slot-size) * 3 + var(--slot-gap) * 2);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.slot-reel__strip {
  display: flex;
  flex-direction: column;
  gap: var(--slot-gap);
  transition: transform 0.1s linear;
}

.slot-reel__strip.spinning {
  transition: none;
}

.slot-symbol {
  width: var(--slot-size);
  height: var(--slot-size);
  background: var(--colorpink);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.slot-symbol img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.slot-win-line {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--slot-size) + var(--slot-gap));
  height: var(--slot-size);
  border: 2px solid transparent;
  pointer-events: none;
  border-radius: 10px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.slot-machine.is-win .slot-win-line {
  border-color: #49eff5;
  box-shadow: 0 0 20px rgba(73, 239, 245, 0.6);
}

.slot-message {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pink-text);
  text-align: center;
  min-height: 20px;
}

.game-card__footer {
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  width: 100%;
}

.sunstone-display {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 500;
  background: var(--color1);
  border: 1px solid var(--colorpink);
  border-radius: 33px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(250, 0, 255, 0.3);
}

/* Ritual */
.ritual-section {
  background: var(--black);
  padding: var(--section-py) var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: var(--content-width);
}

.ritual-card {
  position: relative;
  min-height: 170px;
  border: 1px solid var(--pink-border);
  border-radius: 16px 60px 16px 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
}

.ritual-card__bg {
  position: absolute;
  inset: 0;
  background: var(--color1);
  border-radius: inherit;
}

.ritual-card__bg img {
  position: absolute;
  width: 105%;
  height: 100%;
  left: -2.5%;
  top: 37%;
  object-fit: cover;
  opacity: 0.5;
}

.ritual-card__title {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: clamp(18px, 1.67vw, 24px);
  text-align: center;
}

.ritual-card__text {
  position: relative;
  z-index: 1;
  font-size: 14px;
  text-align: center;
}

/* Play With A Plan */
.plan-section {
  background: var(--black);
  padding: var(--section-py) var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.plan-card {
  background: var(--color1);
  border: 1px solid var(--pink-border);
  border-radius: 0 60px 0 0;
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: center;
  width: 100%;
  max-width: var(--content-width);
}
@media (max-width: 600px) {
  .plan-card,
  .grove-card {
    padding: 20px;
  }
}

.plan-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-card__title {
  font-weight: 700;
  font-size: clamp(24px, 2.22vw, 32px);
  text-transform: uppercase;
}

.plan-card__body {
  font-size: 16px;
}

.plan-card__image {
  flex: 1;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.plan-card__image img {
  position: absolute;
  width: 100%;
  height: 166%;
  top: -11%;
  object-fit: cover;
}

/* FAQ */
.faq-section {
  padding: var(--section-py) var(--side-padding);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), var(--black);
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.faq-list {
  width: 100%;
  max-width: var(--content-width);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--color1);
  border: 1px solid var(--pink-border);
  border-radius: 10px 60px 16px 10px;
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: center;
  cursor: pointer;
}

.faq-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item__question {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

.faq-item__answer {
  font-size: 16px;
  display: none;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  padding: 40px var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(
      ellipse at 10% 12%,
      rgba(250, 0, 255, 0.52) 0%,
      rgba(250, 0, 255, 0) 100%
    ),
    #000;
}

.footer-top {
  display: flex;
  gap: 80px;
  width: 100%;
  max-width: var(--content-width);
  flex-wrap: wrap;
}

.footer-brand {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand .badge {
  align-self: flex-start;
  text-transform: uppercase;
}

.footer-disclaimer-title {
  font-weight: 700;
  font-size: 20px;
}

.footer-disclaimer-text {
  font-size: 14px;
}

.footer-links-col {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--colorpink);
}

.footer-info {
  font-size: 14px;
}

.footer-responsible {
  width: 100%;
  max-width: var(--content-width);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.footer-responsible h3 {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-help-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-help-links a {
  font-size: 16px;
  color: var(--colorpink);
  text-decoration: underline;
}

.footer-copy {
  font-size: 16px;
  text-align: center;
}

/* Policy Pages */
.policy-page {
  background: var(--black);
  min-height: 100vh;
  padding: 120px var(--side-padding) 40px;
}

.policy-card {
  max-width: var(--content-width);
  margin: 0 auto;
  border: 1px solid var(--pink-border);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.policy-back {
  align-self: flex-start;
  font-size: 16px;
  font-weight: 400;
}

.policy-title {
  font-weight: 700;
  font-size: 32px;
  text-transform: uppercase;
}

.policy-updated {
  font-size: 14px;
  color: rgba(249, 249, 249, 0.7);
  margin-bottom: 20px;
}

.policy-body {
  font-size: 16px;
  white-space: pre-wrap;
}

/* Horizontal scroll for mobile council/lore */
.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  width: 100%;
}

.scroll-row > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1280px) {
  .council-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .grove-card {
    flex-direction: column;
  }
  .grove-card__image {
    width: 100%;
    max-width: 343px;
  }
  .plan-card {
    flex-direction: column;
    align-items: stretch;
  }

  .plan-card__image {
    width: 100%;
    flex: none;
    min-height: 280px;
  }

  .plan-card__image img {
    height: 100%;
    top: 0;
  }
  .hero {
    padding-top: 100px;
  }
  .hero__inner {
    flex-direction: column;
    text-align: center;
  }
  .hero__content {
    align-items: center;
    max-width: 100%;
  }
  .hero__image {
    order: -1;
  }
}

@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }
  .burger-btn {
    display: block;
  }
  .ritual-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .slot-machine {
    padding: 20px 30px;
    --slot-size: 48px;
  }

  .slot-symbol {
    padding: 0;
  }

  .slot-symbol img {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 768px) {
  .council-grid {
    grid-template-columns: 1fr;
  }
  .lore-slider__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 var(--side-padding);
    margin: 0 calc(var(--side-padding) * -1);
    width: calc(100% + var(--side-padding) * 2);
  }

  .lore-slider__track::-webkit-scrollbar {
    display: none;
  }

  .lore-card {
    flex: 0 0 min(320px, calc(100vw - 80px));
    scroll-snap-align: center;
    grid-column: auto;
  }

  .lore-card:nth-child(4),
  .lore-card:nth-child(5) {
    grid-column: auto;
  }

  .preview-block .preview-image .btn-primary {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 52px));
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 16px 24px;
    margin-top: 0;
    white-space: normal;
    text-align: center;
  }
  .game-card {
    padding: 20px;
  }
  .btn-primary {
    padding: 16px 40px;
  }
  .faq-item {
    padding: 20px;
    flex-direction: row;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  .sunstone-display {
    bottom: 10px;
    right: 10px;
    left: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }
  .section-title {
    font-size: 24px;
  }
  .slot-machine {
    padding: 16px;
  }
}

@media (min-width: 1025px) {
  .hero--mobile-only {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero--desktop-only {
    display: none;
  }
  .nav-desktop-only .nav-desktop {
    display: none;
  }
  .nav-desktop-only .burger-btn {
    display: block;
  }
}
