/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* ---------------------------------------------
   FONTS
----------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&display=swap');

/* ---------------------------------------------
   GLOBAL THEME — Jagex-style: dark, gold, arcane
----------------------------------------------*/
:root {
  --bg-dark: #0A0F1C;
  --bg-panel: #111827;
  --text-light: #F2F5FA;
  --accent-blue: #98C7F2; /* Quest cape blue */
  --accent-gold: #D6B46F;
  --border-gold: rgba(214,180,111,0.5);
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-dark);
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  overflow-x: hidden;
}

@media (max-width: 767px) {
  /* mobile styles */
	.e-con-inner > .elementor-widget-heading,
	.e-con-inner > .elementor-widget-heading,
	.e-con-inner > .elementor-widget-heading,
	.e-con-inner > .elementor-widget-heading,
	.e-con-inner > .elementor-widget-heading,
	.e-con-inner > .elementor-widget-heading {
			margin: 10px 20px !important;
	}
}


hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(214, 180, 111, 0.6), transparent);
    margin: 16px 0;
}

/* ---------------------------------------------
   NAVBAR
----------------------------------------------*/
#masthead {
  background: rgba(10,15,28,0.9);
  border-bottom: 3px solid var(--border-gold);
  backdrop-filter: blur(6px);
  position: sticky !important;
  top: 0;
	margin-bottom:50px;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  margin: 0 14px;
  font-weight: 500;
  position: relative;
}

nav a:hover::after,
nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
}


/* Apply Button */
#apply-header {
  background: var(--accent-gold);
  padding: 10px 18px;
  border-radius: 4px;
  color: #000;
  font-weight: bold;
  transition: 0.2s;
}

#apply-header:hover {
  filter: brightness(1.2);
}

.a-button a.elementor-button-link,
.a-button .btn {
	background: linear-gradient(180deg,#e6c98a 0%,#d4ac3a 55%,#b8942f 100%);
	padding: 10px 18px;
  border-radius: 4px;
  color: #000;
  font-weight: bold;
  transition: 0.2s;
	box-shadow:
  inset 0 1px 0 rgba(255,255,255,0.35),
  0 6px 20px rgba(0,0,0,0.4);

}
.a-button:hover a.elementor-button-link,
.a-button:hover .btn,
.a-button .btn:hover {
	transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 10px 28px rgba(0,0,0,0.55);
	filter:brightness(1.12);
}

/* ---------------------------------------------
   Modals!
----------------------------------------------*/

.modal-content {
	color: var(--text-light);
	background: var(--bg-panel);
}
.modal-header {
	
}
.modal-body {
	
}
.modal-footer {
	
}
.modal .close {
	color: var(--text-light);
}
.modal .close:hover {
}



/* ---------------------------------------------
   HERO HEADER
----------------------------------------------*/
.hero {
  background: #000;
  padding: 30px 20px 160px;
  text-align: center;
  position: relative;
}
.top-hero {
	margin-top: -50px;
}
.hero::after {
  content: "";
  position: absolute;
  top:0; left:0;
  right:0; bottom:0;
  background: radial-gradient(circle at center, rgba(40,70,120,0.2), rgba(0,0,0,0.5));
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 3.4rem;
  margin: 0;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 18px rgba(120,180,255,0.5);
}

.hero p {
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  margin-top: 12px;
}

.hero .brand-logo {
  width: 800px;
}
.hero .scroll-button {
	z-index: 2;
}
.scroll-button a {
	height: 60px;
	width: 60px;
}
.scroll-button a svg {
	top: 11px;
    position: relative;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-button.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
/* ---------------------------------------------
   SECTION CARDS (Jagex style)
----------------------------------------------*/
.section {
  max-width: 1050px;
  margin: 60px auto;
  padding: 0 20px;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 0 18px rgba(0,0,0,0.3);
  position: relative;
}

.card h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--accent-gold);
}

.card p {
  line-height: 1.6;
}

.card img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid var(--border-gold);
}


.game-card {
  position: relative;
  display: inline-block;
}

.game-card img {
  display: block;
}

.member-pill {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  font-size: 14px;
  color: #e6e6e6;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}

.game-card:hover .member-pill {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}
/* ===============================
   RANK CARD BASE
================================ */

.rank-card {
  background: linear-gradient(180deg, #0b1a33 0%, #0a1428 100%);
  border: 1px solid rgba(212, 172, 58, 0.6);
  border-radius: 14px;
  padding: 36px 28px;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center;
  text-align: center;

  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;

  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  overflow: hidden;
}

/* ===============================
   CARD HOVER (LIFT)
================================ */

.rank-card:hover {
  transform: translateY(-6px);
  border-color: #f4d27a;
  box-shadow: 0 18px 50px rgba(0,0,0,0.65);
}

/* ===============================
   SOFT HOVER GLOW
================================ */

.rank-card:hover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(76, 160, 255, 0.12),
    transparent 65%
  );
  pointer-events: none;
}

/* ===============================
   ICON / IMAGE
================================ */

.rank-card-image {
  margin-bottom: 14px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.rank-card:hover .rank-card-image {
  transform: translateY(-2px) scale(0.95);
}

/* ===============================
   TITLE
================================ */

.rank-card-title {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  color: #d4ac3a;

  transition: transform 0.35s ease;
}

.rank-card:hover .rank-card-title {
  transform: translateY(-2px);
}

/* ===============================
   DESCRIPTION (REVEAL)
================================ */

.rank-card:not(.no-hide) .rank-card-description, 
.rank-card:not(.no-hide) .title-hide {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.rank-card:not(.no-hide):hover .rank-card-description,
.rank-card:not(.no-hide):hover .title-hide {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   GOLD ACCENT DIVIDER
================================ */

.rank-card::after {
  content: "";
  width: 60px;
  height: 2px;
  background: #d4ac3a;
  margin: 18px auto 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.rank-card:hover::after {
  opacity: 0.7;
}

/* ---------------------------------------------
   MAGIC PARTICLE ANIMATION
----------------------------------------------*/
.particle {
  position: absolute;
  background: var(--accent-blue);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0.7;
  animation: drift 12s infinite linear;
}

@keyframes drift {
  from { transform: translateY(0) translateX(0); opacity: 0.8; }
  to   { transform: translateY(-300px) translateX(40px); opacity: 0; }
}

/* ---------------------------------------------
   FOOTER
----------------------------------------------*/
footer {
  text-align: center;
  padding: 40px 0;
  color: #aaa;
  font-size: 0.9rem;
	border-top: 1px solid rgba(214, 180, 111, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 -6px 24px rgba(0, 0, 0, 0.7);
	margin-top:30px;
}

.footer-motto {
  margin: 0 0 18px;
  text-align: center;
  font-family: var(--heading-font);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(212, 172, 58, 0.8); /* muted gold */
		transition: 0.5s ease;

}
.footer-motto:hover {
  color: #f4d27a;
  letter-spacing: 0.06em;
	transition: 0.5s ease;
}
.footer-motto::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 10px auto 0;
  background: rgba(212, 172, 58, 0.5);
}
@media (max-width: 767px) {
  .footer-motto {
    margin-bottom: 12px;
    letter-spacing: 0.08em;
  }
}


/* ---------------
 * TAB GROUPS
 * ---------------*/
/* ===============================
   ELEMENTOR NESTED TABS OVERRIDE
   Scoped: .leadership-tabs
   =============================== */

.leadership-tabs .e-n-tab {
  background: transparent;
}

.leadership-tabs .e-n-tab__nav {
  display: flex;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: none !important;
}

/* Tab button base */
.leadership-tabs .e-n-tab-title {
  background: linear-gradient(
    180deg,
    rgba(214,180,111,0.15),
    rgba(214,180,111,0.05)
  ) !important;

  border: 1px solid rgba(214,180,111,0.35) !important;
  border-radius: 6px;

  padding: 14px 24px !important;

  font-family: TUBold, serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--accent-gold) !important;

  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;

  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Remove Elementor indicator */
.leadership-tabs .e-n-tab-title::after {
  display: none !important;
}

/* Hover */
.leadership-tabs .e-n-tab-title:hover {
  background: rgba(214,180,111,0.18) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 4px 12px rgba(0,0,0,0.4);
}

/* Active tab (ARIA-based) */
.leadership-tabs .e-n-tab-title[aria-selected="true"] {
  background: linear-gradient(
    180deg,
    rgba(214,180,111,0.35),
    rgba(214,180,111,0.15)
  ) !important;

  border-color: var(--accent-gold) !important;
  color: #fff !important;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.15),
    0 0 12px rgba(214,180,111,0.35);
}

/* Ensure text/icons inherit color */
.leadership-tabs .e-n-tab-title * {
  color: inherit !important;
}

/* Tab content panel */
.leadership-tabs .e-n-tab__content {
  background: rgba(10,15,28,0.75);
  border: 1px solid rgba(214,180,111,0.25);
  border-radius: 8px;
  padding: 24px;
  margin-top: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .leadership-tabs .e-n-tab__nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .leadership-tabs .e-n-tab-title {
    flex: 1 1 auto;
    text-align: center;
    padding: 12px 16px !important;
    font-size: 0.8rem;
  }
}



/* =========================
   BOOTSTRAP ALERT OVERRIDES
   ========================= */

.alert {
  position: relative;
  margin-bottom: 1rem;
  padding: 8px 12px 8px 36px;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.4;

  background: rgba(120,120,120,0.18);
  color: #e6e6e6;

  border: none;
  border-left: 4px solid rgba(180,180,180,0.6);
}

/* icon */
.alert::before {
  content: "\f05a"; /* info-circle */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 12px;
  top: 9px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* -------------------------
   PRIMARY
   ------------------------- */
.alert-primary {
  background: rgba(70, 100, 140, 0.25);
  border-left-color: rgba(120, 170, 255, 0.85);
  color: #d6e6ff;
}
.alert-primary::before {
  content: "\f0c1"; /* link / primary */
  color: #9ec7ff;
}

/* -------------------------
   SECONDARY
   ------------------------- */
.alert-secondary {
  background: rgba(120,120,120,0.22);
  border-left-color: rgba(180,180,180,0.6);
  color: #e5e5e5;
}
.alert-secondary::before {
  content: "\f05a"; /* info-circle */
  color: #cfcfcf;
}

/* -------------------------
   INFO
   ------------------------- */
.alert-info {
  background: rgba(60, 90, 150, 0.25);
  border-left-color: rgba(120, 170, 255, 0.85);
  color: #d6e6ff;
}
.alert-info::before {
  content: "\f05a"; /* info-circle */
  color: #9ec7ff;
}

/* -------------------------
   SUCCESS
   ------------------------- */
.alert-success {
  background: rgba(28, 232, 0, 0.25);
  border-left-color: rgba(80, 220, 120, 0.85);
  color: #eaffea;
}
.alert-success::before {
  content: "\f058"; /* check-circle */
  color: #8dffb1;
}

/* -------------------------
   WARNING
   ------------------------- */
.alert-warning {
  background: rgba(255, 196, 0, 0.22);
  border-left-color: rgba(255, 200, 60, 0.85);
  color: #fff3c4;
}
.alert-warning::before {
  content: "\f06a"; /* exclamation-circle */
  color: #ffd24a;
}

/* -------------------------
   DANGER
   ------------------------- */
.alert-danger {
  background: rgba(232, 0, 0, 0.25);
  border-left-color: rgba(255, 80, 80, 0.85);
  color: #ffe3e3;
}
.alert-danger::before {
  content: "\f071"; /* exclamation-triangle */
  color: #ffd24a;
}
.alert {
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
@media (max-width: 576px) {
  .alert {
    font-size: 0.85rem;
    padding: 8px 10px 8px 34px;
  }
}
