/* ============================================================
   DruskMorvenTeryn — Main page styles
   ============================================================ */

:root {
  --bg: #0d0f12;
  --text: #ffffff;
  --text-muted: #e4e4e4;
  --text-faded: rgba(228, 228, 228, 0.6);
  --accent: #f6571e;
  --cta: #60d600;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.2);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Chakra Petch', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ----- Reusable ----- */

.section-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.accent { color: var(--accent); }
.light  { color: var(--text); }

.section-title {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.1;
  color: var(--text);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 50px;
  border-radius: 60px;
  background: var(--cta);
  color: #0d0f12;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 20px rgba(96, 214, 0, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(96, 214, 0, 0.75);
}

/* ----- Header ----- */

.site-header {
/*   position: absolute; */
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 24px;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 30px; height: 30px; }
.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-muted);
}
.primary-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.primary-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.primary-nav a:hover { color: var(--accent); }

/* ----- Hero ----- */

.hero {
  position: relative;
  min-height: 611px;
  padding: 121px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url(/wp-content/themes/druskmorventeryn/../img/hero-bg.webp) center/cover no-repeat;
  z-index: 1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,15,18,0) 60%, rgba(13,15,18,1) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 461px) minmax(0, 1fr) minmax(0, 316px);
  gap: 25px;
  align-items: center;
}
.hero-copy { max-width: 461px; }
.hero-tagline {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.hero-tagline .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 3px;
}
.hero-title {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 447px;
}
.hero-art {
  display: flex;
  justify-content: center;
}
.hero-art-img {
  width: 100%;
  max-width: 373px;
  height: auto;
}
.hero-panel {
  display: flex;
  justify-content: flex-end;
}
.hero-panel img {
  width: 100%;
  max-width: 316px;
  height: auto;
}

/* ----- About ----- */

.about {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.about-wrap {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 285px;
  gap: 30px;
  align-items: center;
}
.about-card,
.about-tent {
  border-radius: 24px;
  overflow: hidden;
}
.about-card img,
.about-tent img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.about-card { height: 263px; }
.about-card img { height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.glow {
  position: absolute;
  width: 200px;
  height: 392px;
  top: 80px;
  background: url(/wp-content/themes/druskmorventeryn/../img/glow.webp) center/cover no-repeat;
  pointer-events: none;
  z-index: 1;
}
.glow-right { right: 0; }
.glow-left  { left: 0; transform: scaleX(-1); }

/* ----- Players' Choice ----- */

.players-choice {
  padding: 60px 0;
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  border-radius: 60px;
  margin: 40px 0;
}
.choice-wrap {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}
.choice-copy h2 { margin-bottom: 20px; }
.choice-copy p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.choice-tile {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.choice-tile:hover { transform: translateY(-4px); }
.choice-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

/* ----- Pillars of Excellence ----- */

.pillars {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.pillars-wrap {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 590px);
  gap: 50px;
  align-items: center;
  justify-content: center;
}
.pillars-copy h2 { margin-bottom: 20px; }
.pillars-copy p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.pillar-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}
.pillar-body { flex: 1; }
.pillar-body h3 {
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 15px;
}
.pillar-body p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

/* ----- Why Chosen Ones ----- */

.chosen {
  padding: 60px 0 80px;
}
.chosen-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 30px;
  align-items: center;
}
.chosen-copy h2 { margin-bottom: 20px; }
.chosen-copy > p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.chosen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.chosen-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 20px;
}
.chosen-card h3 {
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 15px;
}
.chosen-card p {
  font-size: 14px;
  line-height: 1.5;
}
.chosen-art {
  border-radius: 24px;
  overflow: hidden;
}
.chosen-art img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

/* ----- Game page: hero + details ----- */

.game-hero {
  padding-top: 91px;
}
.game-hero-wrap {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  border-radius: 60px;
  padding: 50px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 30px;
  align-items: center;
}
.game-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.game-title {
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.1;
}
.game-hero-copy p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.game-hero-thumb {
  width: 220px;
  height: 220px;
  border-radius: 26px;
  overflow: hidden;
  justify-self: end;
}
.game-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

.game-details {
  padding: 60px 0 80px;
}
.game-details-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.game-details-title {
  color: var(--text);
}
.game-screenshot {
  width: 100%;
  max-width: 589px;
  border-radius: 24px;
  overflow: hidden;
}
.game-screenshot img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}
.game-details-wrap p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

@media (max-width: 720px) {
  .game-hero { padding-top: 110px; }
  .game-hero-wrap {
    grid-template-columns: 1fr;
    border-radius: 30px;
    padding: 24px;
  }
  .game-hero-thumb { justify-self: start; }
}

/* ----- Legal pages (privacy / terms / cookies) ----- */

.legal {
  padding: 91px 0 80px;
}
.legal-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.legal-title {
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.1;
}
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.legal-body p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

@media (max-width: 720px) {
  .legal { padding-top: 110px; }
}

/* ----- Contact ----- */

.contact {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background: url(/wp-content/themes/druskmorventeryn/../img/hero-bg.webp) center/cover no-repeat;
  transform: scaleY(-1);
  z-index: 1;
  opacity: 0.9;
}
.contact-wrap {
  max-width: 560px;
  text-align: center;
}
.contact-title { margin-bottom: 20px; }
.contact-desc {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

/* ----- Footer ----- */

.site-footer {
  padding: 40px 0 30px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
.footer-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.footer-nav a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 15px; align-items: center; }
.footer-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-copy {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-faded);
}

/* ----- Responsive ----- */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }
  .hero-panel,
  .hero-art {
    justify-content: center;
  }
  .about-wrap {
    grid-template-columns: 1fr;
  }
  .about-card,
  .about-tent { justify-self: center; max-width: 420px; }
  .choice-wrap,
  .pillars-wrap,
  .chosen-wrap {
    grid-template-columns: 1fr;
  }
  .chosen-art { justify-self: center; max-width: 320px; }
}

@media (max-width: 720px) {
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 13px; }
  .brand-name { font-size: 18px; }
  .hero { padding-top: 110px; }
  .hero-title { font-size: 44px; }
  .section-title { font-size: 40px; }
  .btn-cta { padding: 16px 32px; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .chosen-grid { grid-template-columns: 1fr; }
  .players-choice { border-radius: 30px; }
  .pillar-card { flex-direction: column; gap: 12px; }
}
