/* =====================================================================
   Arua ROSE Online — Dark Fantasy Portal Theme
   Immersive MMORPG aesthetic · Atmospheric · Gold accents
   Built on Bootstrap 5.3 utilities with full component overrides
   ===================================================================== */


/* -----------------------------------------------------------------
   1. CSS Variables
   ----------------------------------------------------------------- */
:root {
  /* Deep dark palette */
  --arua-void:        #04070e;
  --arua-deep:        #080d1a;
  --arua-bg:          #0c1220;
  --arua-surface:     #111a2e;
  --arua-elevated:    #172038;
  --arua-glass:       rgba(10, 16, 32, 0.82);

  /* Borders */
  --arua-border:      rgba(255, 255, 255, 0.06);
  --arua-border-light:rgba(255, 255, 255, 0.04);
  --arua-border-gold: rgba(232, 170, 42, 0.25);

  /* Gold — primary accent (fantasy treasure) */
  --arua-gold:        #e8aa2a;
  --arua-gold-light:  #ffd966;
  --arua-gold-dark:   #b8861e;
  --arua-gold-bg:     rgba(232, 170, 42, 0.07);
  --arua-gold-glow:   0 0 24px rgba(232, 170, 42, 0.18);

  /* Cyan — magical energy */
  --arua-cyan:        #00c2f0;
  --arua-cyan-dark:   #009bc2;
  --arua-cyan-bg:     rgba(0, 194, 240, 0.06);

  /* Rose — nod to "ROSE" Online */
  --arua-rose:        #ff5c8a;
  --arua-rose-bg:     rgba(255, 92, 138, 0.06);

  /* Text */
  --arua-text:        #b0bac8;
  --arua-text-bright: #dce3ec;
  --arua-text-dark:   #dce3ec;
  --arua-text-muted:  #4e5d72;
  --arua-white:       #eef2f7;

  /* Status */
  --arua-success:     #22c55e;
  --arua-danger:      #ef4444;
  --arua-warning:     #f59e0b;
  --arua-info:        #3b82f6;
  --arua-discord:     #5865F2;

  /* Shadows */
  --arua-shadow-sm:   0 2px 6px rgba(0, 0, 0, 0.35);
  --arua-shadow:      0 4px 20px rgba(0, 0, 0, 0.45);
  --arua-shadow-lg:   0 8px 40px rgba(0, 0, 0, 0.55);

  /* Sizing */
  --arua-radius:      6px;
  --arua-radius-lg:   10px;

  /* Typography */
  --font-display:     'Chakra Petch', 'Segoe UI', sans-serif;
  --font-body:        'Outfit', 'Segoe UI', system-ui, sans-serif;
}


/* -----------------------------------------------------------------
   2. Base
   ----------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--arua-bg);
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(232, 170, 42, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 60%, rgba(0, 194, 240, 0.015) 0%, transparent 40%);
  color: var(--arua-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

::selection {
  background: var(--arua-gold);
  color: #0c1220;
}

img { max-width: 100%; height: auto; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--arua-deep); }
::-webkit-scrollbar-thumb {
  background: rgba(232, 170, 42, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(232, 170, 42, 0.45);
}


/* -----------------------------------------------------------------
   3. Typography
   ----------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.display-0, .display-1, .display-2, .display-3, .display-4, .display-5 {
  font-family: var(--font-display);
  color: var(--arua-text-bright);
  letter-spacing: 0.02em;
}

.display-0 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.05;
}

a {
  color: var(--arua-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--arua-cyan-dark);
}

hr {
  border-color: var(--arua-border);
  opacity: 1;
}

.lead {
  color: var(--arua-text);
  font-weight: 400;
}

small, .small {
  color: var(--arua-text-muted);
}

.text-muted {
  color: var(--arua-text-muted) !important;
}


/* -----------------------------------------------------------------
   4. Bootstrap Dark Mode Overrides
   ----------------------------------------------------------------- */
[data-bs-theme="dark"] {
  --bs-body-bg: var(--arua-bg);
  --bs-body-color: var(--arua-text);
  --bs-border-color: var(--arua-border);
  color-scheme: dark;
}


/* -----------------------------------------------------------------
   5. Navbar
   ----------------------------------------------------------------- */
.arua-navbar {
  background: var(--arua-glass) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--arua-border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* Subtle gold glow line at bottom of nav */
.arua-navbar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(232, 170, 42, 0.2) 30%,
    rgba(232, 170, 42, 0.35) 50%,
    rgba(232, 170, 42, 0.2) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.arua-navbar .navbar-brand img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.arua-navbar .navbar-brand:hover img {
  transform: scale(1.06);
  filter: brightness(1.1);
}

.arua-navbar .nav-link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--arua-text-muted) !important;
  padding: 0.9rem 0.8rem !important;
  position: relative;
  transition: color 0.25s ease;
}

.arua-navbar .nav-link:hover,
.arua-navbar .nav-link:focus {
  color: var(--arua-gold) !important;
}

/* Active indicator — gold underline */
.arua-navbar .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--arua-gold);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(232, 170, 42, 0.4);
}

.arua-navbar .nav-link:hover::before {
  width: 50%;
  left: 25%;
}

.arua-navbar .dropdown-toggle::after {
  vertical-align: 0.15em;
  opacity: 0.5;
}

/* Mobile toggler */
.arua-navbar .navbar-toggler {
  border-color: var(--arua-border);
  padding: 0.4rem 0.7rem;
}

.arua-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(232,170,42,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.arua-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(232, 170, 42, 0.2);
}


/* -----------------------------------------------------------------
   6. Dropdown Menus
   ----------------------------------------------------------------- */
.dropdown-menu {
  background: var(--arua-surface);
  border: 1px solid var(--arua-border-gold);
  box-shadow: var(--arua-shadow-lg), var(--arua-gold-glow);
  border-radius: var(--arua-radius);
  padding: 0.5rem 0;
  animation: dropIn 0.25s ease;
  backdrop-filter: blur(12px);
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-item {
  color: var(--arua-text);
  font-size: 0.875rem;
  padding: 0.5rem 1.2rem;
  transition: all 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--arua-gold-bg);
  color: var(--arua-gold);
}

.dropdown-divider {
  border-color: var(--arua-border);
  margin: 0.35rem 0;
}

/* Mega menu */
.mega-menu-wrapper .mega-menu {
  min-width: 600px;
}

@media (max-width: 991.98px) {
  .mega-menu-wrapper .mega-menu {
    min-width: auto;
  }
}


/* -----------------------------------------------------------------
   7. Buttons
   ----------------------------------------------------------------- */
.btn-primary {
  background: linear-gradient(135deg, var(--arua-gold) 0%, var(--arua-gold-dark) 100%);
  border: none;
  color: #0c1220 !important;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.6rem 1.6rem;
  border-radius: var(--arua-radius);
  box-shadow: 0 2px 12px rgba(232, 170, 42, 0.25);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--arua-gold-light) 0%, var(--arua-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(232, 170, 42, 0.35);
  color: #0c1220 !important;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(232, 170, 42, 0.2);
}

.btn-outline-secondary {
  border: 1px solid var(--arua-border);
  color: var(--arua-text);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border-radius: var(--arua-radius);
  transition: all 0.25s ease;
  background: transparent;
}

.btn-outline-secondary:hover {
  border-color: var(--arua-gold);
  color: var(--arua-gold);
  background: var(--arua-gold-bg);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border-radius: var(--arua-radius);
  transition: all 0.25s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.08);
}

.btn-lg {
  padding: 0.75rem 2.2rem;
  font-size: 0.92rem;
}

.btn-sm {
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-default {
  background: var(--arua-elevated);
  border: 1px solid var(--arua-border);
  color: var(--arua-text);
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: var(--arua-radius);
  transition: all 0.2s ease;
}

.btn-default:hover {
  background: var(--arua-surface);
  border-color: var(--arua-gold);
  color: var(--arua-gold);
}


/* -----------------------------------------------------------------
   8. Cards
   ----------------------------------------------------------------- */
.card {
  background: var(--arua-surface);
  border: 1px solid var(--arua-border);
  border-radius: var(--arua-radius-lg);
  box-shadow: var(--arua-shadow-sm);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--arua-border-gold);
  box-shadow: var(--arua-shadow), var(--arua-gold-glow);
}

.card-header {
  background: var(--arua-elevated);
  border-bottom: 1px solid var(--arua-border);
  padding: 1rem 1.25rem;
}

.card-header .card-title {
  font-family: var(--font-display);
  color: var(--arua-text-bright);
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.card-body {
  padding: 1.25rem;
}

.card-footer {
  background: var(--arua-elevated);
  border-top: 1px solid var(--arua-border);
  padding: 1rem 1.25rem;
}

.card-title a {
  color: var(--arua-text-bright);
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: var(--arua-gold);
}

.card-text {
  color: var(--arua-text-muted);
  font-size: 0.9rem;
}

/* News card images */
.card-img,
.card-img-md {
  display: block;
  overflow: hidden;
}

.card-img img,
.card-img-md img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.card:hover .card-img img,
.card:hover .card-img-md img {
  transform: scale(1.06);
  filter: brightness(1.1);
}


/* -----------------------------------------------------------------
   9. Forms
   ----------------------------------------------------------------- */
.form-control,
.form-select {
  background: var(--arua-deep);
  border: 1px solid var(--arua-border);
  color: var(--arua-text-bright);
  border-radius: var(--arua-radius);
  padding: 0.6rem 0.9rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus,
.form-select:focus {
  background: var(--arua-deep);
  border-color: var(--arua-gold);
  box-shadow: 0 0 0 3px rgba(232, 170, 42, 0.12);
  color: var(--arua-text-bright);
}

.form-control::placeholder {
  color: var(--arua-text-muted);
}

.input-group-text {
  background: var(--arua-elevated);
  border: 1px solid var(--arua-border);
  color: var(--arua-text-muted);
}

label {
  color: var(--arua-text-bright);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-text {
  color: var(--arua-text-muted);
}


/* -----------------------------------------------------------------
   10. Tables
   ----------------------------------------------------------------- */
.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--arua-text);
  --bs-table-border-color: var(--arua-border);
  border-color: var(--arua-border);
}

.table > thead {
  border-bottom: 2px solid var(--arua-gold-dark);
}

.table > thead th {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--arua-gold);
  padding: 0.7rem 0.75rem;
  background: var(--arua-gold-bg);
  border-bottom: none;
}

.table > tbody th {
  color: var(--arua-text-bright);
  font-weight: 600;
}

.table > tbody td {
  color: var(--arua-text);
  padding: 0.6rem 0.75rem;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-bg-type: rgba(255, 255, 255, 0.015);
}

.table-striped > tbody > tr:nth-of-type(even) > * {
  --bs-table-bg-type: transparent;
}

.table > tbody > tr {
  border-bottom-color: var(--arua-border);
  transition: background 0.15s ease;
}

.table > tbody > tr:hover > * {
  --bs-table-bg-state: var(--arua-gold-bg);
}


/* -----------------------------------------------------------------
   11. Alerts & Badges
   ----------------------------------------------------------------- */
.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-radius: var(--arua-radius);
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.badge {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.bg-success {
  background: var(--arua-success) !important;
  color: #fff !important;
}


/* -----------------------------------------------------------------
   12. Hero / Teaser (video banner)
   ----------------------------------------------------------------- */
.teaser {
  position: relative;
  height: 92vh;
  max-height: 52rem;
  width: 100%;
  overflow: hidden;
}

.teaser video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
}

.teaser .container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Main overlay — dramatic gradient into dark bg */
.teaser .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(4, 7, 14, 0.4) 0%,
    rgba(4, 7, 14, 0.1) 35%,
    rgba(12, 18, 32, 0.6) 70%,
    rgba(12, 18, 32, 1) 100%
  );
  z-index: 1;
}

/* Scan-line overlay — futuristic game-screen feel */
.teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.025) 3px,
    rgba(0, 0, 0, 0.025) 4px
  );
}

/* Bottom fade into page background */
.teaser::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--arua-bg));
  z-index: 2;
  pointer-events: none;
}

/* Hero content */
.hero-logo {
  max-width: 340px;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s ease;
}

.hero-logo:hover {
  transform: scale(1.04);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-width: 160px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(232, 170, 42, 0.4);
  font-size: 1.2rem;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 0.8; }
}


/* -----------------------------------------------------------------
   13. Discord Banner
   ----------------------------------------------------------------- */
.discord-banner {
  background: linear-gradient(135deg, var(--arua-discord) 0%, #4752c4 100%);
  position: relative;
  overflow: hidden;
}

.discord-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -8%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.promo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.promo-title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
}


/* -----------------------------------------------------------------
   14. Feature Panels
   ----------------------------------------------------------------- */
.feature-panel {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.feature-panel .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(4, 7, 14, 0.8) 0%,
    rgba(4, 7, 14, 0.45) 100%
  );
  z-index: 0;
}

.feature-panel .container {
  position: relative;
  z-index: 1;
}

.feature-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  color: #fff;
}

.feature-panel p {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  max-width: 600px;
  color: rgba(255, 255, 255, 0.85);
}

.feature-panel.align-right .col-md-8 {
  margin-left: auto;
}

.feature-hero {
  position: relative;
  background-size: cover;
  background-position: center;
}

.feature-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 14, 0.45);
}


/* -----------------------------------------------------------------
   15. Section Header (news/features divider)
   ----------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--arua-gold);
  display: inline-block;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--arua-gold), transparent);
}


/* -----------------------------------------------------------------
   16. Page Header & Breadcrumbs (subpages)
   ----------------------------------------------------------------- */
.page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-bottom: 0;
}

.page-header .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 7, 14, 0.45) 0%,
    rgba(4, 7, 14, 0.7) 100%
  );
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h2 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.page-header + nav[aria-label="breadcrumb"] {
  margin-top: -1px;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 0.8rem;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--arua-gold);
}

.breadcrumb-item.active a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.2);
}

nav[aria-label="breadcrumb"] {
  background: rgba(4, 7, 14, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--arua-border);
  margin-bottom: 2rem;
  overflow-x: auto;
  white-space: nowrap;
}

.breadcrumb-item {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}


/* -----------------------------------------------------------------
   17. Sidebar Widgets
   ----------------------------------------------------------------- */
.widget {
  border-radius: var(--arua-radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--arua-shadow);
}

.widget-game {
  position: relative;
  background: var(--arua-surface);
  border: 1px solid var(--arua-border);
}

.widget-game img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.widget-game:hover img {
  transform: scale(1.05);
}

.widget-body {
  padding: 1.25rem;
  position: relative;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--arua-text-bright);
}


/* -----------------------------------------------------------------
   18. Content / Posts (news & feature pages)
   ----------------------------------------------------------------- */
.post-title {
  font-family: var(--font-display);
  color: var(--arua-text-bright);
}

.post-body {
  color: var(--arua-text);
  line-height: 1.8;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--arua-radius);
  margin: 0.5rem 0;
}

.post-body strong {
  color: var(--arua-text-bright);
}

.post-body ul {
  padding-left: 1.5rem;
}

.post-body li {
  margin-bottom: 0.4rem;
}

.post-body a {
  color: var(--arua-gold);
}

.post-body a:hover {
  color: var(--arua-gold-light);
}


/* -----------------------------------------------------------------
   19. Auth Pages (login/register)
   ----------------------------------------------------------------- */
.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--arua-text-muted);
  font-size: 0.85rem;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--arua-border);
}

.separator span {
  padding: 0 1rem;
}


/* -----------------------------------------------------------------
   20. Image Cover
   ----------------------------------------------------------------- */
.img-cover {
  overflow: hidden;
  border-radius: var(--arua-radius-lg);
}

.img-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-cover:hover img {
  transform: scale(1.03);
}


/* -----------------------------------------------------------------
   21. Server Status Bar
   ----------------------------------------------------------------- */
.server-bar {
  background: var(--arua-surface);
  border: 1px solid var(--arua-border);
  border-radius: var(--arua-radius-lg);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.server-stat {
  text-align: center;
}

.server-stat-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--arua-text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.server-stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--arua-gold);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.status-dot.online {
  background: var(--arua-success);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(34, 197, 94, 0.3); }
  50%      { box-shadow: 0 0 12px rgba(34, 197, 94, 0.6); }
}


/* -----------------------------------------------------------------
   22. Footer
   ----------------------------------------------------------------- */
.arua-footer {
  background: var(--arua-deep);
  border-top: 1px solid var(--arua-border);
  padding: 2.5rem 0 2rem;
  position: relative;
}

/* Gold glow line at top of footer */
.arua-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(232, 170, 42, 0.15) 30%,
    rgba(232, 170, 42, 0.3) 50%,
    rgba(232, 170, 42, 0.15) 70%,
    transparent 100%
  );
}

.arua-footer p,
.arua-footer li {
  color: var(--arua-text-muted);
}

.arua-footer a {
  color: var(--arua-text-muted);
  transition: color 0.2s ease;
}

.arua-footer a:hover {
  color: var(--arua-gold);
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--arua-surface);
  border: 1px solid var(--arua-border);
  color: var(--arua-text-muted);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.footer-social a:hover {
  border-color: var(--arua-gold);
  color: var(--arua-gold);
  box-shadow: var(--arua-gold-glow);
  transform: translateY(-2px);
}


/* -----------------------------------------------------------------
   23. Recaptcha / hCaptcha
   ----------------------------------------------------------------- */
.g-recaptcha > div,
.h-captcha > div {
  margin: 0 auto;
}


/* -----------------------------------------------------------------
   24. Armory Tooltip Icons
   ----------------------------------------------------------------- */
.armory-icon {
  height: 40px;
  max-width: 40px;
  width: 40px;
}

.armory-npc-icon {
  height: 100px;
  max-width: 80px;
  width: 80px;
}

.armory-npc-icon-small {
  height: 60px;
  max-width: 50px;
  width: 50px;
}


/* -----------------------------------------------------------------
   25. Scroll Animations
   ----------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.24s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.36s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}


/* -----------------------------------------------------------------
   26. Atmospheric Effects
   ----------------------------------------------------------------- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.glow-gold {
  width: 400px;
  height: 400px;
  background: rgba(232, 170, 42, 0.05);
}

.glow-teal,
.glow-cyan {
  width: 300px;
  height: 300px;
  background: rgba(0, 194, 240, 0.03);
}


/* -----------------------------------------------------------------
   27. Page Wrapper
   ----------------------------------------------------------------- */
.page-wrapper {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
}

.page-body {
  flex: 1;
}


/* -----------------------------------------------------------------
   28. Utilities
   ----------------------------------------------------------------- */
.text-gold    { color: var(--arua-gold) !important; }
.text-cyan    { color: var(--arua-cyan) !important; }
.text-teal    { color: var(--arua-cyan) !important; }
.text-rose    { color: var(--arua-rose) !important; }
.bg-surface   { background: var(--arua-surface) !important; }
.bg-deep      { background: var(--arua-deep) !important; }
.bg-void      { background: var(--arua-void) !important; }
.font-display { font-family: var(--font-display) !important; }

.text-gradient-gold {
  background: linear-gradient(135deg, var(--arua-gold-light), var(--arua-gold), var(--arua-gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Extended spacing (BS5 only goes to 5 = 3rem) */
.py-6  { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-7  { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-8  { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.pt-6  { padding-top: 4rem !important; }
.pt-7  { padding-top: 5rem !important; }
.pt-8  { padding-top: 6rem !important; }
.pb-6  { padding-bottom: 4rem !important; }
.pb-7  { padding-bottom: 5rem !important; }
.pb-8  { padding-bottom: 6rem !important; }
.mt-6  { margin-top: 4rem !important; }
.mb-6  { margin-bottom: 4rem !important; }

@media (min-width: 992px) {
  .py-lg-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .py-lg-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .py-lg-7 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
  .py-lg-8 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
}


/* -----------------------------------------------------------------
   29. Responsive
   ----------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .teaser {
    height: 70vh;
    max-height: 36rem;
  }

  .feature-panel {
    min-height: 320px;
  }

  .arua-navbar .navbar-collapse {
    background: var(--arua-surface);
    border-radius: var(--arua-radius-lg);
    margin-top: 0.5rem;
    padding: 0.75rem;
    border: 1px solid var(--arua-border);
    box-shadow: var(--arua-shadow-lg);
  }

  .arua-navbar .nav-link {
    padding: 0.65rem 0.5rem !important;
    border-bottom: 1px solid var(--arua-border);
  }

  .arua-navbar .nav-link::before {
    display: none;
  }

  .server-bar {
    gap: 1.5rem;
    padding: 1rem;
  }

  .hero-logo {
    max-width: 260px;
  }
}

@media (max-width: 575.98px) {
  .teaser {
    height: 60vh;
    max-height: 28rem;
  }

  .hero-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .hero-actions .btn {
    min-width: 130px;
    font-size: 0.78rem;
  }

  .hero-logo {
    max-width: 200px;
  }
}
