/*
Theme Name: NX-RPG Coming Soon
Theme URI: https://www.nx-rpg.eu
Author: NX Interactive
Description: Minimal fullscreen coming soon landing page for NX Roleplay / NX-RPG.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: Private
Text Domain: nxrpg-coming-soon
*/

:root {
  --nx-bg: #050712;
  --nx-bg-2: #090d1b;
  --nx-text: #f4f7ff;
  --nx-muted: rgba(219, 228, 255, 0.72);
  --nx-dim: rgba(219, 228, 255, 0.48);
  --nx-blue: #4ea1ff;
  --nx-cyan: #50e6ff;
  --nx-purple: #8c5cff;
  --nx-magenta: #c96cff;
  --nx-panel: rgba(7, 10, 22, 0.52);
  --nx-border: rgba(120, 160, 255, 0.18);
}

* { box-sizing: border-box; }

html, body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--nx-bg);
  color: var(--nx-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

.nxrpg-page {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(4, 6, 15, 0.95) 0%, rgba(5, 8, 18, 0.84) 42%, rgba(5, 8, 18, 0.54) 100%),
    radial-gradient(circle at 23% 74%, rgba(68, 150, 255, 0.25), transparent 29%),
    radial-gradient(circle at 68% 48%, rgba(143, 85, 255, 0.24), transparent 32%),
    radial-gradient(circle at 86% 80%, rgba(211, 58, 160, 0.16), transparent 30%),
    linear-gradient(135deg, #050712 0%, #0a1023 50%, #050712 100%);
  overflow: hidden;
}

.nxrpg-page.has-bg {
  background-size: cover;
  background-position: center center;
}

.nxrpg-page.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background: var(--nx-hero-bg) center center / cover no-repeat;
  filter: saturate(0.95) contrast(1.05) brightness(0.62);
  transform: scale(1.02);
}

.nxrpg-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 5, 12, 0.24), rgba(3, 5, 12, 0.82)),
    radial-gradient(circle at 50% 52%, transparent 0%, rgba(1, 3, 9, 0.35) 58%, rgba(1, 3, 9, 0.82) 100%);
}

.nxrpg-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 75%, transparent);
}

.nxrpg-glow {
  position: absolute;
  width: min(680px, 60vw);
  height: min(680px, 60vw);
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.36;
  pointer-events: none;
}

.nxrpg-glow.one {
  left: -18%;
  bottom: -24%;
  background: rgba(70, 150, 255, 0.65);
}

.nxrpg-glow.two {
  right: -18%;
  top: 20%;
  background: rgba(132, 82, 255, 0.55);
}

.nxrpg-shell {
  width: min(1180px, calc(100% - 44px));
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
  position: relative;
}

/* Layout módok */
.nxrpg-layout-left .nxrpg-shell {
  justify-content: flex-start;
}

.nxrpg-layout-center .nxrpg-shell {
  justify-content: center;
}

.nxrpg-layout-right .nxrpg-shell {
  justify-content: flex-end;
}

.nxrpg-layout-center .nxrpg-content {
  text-align: center;
}

.nxrpg-layout-center .nxrpg-kicker {
  justify-content: center;
}

.nxrpg-layout-center .nxrpg-kicker::before {
  width: 38px;
}

.nxrpg-layout-center .nxrpg-logo-wrap img {
  margin-left: auto;
  margin-right: auto;
}

.nxrpg-layout-center .nxrpg-text-logo {
  margin-left: auto;
  margin-right: auto;
}

.nxrpg-layout-center .nxrpg-slogan,
.nxrpg-layout-center .nxrpg-sub {
  margin-left: auto;
  margin-right: auto;
}

.nxrpg-layout-center .nxrpg-line {
  margin-left: auto;
  margin-right: auto;
}

.nxrpg-layout-center .nxrpg-content {
  transform: translateY(-2vh);
}

.nxrpg-content {
  width: min(720px, 100%);
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--nx-border);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(12, 18, 38, 0.62), rgba(7, 10, 22, 0.34));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.nxrpg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: rgba(212, 224, 255, 0.76);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 700;
}

.nxrpg-kicker::before {
  content: "";
  width: 46px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--nx-blue), var(--nx-purple));
  box-shadow: 0 0 18px rgba(105, 136, 255, 0.85);
}

.nxrpg-logo-wrap {
  display: block;
  margin: 0 0 18px;
}

.nxrpg-logo-wrap img {
  width: min(360px, 78vw);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 22px rgba(78, 161, 255, 0.25))
    drop-shadow(0 0 36px rgba(140, 92, 255, 0.18));
}

.nxrpg-text-logo {
  display: inline-grid;
  gap: 8px;
  line-height: 1;
  text-decoration: none;
}

.nxrpg-text-logo .nx {
  font-size: clamp(74px, 11vw, 142px);
  font-weight: 900;
  letter-spacing: -0.10em;
  line-height: 0.85;
  background: linear-gradient(110deg, #e8f2ff 0%, #70b7ff 35%, #8b6cff 65%, #d7b4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 42px rgba(93, 137, 255, 0.30);
}

.nxrpg-text-logo .roleplay {
  padding-left: 0.18em;
  color: rgba(244, 247, 255, 0.90);
  font-size: clamp(22px, 3.1vw, 42px);
  font-weight: 600;
  letter-spacing: 0.44em;
  text-transform: uppercase;
}

.nxrpg-title {
  margin: 22px 0 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 850;
}

.nxrpg-title span {
  background: linear-gradient(120deg, #ffffff 0%, #bcd8ff 38%, #a98cff 70%, #f2d8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nxrpg-slogan {
  width: fit-content;
  max-width: 100%;
  margin: 22px 0 0;
  color: rgba(221, 231, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: clamp(0.14em, 1vw, 0.30em);
  font-size: clamp(12px, 1.25vw, 16px);
  font-weight: 650;
  line-height: 1.75;
}

.nxrpg-line {
  width: min(520px, 100%);
  height: 1px;
  margin: 28px 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(76, 156, 255, 0.85) 14%, rgba(149, 96, 255, 0.92) 52%, transparent 100%);
  box-shadow: 0 0 18px rgba(94, 132, 255, 0.65);
}

.nxrpg-status {
  margin: 0;
  font-size: clamp(28px, 4.6vw, 58px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #d9caff;
  text-shadow:
    0 0 24px rgba(135, 92, 255, 0.28),
    0 0 42px rgba(78, 161, 255, 0.12);
}

.nxrpg-sub {
  margin: 22px 0 0;
  max-width: 540px;
  color: var(--nx-muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.7;
}

.nxrpg-footer {
  position: absolute;
  left: clamp(22px, 4vw, 62px);
  right: clamp(22px, 4vw, 62px);
  bottom: clamp(18px, 3vw, 34px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--nx-dim);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nxrpg-footer a {
  color: rgba(228, 235, 255, 0.70);
  text-decoration: none;
}

.nxrpg-footer a:hover { color: #fff; }

@media (max-width: 760px) {
  .nxrpg-page { place-items: start center; }

  .nxrpg-shell {
    width: 100%;
    min-height: 100vh;
    padding: 24px;
    align-items: center;
    justify-content: center !important;
  }

  .nxrpg-content {
    border-radius: 24px;
    text-align: center;
  }

  .nxrpg-kicker { justify-content: center; }

  .nxrpg-logo-wrap img,
  .nxrpg-text-logo,
  .nxrpg-slogan,
  .nxrpg-sub,
  .nxrpg-line {
    margin-left: auto;
    margin-right: auto;
  }

  .nxrpg-footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(100% - 48px, 1180px);
    margin: -78px auto 24px;
    flex-direction: column;
    font-size: 11px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nxrpg-shell { padding: 16px; }
  .nxrpg-content { padding: 24px 20px; }
  .nxrpg-kicker { letter-spacing: 0.20em; }
  .nxrpg-text-logo .roleplay { letter-spacing: 0.28em; }
}
