/* Aion Europe — Elden template bridge for inner pages */

:root {
  --ae-gold: #ccb86d;
  --ae-gold-soft: rgba(204, 184, 109, .28);
}

body.aion-elden-site {
  background: #000;
  color: rgba(255, 255, 255, .85);
  overflow-x: hidden;
}

#ae-main {
  min-height: 100vh;
}

.elden-topbar {
  height: 52px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  z-index: 1030;
}

.elden-mainbar {
  margin: 52px auto 0 !important;
  padding: 8px 0 !important;
  background: transparent !important;
  z-index: 1020;
}

.elden-status-bar {
  margin-top: 12px !important;
  margin-left: 0 !important;
}

.elden-status-pill {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
  border: 5px solid transparent;
  border-image: url("/public/elden/images/frame_square_dark.png") 30 stretch;
  background: rgba(0, 0, 0, .35);
}

.elden-sep { color: grey; }

.elden-auth-bar { margin-top: 8px !important; }

.elden-auth-bar .nav-link {
  color: rgb(142, 124, 97) !important;
  font-size: 15px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.elden-nav-ico { width: 14px; margin-top: -2px; }
.elden-diamond { width: 10px; margin-right: 6px; vertical-align: middle; }

.elden-mainbar .nav-link-below {
  font-weight: 100;
  font-size: 17px !important;
  font-family: Philosopher, sans-serif;
}

/* Header download — scoped so hero/page buttons are not affected */
#elden-header .elden-header-download {
  position: fixed;
  top: 54px;
  right: 5%;
  z-index: 1040;
  width: 250px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* Particle sparkle — clipped inside button, barely visible behind label */
#elden-header .elden-header-download::before {
  opacity: 0.1;
  z-index: 0;
  mix-blend-mode: screen;
  top: -6rem;
  left: -4rem;
  width: 320px;
  height: 340px;
  transform: rotate(180deg) scale(0.9);
}

#elden-header .elden-header-download::after {
  z-index: 1;
}

#elden-header .elden-header-download .download-button {
  width: 100%;
  min-height: 78px;
  height: 100%;
  padding: 16px 18px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.15;
  text-align: center;
  color: #fff;
  text-decoration: none;
  border-radius: 0;
  position: relative;
  z-index: 3;
}

.elden-dl-title {
  display: block;
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.15;
  font-family: Cinzel, Tahoma, sans-serif;
  letter-spacing: 0.04em;
}

.elden-dl-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: rgba(255, 255, 255, .72);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.15;
}

.elden-dl-sub img {
  margin: 0;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  vertical-align: middle;
}

.elden-toggler {
  position: absolute;
  right: 12px;
  top: 8px;
  z-index: 5;
}

@media (max-width: 767px) {
  #elden-header .elden-header-download {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 12px;
  }
  #elden-header .elden-header-download .download-button {
    width: 100%;
    min-height: 72px;
  }
}

#footer-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding-top: 24px;
}

#footer-list a {
  color: rgba(204, 184, 109, .7);
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

#footer-list a:hover { color: rgba(204, 184, 109, 1); }

.ae-inner-page {
  position: relative;
  min-height: 100vh;
  padding-bottom: 60px;
}

.ae-inner-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ae-inner-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

.ae-inner-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .92) 55%, #000 100%);
}

.ae-inner-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 170px 24px 80px;
}

.ae-page-head { margin-bottom: 36px; }

.ae-line-break {
  max-width: 280px;
  width: 45%;
  margin-bottom: 20px;
  opacity: .6;
}

.ae-page-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  background: linear-gradient(#eee, #ffa100);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  letter-spacing: .06em;
}

.ae-page-subtitle {
  color: rgba(255, 255, 255, .55);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

.ae-panel,
.ae-page-body .oath-container {
  animation: fadeInUp .5s ease-out;
  color: #888;
  background: linear-gradient(rgba(50, 43, 33, .04), rgba(50, 43, 33, .08));
  box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, rgba(119, 91, 58, .1), rgba(119, 91, 58, .43), rgba(119, 91, 58, .1)) 100% 1;
  border-radius: 15px;
  padding: 28px 32px;
  margin-bottom: 24px;
  text-align: left;
}

.ae-panel h2, .ae-panel h3 {
  color: var(--ae-gold);
  font-family: Cinzel, serif;
  text-align: center;
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.ae-panel p, .ae-panel li {
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
}

.ae-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

@media (min-width: 768px) {
  .ae-panel ul.ae-grid-2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .ae-grid-2 { grid-template-columns: 1fr 1fr; }
}

.ae-grid-2 { display: grid; gap: 24px; }

.ae-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.ae-auth-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 160px 20px 80px;
  position: relative;
}

.ae-auth-wrap .overlay-video {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.ae-auth-wrap .overlay-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
}

.ae-auth-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  padding: 32px;
  background: linear-gradient(to right, #111 0, #000 30%, rgba(0, 0, 0, .1) 80%) border-box,
    url("/public/elden/images/bg_39_armor.png") 50% / cover no-repeat border-box;
  border: 15px solid transparent;
  border-image: url("/public/elden/images/frame_square.png") 30 stretch;
  animation: fadeInUp .5s ease-out;
}

.ae-auth-box h1 {
  font-family: Cinzel, serif;
  color: var(--ae-gold);
  text-align: center;
  margin-bottom: 8px;
}

.ae-auth-box label {
  color: #81725b;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.ae-auth-box input {
  width: 100%;
  color: grey;
  padding: 10px 12px;
  background: rgba(50, 43, 33, .05);
  border: 2px solid rgba(50, 43, 33, .4);
  border-radius: 4px;
  margin-bottom: 14px;
}

.ae-auth-box .main-button { width: 100%; margin-top: 8px; }

/* Auth modal — visible overlay (replaces nearly-transparent Elden popup-modal-content) */
.ae-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
}

.ae-auth-modal__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 34px 28px 28px;
  text-align: center;
  background: linear-gradient(180deg, #1c1712 0%, #0c0a08 100%);
  border: 1px solid rgba(204, 184, 109, 0.5);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(204, 184, 109, 0.08);
  animation: fadeInUp 0.35s ease-out;
}

.ae-auth-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.ae-auth-modal__close:hover {
  color: #e5c287;
}

.ae-auth-modal__title {
  font-family: Cinzel, serif;
  font-size: 1.35rem;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}

.ae-auth-modal__title--error {
  color: #f87171;
}

.ae-auth-modal__title--login {
  color: #e5c287;
}

.ae-auth-modal__title--success {
  color: #ccb86d;
}

.ae-auth-modal__text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.ae-auth-modal__btn {
  padding: 12px 42px !important;
  width: auto !important;
  margin-top: 0 !important;
}

.ae-auth-notice {
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 5px;
  background: rgba(195, 112, 0, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

.ae-auth-notice strong {
  color: #ccb86d;
  font-weight: 600;
}

.ae-input-group {
  position: relative;
  margin-bottom: 4px;
}

.ae-field-hint {
  margin: 4px 0 14px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.4);
}

.ae-rank-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}

.ae-rank-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, .5);
  padding: 10px 16px;
  border-radius: 5px;
  background: linear-gradient(rgba(51, 42, 34, .27), rgba(14, 11, 6, .27));
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
}

.ae-rank-nav a:hover,
.ae-rank-nav a.is-active {
  background: linear-gradient(rgba(51, 42, 34, .77), rgba(14, 11, 6, .77));
  border-color: rgba(255, 255, 255, .3);
  color: var(--ae-gold);
}

.ae-rank-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }

.ae-rank-table thead th {
  color: var(--ae-gold);
  font-family: Cinzel, serif;
  font-size: .75rem;
  text-transform: uppercase;
  padding: 12px;
  text-align: center;
}

.ae-rank-table tbody td {
  padding: 14px 12px;
  text-align: center;
  color: rgba(255, 255, 255, .7);
}

.ae-home .h {
  height: auto;
  min-height: 100vh;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.ae-is-home #section-1 {
  min-height: 100vh;
  height: 100vh;
  padding-top: 0;
  overflow: hidden;
}

.ae-is-home #section-1 .overlay-content {
  justify-content: flex-start;
  padding-top: 70px;
  padding-bottom: 130px;
  box-sizing: border-box;
  overflow: visible;
}

.ae-is-home #section-1 .slider-section:first-child .h-link {
  margin-top: 24px;
  margin-bottom: 12px;
}

.ae-is-home #section-1 .slider-section:first-child .h-scroll {
  margin-top: -20px;
}

/* Hero feature bar — pinned to bottom of hero slides */
.ae-is-home .ae-hero-feature-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  width: 94%;
  max-width: 1150px;
  z-index: 12;
  pointer-events: auto;
}

.ae-is-home .ae-hero-feature-bar .un_window {
  width: 100%;
}

.ae-is-home .ae-hero-feature-bar .un_window-scroll {
  display: block;
  text-align: center;
  margin-bottom: 6px;
}

.ae-is-home .ae-hero-feature-bar .un_window-scroll span {
  display: inline-block;
  width: 72%;
  max-width: 920px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(169, 141, 80, .45), transparent);
}

.ae-is-home .ae-hero-feature-bar .un_why-control {
  width: 100%;
}

.ae-is-home .ae-hero-feature-bar .swiper-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
}

.ae-is-home .ae-hero-feature-bar .swiper-slide {
  flex-shrink: 0;
  overflow: visible;
  padding-top: 5.5rem;
}

.ae-is-home .ae-hero-feature-bar .swiper-slide p.summary {
  font-size: 17px !important;
  width: 11rem;
  left: -2.1rem;
  bottom: 2.4rem !important;
  opacity: 1 !important;
  color: rgba(255, 255, 255, .55);
  white-space: nowrap;
  z-index: 3;
}

.ae-is-home .ae-hero-feature-bar .swiper-slide p.summary img {
  display: inline-block;
  width: 10px;
  margin-right: 4px;
  vertical-align: middle;
}

.ae-is-home .ae-hero-feature-bar .swiper-slide div:first-child:hover ~ p.summary {
  bottom: 2.4rem !important;
  opacity: 1 !important;
}

.ae-is-home .ae-hero-feature-bar .swiper-slide .description {
  bottom: 6.4rem !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: min(320px, 92vw) !important;
  text-align: center !important;
  white-space: normal !important;
  font-size: 15px !important;
  line-height: 1.5;
  padding: 10px 14px !important;
  z-index: 20;
}

.ae-is-home .ae-hero-feature-bar .swiper-slide div:first-child:hover ~ .description {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.ae-is-home .ae-hero-feature-bar .un_why-control,
.ae-is-home .ae-hero-feature-bar .un_window,
.ae-is-home .ae-hero-feature-bar .swiper-wrapper {
  overflow: visible;
}

@media (max-width: 991px) {
  .ae-is-home .ae-hero-feature-bar {
    width: 100%;
    padding: 0 8px;
    bottom: 8px;
    overflow-x: auto;
  }

  .ae-is-home .ae-hero-feature-bar .swiper-wrapper {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

.ae-is-home .ae-home section:not(#section-1):not(#section-news):not(#section-features):not(#section-faq):not(#section-steps) {
  min-height: 100vh;
  height: auto;
  padding: 80px 0;
  scroll-margin-top: 130px;
}

.ae-is-home #section-news {
  min-height: 0 !important;
  height: auto !important;
  padding: 50px 0 40px !important;
  scroll-margin-top: 130px;
}

.ae-is-home #section-features {
  min-height: 0 !important;
  height: auto !important;
  padding: 72px 0 64px !important;
  scroll-margin-top: 130px;
}

.ae-home-features-wrap {
  width: min(1180px, 94%);
  margin: 0 auto;
  text-align: center;
}

.ae-home-features-intro {
  max-width: 820px;
  margin: 0 auto 48px;
  color: rgba(255, 255, 255, .72);
  font-family: Philosopher, sans-serif;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  line-height: 1.65;
}

.ae-home-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ae-home-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100%;
  padding: 34px 26px 30px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(24, 20, 16, .92) 0%, rgba(10, 9, 8, .96) 100%);
  border: 1px solid rgba(169, 141, 80, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 28px rgba(0, 0, 0, .35);
}

.ae-home-feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 108px;
  margin-bottom: 18px;
}

.ae-home-feature-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45));
}

.ae-home-feature-icon--logo {
  width: auto;
  max-width: 170px;
  height: 72px;
}

.ae-home-feature-title {
  margin: 0 0 14px;
  color: #d4b46a;
  font-family: Cinzel, serif;
  font-size: clamp(.95rem, 1.5vw, 1.12rem);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.35;
}

.ae-home-feature-divider {
  position: relative;
  width: 72%;
  max-width: 220px;
  height: 12px;
  margin: 0 auto 16px;
}

.ae-home-feature-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(to right, transparent, rgba(169, 141, 80, .55), transparent);
}

.ae-home-feature-divider span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(135deg, #f0dca0, #a9843f);
  box-shadow: 0 0 8px rgba(212, 180, 106, .35);
}

.ae-home-feature-text {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-family: Philosopher, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .ae-home-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ae-is-home #section-features {
    padding: 56px 0 48px !important;
  }

  .ae-home-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ae-home-feature-card {
    padding: 28px 20px 24px;
  }
}

.ae-is-home #section-faq .faq-container {
  padding-top: 48px;
  padding-bottom: 32px;
}

.ae-is-home #section-faq .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.ae-is-home #section-faq .faq-item {
  break-inside: avoid;
}

.ae-is-home #section-faq .faq-answer p {
  margin: 0 0 12px;
}

.ae-is-home #section-faq .faq-answer p:last-child {
  margin-bottom: 0;
}

.ae-is-home #section-faq .ae-faq-list,
.ae-is-home #section-faq .ae-faq-checks {
  margin: 0 0 12px;
  padding-left: 0;
  list-style: none;
}

.ae-is-home #section-faq .ae-faq-list li,
.ae-is-home #section-faq .ae-faq-checks li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .35);
  font-weight: 300;
  line-height: 1.55;
}

.ae-is-home #section-faq .ae-faq-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(119, 91, 58, .55);
}

.ae-is-home #section-faq .ae-faq-checks li span {
  position: absolute;
  left: 0;
  color: rgba(212, 180, 106, .75);
  font-size: .9em;
}

.ae-is-home #section-faq .ae-faq-checks li {
  padding-left: 22px;
}

@media (max-width: 991px) {
  .ae-is-home #section-faq .faq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.ae-is-home #section-faq {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  scroll-margin-top: 130px;
}

/* Steps — compact block, centered CTAs, Elden background */
.ae-is-home #section-steps {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  scroll-margin-top: 130px;
  position: relative;
  overflow: hidden;
}

.ae-is-home #section-steps .ae-steps-inner {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 20px 64px;
  text-align: center;
}

.ae-is-home #section-steps .ae-steps-inner .season-title {
  margin-bottom: 28px;
}

.ae-is-home #section-steps .header-start {
  display: flex;
  justify-content: center;
  width: 100%;
}

.ae-is-home #section-steps .header-start ul {
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

/* Left section navigation diamonds */
.diamonds-nav-left {
  left: 50px !important;
  right: auto !important;
  top: 55%;
  z-index: 100;
}

.diamonds-nav-left::before {
  left: 40%;
}

@media (max-width: 768px) {
  .diamonds-nav-left {
    left: 16px !important;
    transform: translateY(-50%) scale(.85);
  }
}

/* Header — Elden layout */
#elden-header.parent-container {
  width: 90%;
  max-width: 100%;
}

body.ae-is-home #elden-header.parent-container {
  z-index: 1030;
}

.elden-mainbar-inner {
  position: relative;
  width: 100%;
  padding-right: 300px;
  min-height: 75px;
}

#elden-header #navcol-2 {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

#elden-header #center.navbar-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin-left: 50px;
}

#elden-header .nav-link-icon img {
  width: 40px !important;
  max-width: 40px !important;
  height: auto;
}

#elden-header .elden-diamond {
  width: 10px !important;
  max-width: 10px !important;
}

#elden-header .nav-link-below {
  white-space: nowrap;
}

@media (min-width: 768px) {
  #elden-header .elden-mainbar .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    align-items: center;
  }
}

.ae-join-now,
.ae-atreia-pass {
  color: orange !important;
  font-family: Philosopher, sans-serif !important;
}

.ae-atreia-pass .elden-atreia-arrow {
  transform: scaleX(-1);
  width: 8%;
  margin-right: 8px;
  vertical-align: middle;
}

.nav-link.ae-join-now:hover,
.nav-link.ae-atreia-pass:hover {
  color: #ffb347 !important;
  text-decoration: none !important;
}

/* Hero typography */
.ae-hero-title {
  opacity: .9;
  font-size: clamp(2rem, 5vw, 48px);
  font-weight: 700;
  background: linear-gradient(#fff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Cinzel, sans-serif;
  text-align: center;
  margin-top: 0;
}

.ae-hero-subtitle {
  opacity: .85;
  font-size: clamp(1.2rem, 3vw, 34px);
  font-weight: 700;
  background: linear-gradient(#fff, #ffa100);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Cinzel, sans-serif;
  text-align: center;
}

.ae-hero-tagline {
  opacity: .75;
  font-size: clamp(.95rem, 2vw, 22px);
  font-weight: 600;
  font-family: Philosopher, sans-serif;
  color: rgba(255, 255, 255, .65) !important;
  text-align: center;
  -webkit-text-fill-color: initial !important;
  background: none !important;
}

/* Hero feature bar — legacy overrides (see .ae-hero-feature-bar above) */
.ae-is-home .un_main:not(.ae-hero-feature-bar) {
  position: relative;
  z-index: 5;
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.ae-is-home #section-1 .nav-arrow {
  z-index: 20;
}

/* Hero slide 2 — Daeva Pass, centered layout */
.ae-is-home .ae-slide-2-content {
  justify-content: center !important;
  align-items: center !important;
  padding: 90px 24px 150px !important;
  overflow: visible;
  box-sizing: border-box;
}

.ae-is-home .ae-slide-2-center {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ae-is-home .ae-slide-2-line {
  width: 100%;
  max-width: 380px;
  margin: 0 auto 28px;
  display: block;
  opacity: 0.85;
}

.ae-is-home .ae-slide-2-content .animated-content-slider-second {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ae-is-home .ae-slide-2-content .season-text-container-slider-second {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ae-is-home .ae-slide-2-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem) !important;
  opacity: 0.9;
  margin-bottom: 8px;
  text-align: center;
}

.ae-is-home .ae-slide-2-subtitle {
  font-size: clamp(1.25rem, 2.8vw, 2.1rem) !important;
  opacity: 0.85;
  text-align: center;
}

.ae-is-home .ae-slide-2-tagline {
  font-size: clamp(1rem, 2vw, 1.55rem) !important;
  opacity: 0.8;
  margin-top: 8px;
  text-align: center;
}

.ae-is-home .ae-slide-2-note {
  margin: 16px auto 0;
  max-width: 520px;
  font-size: 16px !important;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  font-family: Philosopher, sans-serif;
  text-align: center;
  -webkit-text-fill-color: initial !important;
  background: none !important;
}

.ae-is-home .atreia-pass-link-slider-second {
  margin: 0 !important;
  padding-top: 32px !important;
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.ae-is-home .atreia-pass-link-slider-second .un_navDownload {
  width: 20rem;
  margin: 0 auto;
}

.ae-is-home .atreia-pass-link-slider-second .button-dn-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (max-width: 991px) {
  .ae-is-home .ae-slide-2-content {
    padding: 90px 16px 120px !important;
  }

  .ae-is-home .ae-slide-2-center {
    max-width: 100%;
    padding: 0 8px;
  }
}

.ae-is-home #section-1 .progress-bar {
  z-index: 15;
}

@media (max-width: 767px) {
  .elden-mainbar-inner {
    padding-right: 0;
  }

  #elden-header #center.navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
  }
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
}

/* Inner pages (download, status, about, etc.) — no viewport black band on scroll */
body.ae-is-inner {
  height: auto !important;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

body.ae-is-inner #ae-main {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: relative;
  background: transparent;
}

body.ae-is-inner .ae-inner-page {
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
}

body.ae-is-inner .ae-inner-page.overlay::before,
body.ae-is-inner .ae-inner-page.overlay::after {
  display: none;
}

body.ae-is-inner #elden-header .navbar.bg-dark {
  background-color: transparent !important;
  background: transparent !important;
}

body.ae-is-inner .parent-container {
  position: fixed;
  z-index: 1030;
  background: transparent !important;
}

body.ae-is-inner .footer-bg {
  position: relative;
  z-index: 2;
}

/* Homepage news cards — category colors */
.ae-is-home .news-item.news .news-content,
.ae-is-home .news-item.news .badge.news {
  background-color: #28a745 !important;
}

.ae-is-home .news-item.news .news-divider.news {
  background-color: #1e7e34 !important;
}

.ae-is-home .news-item.event .news-content,
.ae-is-home .news-item.event .badge.event {
  background-color: #d4a017 !important;
}

.ae-is-home .news-item.event .news-divider.event {
  background-color: #b8860b !important;
}

.ae-is-home .news-item.freecode .news-content,
.ae-is-home .news-item.freecode .badge.freecode {
  background-color: #e67e22 !important;
}

.ae-is-home .news-item.freecode .news-divider.freecode {
  background-color: #c96516 !important;
}

.ae-is-home .news-item.update .news-content,
.ae-is-home .news-item.update .badge.update,
.ae-is-home .news-item.patchnote .news-content,
.ae-is-home .news-item.patchnote .badge.patchnote {
  background-color: #dc3545 !important;
}

.ae-is-home .news-item.update .news-divider.update,
.ae-is-home .news-item.patchnote .news-divider.patchnote {
  background-color: #b02a37 !important;
}

.ae-is-home .news-item.download .news-content,
.ae-is-home .news-item.download .badge.download {
  background-color: #0043d2 !important;
}

.ae-is-home .news-item.download .news-divider.download {
  background-color: #0033a0 !important;
}

/* Article detail pages */
.ae-article-detail {
  max-width: 900px;
  margin: 0 auto;
}

.ae-article-hero {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(169, 141, 80, .25);
}

.ae-article-hero img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.ae-article-header {
  text-align: left;
}

.ae-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ae-article-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}

.ae-article-badge-news { background-color: #28a745; }
.ae-article-badge-event { background-color: #d4a017; }
.ae-article-badge-freecode { background-color: #e67e22; }
.ae-article-badge-update,
.ae-article-badge-patchnote { background-color: #dc3545; }

.ae-article-date {
  color: rgba(255, 255, 255, .55);
  font-size: .95rem;
}

.ae-article-title {
  margin: 0 0 12px;
  color: #fff;
  font-family: Cinzel, serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.3;
  text-align: left;
}

.ae-article-lead {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 1.05rem;
  line-height: 1.6;
}

.ae-article-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  font-size: 1.05rem;
}

.ae-article-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
  display: block;
}

.ae-article-list li {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.65;
}

.ae-article-list li strong {
  color: rgba(255, 255, 255, .9);
}

.ae-article-back {
  text-align: center;
  margin: 32px 0 8px;
}

.ae-article-back a {
  color: var(--ae-gold);
  text-decoration: none;
  font-family: Philosopher, sans-serif;
}

.ae-article-back a:hover {
  text-decoration: underline;
}

.ae-article-not-found {
  text-align: center;
}

/* Server Info page — layout must stay identical across all languages */
.ae-server-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.ae-server-intro p {
  font-size: 1.05rem;
  line-height: 1.85;
}

.ae-server-rates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .ae-server-rates {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .ae-server-rates {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ae-rate-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(204, 184, 109, 0.2);
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.ae-rate-card:hover {
  border-color: rgba(204, 184, 109, 0.45);
  transform: translateY(-2px);
}

.ae-rate-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 10px;
}

.ae-rate-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ae-rate-value {
  color: #e5c287;
  font-family: Cinzel, serif;
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.ae-rate-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

.ae-server-pillars {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .ae-server-pillars {
    grid-template-columns: 1fr 1fr;
  }
}

.ae-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.ae-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.ae-check-list li::before {
  content: '✔';
  color: #7fb488;
  font-weight: 700;
  flex-shrink: 0;
}

.ae-p2w-quote {
  text-align: center;
  padding: 8px 0;
}

.ae-p2w-quote p {
  font-family: Cinzel, serif;
  color: #e5c287;
  font-size: 1.15rem;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.ae-closing {
  text-align: center;
  padding: 8px 0 4px;
}

.ae-closing p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.ae-closing .ae-tagline {
  font-family: Cinzel, serif;
  color: #e5c287;
  font-size: 1.2rem;
  margin-top: 16px;
}

.ae-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

