/* niceeins Design Shell — Laravel PoC */

@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/assets/niceeins/BricolageGrotesque-VF-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                   U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                   U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/assets/niceeins/BricolageGrotesque-VF-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
    --bg:            #0a0a0c;
    --bg-card:       rgba(20, 20, 24, 0.7);
    --surface:       rgba(24, 24, 27, 0.55);
    --surface-solid: #18181b;
    --border:        rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.18);
    --fg:            #efeff1;
    --fg-muted:      #adadb8;
    --accent:        #9146FF;
    --accent-soft:   rgba(145, 70, 255, 0.15);
    --danger:        #ef4444;
    --success:       #22c55e;
    --warn:          #facc15;
    --radius-card:   16px;
    --radius-ctrl:   10px;
    --shadow-card:   0 18px 42px rgba(0, 0, 0, 0.22);
}

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

html, body {
    background:  var(--bg);
    color:       var(--fg);
    font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size:   16px;
    min-height:  100vh;
}
html { scrollbar-gutter: stable; overflow-x: hidden; }

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .85; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: inherit;
}

/* ── Background blobs ────────────────────────────────────────────────────── */
.n1-bg {
    position: fixed; inset: 0; z-index: 0;
    overflow: hidden; pointer-events: none;
}
.n1-blob {
    position: absolute;
    width: 60vw; height: 60vw;
    max-width: 800px; max-height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    animation: n1-drift 24s ease-in-out infinite alternate;
}
.n1-blob--1 { top: -10%; left: -10%; background: var(--accent); }
.n1-blob--2 {
    bottom: -15%; right: -15%; background: var(--accent);
    animation-delay: -8s; animation-duration: 30s;
}
@keyframes n1-drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(8vw, 6vw) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) { .n1-blob { animation: none; } }

/* ── Dev-Banner ──────────────────────────────────────────────────────────── */
.n1-dev-banner {
    position: relative; z-index: 10;
    background: rgba(250, 204, 21, 0.12);
    border-bottom: 1px solid rgba(250, 204, 21, 0.35);
    color: #fef9c3;
    padding: 8px clamp(1rem, 4vw, 2rem);
    text-align: center;
    font-size: 0.8rem;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.n1-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(10, 10, 12, 0.75);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.n1-header__inner {
    max-width: 1100px; margin: 0 auto;
    padding: 0.875rem clamp(1rem, 4vw, 2rem);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.n1-header__logo {
    display: flex; align-items: center; gap: 0.6rem;
    color: var(--fg); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em;
}
.n1-header__logo img { width: 28px; height: 28px; }
.n1-header__nav { display: flex; align-items: center; gap: 0.5rem; }
.n1-header__nav-link {
    color: var(--fg-muted); padding: 0.4rem 0.8rem; border-radius: 8px;
    font-size: 0.88rem; font-weight: 600;
    transition: background 0.15s, color 0.15s;
}
.n1-header__nav-link:hover { background: var(--border); color: var(--fg); opacity: 1; }
.n1-header__nav-link--active { background: var(--accent-soft); color: var(--accent); opacity: 1; }
.n1-header__cta {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.45rem 1rem;
    border: 1px solid color-mix(in srgb, var(--accent) 50%, rgba(255,255,255,0.1));
    border-radius: var(--radius-ctrl);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: color-mix(in srgb, var(--accent) 85%, white 10%);
    font-size: 0.88rem; font-weight: 650;
    transition: background 0.15s, border-color 0.15s;
}
.n1-header__cta:hover {
    background: color-mix(in srgb, var(--accent) 24%, transparent);
    border-color: color-mix(in srgb, var(--accent) 72%, white 8%);
    opacity: 1;
}

/* ── Main wrapper ────────────────────────────────────────────────────────── */
.n1-main { position: relative; z-index: 1; }
.n1-container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.n1-hero {
    padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
    text-align: center;
}
.n1-hero__badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--fg-muted); font-size: 0.8rem; font-weight: 600;
    margin-bottom: 1.75rem;
}
.n1-hero__badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--success); box-shadow: 0 0 6px var(--success);
}
.n1-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
    margin-bottom: 1.25rem;
}
.n1-hero__title span { color: var(--accent); }
.n1-hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--fg-muted); max-width: 560px; margin: 0 auto 2.5rem;
    line-height: 1.6;
}
.n1-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.n1-btn {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.7rem 1.4rem; border-radius: var(--radius-ctrl);
    font-size: 0.95rem; font-weight: 700;
    transition: opacity 0.15s, transform 0.15s;
    cursor: pointer; border: none;
}
.n1-btn:hover { opacity: .9; transform: translateY(-1px); }
.n1-btn--primary { background: var(--accent); color: #fff; }
.n1-btn--ghost {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--fg);
}
.n1-btn--ghost:hover { background: var(--border); }

/* ── Feature cards ───────────────────────────────────────────────────────── */
.n1-features {
    padding: clamp(2rem, 6vw, 4rem) 0;
}
.n1-features__title {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}
.n1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.n1-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    box-shadow: var(--shadow-card);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: border-color 0.2s, transform 0.2s;
}
.n1-card:hover {
    border-color: color-mix(in srgb, var(--accent) 40%, transparent);
    transform: translateY(-2px);
}
.n1-card__icon {
    font-size: 1.75rem; margin-bottom: 0.9rem;
}
.n1-card__title {
    font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem;
}
.n1-card__desc {
    font-size: 0.88rem; color: var(--fg-muted); line-height: 1.55;
}
.n1-card__badge {
    display: inline-block; margin-top: 1rem;
    padding: 0.2rem 0.6rem; border-radius: 999px;
    font-size: 0.75rem; font-weight: 600;
    background: var(--accent-soft); color: var(--accent);
}

/* ── Status section ──────────────────────────────────────────────────────── */
.n1-status-strip {
    padding: 1.5rem 0 3rem;
    display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}
.n1-status-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 1rem; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 0.82rem; font-weight: 600; color: var(--fg-muted);
}
.n1-status-chip__dot {
    width: 7px; height: 7px; border-radius: 50%;
}
.n1-status-chip__dot--green { background: var(--success); box-shadow: 0 0 5px var(--success); }
.n1-status-chip__dot--yellow { background: var(--warn); box-shadow: 0 0 5px var(--warn); }

/* ── Social Icon Links ───────────────────────────────────────────────────── */
.n1-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.n1-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-ctrl);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--fg);
    font-size: 0.85rem;
    text-decoration: none;
    transition: border-color .15s, background .15s;
}
.n1-social-link:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--fg);
    opacity: 1;
}
.n1-social-link--discord {
    background: rgba(88,101,242,0.1);
    border-color: rgba(88,101,242,0.35);
    color: #8892f8;
}
.n1-social-link--discord:hover {
    background: rgba(88,101,242,0.2);
    border-color: rgba(88,101,242,0.6);
    color: #8892f8;
}
.n1-social-link__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.85;
}

/* ── Bio Markdown Content ────────────────────────────────────────────────── */
.n1-bio-content {
    color: var(--fg-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}
.n1-bio-content p {
    margin: 0 0 0.6rem;
}
.n1-bio-content p:last-child {
    margin-bottom: 0;
}

/* ── Neu hier? Sektion ───────────────────────────────────────────────────── */
.n1-new-here__card {
    padding: var(--space-5);
}
.n1-new-here__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.n1-new-here__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--fg-muted);
}
.n1-new-here__icon {
    flex-shrink: 0;
}

/* ── Schedule Badges ─────────────────────────────────────────────────────── */
.n1-schedule-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
    white-space: nowrap;
}
.n1-schedule-badge--heute {
    background: rgba(34,197,94,0.18);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.3);
}
.n1-schedule-badge--morgen {
    background: rgba(250,204,21,0.15);
    color: #fde047;
    border: 1px solid rgba(250,204,21,0.3);
}
.n1-schedule-badge--diese-woche {
    background: rgba(145,70,255,0.15);
    color: #b97aff;
    border: 1px solid rgba(145,70,255,0.3);
}
.n1-schedule-badge--später {
    background: rgba(255,255,255,0.06);
    color: var(--fg-muted);
    border: 1px solid var(--border);
}

/* ── Games Grid + Cover ──────────────────────────────────────────────────── */
.n1-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: var(--space-3);
}
.n1-game-card {
    border-radius: var(--radius-card);
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .15s, transform .15s;
}
.n1-game-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.n1-game-card__cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}
.n1-game-card__cover--placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--surface-2, var(--surface));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.n1-game-card__body {
    padding: 0.5rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}
.n1-game-card__title {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}
.n1-game-card__status {
    font-size: 0.7rem;
}
.n1-game-card__genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.2rem;
}
.n1-genre-tag {
    font-size: 0.62rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: rgba(145,70,255,0.12);
    color: #b97aff;
    border: 1px solid rgba(145,70,255,0.2);
    white-space: nowrap;
    overflow: hidden;
    max-width: 80px;
    text-overflow: ellipsis;
}

/* ── Command Groups ──────────────────────────────────────────────────────── */
.n1-command-group__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
    opacity: 0.8;
    margin-bottom: 0.4rem;
    padding-left: 0.25rem;
}
.n1-command-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.n1-command-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-ctrl);
    padding: 0.55rem var(--space-4);
    display: flex;
    align-items: baseline;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.n1-command-item__name {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent);
    flex-shrink: 0;
    min-width: 110px;
}
.n1-command-item__desc {
    font-size: 0.85rem;
    color: var(--fg-muted);
    flex: 1;
}
.n1-command-item__perm {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.n1-footer {
    border-top: 1px solid var(--border);
    padding: 2rem clamp(1rem, 4vw, 2rem);
    text-align: center; color: var(--fg-muted); font-size: 0.82rem;
}
.n1-footer a { color: var(--fg-muted); }
.n1-footer a:hover { color: var(--accent); opacity: 1; }
.n1-footer__inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.75rem;
}
