/* ========== Base & Theme ========== */

:root {
    --bg: #05070d;
    --bg-soft: #0a0d18;
    --bg-softer: #11152a;
    --text: #f5f5f7;
    --text-soft: #c5c7de;
    --accent: #ff86d4;
    --accent-soft: rgba(255, 134, 212, 0.12);
    --accent-2: #7b6dff;
    --border: #22263a;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
    --radius-lg: 1.4rem;
    --radius-md: 1rem;
    --radius-pill: 999px;
    --transition-fast: 0.18s ease-out;
    --transition-med: 0.25s ease-out;
}

/* Light Theme */

body.theme-light {
    --bg: #f7f8ff;
    --bg-soft: #ffffff;
    --bg-softer: #ecedff;
    --text: #11121a;
    --text-soft: #4a4c66;
    --border: #d3d5f0;
    --shadow-soft: 0 18px 45px rgba(12, 16, 59, 0.15);
}

/* Reset */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #15152b, var(--bg));
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Generic elements */

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 92%;
    max-width: 1120px;
    margin: 0 auto;
}

/* ==== ASUNA CUSTOM FORM ==== */

.asuna-form{
  display:grid;
  gap:1.1rem;
  margin-top:1.5rem;
}

.field{
  position:relative;
}

.field input,
.field textarea{
  width:100%;
  background:linear-gradient(135deg,#0b0e1a,#11162a);
  border:none;
  border-radius:16px;
  padding:14px 16px;
  color:#fff;
  font-size:15px;
  outline:none;
  box-shadow:0 0 0 1px rgba(255,255,255,0.05);
  transition:.25s ease;
}

.field textarea{
  min-height:130px;
  resize:none;
}

.field input:focus,
.field textarea:focus{
  box-shadow:
    0 0 0 2px rgba(255,134,212,0.5),
    0 0 40px rgba(255,134,212,0.25);
}

.success-box{
  background:linear-gradient(135deg,#ff86d4,#7b6dff);
  padding:1rem;
  border-radius:1rem;
  color:#05070d;
  font-weight:600;
  margin-bottom:1rem;
}

/* Join-Overlay */
/* ===== OVERLAY HINTERGRUND ===== */
#joinOverlay{
  position:fixed;
  inset:0;
  background:rgba(5,7,15,0.55);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  display:none;
  z-index:9999;

  /* WICHTIG: echtes Zentrieren */
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
}

/* ===== DAS FENSTER ===== */
.joinModal{
  width:560px;
  max-width:95%;
  background:#0b0e1a;
  border-radius:18px;
  padding:28px;
  box-shadow:
    0 20px 60px rgba(0,0,0,.7),
    0 0 40px rgba(123,109,255,.15);

  animation:fadeIn .25s ease;
}

/* Animation */
@keyframes fadeIn{
  from{
    opacity:0;
    transform:translateY(15px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ===== HEADER ===== */
.joinHeader{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
}

.joinHeader h2{
  margin:0;
}

/* ===== TABS ===== */
.joinTabs{
  display:flex;
  gap:10px;
  margin-bottom:18px;
}

.joinTabs button{
  flex:1;
  background:#14172d;
  border:none;
  padding:12px;
  color:white;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
}

/* ===== INPUTS ===== */
.joinForm input,
.joinForm textarea,
.joinForm select{
  width:100%;
  margin-bottom:12px;
  padding:12px 14px;
  background:#05070d;
  border:1px solid #1f2235;
  color:white;
  border-radius:10px;
}

/* ===== BUTTON ===== */
.submitBtn{
  width:100%;
  padding:13px;
  border:none;
  border-radius:12px;
  background:linear-gradient(135deg,#ff86d4,#7b6dff);
  color:black;
  font-weight:bold;
  cursor:pointer;
  margin-top:6px;
}

/* CLOSE */
.closeBtn{
  background:none;
  border:none;
  color:white;
  font-size:18px;
  cursor:pointer;
}


/* ========== Header & Navigation ========== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(to bottom, rgba(5, 7, 13, 0.96), rgba(5, 7, 13, 0.85));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    gap: 1rem;
}

.logo a {
    display: inline-flex;
    align-items: baseline;
    gap: 0.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.logo-main {
    color: var(--text);
}

.logo-sub {
    color: var(--accent);
}

/* Nav */

.main-nav {
    display: flex;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.main-nav a {
    font-size: 0.95rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-pill);
    transition: background var(--transition-fast), transform var(--transition-fast);
    white-space: nowrap;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

/* Subnav */

.has-sub {
    position: relative;
}

.sub-nav {
    position: absolute;
    top: 120%;
    left: 0;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 0.4rem 0;
    min-width: 170px;
    box-shadow: var(--shadow-soft);
    display: none;
    z-index: 30;
}

.has-sub:hover .sub-nav {
    display: block;
}

.sub-nav li {
    width: 100%;
}

.sub-nav a {
    display: block;
    padding: 0.45rem 0.9rem;
}

/* Nav Toggle (Mobile) */

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0.2rem 0.7rem;
    font-size: 1.3rem;
    color: var(--text);
    cursor: pointer;
}

/* Theme Toggle */

.theme-toggle {
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-soft);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast), border var(--transition-fast);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.theme-toggle .icon-sun {
    display: none;
}

body.theme-light .theme-toggle .icon-moon {
    display: none;
}

body.theme-light .theme-toggle .icon-sun {
    display: inline;
}

/* ========== Main & Layout ========== */

.site-main {
    padding: 1.4rem 0 3rem;
}

/* Hero */

.hero {
    margin-top: 1.3rem;
    margin-bottom: 2rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 1.2rem;
    align-items: stretch;
}

.hero-text {
    padding: 1.6rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at top left, rgba(255, 134, 212, 0.14), transparent 60%),
        radial-gradient(circle at bottom right, rgba(123, 109, 255, 0.12), transparent 55%),
        linear-gradient(to bottom right, rgba(10, 13, 24, 0.95), rgba(5, 7, 13, 0.98));
    box-shadow: var(--shadow-soft);
}

.hero-eyebrow {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
}

.hero .accent {
    color: var(--accent);
}

.hero-subtitle {
    color: var(--text-soft);
    margin-bottom: 0.6rem;
}

.hero-mission {
    margin-bottom: 1rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Hero Card */

.hero-card {
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 1.4rem 1.2rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -30%;
    opacity: 0.12;
    background: radial-gradient(circle at top right, var(--accent), transparent 55%);
    pointer-events: none;
}

.hero-card > * {
    position: relative;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}

.hero-card h2 {
    margin-bottom: 0.5rem;
}

.hero-card .hero-note {
    margin-top: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-soft);
}

/* Sections & Cards */

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.card,
.anime-card {
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 1.1rem 1rem;
    box-shadow: var(--shadow-soft);
}

.card h2,
.card h3 {
    margin-bottom: 0.45rem;
}

.card p {
    color: var(--text-soft);
}

/* Page headings */

.page-heading {
    margin: 1rem 0;
}

.page-heading h1 {
    font-size: 1.7rem;
    margin-bottom: 0.3rem;
}

.page-heading p {
    color: var(--text-soft);
}

/* Grids */

.card-grid,
.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

/* Anime Cards */

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.tag-pill {
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.8rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
}

.tag {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Lists */

.checklist {
    list-style: none;
}

.checklist li {
    margin-bottom: 0.25rem;
}

.checklist li::before {
    content: "✓";
    color: var(--accent);
    margin-right: 0.45rem;
}

.facts-list {
    list-style: none;
}

.facts-list li {
    margin-bottom: 0.3rem;
}

.links-list {
    list-style: none;
}

.links-list li {
    margin-bottom: 0.4rem;
}

.list-numbered {
    padding-left: 1.2rem;
}

.list-numbered li {
    margin-bottom: 0.25rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border var(--transition-fast);
    white-space: nowrap;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #11111a;
    box-shadow: 0 10px 25px rgba(123, 109, 255, 0.55);
}

.btn.secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn.ghost {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--border);
    color: var(--text-soft);
}

.btn.small {
    font-size: 0.85rem;
    padding: 0.35rem 0.8rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Dividers & Hints */

.section-divider {
    margin: 1.6rem 0 0.8rem;
}

.section-divider h2 {
    font-size: 1.2rem;
}

.hint {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-top: 0.4rem;
}

/* Video */

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1rem 0 1.4rem;
    background: linear-gradient(to top, rgba(5, 7, 13, 0.98), rgba(5, 7, 13, 0.92));
}

.footer-inner {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.footer-links a {
    color: var(--accent-2);
}

/* ========== Responsive ========== */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-inner {
        align-items: center;
    }

    .main-nav {
        position: absolute;
        top: 3.5rem;
        left: 0;
        right: 0;
        background: var(--bg-soft);
        border-bottom: 1px solid var(--border);
        border-top: 1px solid var(--border);
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem 0.8rem;
        gap: 0.1rem;
    }

    .main-nav a {
        width: 100%;
        padding: 0.5rem 0.6rem;
    }

    .sub-nav {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 0.8rem;
        background: transparent;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .hero-text {
        padding: 1.3rem 1.1rem;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

.game-list { list-style: none; }

.game-list li{
  display:flex; flex-wrap:wrap; align-items:center;
  gap:.45rem; padding:.4rem 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.game-list li:last-child{ border-bottom:none; }

.buy-link{
  margin-left:auto; font-size:.85rem; padding:.25rem .75rem;
  border-radius:999px; background:rgba(255,134,212,.15);
  color:var(--accent); border:1px solid rgba(255,134,212,.35);
  transition:transform .15s ease, background .15s ease;
}
.buy-link:hover{ transform:translateY(-1px); background:rgba(255,134,212,.25); }

.tag{
  font-size:.7rem; padding:.15rem .5rem; border-radius:999px;
  background:rgba(255,255,255,.08); color:var(--text-soft);
}

.filter-bar {
  display:flex;
  gap:.5rem;
  margin:1rem 0;
}

.filter-bar button{
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  color:var(--text);
  padding:.4rem .9rem;
  border-radius:999px;
  cursor:pointer;
}

.game.top strong {
  color: var(--accent);
}

.why{
  font-size:.75rem;
  color:var(--text-soft);
}

.gamer-profile ul{
  list-style:none;
}

.now-playing{
  background:linear-gradient(135deg, rgba(255,134,212,.25), rgba(123,109,255,.15));
}

.cta{
  text-align:center;
}



