/* ===== Max-WoW base styles (replaces all DarkNews CSS) ===== */

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617; /* deep blue/black */
  color: #e5e7eb;
  line-height: 1.5;
}

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

a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  color: #facc15;
}

/* Accessibility helper */
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Simple layout container */
.container-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.af-container-row {
  display: flex;
  flex-wrap: wrap;
}

/* Generic content area */
#page.site {
  min-height: 100vh;
}

.maxwow-content-wrapper {
  background: #020617;
  padding-bottom: 40px;
}

/* ===========================
   HEADER / NAVBAR
   =========================== */

.maxwow-header {
  position: relative;
  z-index: 20;
  background:
    radial-gradient(circle at top, rgba(56,189,248,0.35), transparent 65%),
    linear-gradient(to bottom, #020617 0%, #020617 70%, #020b18 100%);
  box-shadow: 0 18px 45px rgba(15,23,42,0.95);
}

.maxwow-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

/* Branding */
.maxwow-header-branding {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.maxwow-header-branding img {
  max-height: 40px;
  width: auto;
}

.maxwow-site-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f9fafb;
}

.maxwow-site-tagline {
  font-size: 11px;
  color: #9ca3af;
}

/* Navigation */
.maxwow-main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.maxwow-main-nav > ul > li {
  position: relative;
}

.maxwow-main-nav > ul > li > a {
  display: block;
  padding: 18px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e5e7eb;
}

/* Hover / active effects */
.maxwow-main-nav > ul > li.current-menu-item > a,
.maxwow-main-nav > ul > li.current_page_item > a,
.maxwow-main-nav > ul > li:hover > a {
  color: #facc15;
}

.maxwow-main-nav > ul > li.current-menu-item > a::after,
.maxwow-main-nav > ul > li:hover > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(56,189,248,0.9);
}

/* Simple dropdown styling – still uses WP nav walker */
.maxwow-main-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #020b18;
  border-radius: 4px;
  border: 1px solid rgba(30,64,175,0.7);
  box-shadow: 0 12px 30px rgba(15,23,42,0.9);
  display: none;
  flex-direction: column;
}

.maxwow-main-nav ul li:hover > ul {
  display: flex;
}

.maxwow-main-nav ul ul li a {
  padding: 8px 14px;
  font-size: 12px;
}

/* Mobile basic stacking */
@media (max-width: 991px) {
  .maxwow-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
  }
  .maxwow-main-nav {
    width: 100%;
  }
  .maxwow-main-nav > ul {
    flex-wrap: wrap;
    row-gap: 0;
  }
  .maxwow-main-nav > ul > li > a {
    padding: 10px 10px;
  }
}

/* ===========================
   FRONT PAGE – HERO / ALERT / PANEL
   =========================== */

.maxwow-home {
  background-color: #020b18;
}

/* HERO */

.maxwow-hero {
  position: relative;
  overflow: hidden;
}

.maxwow-hero-bg img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.maxwow-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.35), transparent 60%),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.4), rgba(2, 6, 23, 0.95));
}

.maxwow-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}

.maxwow-hero-center {
  text-align: center;
  color: #f9fafb;
}

.maxwow-hero-logo img {
  max-width: 260px;
  margin: 0 auto 16px auto;
}

.maxwow-hero-title-wrap {
  margin-bottom: 10px;
}

.maxwow-hero-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}

.maxwow-hero-subline {
  margin-top: 6px;
  font-size: 14px;
}

.maxwow-hero-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.7);
  color: #38bdf8;
  margin-right: 8px;
}

.maxwow-hero-realms {
  color: #facc15;
  font-weight: 600;
}

.maxwow-hero-buttons {
  margin-top: 18px;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.maxwow-btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease-out, border-color 0.15s ease-out, transform 0.1s;
}

.maxwow-btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #0b1120;
}

.maxwow-btn-secondary {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #0b1120;
}

.maxwow-btn-ghost {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.maxwow-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.maxwow-hero-version {
  margin-top: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e5e7eb;
  opacity: 0.85;
}

@media (max-width: 991px) {
  .maxwow-hero-bg img {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .maxwow-hero-inner {
    padding-bottom: 24px;
  }
  .maxwow-hero-title {
    font-size: 24px;
  }
}

/* ALERT BOX */

.maxwow-alert {
  padding: 20px 0 10px 0;
  background: #020b18;
}

.maxwow-alert-box {
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  border-radius: 6px;
  border: 1px solid rgba(248, 250, 252, 0.08);
  display: flex;
  padding: 14px 18px;
  align-items: flex-start;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

.maxwow-alert-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f97316;
  color: #111827;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  font-size: 18px;
}

.maxwow-alert-title {
  margin: 0 0 4px 0;
  font-weight: 700;
  color: #fed7aa;
}

.maxwow-alert-extra {
  margin-top: 6px;
  font-size: 13px;
  color: #9ca3af;
}

@media (max-width: 767px) {
  .maxwow-alert-box {
    flex-direction: column;
  }
  .maxwow-alert-icon {
    margin-bottom: 8px;
  }
}

/* WELCOME PANEL */

.maxwow-welcome {
  padding: 20px 0 40px 0;
  background: #020b18;
}

.maxwow-panel {
  background: #051427;
  color: #e5e7eb;
  border-radius: 6px;
  padding: 26px 26px 30px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.maxwow-panel-title {
  font-size: 22px;
  margin: 0 0 10px 0;
  color: #facc15;
}

.maxwow-panel-lead {
  font-size: 14px;
  margin-bottom: 20px;
}

.maxwow-panel h3 {
  margin-top: 18px;
  font-size: 16px;
  color: #38bdf8;
}

.maxwow-panel ul {
  margin-left: 18px;
}

.maxwow-panel li {
  margin-bottom: 4px;
}

@media (max-width: 767px) {
  .maxwow-panel {
    padding: 20px 16px 24px;
  }
}

/* ===========================
   BASIC POST / PAGE CONTENT
   =========================== */

.entry-content,
.page-content,
.post-content {
  font-size: 15px;
  /* Let each template / plugin control width & margins */
}


.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 1.2em;
  margin-bottom: .5em;
}

.entry-content p {
  margin-bottom: 1em;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1em 1.5em;
}

.entry-content li {
  margin-bottom: .25em;
}

/* ===========================
   FOOTER (simple)
   =========================== */

.site-footer {
  padding: 24px 0;
  background: #020617;
  border-top: 1px solid rgba(15,23,42,0.9);
  font-size: 13px;
  color: #9ca3af;
}

.site-footer a {
  color: #e5e7eb;
}

.site-footer a:hover {
  color: #facc15;
}
/* Main row: Welcome left, status/discord right */
.maxwow-main-row {
  padding: 20px 0 40px 0;
  background: #020b18;
}

.maxwow-main-grid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Left column wider */
.maxwow-main-left {
  flex: 1 1 0;
}

/* Right column narrower */
.maxwow-main-right {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Side cards wrapper (so realm/discord look smaller + consistent) */
.maxwow-side-card {
  background: #020617;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 12px 30px rgba(15,23,42,0.9);
}

/* Make the realm-status cards fit nicely inside the side card */
.maxwow-main-right .wowrs-wrap {
  flex-direction: column;
  gap: 10px;
}

.maxwow-main-right .wowrs-card {
  flex: 1 1 auto;
  padding: 10px !important;
}

/* Responsive: stack on small screens */
@media (max-width: 991px) {
  .maxwow-main-grid {
    flex-direction: column;
  }
  .maxwow-main-right {
    flex: 1 1 auto;
  }
}
/* ==== Max-WoW – hard override of all purple theme colors ==== */

/* Site title text (MAX-WOW SERVER) */
.maxwow-header .maxwow-site-title,
.maxwow-header .maxwow-site-title a {
  color: #e5e7eb !important; /* light grey */
}

/* Global links */
body a {
  color: #38bdf8 !important;          /* blue */
}
body a:hover {
  color: #e0f2fe !important;          /* icy blue */
}

/* MAIN MENU */
.maxwow-main-nav > ul > li > a {
  color: #e5e7eb !important;
}

/* Hover / active menu items */
.maxwow-main-nav > ul > li.current-menu-item > a,
.maxwow-main-nav > ul > li.current_page_item > a,
.maxwow-main-nav > ul > li:hover > a {
  color: #e0f2fe !important;
}

/* Underline bar under active/hover item */
.maxwow-main-nav > ul > li.current-menu-item > a::after,
.maxwow-main-nav > ul > li.current_page_item > a::after,
.maxwow-main-nav > ul > li:hover > a::after {
  background: linear-gradient(90deg, #38bdf8, #0ea5e9) !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.9) !important;
}

/* DROPDOWN LINKS */
.maxwow-main-nav ul ul a {
  color: #e5e7eb !important;
}
.maxwow-main-nav ul ul li:hover > a {
  color: #e0f2fe !important;
}

/* HERO BUTTONS – kill purple on "Join Discord" etc. */
.maxwow-btn {
  border-radius: 999px !important;
  border-width: 1px !important;
}

/* Create Account */
.maxwow-btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #22c55e) !important;
  border-color: rgba(34, 197, 94, 0.9) !important;
  color: #020617 !important;
}

/* Download Client */
.maxwow-btn-secondary {
  background: linear-gradient(135deg, #38bdf8, #6366f1) !important;
  border-color: rgba(99, 102, 241, 0.9) !important;
  color: #020617 !important;
}

/* Join Discord (no purple) */
.maxwow-btn-ghost {
  background: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(148, 163, 184, 0.8) !important;
  color: #e5e7eb !important;
}

/* Just in case any leftover purple background from theme */
body,
.maxwow-header,
.maxwow-home {
  background-color: #020617 !important;
}
/* === Max-WoW Discord JOIN button – red version === */

/* Generic catch-all: any “join” style link inside the Discord card */
.mwds-card a.mwds-join-btn,
.mwds-card a.mwds-join,
.mwds-card .mwds-join-btn,
.mwds-card .mwds-join,
.mwds-card a:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px !important;
    border-radius: 999px !important;

    background: linear-gradient(135deg, #ef4444, #b91c1c) !important; /* red gradient */
    border: 1px solid #7f1d1d !important;

    color: #fef2f2 !important;      /* very light text */
    font-size: 11px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-decoration: none !important;
    box-shadow: 0 0 12px rgba(248, 113, 113, 0.7);
}

/* Hover: a bit brighter */
.mwds-card a.mwds-join-btn:hover,
.mwds-card a.mwds-join:hover,
.mwds-card .mwds-join-btn:hover,
.mwds-card .mwds-join:hover,
.mwds-card a:last-child:hover {
    filter: brightness(1.08);
    color: #fff7f7 !important;
}
/* ===========================
   Max-WoW – Generic pages
   =========================== */

.maxwow-page {
  background: #020b18;
  padding: 20px 0 40px 0;
}

.maxwow-page-article {
  margin: 0;
}

/* Page title above the main content */
.maxwow-page-header {
  margin-bottom: 14px;
}

.maxwow-page-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
}

/* Main content panel (wraps your custom blocks) */
.maxwow-page-inner {
  background: #051427;
  border-radius: 10px;
  padding: 22px 22px 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Generic content spacing so blocks don’t stick to edges */
.maxwow-page-content > *:first-child {
  margin-top: 0;
}
.maxwow-page-content > *:last-child {
  margin-bottom: 0;
}

/* Gutenberg Columns inside page – nicer gap */
.maxwow-page-content .wp-block-columns {
  gap: 20px;
}

/* On phones, give a bit more breathing room */
@media (max-width: 767px) {
  .maxwow-page-inner {
    padding: 18px 14px 22px;
  }
}

