/*
Theme Name: Elite OSRS
Theme URI: https://eliteosrs.com
Author: Elite OSRS
Description: Tema oscuro en español para la comunidad Elite OSRS, con portada y formulario de reclutamiento.
Version: 1.1.0
Text Domain: elite-osrs
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --eo-bg: #080a0a;
  --eo-bg-soft: #101413;
  --eo-panel: #121715;
  --eo-panel-2: #171d1a;
  --eo-text: #f2ead7;
  --eo-muted: #a9ad9e;
  --eo-gold: #d8b55b;
  --eo-gold-light: #f5d983;
  --eo-green: #6f934b;
  --eo-border: #3b4337;
  --eo-danger: #cb6b5d;
  --eo-success: #7fb56b;
  --eo-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  --eo-radius: 16px;
  --eo-max: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(111, 147, 75, 0.12),
      transparent 34rem
    ),
    radial-gradient(
      circle at 82% 12%,
      rgba(216, 181, 91, 0.07),
      transparent 28rem
    ),
    var(--eo-bg);
  color: var(--eo-text);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("assets/images/noise.svg");
  z-index: -1;
}
a {
  color: var(--eo-gold-light);
  text-decoration: none;
}
a:hover {
  color: #fff0ad;
}
img {
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
}

.eo-container {
  width: min(calc(100% - 32px), var(--eo-max));
  margin-inline: auto;
}
.eo-section {
  padding: 90px 0;
}
.eo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--eo-gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eo-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--eo-gold);
}
.eo-display {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
}
.eo-section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 800px;
}
.eo-lead {
  color: #c9c9bc;
  font-size: clamp(1rem, 2vw, 1.16rem);
  max-width: 760px;
}
.eo-muted {
  color: var(--eo-muted);
}

.eo-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(8, 10, 10, 0.78);
  border-bottom: 1px solid rgba(216, 181, 91, 0.13);
}
.eo-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.eo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--eo-text);
  font-family: "Cinzel", serif;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.eo-brand img {
  width: 108px;
  height: 45px;
}
.eo-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}
.eo-menu a {
  color: #d9d8cc;
  font-weight: 700;
  font-size: 0.92rem;
}
.eo-menu a:hover {
  color: var(--eo-gold-light);
}
.eo-menu .menu-item:last-child a {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid rgba(216, 181, 91, 0.42);
  border-radius: 999px;
}
.eo-nav-toggle {
  display: none;
  border: 1px solid var(--eo-border);
  background: var(--eo-panel);
  color: var(--eo-text);
  padding: 9px 12px;
  border-radius: 8px;
}

.eo-hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(216, 181, 91, 0.12);
}
.eo-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--eo-bg));
  pointer-events: none;
}
.eo-hero-logobar {
  display: flex;
  align-items: center;
  justify-content: center;
}
.eo-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  padding: 92px 0 120px;
  position: relative;
  z-index: 2;
}
.eo-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  max-width: 790px;
}
.eo-hero h1 span {
  color: var(--eo-gold-light);
  text-shadow: 0 0 36px rgba(216, 181, 91, 0.15);
}
.eo-hero-copy {
  font-size: 1.05rem;
  color: #c8c8bb;
  max-width: 650px;
  margin: 20px 0 26px;
}
.eo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.eo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.eo-btn-primary {
  color: #17130a;
  background: linear-gradient(180deg, #f5d983, #caa74c);
  box-shadow: 0 8px 30px rgba(216, 181, 91, 0.18);
}
.eo-btn-primary:hover {
  color: #17130a;
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.eo-btn-ghost {
  color: var(--eo-text);
  border-color: #4d5449;
  background: rgba(19, 24, 21, 0.72);
}
.eo-btn-ghost:hover {
  border-color: var(--eo-gold);
  transform: translateY(-2px);
}
.eo-hero-art {
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.46));
}
.eo-hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 19 / 20;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(216, 181, 91, 0.2);
  border-radius: 12px;
  image-rendering: auto;
}
.eo-mini-stats {
  margin-top: 34px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.eo-mini-stat strong {
  display: block;
  color: var(--eo-gold-light);
  font-family: "Cinzel", serif;
  font-size: 1.12rem;
}
.eo-mini-stat span {
  color: var(--eo-muted);
  font-size: 0.86rem;
}

.eo-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.eo-feature {
  position: relative;
  padding: 26px;
  min-height: 220px;
  border: 1px solid var(--eo-border);
  border-radius: var(--eo-radius);
  background: linear-gradient(
    145deg,
    rgba(25, 31, 27, 0.9),
    rgba(13, 16, 15, 0.94)
  );
  box-shadow: var(--eo-shadow);
  overflow: hidden;
}
.eo-feature::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: -32px;
  top: -32px;
  border: 1px solid rgba(216, 181, 91, 0.18);
  transform: rotate(45deg);
}
.eo-feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 181, 91, 0.3);
  background: rgba(216, 181, 91, 0.08);
  border-radius: 10px;
  margin-bottom: 32px;
  font-size: 1.4rem;
}
.eo-feature h3 {
  font-family: "Cinzel", serif;
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.eo-feature p {
  color: var(--eo-muted);
  margin: 0;
}

.eo-banner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 38px;
  align-items: center;
  padding: 38px;
  border: 1px solid rgba(216, 181, 91, 0.35);
  border-radius: 24px;
  background: linear-gradient(115deg, #171d18, #0e110f);
  overflow: hidden;
}
.eo-banner-art img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 1px solid rgba(216, 181, 91, 0.18);
}
.eo-banner h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  margin-bottom: 16px;
}

.eo-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.eo-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--eo-border);
  background: var(--eo-panel);
  border-radius: 10px;
  color: var(--eo-text);
  font-weight: 800;
}
.eo-social-link:hover {
  border-color: var(--eo-gold);
}

.eo-recruit-hero {
  padding: 90px 0 46px;
  text-align: center;
  position: relative;
}
.eo-recruit-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}
.eo-recruit-hero .eo-lead {
  margin: 20px auto;
}
.eo-recruit-art {
  max-width: 920px;
  margin: 30px auto -44px;
  opacity: 0.96;
}
.eo-recruit-art img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(216, 181, 91, 0.22);
  border-radius: 14px;
  box-shadow: var(--eo-shadow);
}
.eo-form-wrap {
  max-width: 920px;
  margin: 0 auto 100px;
  position: relative;
  z-index: 2;
}
.eo-form-card {
  padding: 34px;
  border: 1px solid #3a4438;
  border-radius: 22px;
  background: rgba(16, 20, 18, 0.96);
  box-shadow: var(--eo-shadow);
}
.eo-form-intro {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-end;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid #2f352e;
}
.eo-form-intro h2 {
  font-family: "Cinzel", serif;
  margin: 0;
}
.eo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.eo-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.eo-field--full {
  grid-column: 1/-1;
}
.eo-field label {
  font-weight: 800;
  font-size: 0.9rem;
  color: #dedbca;
}
.eo-required {
  color: var(--eo-gold-light);
}
.eo-field input,
.eo-field select,
.eo-field textarea {
  width: 100%;
  border: 1px solid #3c443a;
  border-radius: 9px;
  background: #0c100e;
  color: var(--eo-text);
  min-height: 50px;
  padding: 11px 13px;
  outline: none;
  transition: 0.2s ease;
}
.eo-field textarea {
  min-height: 140px;
  resize: vertical;
}
.eo-field input:focus,
.eo-field select:focus,
.eo-field textarea:focus {
  border-color: var(--eo-gold);
  box-shadow: 0 0 0 3px rgba(216, 181, 91, 0.09);
}
.eo-help {
  font-size: 0.78rem;
  color: #828a7d;
}
.eo-check {
  flex-direction: row;
  align-items: flex-start;
}
.eo-check input {
  width: auto;
  min-height: auto;
  margin-top: 6px;
}
.eo-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #2f352e;
}
.eo-message {
  margin: 24px auto;
  padding: 14px 17px;
  border-radius: 10px;
  border: 1px solid;
}
.eo-message--success {
  color: #d9f1d3;
  border-color: rgba(127, 181, 107, 0.45);
  background: rgba(127, 181, 107, 0.1);
}
.eo-message--error {
  color: #f5d7d1;
  border-color: rgba(203, 107, 93, 0.45);
  background: rgba(203, 107, 93, 0.1);
}
.eo-honeypot {
  position: absolute !important;
  left: -10000px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.eo-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 80px 0;
}
.eo-content h1,
.eo-content h2,
.eo-content h3 {
  font-family: "Cinzel", serif;
}
.eo-content h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  margin-top: 0;
}
.eo-content a {
  text-decoration: underline;
  text-decoration-color: rgba(216, 181, 91, 0.45);
}

.eo-site-footer {
  padding: 44px 0;
  border-top: 1px solid rgba(216, 181, 91, 0.13);
  color: #8f958a;
}
.eo-footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.eo-footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #cfcdbc;
}
.eo-footer-brand img {
  width: 108px;
  height: 45px;
}
.eo-footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .eo-nav-toggle {
    display: block;
  }
  .eo-menu {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #101412;
    border: 1px solid var(--eo-border);
    border-radius: 12px;
  }
  .eo-menu.is-open {
    display: flex;
  }
  .eo-hero-grid,
  .eo-banner {
    grid-template-columns: 1fr;
  }
  .eo-hero {
    min-height: auto;
  }
  .eo-hero-art {
    max-width: 680px;
    margin: 0 auto;
  }
  .eo-features {
    grid-template-columns: 1fr;
  }
  .eo-form-grid {
    grid-template-columns: 1fr;
  }
  .eo-field--full {
    grid-column: auto;
  }
}
@media (max-width: 640px) {
  .eo-section {
    padding: 66px 0;
  }
  .eo-hero-grid {
    padding: 66px 0 90px;
  }
  .eo-hero h1,
  .eo-recruit-hero h1,
  .eo-content h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .eo-form-card {
    padding: 22px;
    border-radius: 15px;
  }
  .eo-form-intro,
  .eo-form-footer,
  .eo-footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
  .eo-btn {
    width: 100%;
  }
  .eo-actions {
    flex-direction: column;
  }
}
