/*
Theme Name: Rodneyswelten
Theme URI: https://rodneyswelten.de
Author: Rodneyswelten
Description: Eigenes Gaming-Community-Theme für Rodneyswelten.
Version: 1.2.0
Text Domain: rodneyswelten
*/

@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/Cinzel-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --rw-bg: #05070d;
  --rw-surface: #0c111d;
  --rw-surface-2: #111a2a;
  --rw-text: #f4f7ff;
  --rw-muted: #9aa8bd;
  --rw-red: #35cfff;
  --rw-red-dark: #1764a8;
  --rw-cyan: #66efff;
  --rw-green: #78f7d0;
  --rw-amber: #ff9d20;
  --rw-silver: #e8edf4;
  --rw-line: rgba(255,255,255,.11);
  --rw-shadow: 0 22px 70px rgba(0,0,0,.38);
  --rw-radius: 22px;
  --rw-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rw-text);
  background:
    radial-gradient(circle at 12% 10%, rgba(53,207,255,.16), transparent 30rem),
    radial-gradient(circle at 88% 24%, rgba(56,217,255,.11), transparent 30rem),
    var(--rw-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

a { color: var(--rw-cyan); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }
.rw-shell { width: min(calc(100% - 40px), var(--rw-max)); margin-inline: auto; }

.rw-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(5,7,13,.82);
  border-bottom: 1px solid var(--rw-line);
}
.rw-header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.rw-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: "Cinzel", Georgia, serif; font-weight: 800; letter-spacing: .01em; font-size: 1.18rem; }
.rw-brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 8px 24px rgba(53,207,255,.28)); }
.rw-brand span em { color: var(--rw-red); font-style: normal; }
.rw-nav { margin-left: auto; }
.rw-nav { display: flex; align-items: center; gap: 12px; }
.rw-nav ul { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.rw-nav a { display: block; color: #dce5f3; padding: 10px 12px; border-radius: 10px; font-size: .94rem; font-weight: 700; }
.rw-nav a:hover, .rw-nav .current-menu-item > a, .rw-nav .current_page_item > a { background: rgba(255,255,255,.08); color: #fff; }
.rw-account-links { display: flex; align-items: center; gap: 6px; padding-left: 12px; border-left: 1px solid var(--rw-line); }
.rw-account-links .rw-account-link { white-space: nowrap; }
.rw-account-links .rw-account-link--accent { color: #06101c; background: linear-gradient(135deg, #d9f7ff, var(--rw-cyan)); box-shadow: 0 8px 22px rgba(53,207,255,.18); }
.rw-account-links .rw-account-link--accent:hover { color: #000; background: #fff; }
.rw-menu-toggle { display: none; margin-left: auto; background: transparent; color: white; border: 1px solid var(--rw-line); border-radius: 10px; padding: 9px 12px; }

.rw-hero { position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--rw-line); background-color: #000; background-image: linear-gradient(90deg, rgba(0,3,10,1) 0%, rgba(0,3,10,.96) 34%, rgba(0,3,10,.55) 56%, rgba(0,0,0,.12) 100%), url('assets/logo.png'); background-position: center, right 4% center; background-size: cover, auto 90%; background-repeat: no-repeat; }
.rw-hero::before, .rw-hero::after { content: ""; position: absolute; border-radius: 999px; filter: blur(2px); }
.rw-hero::before { width: 580px; height: 580px; right: -120px; top: 40px; border: 1px solid rgba(56,217,255,.2); box-shadow: 0 0 120px rgba(56,217,255,.08), inset 0 0 80px rgba(56,217,255,.05); }
.rw-hero::after { width: 380px; height: 380px; right: 0; top: 140px; border: 1px solid rgba(242,23,62,.26); box-shadow: 0 0 110px rgba(242,23,62,.12); }
.rw-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; padding: 94px 0 86px; }
.rw-kicker { display: inline-flex; gap: 8px; align-items: center; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(53,207,255,.42); background: rgba(53,207,255,.1); color: #a7f3ff; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; font-size: .72rem; }
.rw-kicker::before { content: ""; width: 7px; height: 7px; background: var(--rw-amber); border-radius: 50%; box-shadow: 0 0 16px var(--rw-amber); }
.rw-hero h1 { margin: 24px 0 18px; font-family: "Cinzel", Georgia, serif; font-size: clamp(3.2rem, 8vw, 7.4rem); font-weight: 750; line-height: .9; letter-spacing: -.055em; color: var(--rw-silver); text-shadow: 0 2px 0 #6d7682, 0 12px 44px rgba(0,0,0,.9); }
.rw-hero h1 span { display: block; color: #b9c4d2; -webkit-text-stroke: 1px rgba(255,255,255,.28); }
.rw-hero-copy { max-width: 630px; color: #b7c1d1; font-size: clamp(1.06rem, 2vw, 1.28rem); }
.rw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rw-button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 20px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--rw-red), var(--rw-red-dark)); font-weight: 900; box-shadow: 0 14px 30px rgba(242,23,62,.24); }
.rw-button:hover { color: #fff; transform: translateY(-2px); }
.rw-button--ghost { background: rgba(255,255,255,.06); border: 1px solid var(--rw-line); box-shadow: none; }
.rw-hero-mark { position: relative; min-height: 520px; }
.rw-status-card { position: absolute; right: 0; bottom: 18px; width: 280px; padding: 18px; background: rgba(6,13,25,.86); border: 1px solid rgba(102,239,255,.22); border-radius: 16px; box-shadow: var(--rw-shadow); backdrop-filter: blur(14px); }
.rw-status-card strong { display: block; font-size: .95rem; }
.rw-status-card small { color: var(--rw-muted); }
.rw-status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--rw-green); box-shadow: 0 0 12px var(--rw-green); }

.rw-section { padding: 90px 0; }
.rw-section--tight { padding-top: 40px; }
.rw-section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 30px; }
.rw-eyebrow { margin: 0 0 8px; color: var(--rw-amber); text-transform: uppercase; letter-spacing: .13em; font-weight: 900; font-size: .75rem; }
.rw-section h2 { margin: 0; font-family: "Cinzel", Georgia, serif; color: var(--rw-silver); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
.rw-section-lead { max-width: 570px; color: var(--rw-muted); margin: 0; }
.rw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rw-card { position: relative; min-height: 240px; padding: 26px; border: 1px solid var(--rw-line); border-radius: var(--rw-radius); background: linear-gradient(145deg, rgba(17,26,42,.92), rgba(8,12,20,.94)); box-shadow: 0 18px 50px rgba(0,0,0,.22); overflow: hidden; }
.rw-card::after { content: ""; position: absolute; inset: auto -55px -70px auto; width: 150px; height: 150px; border-radius: 50%; background: var(--accent, var(--rw-red)); opacity: .08; filter: blur(3px); }
.rw-card-number { color: var(--accent, var(--rw-red)); font-weight: 900; letter-spacing: .12em; font-size: .78rem; }
.rw-card h3 { margin: 50px 0 8px; font-family: "Cinzel", Georgia, serif; font-size: 1.42rem; letter-spacing: -.02em; }
.rw-card p { color: var(--rw-muted); margin: 0; }
.rw-card:nth-child(2) { --accent: #7da6ff; }
.rw-card:nth-child(3) { --accent: var(--rw-green); }

.rw-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; align-items: stretch; }
.rw-feature-panel { padding: 38px; border: 1px solid var(--rw-line); border-radius: 26px; background: #0b101b; }
.rw-feature-panel--visual { min-height: 410px; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(150deg, rgba(53,207,255,.28), transparent 52%), linear-gradient(330deg, rgba(86,110,255,.2), transparent 55%), #0c111d; }
.rw-chip { display: inline-block; align-self: flex-start; padding: 6px 9px; border-radius: 7px; background: rgba(0,0,0,.28); border: 1px solid var(--rw-line); color: #fff; font-size: .78rem; font-weight: 800; }
.rw-feature-panel--visual strong { font-family: "Cinzel", Georgia, serif; color: var(--rw-silver); font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: .98; letter-spacing: -.04em; }
.rw-list { margin: 24px 0 0; padding: 0; list-style: none; }
.rw-list li { padding: 14px 0; border-bottom: 1px solid var(--rw-line); color: #c7d0df; }
.rw-list li::before { content: "→"; margin-right: 12px; color: var(--rw-amber); font-weight: 900; }

.rw-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rw-post-card { display: flex; flex-direction: column; min-height: 280px; padding: 24px; color: #fff; border: 1px solid var(--rw-line); border-radius: var(--rw-radius); background: rgba(12,17,29,.78); }
.rw-post-card:hover { color: #fff; border-color: rgba(53,207,255,.48); transform: translateY(-3px); }
.rw-post-meta { color: var(--rw-amber); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.rw-post-card h3 { font-family: "Cinzel", Georgia, serif; font-size: 1.38rem; line-height: 1.2; margin: 48px 0 10px; }
.rw-post-card p { color: var(--rw-muted); margin: 0 0 24px; }
.rw-post-card .rw-more { margin-top: auto; font-weight: 900; }

.rw-cta { margin: 0 0 90px; padding: clamp(32px, 7vw, 76px); border: 1px solid rgba(53,207,255,.3); border-radius: 30px; background: linear-gradient(125deg, rgba(53,207,255,.2), rgba(86,110,255,.08)), #0d121e; text-align: center; }
.rw-cta h2 { margin: 0 0 14px; font-family: "Cinzel", Georgia, serif; color: var(--rw-silver); font-size: clamp(2.2rem, 5vw, 4.5rem); letter-spacing: -.04em; }
.rw-cta p { color: #b4bfd0; max-width: 640px; margin: 0 auto 24px; }

.rw-content { padding: 72px 0 100px; }
.rw-content article { max-width: 860px; margin: 0 auto; }
.rw-content h1 { font-family: "Cinzel", Georgia, serif; color: var(--rw-silver); font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.04em; }
.rw-content h2 { margin-top: 2.2em; font-family: "Cinzel", Georgia, serif; color: var(--rw-silver); }
.rw-content p, .rw-content li { color: #bdc8d8; }
.rw-content blockquote { margin: 30px 0; padding: 20px 24px; border-left: 4px solid var(--rw-red); background: rgba(255,255,255,.04); }

/* bbPress Forum */
.bbpress .rw-content article,
.page-forum .rw-content article { max-width: 1180px; }
.bbpress .rw-content h1,
.page-forum .rw-content h1 { margin-bottom: 34px; }
#bbpress-forums { color: #c6d1e1; font-size: 1rem; }
#bbpress-forums ul,
#bbpress-forums li { list-style: none; }
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results { overflow: hidden; border: 1px solid rgba(102,239,255,.24); border-radius: 18px; background: linear-gradient(145deg, rgba(16,25,41,.96), rgba(5,9,16,.98)); box-shadow: 0 24px 70px rgba(0,0,0,.28); }
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer { padding: 16px 20px; color: #f0f6ff; border: 0; background: linear-gradient(90deg, rgba(53,207,255,.2), rgba(242,23,62,.12)); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 900; }
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic { padding: 20px; border-top: 1px solid rgba(255,255,255,.08); background: transparent; }
#bbpress-forums li.bbp-body ul.forum:hover,
#bbpress-forums li.bbp-body ul.topic:hover { background: rgba(53,207,255,.05); }
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink { font-family: "Cinzel", Georgia, serif; color: #f4f7fb; font-weight: 800; }
#bbpress-forums .bbp-forum-title:hover,
#bbpress-forums .bbp-topic-permalink:hover { color: var(--rw-cyan); }
#bbpress-forums .bbp-forum-content,
#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness { color: #93a3b8; }
#bbpress-forums div.bbp-breadcrumb,
#bbpress-forums div.bbp-topic-tags { margin-bottom: 18px; color: #93a3b8; }
#bbpress-forums fieldset.bbp-form { margin: 28px 0; padding: 24px; border: 1px solid rgba(102,239,255,.22); border-radius: 18px; background: rgba(8,14,24,.9); }
#bbpress-forums fieldset.bbp-form legend { padding: 0 10px; color: var(--rw-silver); font-family: "Cinzel", Georgia, serif; font-weight: 800; }
#bbpress-forums input[type="text"],
#bbpress-forums input[type="password"],
#bbpress-forums input[type="email"],
#bbpress-forums select,
#bbpress-forums textarea { color: #fff; background: #050a12; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; }
#bbpress-forums input:focus,
#bbpress-forums select:focus,
#bbpress-forums textarea:focus { border-color: var(--rw-cyan); box-shadow: 0 0 0 3px rgba(102,239,255,.12); outline: 0; }
#bbpress-forums button,
#bbpress-forums .button,
#bbpress-forums input[type="submit"] { padding: 10px 16px; color: #07101a; border: 0; border-radius: 9px; background: linear-gradient(135deg, #d9f7ff, var(--rw-cyan)); font-weight: 900; cursor: pointer; }
#bbpress-forums .bbp-template-notice { border: 1px solid rgba(242,181,62,.35); border-radius: 12px; background: rgba(242,181,62,.09); }
#bbpress-forums .bbp-template-notice p { color: #f7dda0; }
#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span.current { border-color: rgba(102,239,255,.25); background: rgba(255,255,255,.04); }

@media (max-width: 700px) {
  #bbpress-forums .bbp-forum-topic-count,
  #bbpress-forums .bbp-forum-reply-count,
  #bbpress-forums .bbp-topic-voice-count,
  #bbpress-forums .bbp-topic-reply-count { display: none; }
}

.rw-auth-wrap { min-height: calc(100vh - 190px); display: grid; place-items: center; padding: 70px 0 100px; }
.rw-auth-card { width: min(100%, 560px); padding: clamp(26px, 6vw, 48px); border: 1px solid rgba(102,239,255,.22); border-radius: 26px; background: linear-gradient(145deg, rgba(17,26,42,.96), rgba(5,9,16,.98)); box-shadow: var(--rw-shadow); }
.rw-auth-card h1 { margin: 8px 0 10px; font-family: "Cinzel", Georgia, serif; color: var(--rw-silver); font-size: clamp(2.3rem, 7vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.rw-auth-intro { margin: 0 0 26px; color: var(--rw-muted); }
.rw-form-row { margin: 0 0 18px; }
.rw-form-row label { display: block; margin-bottom: 7px; color: #dfe8f5; font-weight: 800; }
.rw-form-row input[type="text"], .rw-form-row input[type="email"], .rw-form-row input[type="password"] { width: 100%; height: 50px; padding: 0 14px; color: #fff; background: #070c15; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; outline: none; }
.rw-form-row input:focus { border-color: var(--rw-cyan); box-shadow: 0 0 0 3px rgba(102,239,255,.12); }
.rw-form-check { display: flex; align-items: flex-start; gap: 10px; color: var(--rw-muted); font-size: .92rem; }
.rw-form-check input { margin-top: .3em; }
.rw-auth-submit { width: 100%; border: 0; cursor: pointer; }
.rw-auth-message { margin: 0 0 20px; padding: 13px 15px; border-radius: 10px; background: rgba(120,247,208,.1); border: 1px solid rgba(120,247,208,.3); color: #b9ffe9; }
.rw-auth-message--error { background: rgba(255,76,94,.1); border-color: rgba(255,76,94,.35); color: #ffc5cc; }
.rw-auth-foot { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--rw-line); color: var(--rw-muted); text-align: center; }
.rw-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.rw-account-summary { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: center; margin: 28px 0; padding: 22px; border: 1px solid var(--rw-line); border-radius: 16px; background: rgba(255,255,255,.035); }
.rw-account-avatar img { border-radius: 50%; }
.rw-account-summary strong, .rw-account-summary span { display: block; }
.rw-account-summary span { color: var(--rw-muted); overflow-wrap: anywhere; }

.rw-footer { border-top: 1px solid var(--rw-line); background: #03050a; }
.rw-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 42px; padding: 56px 0 38px; }
.rw-footer h3 { margin: 0 0 12px; }
.rw-footer p, .rw-footer a { color: var(--rw-muted); }
.rw-footer ul { list-style: none; margin: 0; padding: 0; }
.rw-footer li { margin: 8px 0; }
.rw-footer-bottom { padding: 20px 0; border-top: 1px solid var(--rw-line); color: #778499; font-size: .86rem; }

@media (max-width: 900px) {
  .rw-menu-toggle { display: block; }
  .rw-nav { display: none; position: absolute; left: 20px; right: 20px; top: 70px; padding: 14px; background: #0b101b; border: 1px solid var(--rw-line); border-radius: 14px; box-shadow: var(--rw-shadow); }
  .rw-nav.is-open { display: block; }
  .rw-nav ul { display: block; }
  .rw-account-links { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--rw-line); text-align: center; }
  .rw-hero { background-image: linear-gradient(180deg, rgba(0,3,10,.96) 0%, rgba(0,3,10,.8) 44%, rgba(0,0,0,.28) 100%), url('assets/logo.png'); background-position: center, center 96%; background-size: cover, min(94vw, 620px) auto; }
  .rw-hero-grid, .rw-feature { grid-template-columns: 1fr; }
  .rw-hero-mark { min-height: 360px; }
  .rw-grid, .rw-post-grid { grid-template-columns: 1fr 1fr; }
  .rw-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .rw-shell { width: min(calc(100% - 26px), var(--rw-max)); }
  .rw-hero { min-height: auto; }
  .rw-hero-grid { padding: 70px 0 24px; }
  .rw-hero-mark { min-height: 420px; }
  .rw-status-card { width: 240px; }
  .rw-grid, .rw-post-grid, .rw-footer-grid { grid-template-columns: 1fr; }
  .rw-section-head { display: block; }
  .rw-section-lead { margin-top: 16px; }
}
