/* ===== Homepage (index.html) ===== */
.home-hero {
    --h-blue: #4fa8ff;
    --h-purple: #6a4bff;
    --h-cyan: #4fe3f0;
    --h-muted: #8a93b8;
    --h-line: rgba(122, 140, 255, 0.16);
    position: relative;
    padding: 4.5rem 0 4rem;
    overflow: hidden;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-hero-bg canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: orbDrift 14s ease-in-out infinite alternate;
}

.orb-a {
    width: 520px;
    height: 520px;
    left: -140px;
    top: -160px;
    background: radial-gradient(circle, rgba(79, 168, 255, 0.45), transparent 65%);
}

.orb-b {
    width: 560px;
    height: 560px;
    right: -160px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(106, 75, 255, 0.5), transparent 65%);
    animation-delay: -7s;
}

@keyframes orbDrift {
    to { transform: translate(40px, 30px) scale(1.08); }
}

/* faint block grid, fading out at the edges */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(122, 140, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 140, 255, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    animation: gridPan 30s linear infinite;
}

@keyframes gridPan {
    to { background-position: 48px 48px; }
}

.home-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 2rem;
}

.home-hero-copy > * {
    opacity: 0;
    transform: translateY(18px);
    animation: heroIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.home-hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.home-hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.home-hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.home-hero-copy > *:nth-child(5) { animation-delay: 0.32s; }

@keyframes heroIn {
    to { opacity: 1; transform: none; }
}

.online-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(93, 255, 138, 0.3);
    background: rgba(93, 255, 138, 0.07);
    color: #c9f7d6;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.online-pill #onlinePlayersCount {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: #fff;
}

.online-pill.offline {
    border-color: rgba(255, 92, 108, 0.3);
    background: rgba(255, 92, 108, 0.07);
    color: #ffc2c8;
}

.home-title {
    margin: 1rem 0 0.6rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    display: inline-block; /* the gradient is painted on the box, so the box must be as wide as the text */
    padding-right: 0.06em;
    font-size: clamp(1.8rem, 5.4vw, 4.4rem); /* 9 wide Orbitron letters (~10.6em) must fit the text column */
    line-height: 1;
    letter-spacing: 0.02em;
    color: #4fa8ff;
    background: linear-gradient(100deg, #4fa8ff 0%, #8c7bff 45%, #ffffff 52%, #8c7bff 60%, #6a4bff 100%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards, titleShine 7s ease-in-out 1s infinite;
    filter: drop-shadow(0 8px 30px rgba(106, 75, 255, 0.35));
}

.home-title span {
    -webkit-text-fill-color: transparent;
}

.home-tagline {
    max-width: 540px;
    color: #b8bfd6;
    font-size: 1.08rem;
    line-height: 1.65;
}

/* ----- Join card ----- */
.join-card {
    margin-top: 1.6rem;
    max-width: 560px;
    padding: 0.5rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(20, 27, 52, 0.9), rgba(11, 15, 30, 0.92));
    border: 1px solid var(--h-line);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(79, 168, 255, 0.08);
}

.join-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    padding: 0.25rem;
    border-radius: 13px;
    background: rgba(6, 9, 20, 0.7);
}

.join-tabs button {
    padding: 0.6rem 0.8rem;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--h-muted);
    font: 600 0.88rem 'Roboto', sans-serif;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.join-tabs button:hover {
    color: #fff;
}

.join-tabs button.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(79, 168, 255, 0.28), rgba(106, 75, 255, 0.28));
    box-shadow: inset 0 0 0 1px rgba(122, 140, 255, 0.3);
}

.join-body {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 0.9rem 0.6rem;
    flex-wrap: wrap;
}

.join-field {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.join-field[hidden],
.join-hint[hidden] {
    display: none;
}

.join-field span {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--h-muted);
}

.join-field b {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    color: #fff;
}

.join-ip {
    font-size: 1.3rem !important;
    background: linear-gradient(90deg, #ffffff, #9cc8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.join-copy {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.2rem;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #4fa8ff, #6a4bff);
    color: #fff;
    font: 700 0.92rem 'Roboto', sans-serif;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(106, 75, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.join-copy svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.join-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(106, 75, 255, 0.5);
}

.join-hint {
    padding: 0 0.9rem 0.7rem;
    font-size: 0.82rem;
    color: var(--h-muted);
}

/* ----- Buttons ----- */
.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.home-btn:hover {
    transform: translateY(-2px);
}

.home-btn.primary {
    background: rgba(79, 168, 255, 0.14);
    border-color: rgba(79, 168, 255, 0.45);
}

.home-btn.primary:hover {
    box-shadow: 0 10px 24px rgba(79, 168, 255, 0.25);
}

.home-btn.discord {
    background: #5865f2;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
}

.home-btn.discord:hover {
    box-shadow: 0 12px 26px rgba(88, 101, 242, 0.45);
}

.btn-sub {
    padding: 0.1rem 0.45rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-btn.ghost {
    color: #c9cfe3;
    border-color: rgba(122, 140, 255, 0.25);
}

.home-btn.ghost:hover {
    color: #fff;
    border-color: rgba(140, 123, 255, 0.6);
}

/* ----- Logo art ----- */
.home-hero-art {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
}

.art-logo {
    position: relative;
    width: 62%;
    height: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 18px 40px rgba(106, 75, 255, 0.45));
    animation: logoIn 1s cubic-bezier(0.16, 1, 0.3, 1) both, logoFloat 5s ease-in-out 1s infinite;
}

@keyframes logoIn {
    from { opacity: 0; transform: scale(0.8) rotate(-6deg); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-12px) rotate(1.5deg); }
}

.art-glow {
    position: absolute;
    inset: 22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106, 75, 255, 0.55), rgba(79, 168, 255, 0.15) 55%, transparent 70%);
    filter: blur(20px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    50% { transform: scale(1.12); opacity: 0.75; }
}

.art-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(122, 140, 255, 0.35);
}

.ring-1 {
    inset: 8%;
    animation: ringSpin 40s linear infinite;
}

.ring-2 {
    inset: 0;
    border-style: solid;
    border-color: transparent;
    border-top-color: rgba(79, 227, 240, 0.55);
    border-right-color: rgba(106, 75, 255, 0.35);
    animation: ringSpin 9s linear infinite reverse;
}

@keyframes ringSpin {
    to { transform: rotate(360deg); }
}

/* ----- Game modes ----- */
.home-modes {
    background: linear-gradient(180deg, transparent, rgba(16, 21, 40, 0.6) 30%, transparent);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.mode-card {
    --mode: #4fa8ff;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.3rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(20, 27, 52, 0.8), rgba(11, 15, 30, 0.85));
    border: 1px solid rgba(122, 140, 255, 0.14);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.mode-card.in {
    animation: heroIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i) * 60ms);
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--mode);
    opacity: 0.7;
}

.mode-card::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--mode) 25%, transparent), transparent 70%);
    transition: transform 0.4s ease;
}

.mode-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(180deg, color-mix(in srgb, var(--mode) 12%, #141b34), rgba(11, 15, 30, 0.9));
    border-color: color-mix(in srgb, var(--mode) 55%, transparent);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4), 0 0 26px color-mix(in srgb, var(--mode) 18%, transparent);
}

.mode-card:hover::after {
    transform: scale(1.5);
}

.mode-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--mode) 14%, rgba(6, 9, 20, 0.8));
    border: 1px solid color-mix(in srgb, var(--mode) 35%, transparent);
}

.mode-icon img {
    width: 36px;
    height: 36px;
    image-rendering: pixelated;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mode-card:hover .mode-icon img {
    transform: rotate(-10deg) scale(1.15);
    filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--mode) 55%, transparent));
}

.mode-card h3 {
    position: relative;
    z-index: 1;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    color: #fff;
}

.mode-card p {
    position: relative;
    z-index: 1;
    flex: 1;
    color: #8a93b8;
    font-size: 0.9rem;
    line-height: 1.55;
}

.mode-link {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--mode);
    font: 600 0.85rem 'Roboto', sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.mode-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.mode-link:hover svg {
    transform: translateX(3px);
}

/* ----- Responsive ----- */
@media (max-width: 1000px) {
    .modes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .home-hero {
        padding: 2.5rem 0 3rem;
    }

    .home-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-hero-art {
        order: -1;
        max-width: 240px;
    }

    .home-title {
        font-size: min(10vw, 3.8rem);
    }

    .home-tagline,
    .join-card {
        margin-left: auto;
        margin-right: auto;
    }

    .home-actions {
        justify-content: center;
    }

    .join-body {
        justify-content: center;
    }

    .join-copy {
        margin-left: 0;
    }

    .home-about-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .modes-grid {
        grid-template-columns: 1fr;
    }

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

@media (prefers-reduced-motion: reduce) {
    .home-hero *,
    .home-modes * {
        animation: none !important;
    }

    .home-hero-copy > *,
    .mode-card {
        opacity: 1;
        transform: none;
    }
}

@keyframes titleShine {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: 0% 0; }
}

/* ----- About + live card ----- */
.home-about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: center;
}

.about-eyebrow {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(140, 123, 255, 0.35);
    background: rgba(140, 123, 255, 0.08);
    color: #c4b8ff;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-title {
    margin: 0.9rem 0 0.8rem;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.15;
    color: #fff;
}

.about-title span {
    background: linear-gradient(90deg, #4fa8ff, #8c7bff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-copy > p {
    max-width: 560px;
    color: #b8bfd6;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #8a93b8;
    font-size: 0.97rem;
    line-height: 1.55;
}

.about-list svg {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    padding: 5px;
    border-radius: 8px;
    fill: #fff;
    background: linear-gradient(135deg, #4fa8ff, #6a4bff);
    box-shadow: 0 6px 14px rgba(106, 75, 255, 0.35);
}

.about-list b {
    color: #e6e9f5;
    font-weight: 600;
}

.live-card {
    position: relative;
    padding: 1.4rem;
    border-radius: 22px;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(106, 75, 255, 0.22), transparent 60%),
        linear-gradient(180deg, rgba(20, 27, 52, 0.92), rgba(11, 15, 30, 0.95));
    border: 1px solid rgba(122, 140, 255, 0.22);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.live-card > header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #c9f7d6;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.live-card .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5dff8a;
    animation: livePing 2s infinite;
}

@keyframes livePing {
    0% { box-shadow: 0 0 0 0 rgba(93, 255, 138, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(93, 255, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(93, 255, 138, 0); }
}

.live-top {
    display: block;
    margin-top: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 200, 61, 0.12), rgba(6, 9, 20, 0.6) 60%);
    border: 1px solid rgba(255, 200, 61, 0.3);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.live-top[hidden] {
    display: none;
}

.live-top:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 200, 61, 0.6);
    box-shadow: 0 10px 24px rgba(255, 200, 61, 0.12);
}

.live-top-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffe3a3;
}

.live-top-player {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.live-top-player img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    image-rendering: pixelated;
    box-shadow: 0 0 0 2px rgba(255, 200, 61, 0.5);
}

.live-top-player > span:not(.live-top-crown) {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.live-top-player b {
    color: #fff;
    font-size: 1.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-top-player small {
    font-size: 0.8rem;
    font-weight: 600;
}

.live-top-crown {
    font-size: 1.6rem;
    color: #ffc83d;
    filter: drop-shadow(0 0 8px rgba(255, 200, 61, 0.6));
    animation: crownBounce 2.4s ease-in-out infinite;
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-4px) rotate(-8deg); }
}

@media (max-width: 860px) {
    .home-about-inner {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .about-copy {
        text-align: center;
    }

    .about-copy > p {
        margin-left: auto;
        margin-right: auto;
    }

    .about-list {
        text-align: left;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Live card: Survival and PvP side by side */
.live-card > header {
    flex-wrap: wrap;
}

.live-online {
    margin-left: auto;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    background: rgba(93, 255, 138, 0.1);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: none;
}

.live-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.live-mode {
    --accent: #4fe3f0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, rgba(6, 9, 20, 0.7)), rgba(6, 9, 20, 0.7));
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.live-mode.survival {
    --accent: #5dff8a;
}

.live-mode:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--accent) 60%, transparent);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), 0 0 22px color-mix(in srgb, var(--accent) 15%, transparent);
}

.live-mode-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.live-mode-head img {
    width: 28px;
    height: 28px;
    image-rendering: pixelated;
    transition: transform 0.3s ease;
}

.live-mode:hover .live-mode-head img {
    transform: rotate(-10deg) scale(1.15);
}

.live-mode-head b {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    color: #fff;
}

.live-mode p {
    flex: 1;
    margin: 0;
    color: #8a93b8;
    font-size: 0.88rem;
    line-height: 1.5;
}

.live-mode .live-top {
    flex: 1;
    margin-top: 0;
    padding: 0.65rem 0.7rem;
}

.live-mode .live-top-player img {
    width: 36px;
    height: 36px;
}

.live-mode .live-top-player b {
    font-size: 0.95rem;
}

.live-mode .live-top-player small {
    font-size: 0.74rem;
    color: #8a93b8;
}

.live-mode .live-top-crown {
    font-size: 1.2rem;
}

.live-mode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.8rem;
    border: 0;
    border-radius: 11px;
    background: color-mix(in srgb, var(--accent) 22%, #10162c);
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    color: #fff;
    font: 700 0.88rem 'Roboto', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.live-mode-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.live-mode-btn:hover {
    background: color-mix(in srgb, var(--accent) 38%, #10162c);
}

.live-mode-btn:hover svg {
    transform: translateX(2px);
}

@media (max-width: 520px) {
    .live-modes {
        grid-template-columns: 1fr;
    }
}
