@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Regular.woff2") format("woff2"), url("../fonts/Lora-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Bold.woff2") format("woff2"), url("../fonts/Lora-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jaro";
  src: url("../fonts/Jaro-Regular.woff2") format("woff2"), url("../fonts/Jaro-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-base: "Lora", sans-serif;
  --font-heading: "Jaro", sans-serif;
  --clr-bg: #fef9f5;
  --clr-surface: #ffffff;
  --clr-surface-alt: #f5f0ea;
  --clr-border: #efd8ff;
  --clr-text: #193064;
  --clr-text-light: #5e4a3a;
  --clr-primary: #a736f3;
  --clr-secondary: #ff6b6b;
  --clr-accent-1: #2bbf8a;
  --clr-accent-2: #ffc145;
  --clr-accent-3: #5986f3;
  --clr-shadow: rgba(0, 0, 0, 0.08);
  --clr-glow: rgba(167, 54, 243, 0.25);
  --font-size-h1: 3rem;
  --font-size-h2: 2.25rem;
  --font-size-h3: 1.5rem;
  --font-size-h4: 1.125rem;
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 12px var(--clr-shadow);
  --shadow-glow: 0 0 16px var(--clr-glow);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

* {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 10px;
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
  color: var(--clr-text-light);
  text-transform: uppercase;
}

body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.5;
  background: var(--clr-bg);
  color: var(--clr-text);
}

button {
  border: 0;
  cursor: pointer;
}

figure {
  margin: 0;
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

blockquote {
  margin: 0;
}

.text-lead {
  font-size: var(--font-size-base);
  max-width: 800px;
  margin: 0 auto 20px;
  color: var(--clr-text-light);
}

.aspect-3-4 {
  aspect-ratio: 3/4;
}

.aspect-4-3 {
  aspect-ratio: 4/3;
}

.aspect-16-9 {
  aspect-ratio: 16/9;
}

.aspect-1-1 {
  aspect-ratio: 1/1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Header */
.header {
  background-color: var(--clr-bg);
  position: sticky;
  z-index: 100;
  top: 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
}

.logo {
  display: block;
  width: 150px;
}

.nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  color: var(--clr-text);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-primary);
}

/* Burger Menu Styling */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.burger-line {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--clr-text);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-main {
  transition: transform 0.3s ease;
}

.nav-main.active {
  display: block;
}

/* Responsive Burger Menu */
@media (max-width: 1023px) {
  .burger {
    display: block;
  }

  .nav-main {
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    background-color: #f5f0ea;
    padding: 2rem;
    display: none;
    max-width: 500px;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    font-size: 2rem;
    padding: 10px;
    display: block;
  }
}

@media (min-width: 1024px) {
  .nav-list {
    gap: 0;
  }

  .nav-link {
    width: 100px;
    height: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-link.active {
    background: url(../images/menu.webp) no-repeat;
  }
}

/* Banner Section */
.banner-section {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  position: relative;
  z-index: 101;
}

.banner-content {
  text-align: center;
  color: var(--clr-surface);
  margin: auto;
  padding: 20px;
}

.banner-content .title {
  font-family: cursive;
  font-size: var(--font-size-h1);
  margin-bottom: 20px;
  text-shadow: var(--shadow-glow);
}

.banner-text {
  font-size: var(--font-size-base);
  max-width: 600px;
  margin: 0 auto 30px;
}

.banner-content .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: #ff6b6b;
  color: #fff;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 20px;
  text-decoration: none;
  border-radius: 50px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: var(--clr-secondary);
  color: var(--clr-surface);
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
  background: var(--clr-accent-2);
  transform: scale(1.05);
}

/* Hero Intro Section */
.hero-intro-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-intro-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  background-color: var(--clr-text);
}

.hero-intro-bg img {
  mix-blend-mode: hard-light;
}

.hero-intro-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--clr-surface);
}

.hero-intro-content h1 {
  text-shadow: var(--shadow-glow);
  margin-bottom: 10px;
  animation: fadeIn 1s ease-in;
}

.hero-intro-content h4 {
  margin-bottom: 20px;
  color: var(--clr-surface);
}

.hero-intro-content .text-lead {
  margin: 0 auto 30px;
  color: var(--clr-surface);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: transparent;
  color: var(--clr-surface);
  border: 2px solid var(--clr-accent-2);
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.3s, color 0.3s;
}

.btn-secondary:hover {
  background: var(--clr-accent-2);
  color: var(--clr-text);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
}

.about-text h2 {
  text-align: left;
}

.about-text h4 {
  margin-bottom: 20px;
}

.about-text .text-lead {
  margin-bottom: 20px;
}

.about-text ol {
  list-style: none;
  padding: 0;
}

.about-text ol li {
  font-size: var(--font-size-base);
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.about-text ol li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--clr-primary);
}

.about-artwork {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Worlds Section */
.worlds-section {
  padding: 80px 0;
}

.worlds-section h2 {
  text-align: center;
}

.worlds-section h4 {
  text-align: center;
}

.worlds-section .text-lead {
  text-align: center;
}

.worlds-carousel {
  position: relative;
  overflow: hidden;
  padding: 2px 40px 2px 2px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.world-card {
  flex: 0 0 calc(33.3333% - 20px);
  margin-right: 20px;
  background: var(--clr-surface);
  border: 2px solid var(--clr-accent-2);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.world-card h3 {
  margin: 10px 0;
}

.world-card p {
  font-size: var(--font-size-small);
}

.world-image {
  border-radius: var(--radius-sm);
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--clr-accent-3);
  color: var(--clr-bg);
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--clr-accent-2);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* Myths Section */
.myths-section {
  padding: 80px 0;
  position: relative;
  background: var(--clr-surface-alt);
}

.myths-section::before {
  content: "";
  position: absolute;
  inset: 0 0;
  background: url("../images/parchment-texture.webp") 50% / cover no-repeat;
  opacity: 0.5;
}

.myths-section h2 {
  text-align: center;
}

.myths-section h4 {
  text-align: center;
}

.myths-section .text-lead {
  text-align: center;
}

.myths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.myth-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-accent-2);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.myth-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.myth-icon {
  width: 80px;
  margin: 0 auto 10px;
}

.myth-card h3 {
  color: var(--clr-accent-1);
}

.myth-card p {
  font-size: var(--font-size-small);
}

/* Tools Section */
.tools-section {
  padding: 80px 0;
}

.tools-section h2 {
  text-align: center;
}

.tools-section h4 {
  text-align: center;
}

.tools-section .text-lead {
  text-align: center;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tool-card {
  position: relative;
  background: var(--clr-surface);
  border: 2px solid var(--clr-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--clr-text);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.tool-icon {
  width: 60px;
  margin: 0 auto 10px;
}

.tool-card h3 {
  margin-bottom: 10px;
}

.tooltip {
  position: absolute;
  inset: 0 0;
  background: var(--clr-primary);
  color: var(--clr-surface);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-small);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-card:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* Quotes Section */
.quotes-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
  position: relative;
}

.quotes-section::before {
  content: "";
  position: absolute;
  inset: 0 0;
  background: url("../images/parchment-texture.webp") 50% / cover no-repeat;
  opacity: 0.5;
}

.quotes-section h2 {
  text-align: center;
}

.quotes-section h4 {
  text-align: center;
}

.quotes-section .text-lead {
  text-align: center;
}

.quotes-strip {
  display: flex;
  gap: 20px;
  padding: 20px 0;
}

.quotes-strip blockquote {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: var(--radius-md);
  font-style: italic;
  text-align: center;
}

/* Themes Section */
.themes-section {
  padding: 80px 0;
}

.themes-section h2 {
  text-align: center;
}

.themes-section h4 {
  text-align: center;
}

.themes-section .text-lead {
  text-align: center;
}

.themes-slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.theme-card {
  flex: 0 0 23%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.3s;
  opacity: 0.7;
}

.theme-card:hover {
  opacity: 1;
}

.theme-image {
  border-radius: var(--radius-sm);
}

.theme-card h3 {
  margin: 10px 0;
}

.theme-card p {
  font-size: var(--font-size-small);
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--clr-text);
  color: var(--clr-bg);
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--clr-accent-2);
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

/* Signup Section */
.signup-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
  position: relative;
}

.signup-section::before {
  content: "";
  position: absolute;
  inset: 0 0;
  background: url("../images/parchment-texture.webp") 50% / cover no-repeat;
  opacity: 0.5;
}

.signup-section h2 {
  text-align: center;
}

.signup-section h4 {
  text-align: center;
}

.signup-section .text-lead {
  text-align: center;
}

.signup-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.signup-form label {
  font-size: var(--font-size-small);
  color: var(--clr-text-light);
  margin-bottom: 8px;
}

.signup-form input {
  background: transparent;
  border: 2px solid var(--clr-primary);
  border-radius: var(--radius-sm);
  padding: 15px;
  font-size: var(--font-size-base);
  color: var(--clr-text);
}

.signup-form input:focus {
  outline: none;
  border-color: var(--clr-accent-2);
  box-shadow: var(--shadow-glow);
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-privacy label {
  font-size: var(--font-size-small);
  margin: 0;
}

.form-privacy input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--clr-primary);
  border-radius: 4px;
  position: relative;
  padding: 0;
}

.form-privacy input:checked::before {
  content: "✔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--clr-accent-2);
}

.form-privacy a {
  color: var(--clr-primary);
  text-decoration: none;
}

.form-privacy a:hover {
  text-decoration: underline;
}

/* Latest Section */
.latest-section {
  padding: 80px 0;
}

.latest-section h2 {
  text-align: center;
}

.latest-section h4 {
  text-align: center;
}

.latest-section .text-lead {
  text-align: center;
}

.latest-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.latest-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--clr-primary);
}

.latest-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 50px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.latest-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.latest-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  width: 12px;
  height: 12px;
  background: var(--clr-accent-2);
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
}

.latest-item h3 {
  margin-bottom: 10px;
}

.latest-item p {
  font-size: var(--font-size-small);
}

.latest-item time {
  font-size: var(--font-size-small);
  color: var(--clr-text-light);
}

/* Footer */
.footer {
  background: var(--clr-text);
  color: var(--clr-surface);
  padding: 40px 0;
}

.footer-row1 {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 10px;
}

.footer-menu h4 {
  margin-bottom: 20px;
  color: var(--clr-surface);
}

.footer-menu ul {
  list-style: none;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: var(--clr-surface);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: var(--clr-accent-2);
}

.footer-row2 {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  border-top: 1px solid var(--clr-surface);
  border-bottom: 1px solid var(--clr-surface);
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--clr-surface);
  text-decoration: none;
  font-size: var(--font-size-small);
  transition: color 0.3s;
}

.footer-contact-link img {
  width: 20px;
  height: 20px;
}

.footer-contact-link:hover {
  color: var(--clr-accent-2);
}

.footer-row3 {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-row3 p {
  font-size: var(--font-size-small);
  margin-bottom: 10px;
}

.footer-row3 p:last-child {
  margin-bottom: 0;
}

.cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .myths-grid,
  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-row1 {
    grid-template-columns: 1fr 1fr;
  }

  .world-card,
  .theme-card {
    flex: 0 0 calc(50% - 20px);
    opacity: 1;
  }

  .footer-row2 {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.75rem;
    --font-size-h3: 1.25rem;
    --font-size-h4: 1rem;
  }

  .world-card,
  .theme-card {
    flex: 0 0 calc(100% - 20px);
  }

  .banner-section,
  .hero-intro-section {
    min-height: 80vh;
  }

  .myths-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .footer-row1 {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    grid-column: unset;
  }
}

/* Hero Realms Section */
.hero-realms-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-realms-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-realms-bg img {
  object-fit: cover;
  animation: fogLayer 20s infinite linear alternate;
}

.hero-realms-content {
  text-align: center;
  color: var(--clr-surface);
  background-color: rgba(25, 48, 100, 0.2);
  backdrop-filter: blur(15px);
  padding: 2rem;
  border-radius: 40px;
}

.hero-realms-content h1 {
  text-shadow: var(--shadow-glow);
  animation: fadeIn 1s ease-in;
}

.hero-realms-content .text-lead {
  max-width: 800px;
  margin: 20px auto;
  color: var(--clr-surface);
}

@keyframes fogLayer {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

/* Factions Section */
.factions-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.factions-section h2,
.factions-section h4,
.factions-section .text-lead {
  text-align: center;
}

.factions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.faction-card {
  text-align: center;
  background: var(--clr-surface);
  border: 2px solid var(--clr-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: box-shadow 0.3s;
}

.faction-card:hover {
  box-shadow: var(--shadow-glow);
}

.faction-emblem {
  width: 100px;
  margin: 0 auto 10px;
}

.faction-card h3 {
  color: var(--clr-accent-2);
}

.faction-card p {
  font-size: var(--font-size-small);
}

/* Environments Section */
.environments-section {
  padding: 80px 0;
}

.environments-section h2,
.environments-section h4,
.environments-section .text-lead {
  text-align: center;
}

.environments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.environment-card {
  position: relative;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 20px;
}

.environment-card.jungle::before,
.environment-card.desert::before,
.environment-card.tundra::before,
.environment-card.volcano::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  border-radius: var(--radius-md);
}

.environment-card.jungle::before {
  background: var(--clr-accent-1);
}

.environment-card.desert::before {
  background: var(--clr-accent-2);
}

.environment-card.tundra::before {
  background: var(--clr-accent-3);
}

.environment-card.volcano::before {
  background: var(--clr-secondary);
}

.environment-image {
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.environment-card h3 {
  margin: 10px 0;
}

.environment-card p {
  font-size: var(--font-size-small);
}

/* Legendary Places Section */
.legendary-places-section {
  padding: 80px 0;
  position: relative;
}

.legendary-places-section::before {
  content: "";
  position: absolute;
  inset: 0 0;
  background: url("../images/parchment-texture.webp") 50% / cover no-repeat;
  opacity: 0.5;
}

.legendary-places-section h2,
.legendary-places-section h4,
.legendary-places-section .text-lead {
  text-align: center;
}

.places-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.place-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}

.place-icon {
  width: 60px;
  flex-shrink: 0;
}

.place-icon img {
  filter: grayscale(50%) contrast(120%);
}

.place-text h3 {
  margin: 0 0 10px;
}

.place-text p {
  font-size: var(--font-size-small);
}

/* Timeline Section */
.timeline-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.timeline-section h2,
.timeline-section h4,
.timeline-section .text-lead {
  text-align: center;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.timeline-event {
  background: var(--clr-surface);
  border: 2px solid var(--clr-accent-2);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.timeline-event::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--clr-accent-2);
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
}

.timeline-event h3 {
  margin: 10px 0;
}

.timeline-event p {
  font-size: var(--font-size-small);
}

.timeline-event time {
  font-size: var(--font-size-small);
  color: var(--clr-text-light);
}

/* Bestiary Section */
.bestiary-section {
  padding: 80px 0;
}

.bestiary-section h2,
.bestiary-section h4,
.bestiary-section .text-lead {
  text-align: center;
}

.bestiary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bestiary-card {
  perspective: 1000px;
  position: relative;
  height: 600px;
}

.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform 0.6s;
}

.card-front {
  border: 2px solid var(--clr-primary);
}

.card-back {
  transform: rotateY(180deg);
  border: 2px solid var(--clr-accent-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bestiary-card:hover .card-front {
  transform: rotateY(-180deg);
}

.bestiary-card:hover .card-back {
  transform: rotateY(0);
}

.bestiary-image {
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.bestiary-card h3 {
  margin: 10px 0;
  text-align: center;
}

.bestiary-card p {
  font-size: var(--font-size-small);
  text-align: center;
}

/* Secrets Section */
.secrets-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
  position: relative;
}

.secrets-section::before {
  content: "";
  position: absolute;
  inset: 0 0;
  background: url("../images/parchment-texture.webp") 50% / cover no-repeat;
  opacity: 0.5;
}

.secrets-section h2,
.secrets-section h4,
.secrets-section .text-lead {
  text-align: center;
}

.secrets-list {
  max-width: 800px;
  margin: 0 auto;
}

.secret-item {
  margin-bottom: 20px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.secret-toggle {
  background: var(--clr-primary);
  color: var(--clr-surface);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: var(--font-size-small);
  transition: background 0.3s;
  align-self: flex-start;
}

.secret-toggle:hover {
  background: var(--clr-accent-2);
}

.secret-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.secret-content.active {
  max-height: 300px;
}

.secret-item h3 {
  margin: 0;
}

.secret-item p {
  font-size: var(--font-size-small);
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .factions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bestiary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {

  .factions-grid,
  .bestiary-grid {
    grid-template-columns: 1fr;
  }

  .place-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero Mythic Section */
.hero-mythic-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-mythic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: grayscale(100%);
  animation: grayscale 5s infinite alternate;
}

.hero-mythic-bg img {
  object-fit: cover;
}

.hero-mythic-content {
  text-align: center;
  color: var(--clr-surface);
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border: 2px solid var(--clr-accent-2);
  border-radius: var(--radius-md);
}

.hero-mythic-content h1 {
  text-shadow: var(--shadow-glow);
  animation: fadeIn 1s ease-in;
}

.hero-mythic-content .text-lead {
  max-width: 800px;
  margin: 20px auto;
  color: var(--clr-surface);
}

@keyframes grayscale {
  0% {
    filter: grayscale(100%);
  }

  100% {
    filter: grayscale(0);
  }
}

/* Deities Section */
.deities-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.deities-section h2,
.deities-section h4,
.deities-section .text-lead {
  text-align: center;
}

.deities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.deity-card {
  background: var(--clr-surface);
  border: 2px solid var(--clr-primary);
  border-radius: var(--radius-md);
  padding: 20px;
}

.deity-image {
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.deity-card h3 {
  color: var(--clr-accent-2);
}

.deity-card p {
  font-size: var(--font-size-small);
}

/* World Creation Section */
.world-creation-section {
  padding: 80px 0;
  position: relative;
}

.world-creation-section::before {
  content: "";
  position: absolute;
  inset: 0 0;
  background: url("../images/parchment-texture.webp") 50% / cover no-repeat;
  opacity: 0.5;
}

.world-creation-section h2,
.world-creation-section h4,
.world-creation-section .text-lead {
  text-align: center;
}

.creation-story {
  max-width: 800px;
  margin: 0 auto;
}

.story-block {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: background 0.5s;
}

.story-block:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(167, 54, 243, 0.1));
}

.story-image {
  flex: 0 0 50%;
  border-radius: var(--radius-sm);
}

.story-text {
  flex: 1;
}

.story-text h3 {
  margin: 0 0 10px;
}

.story-text p {
  font-size: var(--font-size-small);
}

/* Artefacts Section */
.artefacts-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.artefacts-section h2,
.artefacts-section h4,
.artefacts-section .text-lead {
  text-align: center;
}

.artefacts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.artefact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  flex: 1 1 calc(33.33% - 20px);
  transition: box-shadow 0.3s;
}

.artefact-item:hover {
  box-shadow: 0 0 10px var(--clr-accent-2);
}

.artefact-icon {
  width: 80px;
  flex-shrink: 0;
}

.artefact-text h3 {
  margin: 0 0 10px;
}

.artefact-text p {
  font-size: var(--font-size-small);
}

/* Prophecies Section */
.prophecies-section {
  padding: 80px 0;
}

.prophecies-section h2,
.prophecies-section h4,
.prophecies-section .text-lead {
  text-align: center;
}

.prophecies-carousel {
  position: relative;
  overflow: hidden;
  padding-right: 40px;
}

.prophecy-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.prophecy-card {
  flex: 0 0 33.33%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  background-image: url("../images/parchment-texture.webp");
  background-size: cover;
  position: relative;
}

.prophecy-card::before {
  content: "✦";
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: var(--font-size-h3);
  color: var(--clr-accent-2);
  opacity: 0.3;
}

.prophecy-card p {
  font-style: italic;
  font-size: var(--font-size-small);
}

.prophecy-card cite {
  display: block;
  font-size: var(--font-size-small);
  color: var(--clr-text-light);
  margin-top: 10px;
}

.prophecy-prev,
.prophecy-next {
  position: absolute;
  top: 100%;
  transform: translateY(-110%);
  background: var(--clr-text);
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s;
}

.prophecy-prev:hover,
.prophecy-next:hover {
  background: var(--clr-accent-1);
}

.prophecy-prev {
  left: 10px;
}

.prophecy-next {
  right: 10px;
}

/* Reinterpreted Myths Section */
.reinterpreted-myths-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.reinterpreted-myths-section h2,
.reinterpreted-myths-section h4,
.reinterpreted-myths-section .text-lead {
  text-align: center;
}

.myths-comparison {
  max-width: 1000px;
  margin: 0 auto;
}

.myth-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.myth-comparison.visible {
  opacity: 1;
  transform: translateY(0);
}

.myth-original,
.myth-modern {
  padding: 20px;
}

.myth-original h3,
.myth-modern h3 {
  margin: 0 0 10px;
}

.myth-original p,
.myth-modern p {
  font-size: var(--font-size-small);
}

/* Rituals Section */
.rituals-section {
  padding: 80px 0;
}

.rituals-section h2,
.rituals-section h4,
.rituals-section .text-lead {
  text-align: center;
}

.rituals-deck {
  max-width: 800px;
  margin: 0 auto;
}

.ritual-card {
  background: var(--clr-surface);
  border: 2px solid var(--clr-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ritual-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.ritual-card::before {
  content: "✧";
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: var(--font-size-h3);
  color: var(--clr-accent-2);
  opacity: 0.3;
  transition: opacity 0.3s;
}

.ritual-card:hover::before {
  opacity: 0.6;
}

.ritual-card h3 {
  margin: 0 0 10px;
}

.ritual-card p {
  font-size: var(--font-size-small);
}

/* Stories Section */
.stories-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.stories-section h2,
.stories-section h4,
.stories-section .text-lead {
  text-align: center;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.story-card {
  padding: 15% 40px;
  background: url("../images/scroll.webp") center 0 / 100% 100% no-repeat;
}

.story-image {
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.story-card h3 {
  margin: 10px 0;
}

.story-card p {
  font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .deities-grid {
    grid-template-columns: 1fr;
  }

  .myth-comparison {
    grid-template-columns: 1fr;
  }

  .artefact-item {
    flex: 1 1 100%;
  }
}

@media (max-width: 767px) {
  .story-block {
    flex-direction: column;
  }

  .story-image {
    flex: 0 0 auto;
    width: 100%;
  }

  .prophecy-card {
    flex: 0 0 90%;
  }
}

/* Hero Creation Section */
.hero-creation-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-creation-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-creation-bg img {
  object-fit: cover;
}

.hero-creation-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  animation: glowPulse 10s infinite ease-in-out;
}

.hero-creation-content {
  text-align: center;
  color: var(--clr-surface);
  background: rgba(25, 48, 100, 0.3);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-md);
}

.hero-creation-content h1 {
  text-shadow: var(--shadow-glow);
  animation: fadeIn 1s ease-in;
}

.hero-creation-content .text-lead {
  max-width: 800px;
  margin: 20px auto;
  color: #fff;
}

.hero-creation-content .btn-primary {
  margin-top: 20px;
}

@keyframes glowPulse {
  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    opacity: 0.4;
  }
}

/* Languages Section */
.languages-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.languages-section h2,
.languages-section h4,
.languages-section .text-lead {
  text-align: center;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-button {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: var(--font-size-small);
  transition: background 0.3s, color 0.3s;
}

.tab-button.active,
.tab-button:hover {
  background: var(--clr-primary);
  color: var(--clr-surface);
}

.tab-content {
  max-width: 800px;
  margin: 0 auto;
}

.tab-pane {
  display: none;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  background-color: #fff;
  background-image: url("../images/stone-texture.webp");
  background-size: cover;
  background-blend-mode: hard-light;
}

.tab-pane.active {
  display: block;
}

.language-image {
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.tab-pane h3 {
  margin: 0 0 10px;
}

.tab-pane p {
  font-size: var(--font-size-small);
}

/* Cartography Section */
.cartography-section {
  padding: 80px 0;
}

.cartography-section h2,
.cartography-section h4,
.cartography-section .text-lead {
  text-align: center;
}

.cartography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.map-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.map-image {
  position: relative;
  border-radius: var(--radius-sm);
  filter: sepia(60%);
}

.map-annotation {
  position: absolute;
  background: var(--clr-surface);
  border: 1px solid var(--clr-accent-2);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-small);
  color: var(--clr-text);
}

.map-card h3 {
  margin: 10px 0;
}

.map-card p {
  font-size: var(--font-size-small);
}

/* Magic Systems Section */
.magic-systems-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.magic-systems-section h2,
.magic-systems-section h4,
.magic-systems-section .text-lead {
  text-align: center;
}

.magic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.magic-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.magic-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  border-radius: var(--radius-md);
}

.magic-card.fire::before {
  background: var(--clr-accent-2);
}

.magic-card.air::before {
  background: var(--clr-accent-3);
}

.magic-card.water::before {
  background: var(--clr-primary);
}

.magic-card.earth::before {
  background: var(--clr-accent-1);
}

.magic-card h3 {
  margin: 0 0 10px;
}

.magic-card p {
  font-size: var(--font-size-small);
}

/* Chronologies Section */
.chronologies-section {
  padding: 80px 0;
}

.chronologies-section h2,
.chronologies-section h4,
.chronologies-section .text-lead {
  text-align: center;
}

.chronology-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.chronology-event {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
}

.chronology-event::before {
  content: "✦";
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: var(--font-size-h3);
  color: var(--clr-accent-2);
  opacity: 0.3;
}

.event-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.event-content.active {
  max-height: 200px;
}

.chronology-event h3 {
  margin: 0 0 10px;
}

.chronology-event p {
  font-size: var(--font-size-small);
}

.event-toggle {
  background: var(--clr-primary);
  color: var(--clr-surface);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: var(--font-size-small);
  transition: background 0.3s;
}

.event-toggle:hover {
  background: var(--clr-accent-2);
}

/* Cultures Section */
.cultures-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.cultures-section h2,
.cultures-section h4,
.cultures-section .text-lead {
  text-align: center;
}

.cultures-comparison {
  display: flex;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.culture-block {
  flex: 1;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.culture-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.culture-block.elysion {
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url("../images/pattern-celestial.webp");
}

.culture-block.vyrn {
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url("../images/pattern-volcanic.webp");
}

.culture-block h3 {
  margin: 0 0 10px;
}

.culture-block p {
  font-size: var(--font-size-small);
}

/* Creator Section */
.creator-section {
  padding: 80px 0;
}

.creator-section h2,
.creator-section h4,
.creator-section .text-lead {
  text-align: center;
}

.creator-showcase {
  max-width: 1000px;
  margin: 0 auto;
}

.creator-card {
  display: flex;
  gap: 20px;
  background: var(--clr-surface);
  border: 2px solid var(--clr-accent-2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  background-image: url("../images/parchment-texture.webp");
  background-size: cover;
}

.creator-image {
  width: 300px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.creator-text h3 {
  margin: 0 0 10px;
}

.creator-text p {
  font-size: var(--font-size-small);
}

.creator-world {
  border-radius: var(--radius-sm);
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .cartography-grid {
    grid-template-columns: 1fr;
  }

  .cultures-comparison {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .creator-card {
    flex-direction: column;
  }

  .creator-image {
    width: 100%;
  }

  .magic-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Portraits Section */
.hero-portraits-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-portraits-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-portraits-bg img {
  object-fit: cover;
  filter: contrast(120%) brightness(80%);
}

.hero-portraits-content {
  text-align: center;
  color: var(--clr-surface);
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: var(--radius-md);
}

.hero-portraits-content h1 {
  text-shadow: var(--shadow-glow);
  animation: fadeIn 1s ease-in;
}

.hero-portraits-content .text-lead {
  max-width: 800px;
  margin: 20px auto;
}

/* Vision Section */
.vision-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.vision-section h2,
.vision-section h4,
.vision-section .text-lead {
  text-align: center;
}

.vision-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 20px auto;
}

.value-item {
  text-align: center;
  padding: 20px;
  border-top: 2px solid var(--clr-accent-2);
}

.value-icon {
  width: 60px;
  margin: 0 auto 10px;
}

.value-item h3 {
  margin: 0 0 10px;
}

.value-item p {
  font-size: var(--font-size-small);
}

/* Team Members Section */
.team-members-section {
  padding: 80px 0;
}

.team-members-section h2,
.team-members-section h4,
.team-members-section .text-lead {
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--clr-surface);
  border: 2px solid var(--clr-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  position: relative;
}

.team-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid var(--clr-accent-2);
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity 0.3s;
}

.team-card:hover::before {
  opacity: 1;
}

.team-portrait {
  width: 200px;
  margin: 0 auto 10px;
  border-radius: var(--radius-sm);
}

.team-role {
  font-size: var(--font-size-small);
  color: var(--clr-text-light);
  margin: 5px 0;
}

.team-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.team-card:hover .team-details {
  max-height: 100px;
}

.team-details p {
  font-size: var(--font-size-small);
}

/* Talents Section */
.talents-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.talents-section h2,
.talents-section h4,
.talents-section .text-lead {
  text-align: center;
}

.talents-list {
  max-width: 800px;
  margin: 0 auto;
}

.talent-item {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  position: relative;
  align-items: flex-start;
}

.talent-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: var(--clr-accent-2);
  opacity: 0;
  transition: opacity 0.3s;
}

.talent-item:hover::after {
  opacity: 1;
}

.talent-icon {
  width: 50px;
  flex-shrink: 0;
}

.talent-text h3 {
  margin: 0 0 10px;
}

.talent-text p {
  font-size: var(--font-size-small);
}

/* Creative Minds Section */
.creative-minds-section {
  padding: 80px 0;
}

.creative-minds-section h2,
.creative-minds-section h4,
.creative-minds-section .text-lead {
  text-align: center;
}

.creative-carousel {
  position: relative;
  overflow: hidden;
}

.creative-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.creative-card {
  width: 100%;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.creative-card blockquote {
  margin: 0;
}

.creative-card p {
  font-style: italic;
  font-size: var(--font-size-small);
}

.creative-card cite {
  display: block;
  font-size: var(--font-size-small);
  color: var(--clr-text-light);
  margin-top: 10px;
}

.creative-prev,
.creative-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--clr-surface);
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s;
}

.creative-prev:hover,
.creative-next:hover {
  background: var(--clr-accent-2);
}

.creative-prev {
  left: 10px;
}

.creative-next {
  right: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vision-values {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .vision-values {
    grid-template-columns: 1fr;
  }

  .talent-item {
    flex-direction: column;
    align-items: center;
  }
}

iframe {
  border: 0;
}

/* Hero Contact Section */
.hero-contact-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-contact-bg img {
  object-fit: cover;
}

.hero-contact-content {
  text-align: center;
  color: var(--clr-surface);
  background: rgba(25, 48, 100, 0.3);
  padding: 2rem;
  border-radius: var(--radius-md);
}

.hero-contact-content h1 {
  text-shadow: var(--shadow-glow);
  animation: fadeIn 1s ease-in;
}

.hero-contact-content .text-lead {
  max-width: 800px;
  margin: 20px auto;
  color: #fff;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.contact-form-section h2,
.contact-form-section h4,
.contact-form-section .text-lead {
  text-align: center;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.form-image {
  border-radius: var(--radius-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: transparent;
  padding: 20px;
}

.contact-form label {
  font-family: var(--font-heading);
  font-size: var(--font-size-small);
  color: var(--clr-text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 10px;
  color: var(--clr-text);
  font-size: var(--font-size-small);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--clr-accent-2);
  outline: none;
}

.contact-form button {
  align-self: flex-start;
}

/* Location Section */
.location-section {
  padding: 80px 0;
}

.location-section h2,
.location-section h4,
.location-section .text-lead {
  text-align: center;
}

.location-map {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border: 2px solid var(--clr-accent-2);
  border-radius: var(--radius-md);
}

.location-map iframe {
  border-radius: var(--radius-md);
}

.map-coordinates {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--clr-surface);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-small);
  color: var(--clr-text);
}

/* Collaboration Section */
.collaboration-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.collaboration-section h2,
.collaboration-section h4,
.collaboration-section .text-lead {
  text-align: center;
}

.collaboration-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.collaboration-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.collaboration-content figure {
  width: 80px;
  flex-shrink: 0;
}

.collaboration-content h3 {
  margin: 0 0 10px;
}

.collaboration-content p {
  font-size: var(--font-size-small);
}

.collaboration-content .btn-primary {
  align-self: flex-start;
}

/* Hero Questions Section */
.hero-questions-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-questions-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-questions-bg img {
  object-fit: cover;
}

.hero-questions-content {
  text-align: center;
  color: var(--clr-surface);
  background: rgba(25, 48, 100, 0.3);
  padding: 2rem;
  border-radius: var(--radius-md);
}

.hero-questions-content h1 {
  text-shadow: var(--shadow-glow);
  animation: fadeIn 1s ease-in;
}

.hero-questions-content .text-lead {
  max-width: 800px;
  color: #fff;
  margin: 20px auto;
}

.hero-questions-content:hover::before {
  content: "❓";
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  color: var(--clr-accent-2);
  animation: sparkle 2s infinite;
}

@keyframes sparkle {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }

  100% {
    opacity: 0.5;
    transform: scale(1);
  }
}

/* General Questions Section */
.general-questions-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.general-questions-section h2,
.general-questions-section h4,
.general-questions-section .text-lead {
  text-align: center;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-surface);
  background-image: url("../images/parchment-texture.webp");
  background-size: cover;
}

.faq-question {
  padding: 15px;
  margin: 0;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "▼";
  position: absolute;
  right: 15px;
  transition: transform 0.3s;
}

.faq-question.active::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease;
}

.faq-answer.active {
  max-height: 200px;
  padding: 15px;
}

.faq-answer p {
  font-size: var(--font-size-small);
}

/* Project About Section */
.project-about-section {
  padding: 80px 0;
}

.project-about-section h2,
.project-about-section h4,
.project-about-section .text-lead {
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-text h3 {
  margin: 0 0 10px;
}

.project-text ul {
  list-style: none;
  padding: 0;
}

.project-text li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.project-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.project-text p {
  font-size: var(--font-size-small);
}

/* Submit Question Section */
.submit-question-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.submit-question-section h2,
.submit-question-section h4,
.submit-question-section .text-lead {
  text-align: center;
}

.submit-question-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.submit-question-form label {
  font-family: var(--font-heading);
  font-size: var(--font-size-small);
}

.submit-question-form input,
.submit-question-form textarea {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: var(--font-size-small);
}

.submit-question-form input:focus,
.submit-question-form textarea:focus {
  border-color: var(--clr-accent-2);
  outline: none;
}

.submit-question-form button {
  align-self: flex-start;
}

.submit-question-form input[title],
.submit-question-form textarea[title] {
  position: relative;
}

.submit-question-form input[title]:hover::after,
.submit-question-form textarea[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: -30px;
  left: 0;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-small);
  color: var(--clr-text);
}

/* Lexicon Section */
.lexicon-section {
  padding: 80px 0;
}

.lexicon-section h2,
.lexicon-section h4,
.lexicon-section .text-lead {
  text-align: center;
}

.lexicon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.lexicon-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.lexicon-card h3 {
  margin: 0 0 10px;
}

.lexicon-card p {
  font-size: var(--font-size-small);
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .form-image {
    display: none;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .lexicon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collaboration-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .collaboration-content .btn-primary {
    align-self: center;
  }
}

@media (max-width: 767px) {
  .collaboration-content {
    flex-direction: column;
    text-align: center;
  }

  .collaboration-content .btn-primary {
    align-self: center;
  }

  .lexicon-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Privacy Section */
.hero-privacy-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent-2));
}

.hero-privacy-content {
  text-align: center;
  color: var(--clr-surface);
}

.hero-privacy-content h1 {
  text-shadow: var(--shadow-glow);
  animation: fadeIn 1s ease-in;
}

.hero-privacy-content .text-lead {
  max-width: 800px;
  margin: 20px auto;
  color: #fff;
}

/* Privacy Content Section */
.privacy-content-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.privacy-content-section h2,
.privacy-content-section h4,
.privacy-content-section .text-lead {
  text-align: center;
}

.privacy-block {
  max-width: 800px;
  margin: 0 auto 20px;
  padding: 20px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}

.privacy-block h3 {
  margin: 0 0 10px;
}

.privacy-block p {
  font-size: var(--font-size-small);
}

/* Hero Terms Section */
.hero-terms-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent-2));
}

.hero-terms-content {
  text-align: center;
  color: var(--clr-surface);
}

.hero-terms-content h1 {
  text-shadow: var(--shadow-glow);
  animation: fadeIn 1s ease-in;
}

.hero-terms-content .text-lead {
  max-width: 800px;
  margin: 20px auto;
  color: #fff;
}

/* Terms Content Section */
.terms-content-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.terms-content-section h2,
.terms-content-section h4,
.terms-content-section .text-lead {
  text-align: center;
}

.terms-block {
  max-width: 800px;
  margin: 0 auto 20px;
  padding: 20px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}

.terms-block h3 {
  margin: 0 0 10px;
}

.terms-block p {
  font-size: var(--font-size-small);
}

/* Hero Thank You Section */
.hero-thankyou-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent-2));
}

.hero-thankyou-content {
  text-align: center;
  color: var(--clr-surface);
}

.hero-thankyou-content h1 {
  text-shadow: var(--shadow-glow);
  animation: fadeIn 1s ease-in;
}

.hero-thankyou-content .text-lead {
  max-width: 800px;
  margin: 20px auto;
  color: #fff;
}

/* Thank You Content Section */
.thankyou-content-section {
  padding: 80px 0;
  background: var(--clr-surface-alt);
}

.thankyou-content-section h2,
.thankyou-content-section h4,
.thankyou-content-section .text-lead {
  text-align: center;
}

.thankyou-block {
  max-width: 800px;
  margin: 0 auto 20px;
  padding: 20px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}

.thankyou-block h3 {
  margin: 0 0 10px;
}

.thankyou-block p {
  font-size: var(--font-size-small);
}

.thankyou-content-section .cta-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .thankyou-content-section .cta-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .quotes-strip,
  .creative-track {
    flex-direction: column;
  }
}