/* ============================================================
   DIE LETZTE GEHIRNZELLE FLIEGT
   GEMEINSAME STYLE.CSS
   ============================================================ */


/* ============================================================
   01. ROOT
   ============================================================ */

:root {

    --black-0: #010101;
    --black-1: #030303;
    --black-2: #050405;
    --black-3: #080607;
    --black-4: #0d090a;
    --black-5: #130b0d;

    --red-darkest: #210407;
    --red-darker: #35070b;
    --red-dark: #510a12;
    --red: #8c101b;
    --red-light: #b81728;
    --red-bright: #df2338;
    --red-glow: #ff3048;

    --gold-darkest: #3a290e;
    --gold-dark: #70501e;
    --gold: #c18d35;
    --gold-light: #e2b55d;
    --gold-bright: #ffd77c;

    --cream: #eee2ca;
    --text-main: #ded4c1;
    --text-soft: #b0a493;
    --text-muted: #756d61;

    --success: #68c793;
    --danger: #df3545;

    --border-gold: rgba(196, 144, 52, 0.30);
    --border-gold-light: rgba(223, 175, 83, 0.55);

    --border-red: rgba(195, 39, 52, 0.33);
    --border-red-light: rgba(226, 49, 67, 0.55);

    --border-soft: rgba(255, 255, 255, 0.055);

    --surface-dark: rgba(8, 6, 6, 0.92);
    --surface: rgba(15, 8, 9, 0.88);
    --surface-light: rgba(25, 12, 14, 0.88);
    --surface-red: rgba(66, 8, 16, 0.28);

    --shadow-card:
        0 18px 55px rgba(0, 0, 0, 0.42);

    --shadow-deep:
        0 35px 100px rgba(0, 0, 0, 0.60);

    --radius-small: 7px;
    --radius-medium: 12px;
    --radius-large: 20px;

    --transition-fast: 0.18s ease;
    --transition-normal: 0.32s ease;
    --transition-slow: 0.55s ease;

    --header-height: 88px;

    --font-display:
        "Palatino Linotype",
        "Book Antiqua",
        Palatino,
        Georgia,
        serif;

    --font-body:
        Inter,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;
}


/* ============================================================
   02. RESET
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    margin: 0;

    min-height: 100vh;

    color: var(--text-main);

    font-family: var(--font-body);

    line-height: 1.5;

    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 78% 8%,
            rgba(110, 7, 19, 0.20),
            transparent 30%
        ),
        radial-gradient(
            circle at 14% 65%,
            rgba(120, 78, 13, 0.07),
            transparent 33%
        ),
        linear-gradient(
            180deg,
            var(--black-0),
            var(--black-2) 45%,
            var(--black-1)
        );
}

body::before {
    content: "";

    position: fixed;

    inset: 0;

    z-index: -20;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.75),
            transparent 92%
        );
}

button,
input {
    font: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;

    text-decoration: none;
}

img,
svg {
    display: block;

    max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    color: #16080b;

    background: var(--gold-light);
}

.hidden {
    display: none !important;
}


/* ============================================================
   03. SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #020202;
}

::-webkit-scrollbar-thumb {
    border:
        2px solid #020202;

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            var(--gold-dark),
            var(--red-dark)
        );
}


/* ============================================================
   04. HINTERGRUND
   ============================================================ */

.background-effects {
    position: fixed;

    inset: 0;

    z-index: -10;

    overflow: hidden;

    pointer-events: none;
}

.background-glow {
    position: absolute;

    width: 720px;
    height: 720px;

    border-radius: 50%;

    filter: blur(95px);

    opacity: 0.16;
}

.background-glow-red {
    top: -300px;
    right: -200px;

    background: #a00019;

    animation:
        backgroundFloat 17s ease-in-out infinite;
}

.background-glow-gold {
    bottom: -420px;
    left: -260px;

    background: #94600d;

    opacity: 0.075;

    animation:
        backgroundFloat 21s ease-in-out infinite reverse;
}

.background-grid {
    position: absolute;

    inset: 0;

    opacity: 0.14;

    background-image:
        radial-gradient(
            circle,
            rgba(224, 174, 74, 0.32) 1px,
            transparent 1px
        );

    background-size: 78px 78px;
}

.floating-particles {
    position: absolute;

    inset: 0;
}

.floating-particle {
    position: absolute;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--gold-light);

    box-shadow:
        0 0 5px var(--gold-light),
        0 0 14px rgba(225, 181, 91, 0.42);

    opacity: 0.4;

    animation:
        floatingParticle 11s linear infinite;
}


/* ============================================================
   05. APP
   ============================================================ */

.app-shell {
    position: relative;

    width:
        min(1500px, calc(100% - 28px));

    min-height:
        calc(100vh - 28px);

    margin: 14px auto;

    overflow: hidden;

    border:
        1px solid rgba(198, 145, 49, 0.18);

    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(7, 5, 5, 0.90),
            rgba(3, 3, 3, 0.95)
        );

    box-shadow:
        0 0 0 1px rgba(165, 21, 34, 0.035),
        0 30px 100px rgba(0, 0, 0, 0.52);
}


/* ============================================================
   06. HEADER
   ============================================================ */

.main-header {
    position: sticky;

    top: 0;

    z-index: 500;

    min-height: var(--header-height);

    display: grid;

    grid-template-columns:
        minmax(260px, 1fr)
        auto
        minmax(160px, 1fr);

    align-items: center;

    gap: 24px;

    padding: 14px 28px;

    border-bottom:
        1px solid rgba(194, 143, 45, 0.22);

    background:
        linear-gradient(
            180deg,
            rgba(6, 5, 5, 0.98),
            rgba(4, 3, 3, 0.95)
        );

    backdrop-filter: blur(20px);
}

.main-header::after {
    content: "";

    position: absolute;

    left: 8%;
    right: 8%;
    bottom: -1px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(211, 154, 52, 0.55),
            rgba(163, 20, 35, 0.32),
            transparent
        );
}


/* ============================================================
   07. BRAND
   ============================================================ */

.brand {
    display: flex;

    align-items: center;

    gap: 13px;

    width: fit-content;
}

.brand-symbol {
    position: relative;

    width: 56px;
    height: 56px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 50%;
}

.brand-brain {
    width: 52px;
    height: 52px;
}

.brand-circle {
    fill: none;

    stroke: var(--gold-dark);

    stroke-width: 2;

    stroke-dasharray: 5 3;
}

.brain-outline,
.brain-line {
    fill: none;

    stroke: var(--gold-light);

    stroke-width: 2;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.brain-line {
    stroke: var(--red-bright);

    stroke-width: 1.4;
}

.brand-text {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.brand-title {
    color: var(--gold-light);

    font-family: var(--font-display);

    font-size: 1.06rem;

    letter-spacing: 0.095em;

    text-transform: uppercase;
}

.brand-subtitle {
    margin-top: 7px;

    color: var(--red-bright);

    font-size: 0.70rem;

    font-weight: 700;

    letter-spacing: 0.34em;

    text-transform: uppercase;
}


/* ============================================================
   08. NAVIGATION
   ============================================================ */

.main-navigation {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 3px;
}

.navigation-link {
    position: relative;

    padding: 14px;

    border-radius: 6px;

    color: #c0b5a3;

    font-family: var(--font-display);

    font-size: 0.96rem;

    white-space: nowrap;
}

.navigation-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 5px;

    width: 0;
    height: 1px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--red-bright)
        );

    transition:
        width var(--transition-normal);
}

.navigation-link:hover,
.navigation-link.active {
    color: var(--red-bright);
}

.navigation-link:hover::after {
    width: 45%;
}

.navigation-link.active::after {
    width: 62%;
}

.navigation-link-quizmaster {
    margin-left: 5px;

    border:
        1px solid rgba(188, 136, 39, 0.18);

    background:
        rgba(58, 12, 16, 0.10);
}


/* ============================================================
   09. STATUS
   ============================================================ */

.header-actions {
    display: flex;

    align-items: center;

    justify-content: flex-end;
}

.public-status,
.game-status {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 37px;

    padding: 8px 12px;

    border:
        1px solid rgba(204, 156, 66, 0.20);

    border-radius: 7px;

    color: var(--text-soft);

    background:
        rgba(20, 11, 8, 0.55);

    font-size: 0.75rem;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold);
}

.game-status .status-dot {
    background: #786f64;
}

.game-status.active {
    color: var(--gold-light);
}

.game-status.active .status-dot {
    background: var(--red-bright);

    box-shadow:
        0 0 8px var(--red-bright);

    animation:
        statusPulse 1.8s ease-in-out infinite;
}


/* ============================================================
   10. MOBILE MENU
   ============================================================ */

.mobile-menu-button {
    display: none;

    width: 44px;
    height: 42px;

    padding: 8px;

    background: transparent;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: var(--gold-light);
}

.mobile-menu-button.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* ============================================================
   11. ALLGEMEINE BEREICHE
   ============================================================ */

.main-content {
    position: relative;

    min-height: 700px;
}

.section-eyebrow,
.hero-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 11px;

    color: var(--gold);

    font-family: var(--font-display);

    font-size: 0.77rem;

    font-weight: 600;

    letter-spacing: 0.17em;

    text-transform: uppercase;
}

.eyebrow-line {
    width: 34px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--red-bright),
            var(--gold)
        );
}

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 23px;
}

.section-heading h2 {
    margin-bottom: 7px;

    color: var(--cream);

    font-family: var(--font-display);

    font-size:
        clamp(2rem, 3vw, 2.6rem);

    font-weight: 400;
}

.section-description {
    max-width: 680px;

    margin: 0;

    color: var(--text-soft);

    line-height: 1.7;
}


/* ============================================================
   12. BUTTONS
   ============================================================ */

.button {
    min-height: 44px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 11px 20px;

    border-radius: 7px;

    font-size: 0.76rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.button:hover {
    transform: translateY(-2px);
}

.button:disabled {
    opacity: 0.34;

    cursor: not-allowed;

    transform: none;
}

.button-large {
    min-height: 50px;

    padding: 13px 24px;
}

.button-primary {
    border:
        1px solid rgba(215, 160, 53, 0.68);

    color: var(--gold-bright);

    background:
        linear-gradient(
            180deg,
            rgba(65, 30, 8, 0.88),
            rgba(26, 12, 4, 0.94)
        );
}

.button-secondary {
    border:
        1px solid rgba(157, 32, 43, 0.50);

    color: #dbcab0;

    background:
        linear-gradient(
            180deg,
            rgba(43, 10, 14, 0.75),
            rgba(17, 7, 8, 0.88)
        );
}

.button-danger {
    border:
        1px solid rgba(216, 42, 59, 0.56);

    color: #ff9faa;

    background:
        linear-gradient(
            180deg,
            rgba(105, 11, 25, 0.78),
            rgba(43, 5, 11, 0.95)
        );
}


/* ============================================================
   13. HERO
   ============================================================ */

.hero-section {
    position: relative;

    min-height: 610px;

    display: grid;

    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(430px, 1.12fr);

    align-items: center;

    gap: 20px;

    padding: 65px 6% 65px;

    overflow: hidden;

    border-bottom:
        1px solid rgba(174, 115, 28, 0.18);

    background:
        radial-gradient(
            circle at 76% 45%,
            rgba(155, 11, 28, 0.13),
            transparent 32%
        );
}

.hero-content {
    position: relative;

    z-index: 5;

    max-width: 680px;
}

.hero-title {
    display: flex;

    flex-direction: column;

    margin-bottom: 22px;

    font-family: var(--font-display);

    font-size:
        clamp(3.4rem, 5.3vw, 6.3rem);

    font-weight: 400;

    line-height: 0.92;
}

.hero-title-gold {
    color: var(--gold-light);
}

.hero-title-red {
    margin: 4px 0;

    color: var(--red-bright);
}

.hero-description {
    max-width: 600px;

    margin-bottom: 30px;

    color: #c3b8a7;

    font-size: 1.01rem;

    line-height: 1.75;
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-bottom: 30px;
}

.hero-quote {
    position: relative;

    max-width: 580px;

    padding:
        13px 16px 13px 38px;

    border-left:
        1px solid rgba(188, 127, 31, 0.50);

    color: var(--text-soft);

    font-family: var(--font-display);

    font-style: italic;
}

.quote-mark {
    position: absolute;

    left: 13px;
    top: 4px;

    color: var(--red-bright);

    font-size: 2.3rem;
}


/* ============================================================
   14. NEUES CHAOSZIRKEL LOGO IM HERO
   ============================================================ */

.chaoszirkel-hero-visual {
    min-height: 510px;
}

.chaoszirkel-logo-stage {
    position: relative;

    width:
        min(570px, 44vw);

    aspect-ratio: 1;

    display: grid;

    place-items: center;
}

.chaoszirkel-logo-stage::before {
    content: "";

    position: absolute;

    width: 74%;
    height: 74%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(217, 24, 46, 0.20),
            rgba(124, 7, 21, 0.08) 45%,
            transparent 72%
        );

    filter: blur(24px);

    animation:
        logoAuraPulse 4s ease-in-out infinite;
}

.chaoszirkel-logo-frame {
    position: relative;

    z-index: 3;

    width: 92%;

    animation:
        chaoszirkelFloat 6s ease-in-out infinite;

    filter:
        drop-shadow(
            0 0 20px
            rgba(218, 35, 53, 0.15)
        )
        drop-shadow(
            0 0 40px
            rgba(218, 164, 61, 0.07)
        );
}

.chaoszirkel-hero-logo {
    width: 100%;

    height: auto;

    object-fit: contain;

    /*
        Das Bild besitzt einen schwarzen Hintergrund.
        Dadurch werden die Außenkanten weich in
        die Webseite eingeblendet.
    */

    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 50%,
            rgba(0, 0, 0, 0.96) 66%,
            rgba(0, 0, 0, 0.60) 78%,
            transparent 96%
        );

    mask-image:
        radial-gradient(
            ellipse at center,
            black 50%,
            rgba(0, 0, 0, 0.96) 66%,
            rgba(0, 0, 0, 0.60) 78%,
            transparent 96%
        );
}

.logo-orbit {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.logo-orbit-one {
    width: 94%;
    height: 94%;

    border:
        1px dashed
        rgba(222, 169, 67, 0.20);

    animation:
        orbitRotate 45s linear infinite;
}

.logo-orbit-two {
    width: 82%;
    height: 82%;

    border:
        1px solid
        rgba(209, 35, 51, 0.16);

    animation:
        orbitRotateReverse 32s linear infinite;
}

.logo-energy-dot {
    position: absolute;

    z-index: 4;

    width: 7px;
    height: 7px;

    border-radius: 50%;
}

.logo-energy-dot-one {
    top: 14%;
    left: 23%;

    background: var(--gold-bright);

    box-shadow:
        0 0 10px var(--gold-bright),
        0 0 25px rgba(223, 169, 68, 0.35);

    animation:
        energyPulse 2.2s ease-in-out infinite;
}

.logo-energy-dot-two {
    top: 24%;
    right: 9%;

    background: var(--red-bright);

    box-shadow:
        0 0 10px var(--red-bright),
        0 0 25px rgba(223, 35, 56, 0.40);

    animation:
        energyPulse 2.8s ease-in-out infinite 0.5s;
}

.logo-energy-dot-three {
    bottom: 14%;
    left: 19%;

    background: var(--gold-light);

    box-shadow:
        0 0 10px var(--gold-light);

    animation:
        energyPulse 2.5s ease-in-out infinite 1s;
}

.flying-cell {
    position: absolute;

    z-index: 5;

    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(217, 163, 63, 0.40);

    border-radius: 50%;

    color: var(--gold-light);

    background:
        rgba(9, 6, 6, 0.90);

    box-shadow:
        0 0 16px rgba(220, 165, 62, 0.08);

    animation:
        cellFloat 5s ease-in-out infinite;
}

.flying-cell-one {
    top: 10%;
    left: 12%;
}

.flying-cell-two {
    top: 25%;
    right: 5%;

    color: var(--red-bright);
}

.flying-cell-three {
    right: 12%;
    bottom: 12%;
}

.flying-cell-four {
    bottom: 20%;
    left: 4%;

    color: var(--red-bright);
}


/* ============================================================
   15. ÖFFENTLICHE BEREICHE
   ============================================================ */

.public-section {
    position: relative;

    padding: 65px 6%;
}

.last-game-container {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.70fr)
        minmax(400px, 1.30fr);

    gap: 20px;
}

.last-game-empty {
    border:
        1px solid rgba(192, 139, 42, 0.18);

    border-radius: var(--radius-large);
}

.last-winner-card,
.last-ranking-card {
    position: relative;

    padding: 25px;

    border:
        1px solid rgba(213, 159, 58, 0.35);

    border-radius: var(--radius-large);

    background:
        linear-gradient(
            145deg,
            rgba(25, 11, 13, 0.93),
            rgba(8, 6, 6, 0.95)
        );

    box-shadow: var(--shadow-card);
}

.last-winner-card {
    min-height: 430px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}

.last-winner-crown {
    font-size: 4.3rem;

    animation:
        crownFloat 3s ease-in-out infinite;
}

.last-winner-name {
    color: var(--gold-bright);

    font-family: var(--font-display);

    font-size:
        clamp(2.1rem, 4vw, 3.6rem);
}

.last-winner-score {
    color: var(--red-bright);

    font-weight: 700;
}

.last-game-ranking {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.result-row {
    display: grid;

    grid-template-columns:
        58px minmax(0, 1fr) auto;

    align-items: center;

    gap: 12px;

    min-height: 61px;

    padding: 10px 15px;

    border:
        1px solid rgba(188, 123, 31, 0.13);

    border-radius: 8px;
}

.result-position {
    color: var(--gold);
}

.result-player {
    color: var(--cream);
}

.result-score {
    color: var(--red-bright);

    font-weight: 700;
}


/* ============================================================
   16. HISTORIE UND REGELN
   ============================================================ */

.public-history-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.history-game-card {
    display: grid;

    grid-template-columns:
        150px minmax(0, 1fr) auto;

    align-items: center;

    gap: 20px;

    padding: 18px 20px;

    border:
        1px solid rgba(185, 127, 34, 0.20);

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            rgba(42, 11, 14, 0.61),
            rgba(8, 7, 7, 0.75)
        );
}

.history-game-date {
    color: var(--gold-dark);
}

.history-game-name {
    color: var(--cream);

    font-family: var(--font-display);

    font-size: 1.18rem;
}

.history-game-meta {
    color: var(--text-muted);

    font-size: 0.73rem;
}

.history-game-winner {
    color: var(--gold-light);
}

.history-game-button {
    margin-top: 8px;

    padding: 8px 12px;

    border:
        1px solid rgba(192, 139, 43, 0.20);

    border-radius: 6px;

    color: var(--gold);

    background:
        rgba(54, 29, 7, 0.12);

    cursor: pointer;
}

.rules-layout {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.rule-card {
    display: grid;

    grid-template-columns:
        80px 1fr;

    gap: 18px;

    min-height: 180px;

    padding: 23px;

    border:
        1px solid rgba(190, 130, 35, 0.22);

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(43, 11, 14, 0.65),
            rgba(8, 6, 6, 0.85)
        );
}

.rule-number {
    color: var(--red-bright);

    font-family: var(--font-display);

    font-size: 2.6rem;
}

.rule-card h3 {
    color: var(--gold-light);

    font-family: var(--font-display);

    font-weight: 400;
}

.rule-card p {
    color: var(--text-soft);

    line-height: 1.7;
}


/* ============================================================
   17. EMPTY
   ============================================================ */

.empty-state {
    min-height: 220px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 28px;

    text-align: center;

    color: var(--text-muted);
}

.empty-state.small {
    min-height: 150px;
}

.empty-state h2,
.empty-state h3 {
    margin-bottom: 4px;

    color: var(--text-soft);

    font-family: var(--font-display);

    font-weight: 400;
}

.empty-state p {
    margin: 0;
}

.empty-icon {
    color: var(--gold-dark);

    font-size: 2rem;
}


/* ============================================================
   18. QUIZMASTER HERO
   ============================================================ */

.quizmaster-hero {
    position: relative;

    min-height: 350px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    align-items: center;

    gap: 30px;

    padding: 45px 7%;

    overflow: hidden;

    border-bottom:
        1px solid rgba(185, 130, 38, 0.17);

    background:
        radial-gradient(
            circle at 82% 45%,
            rgba(145, 15, 27, 0.18),
            transparent 30%
        );
}

.quizmaster-hero h1 {
    margin-bottom: 12px;

    color: var(--gold-light);

    font-family: var(--font-display);

    font-size:
        clamp(3.1rem, 6vw, 5.6rem);

    font-weight: 400;
}

.quizmaster-hero p {
    max-width: 700px;

    color: var(--text-soft);

    line-height: 1.75;
}


/* ============================================================
   19. CHAOSZIRKEL LOGO QUIZMASTER
   ============================================================ */

.quizmaster-hero-logo-area {
    position: relative;

    min-height: 260px;

    display: grid;

    place-items: center;
}

.quizmaster-logo-halo {
    position: absolute;

    width: 210px;
    height: 210px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(213, 22, 43, 0.20),
            rgba(119, 8, 22, 0.08) 48%,
            transparent 70%
        );

    filter: blur(22px);

    animation:
        logoAuraPulse 4s ease-in-out infinite;
}

.quizmaster-chaoszirkel-logo {
    position: relative;

    z-index: 2;

    width: 300px;

    max-width: 100%;

    filter:
        drop-shadow(
            0 0 18px
            rgba(222, 41, 57, 0.14)
        )
        drop-shadow(
            0 0 28px
            rgba(224, 172, 70, 0.06)
        );

    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 52%,
            rgba(0, 0, 0, 0.95) 68%,
            rgba(0, 0, 0, 0.55) 80%,
            transparent 97%
        );

    mask-image:
        radial-gradient(
            ellipse at center,
            black 52%,
            rgba(0, 0, 0, 0.95) 68%,
            rgba(0, 0, 0, 0.55) 80%,
            transparent 97%
        );

    animation:
        chaoszirkelFloat 6s ease-in-out infinite;
}


/* ============================================================
   20. QUIZMASTER
   ============================================================ */

.quizmaster-section {
    padding: 50px 6% 65px;
}

.quizmaster-setup-grid {
    display: grid;

    grid-template-columns:
        minmax(260px, 0.65fr)
        minmax(430px, 1.35fr);

    gap: 16px;
}

.quizmaster-panel {
    position: relative;

    overflow: hidden;

    border:
        1px solid rgba(190, 132, 37, 0.28);

    border-radius: var(--radius-large);

    background:
        linear-gradient(
            145deg,
            rgba(24, 11, 13, 0.94),
            rgba(8, 6, 6, 0.95)
        );

    box-shadow: var(--shadow-card);
}

.quizmaster-panel-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 18px 20px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.05);
}

.quizmaster-panel-header > div {
    display: flex;

    align-items: center;

    gap: 12px;
}

.panel-number {
    color: var(--red-bright);

    font-family: var(--font-display);

    font-size: 1.7rem;
}

.panel-eyebrow {
    display: block;

    color: var(--gold-dark);

    font-size: 0.62rem;

    text-transform: uppercase;
}

.quizmaster-panel-header h3 {
    margin: 0;

    color: var(--gold-light);

    font-family: var(--font-display);

    font-weight: 400;
}

.quizmaster-panel-content {
    padding: 20px;
}


/* ============================================================
   21. FORMULAR
   ============================================================ */

.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.form-group label {
    color: var(--gold);

    font-size: 0.72rem;

    font-weight: 700;

    text-transform: uppercase;
}

.form-group input {
    width: 100%;

    min-height: 46px;

    padding: 0 14px;

    outline: none;

    border:
        1px solid rgba(191, 139, 45, 0.22);

    border-radius: 7px;

    color: var(--cream);

    background:
        rgba(5, 5, 5, 0.77);
}

.form-group input:focus {
    border-color:
        rgba(215, 161, 60, 0.65);
}

.game-date-preview {
    display: flex;

    justify-content: space-between;

    margin-top: 20px;

    padding: 13px 14px;

    border:
        1px solid rgba(255, 255, 255, 0.05);

    border-radius: 8px;
}


/* ============================================================
   22. SPIELER SETUP
   ============================================================ */

.player-counter {
    padding: 6px 9px;

    border:
        1px solid rgba(198, 143, 46, 0.16);

    border-radius: 20px;

    color: var(--text-muted);

    font-size: 0.68rem;
}

.player-input-row {
    display: grid;

    grid-template-columns:
        1fr auto;

    align-items: end;

    gap: 12px;

    margin-bottom: 18px;
}

.player-setup-list {
    min-height: 230px;

    max-height: 450px;

    overflow-y: auto;

    padding: 8px;

    border:
        1px solid rgba(255, 255, 255, 0.04);

    border-radius: 10px;
}

.player-setup-item {
    display: grid;

    grid-template-columns:
        40px 1fr auto;

    align-items: center;

    gap: 10px;

    margin-bottom: 6px;

    padding: 10px 12px;

    border:
        1px solid rgba(187, 120, 29, 0.14);

    border-radius: 7px;
}

.player-setup-number {
    color: var(--gold-dark);
}

.player-setup-name {
    color: var(--cream);
}

.player-remove-button {
    width: 34px;
    height: 34px;

    border:
        1px solid rgba(207, 39, 54, 0.25);

    border-radius: 6px;

    color: #ca777f;

    background:
        rgba(84, 8, 17, 0.15);

    cursor: pointer;
}


/* ============================================================
   23. START / GAME HEADER
   ============================================================ */

.quizmaster-start-area,
.active-game-control-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-top: 20px;

    padding: 20px 22px;

    border:
        1px solid rgba(187, 130, 37, 0.20);

    border-radius: var(--radius-medium);

    background:
        rgba(34, 11, 13, 0.40);
}

.active-game-control-header {
    margin-top: 0;

    margin-bottom: 38px;
}

.active-game-control-header h2 {
    margin-bottom: 6px;

    color: var(--gold-light);

    font-family: var(--font-display);

    font-size: 2.15rem;

    font-weight: 400;
}

.active-game-information {
    display: flex;

    gap: 8px;

    color: var(--text-muted);

    font-size: 0.76rem;
}

.active-game-control-actions {
    display: flex;

    gap: 10px;
}


/* ============================================================
   24. RANGLISTE
   ============================================================ */

.quizmaster-live-ranking-section {
    margin-bottom: 40px;
}

.quizmaster-live-ranking {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(185px, 1fr));

    gap: 10px;
}

.ranking-item {
    display: grid;

    grid-template-columns:
        42px 1fr auto;

    align-items: center;

    gap: 9px;

    padding: 12px;

    border:
        1px solid rgba(185, 128, 32, 0.17);

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            rgba(28, 12, 14, 0.80),
            rgba(7, 6, 6, 0.86)
        );
}

.ranking-item:first-child {
    border-color:
        rgba(221, 170, 70, 0.45);
}

.ranking-position {
    color: var(--gold);
}

.ranking-name {
    color: var(--cream);
}

.ranking-score {
    color: var(--red-bright);

    font-weight: 700;
}


/* ============================================================
   25. SPIELERKARTEN
   ============================================================ */

.quizmaster-player-section {
    margin-bottom: 42px;
}

.quizmaster-player-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(285px, 1fr));

    gap: 14px;
}

.quizmaster-player-card {
    min-height: 330px;

    display: flex;

    flex-direction: column;

    padding: 18px;

    border:
        1px solid rgba(183, 115, 27, 0.27);

    border-radius: var(--radius-medium);

    background:
        linear-gradient(
            155deg,
            rgba(29, 12, 14, 0.95),
            rgba(8, 6, 6, 0.96)
        );

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.35);
}

.quizmaster-player-card.leader {
    border-color:
        rgba(219, 169, 66, 0.55);
}

.quizmaster-player-card.score-positive {
    animation:
        scorePositive 0.55s ease;
}

.quizmaster-player-card.score-negative {
    animation:
        scoreNegative 0.55s ease;
}

.quizmaster-player-card-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;
}

.quizmaster-player-card-header h3 {
    margin: 0;

    color: var(--gold-light);

    font-family: var(--font-display);

    font-size: 1.4rem;

    font-weight: 400;
}

.player-position {
    color: var(--text-muted);

    font-size: 0.72rem;
}

.quizmaster-score {
    flex: 1;

    min-height: 110px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}

.quizmaster-score strong {
    color: var(--cream);

    font-family: var(--font-display);

    font-size: 4rem;

    font-weight: 400;
}

.quizmaster-score span {
    color: var(--text-muted);

    font-size: 0.65rem;

    text-transform: uppercase;
}


/* ============================================================
   26. PUNKTE -5 BIS +5
   ============================================================ */

.quizmaster-score-buttons {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 6px;

    margin-bottom: 10px;
}

.quizmaster-score-buttons button {
    min-height: 40px;

    border-radius: 6px;

    font-weight: 700;

    cursor: pointer;
}

.score-button.negative {
    border:
        1px solid rgba(200, 40, 54, 0.28);

    color: #e47d86;

    background:
        rgba(105, 9, 21, 0.20);
}

.score-button.positive {
    border:
        1px solid rgba(204, 151, 54, 0.30);

    color: var(--gold);

    background:
        rgba(94, 61, 11, 0.18);
}

.player-card-actions {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 7px;
}

.custom-score-button,
.hide-player-button {
    min-height: 40px;

    padding: 8px 10px;

    border-radius: 6px;

    font-size: 0.67rem;

    font-weight: 700;

    text-transform: uppercase;

    cursor: pointer;
}

.custom-score-button {
    border:
        1px solid rgba(255, 255, 255, 0.07);

    color: var(--text-soft);

    background:
        rgba(0, 0, 0, 0.20);
}

.hide-player-button {
    border:
        1px solid rgba(129, 126, 119, 0.18);

    color: #938d83;

    background:
        rgba(26, 24, 22, 0.35);
}


/* ============================================================
   27. AUSGEBLENDETE SPIELER
   ============================================================ */

.hidden-players-section {
    margin-bottom: 42px;

    padding: 24px;

    border:
        1px solid rgba(119, 112, 99, 0.16);

    border-radius: var(--radius-large);

    background:
        rgba(6, 6, 6, 0.36);
}

.hidden-players-list {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.hidden-player-item {
    display: grid;

    grid-template-columns:
        48px 1fr auto;

    align-items: center;

    gap: 13px;

    padding: 10px 13px;

    border:
        1px solid rgba(255, 255, 255, 0.055);

    border-radius: 9px;
}

.hidden-player-icon {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: #948d83;
}

.hidden-player-content {
    display: flex;

    flex-direction: column;
}

.hidden-player-content strong {
    color: #bdb5aa;
}

.hidden-player-content span {
    color: var(--text-muted);

    font-size: 0.73rem;
}

.restore-player-button {
    min-height: 36px;

    padding: 8px 12px;

    border:
        1px solid rgba(194, 142, 49, 0.24);

    border-radius: 6px;

    color: var(--gold);

    background:
        rgba(80, 48, 8, 0.12);

    cursor: pointer;
}


/* ============================================================
   28. PROTOKOLL
   ============================================================ */

.quizmaster-log-section {
    margin-bottom: 40px;
}

.score-log {
    max-height: 390px;

    overflow-y: auto;

    border:
        1px solid rgba(187, 132, 39, 0.17);

    border-radius: 10px;
}

.score-log-entry {
    display: grid;

    grid-template-columns:
        1fr auto auto;

    align-items: center;

    gap: 12px;

    padding: 10px 14px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.04);
}

.score-log-player {
    color: var(--cream);
}

.score-log-points {
    font-weight: 700;
}

.score-log-points.positive {
    color: var(--gold-light);
}

.score-log-points.negative {
    color: var(--red-bright);
}

.score-log-time {
    color: var(--text-muted);

    font-size: 0.70rem;
}


/* ============================================================
   29. SPIEL BEENDEN
   ============================================================ */

.finish-game-area {
    display: grid;

    grid-template-columns:
        1fr auto;

    align-items: center;

    gap: 25px;

    padding: 24px;

    border:
        1px solid rgba(204, 45, 56, 0.27);

    border-radius: var(--radius-large);

    background:
        rgba(46, 9, 14, 0.40);
}


/* ============================================================
   30. BANNER
   ============================================================ */

.quizmaster-public-link-section,
.quizmaster-banner-section {
    padding: 15px 6% 55px;
}

.quizmaster-public-link,
.quizmaster-banner {
    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 20px;

    padding: 22px;

    border:
        1px solid rgba(184, 125, 34, 0.20);

    border-radius: var(--radius-medium);

    background:
        rgba(31, 11, 13, 0.50);
}

.quizmaster-public-link-icon,
.quizmaster-banner-icon {
    width: 56px;
    height: 56px;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(209, 156, 59, 0.25);

    border-radius: 50%;

    font-size: 1.5rem;
}


/* ============================================================
   31. MODALS
   ============================================================ */

.modal-overlay {
    position: fixed;

    inset: 0;

    z-index: 1500;

    display: grid;

    place-items: center;

    padding: 20px;

    background:
        rgba(0, 0, 0, 0.80);

    backdrop-filter: blur(10px);
}

.modal {
    position: relative;

    width:
        min(500px, 100%);

    max-height:
        calc(100vh - 40px);

    overflow-y: auto;

    padding: 28px;

    border:
        1px solid rgba(207, 151, 50, 0.37);

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #180c0e,
            #080606
        );

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.75);
}

.modal-close {
    position: absolute;

    top: 12px;
    right: 14px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    color: var(--text-muted);

    background: transparent;

    font-size: 1.5rem;

    cursor: pointer;
}

.modal h2 {
    color: var(--gold-light);

    font-family: var(--font-display);

    font-weight: 400;
}

.modal > p {
    color: var(--text-soft);
}

.modal-actions {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 22px;
}

.confirmation-modal {
    text-align: center;
}

.confirmation-modal .modal-actions {
    justify-content: center;
}

.custom-score-presets {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 7px;

    margin-top: 12px;
}

.custom-score-presets button {
    min-height: 38px;

    border:
        1px solid rgba(188, 125, 34, 0.18);

    border-radius: 6px;

    color: var(--text-soft);

    background:
        rgba(0, 0, 0, 0.20);

    cursor: pointer;
}


/* ============================================================
   32. FINISH PREVIEW
   ============================================================ */

.finish-game-preview {
    display: flex;

    flex-direction: column;

    gap: 5px;

    margin-top: 18px;

    padding: 10px;

    border:
        1px solid rgba(190, 131, 35, 0.15);

    border-radius: 8px;

    text-align: left;
}

.finish-preview-row {
    display: grid;

    grid-template-columns:
        38px 1fr auto;

    align-items: center;

    gap: 10px;

    padding: 5px 8px;
}

.finish-preview-position {
    color: var(--gold);
}

.finish-preview-name {
    color: var(--cream);
}

.finish-preview-score {
    color: var(--red-bright);

    font-weight: 700;
}


/* ============================================================
   33. GEWINNER
   ============================================================ */

.winner-overlay {
    position: fixed;

    inset: 0;

    z-index: 2500;

    display: grid;

    place-items: center;

    padding: 20px;

    background:
        radial-gradient(
            circle at center,
            rgba(98, 8, 18, 0.42),
            transparent 48%
        ),
        rgba(1, 1, 1, 0.96);
}

.winner-content {
    position: relative;

    z-index: 3;

    width:
        min(720px, 100%);

    text-align: center;
}

.winner-big-crown {
    font-size: 5rem;

    animation:
        winnerCrown 1.8s ease-in-out infinite;
}

.winner-content h2 {
    color: var(--gold-bright);

    font-family: var(--font-display);

    font-size:
        clamp(3rem, 7vw, 6.2rem);

    font-weight: 400;
}

.winner-overlay-score {
    color: var(--red-bright);

    font-weight: 700;
}

.winner-final-ranking {
    width:
        min(520px, 100%);

    margin:
        0 auto 24px;

    border:
        1px solid rgba(211, 157, 58, 0.18);

    border-radius: 9px;
}

.final-ranking-row {
    display: grid;

    grid-template-columns:
        45px 1fr auto;

    gap: 10px;

    padding: 10px 14px;
}

.final-ranking-position {
    color: var(--gold);
}

.final-ranking-name {
    color: var(--cream);
}

.final-ranking-score {
    color: var(--red-bright);

    font-weight: 700;
}

.winner-overlay-actions {
    display: flex;

    justify-content: center;

    gap: 10px;
}

.winner-particles {
    position: absolute;

    inset: 0;

    pointer-events: none;
}

.winner-particle {
    position: absolute;

    background: var(--gold-light);

    animation:
        winnerParticleFall 4s linear forwards;
}


/* ============================================================
   34. TOAST
   ============================================================ */

.toast-container {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 4000;

    width:
        min(360px, calc(100% - 44px));
}

.toast {
    position: relative;

    margin-top: 8px;

    padding: 13px 15px;

    border:
        1px solid rgba(197, 141, 45, 0.30);

    border-radius: 8px;

    color: var(--text-main);

    background:
        rgba(20, 10, 11, 0.97);
}


/* ============================================================
   35. FOOTER
   ============================================================ */

.main-footer {
    padding: 20px 5% 24px;

    border-top:
        1px solid rgba(192, 135, 41, 0.18);
}

.footer-content {
    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;
}

.footer-content strong {
    color: var(--gold);

    font-family: var(--font-display);

    font-weight: 400;
}

.footer-content p {
    margin: 3px 0 0;

    color: var(--text-muted);

    font-size: 0.72rem;
}

.footer-symbol {
    color: var(--gold);
}

.footer-version {
    justify-self: end;

    color: var(--text-muted);

    font-size: 0.67rem;

    text-transform: uppercase;
}


/* ============================================================
   36. QUOTE
   ============================================================ */

.quote-banner {
    width:
        min(1000px, calc(100% - 50px));

    margin:
        25px auto 55px;

    padding: 22px 30px;

    border:
        1px solid rgba(184, 37, 49, 0.34);

    border-radius:
        50px 15px 50px 15px;

    text-align: center;
}

.quote-banner blockquote {
    margin: 0;
}

.quote-banner blockquote p {
    color: var(--gold-light);

    font-family: var(--font-display);

    font-style: italic;
}

.quote-banner blockquote footer {
    color: var(--red-bright);
}


/* ============================================================
   37. LOGO ANIMATIONEN
   ============================================================ */

@keyframes chaoszirkelFloat {

    0%,
    100% {
        transform:
            translateY(0)
            scale(1);
    }

    50% {
        transform:
            translateY(-10px)
            scale(1.012);
    }

}

@keyframes logoAuraPulse {

    0%,
    100% {
        transform: scale(0.94);

        opacity: 0.55;
    }

    50% {
        transform: scale(1.08);

        opacity: 1;
    }

}

@keyframes energyPulse {

    0%,
    100% {
        transform: scale(0.75);

        opacity: 0.45;
    }

    50% {
        transform: scale(1.35);

        opacity: 1;
    }

}


/* ============================================================
   38. SONSTIGE ANIMATIONEN
   ============================================================ */

@keyframes backgroundFloat {

    0%,
    100% {
        transform:
            translate(0, 0)
            scale(1);
    }

    50% {
        transform:
            translate(60px, 40px)
            scale(1.08);
    }

}

@keyframes floatingParticle {

    from {
        transform: translateY(20px);

        opacity: 0;
    }

    to {
        transform: translateY(-180px);

        opacity: 0;
    }

}

@keyframes orbitRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

@keyframes orbitRotateReverse {

    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }

}

@keyframes cellFloat {

    0%,
    100% {
        transform:
            translate(0, 0);
    }

    50% {
        transform:
            translate(7px, -11px);
    }

}

@keyframes crownFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

}

@keyframes statusPulse {

    0%,
    100% {
        transform: scale(0.85);
    }

    50% {
        transform: scale(1.2);
    }

}

@keyframes scorePositive {

    35% {
        transform:
            translateY(-3px)
            scale(1.015);

        box-shadow:
            0 0 35px rgba(224, 169, 67, 0.28);
    }

}

@keyframes scoreNegative {

    20% {
        transform: translateX(-5px);
    }

    40% {
        transform: translateX(5px);
    }

    60% {
        transform: translateX(-3px);
    }

    80% {
        transform: translateX(3px);
    }

}

@keyframes winnerCrown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform:
            translateY(-8px)
            scale(1.05);
    }

}

@keyframes winnerParticleFall {

    from {
        transform:
            translateY(-30px);

        opacity: 0;
    }

    to {
        transform:
            translateY(110vh)
            rotate(720deg);

        opacity: 0;
    }

}


/* ============================================================
   39. RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {

    .main-navigation {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 12px 18px;

        background:
            rgba(5, 4, 4, 0.98);
    }

    .main-navigation.open {
        display: flex;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-header {
        grid-template-columns:
            1fr auto auto;
    }

    .chaoszirkel-logo-stage {
        width:
            min(520px, 46vw);
    }

}


@media (max-width: 950px) {

    .app-shell {
        width:
            calc(100% - 12px);

        margin: 6px auto;
    }

    .public-status,
    .game-status {
        display: none;
    }

    .hero-section {
        grid-template-columns: 1fr;

        text-align: left;
    }

    .chaoszirkel-hero-visual {
        min-height: 470px;
    }

    .chaoszirkel-logo-stage {
        width:
            min(520px, 80vw);
    }

    .quizmaster-hero {
        grid-template-columns:
            1fr 270px;
    }

    .quizmaster-chaoszirkel-logo {
        width: 255px;
    }

    .last-game-container,
    .quizmaster-setup-grid {
        grid-template-columns: 1fr;
    }

    .rules-layout {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .main-header {
        grid-template-columns:
            1fr auto;
    }

    .header-actions {
        display: none;
    }

    .brand-title {
        font-size: 0.78rem;
    }

    .hero-section {
        padding:
            48px 7% 25px;
    }

    .hero-title {
        font-size:
            clamp(3rem, 15vw, 4.6rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .chaoszirkel-hero-visual {
        min-height: 390px;
    }

    .chaoszirkel-logo-stage {
        width:
            min(390px, 92vw);
    }

    .flying-cell {
        width: 28px;
        height: 28px;

        font-size: 0.72rem;
    }

    .quizmaster-hero {
        grid-template-columns: 1fr;

        padding-bottom: 20px;

        text-align: left;
    }

    .quizmaster-hero-logo-area {
        min-height: 280px;
    }

    .quizmaster-chaoszirkel-logo {
        width: 285px;
    }

    .quizmaster-section,
    .public-section {
        padding-left: 4%;
        padding-right: 4%;
    }

    .player-input-row {
        grid-template-columns: 1fr;
    }

    .quizmaster-start-area,
    .active-game-control-header {
        flex-direction: column;

        align-items: stretch;
    }

    .active-game-control-actions {
        flex-direction: column;
    }

    .quizmaster-player-grid {
        grid-template-columns: 1fr;
    }

    .finish-game-area {
        grid-template-columns: 1fr;
    }

    .winner-overlay-actions {
        flex-direction: column;
    }

    .modal-actions {
        flex-direction: column-reverse;
    }

}


@media (max-width: 430px) {

    .brand-title {
        max-width: 175px;

        overflow: hidden;

        white-space: nowrap;

        text-overflow: ellipsis;
    }

    .chaoszirkel-hero-visual {
        min-height: 330px;
    }

    .chaoszirkel-logo-stage {
        width: 330px;
    }

    .quizmaster-hero-logo-area {
        min-height: 230px;
    }

    .quizmaster-chaoszirkel-logo {
        width: 235px;
    }

    .quizmaster-score-buttons {
        gap: 4px;
    }

    .player-card-actions {
        grid-template-columns: 1fr;
    }

    .custom-score-presets {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

}