:root {
    --bg-page: #09090b;
    --bg-panel: #111115;
    --bg-panel-2: #16161c;
    --border-subtle: rgba(255, 166, 77, 0.16);
    --border-hover: rgba(255, 122, 24, 0.45);
    --accent: #ff7300;
    --accent-dark: #c94700;
    --accent-soft: #ffaa4c;
    --accent-glow: rgba(255, 115, 0, 0.45);
    --online: #22c55e;
    --text-main: #f4f4f6;
    --text-muted: #9e9eab;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-page);
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    line-height: 1.45;
}

.hidden {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--accent-soft);
    outline-offset: 2px;
}

/* --- PASEK POSTĘPU --- */
.top-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 90;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-soft));
    box-shadow: 0 0 12px var(--accent-glow);
}

/* --- GÓRNA NAWIGACJA --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(11, 11, 14, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 11px;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    color: var(--accent-soft);
    background: rgba(255, 115, 0, 0.12);
}

.auth-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login,
.btn-register {
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 1px;
    padding: 7px 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-login {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-main);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.13);
}

.btn-register {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 115, 0, 0.3);
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 115, 0, 0.55);
}

/* --- HERO --- */
.hero-banner {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-layer {
    position: absolute;
    inset: -28px;
    background-image: var(--bg-img), radial-gradient(circle at 65% 40%, #3a1906 0%, #09090c 75%);
    background-size: cover;
    background-position: center;
    filter: brightness(0.45) contrast(1.1) saturate(1.15);
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.05);
    transition: transform 0.35s ease-out;
    animation: heroBreath 9s ease-in-out infinite alternate;
    z-index: 1;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.62) 55%, rgba(9, 9, 11, 0.35) 100%);
    z-index: 2;
    pointer-events: none;
}

.sparks {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.spark {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    background: var(--accent-soft);
    box-shadow: 0 0 10px var(--accent), 0 0 18px var(--accent-glow);
    animation: sparkUp linear infinite;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 36px 20px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 24px;
}

.hero-kicker {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    color: var(--text-muted);
    margin-bottom: 10px;
    animation: fadeSlide 0.65s ease-out forwards;
}

.hero-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--accent-soft);
    text-shadow: 0 0 22px var(--accent-glow);
    margin-bottom: 6px;
    animation: fadeSlide 0.75s ease-out forwards;
}

.hero-headline {
    font-size: clamp(2.1rem, 4.2vw, 3.15rem);
    font-weight: 700;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
    animation: fadeSlide 0.85s ease-out forwards;
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    animation: fadeSlide 0.95s ease-out forwards;
}

.meta-block span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.meta-block strong {
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 1px;
}

.meta-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.14);
}

.dl-group {
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeSlide 1s ease-out forwards;
}

.btn-dl-main {
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    padding: 12px 18px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 115, 0, 0.35);
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-dl-main::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-22deg);
    animation: shineSweep 4s ease-in-out infinite;
}

.btn-dl-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 115, 0, 0.65);
}

.btn-dl-main span {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.6px;
}

.btn-dl-main small {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.85);
}

.dl-sub-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-dl-sub {
    text-decoration: none;
    background: rgba(18, 18, 23, 0.9);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-dl-sub:hover {
    border-color: var(--border-hover);
    color: var(--accent-soft);
    transform: translateY(-1px);
}

.hero-right {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 360px;
}

.hero-char {
    position: relative;
    z-index: 2;
    max-height: 390px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.85));
    animation: charFloat 4.5s ease-in-out infinite;
}

/* --- GŁÓWNA ZAWARTOŚĆ --- */
.page-body {
    max-width: 1220px;
    margin: 0 auto;
    padding: 20px 20px 56px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.panel-box:hover {
    border-color: var(--border-hover);
}

/* --- PASEK STARTU --- */
.start-strip {
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.mini-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.start-date {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.start-date strong {
    font-size: 1.35rem;
    color: #fff;
}

.start-date span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-soft);
}

.countdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cd-cell {
    background: var(--bg-panel-2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 6px 11px;
    min-width: 52px;
    text-align: center;
}

.cd-cell strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1.1;
    color: var(--accent-soft);
}

.cd-cell span {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* --- KAFELKI SPOŁECZNOŚCI --- */
.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.social-card {
    text-decoration: none;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-card:hover {
    transform: translateY(-2px);
}

.social-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    flex-shrink: 0;
}

.social-card strong {
    display: block;
    font-size: 0.98rem;
    color: #fff;
}

.social-card small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- KANAŁY --- */
.channels-box {
    padding: 16px 20px;
}

.channels-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.channels-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.channels-badge {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    padding: 5px 10px;
    border-radius: 4px;
    color: var(--accent-soft);
    background: rgba(255, 115, 0, 0.12);
}

.ch-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.ch-card {
    background: var(--bg-panel-2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 10px 12px;
    text-align: center;
}

.ch-name {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.ch-state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.ch-state.is-on {
    color: var(--online);
}

.ch-state.is-on i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--online);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    display: inline-block;
}

.ch-state.is-off {
    color: #f87171;
}

/* --- DWIE KOLUMNY --- */
.two-col {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 16px;
    align-items: start;
}

.col-left,
.col-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.col-header {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.col-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.col-pill {
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    background: var(--bg-panel-2);
    color: var(--text-muted);
}

/* --- OGŁOSZENIA --- */
.news-card {
    padding: 18px 20px;
}

.news-hero-banner {
    background: linear-gradient(135deg, rgba(255, 115, 0, 0.18) 0%, rgba(16, 16, 22, 0.96) 75%);
    border: 1px solid rgba(255, 145, 55, 0.25);
    border-radius: 5px;
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 16px;
}

.news-banner-brand {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2.5px;
    color: var(--accent-soft);
    margin-bottom: 4px;
}

.news-hero-banner h3 {
    font-size: 1.45rem;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 4px;
}

.news-hero-banner p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.news-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: var(--accent-soft);
    margin-bottom: 5px;
}

.news-title {
    font-size: 1.18rem;
    color: #fff;
    margin-bottom: 6px;
}

.news-excerpt {
    font-size: 0.94rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-more {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--accent-soft);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.news-more:hover {
    color: #fff;
    transform: translateX(3px);
}

/* --- RANKING --- */
.rank-switch {
    display: flex;
    gap: 4px;
    background: var(--bg-panel-2);
    padding: 3px;
    border-radius: 4px;
}

.rank-tab {
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 3px;
    transition: background 0.2s ease, color 0.2s ease;
}

.rank-tab.active {
    background: rgba(255, 115, 0, 0.2);
    color: var(--accent-soft);
}

.rank-card {
    padding: 12px 14px;
    overflow-x: auto;
}

.rank-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.rank-table th {
    text-align: left;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rank-table td {
    padding: 8px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.rank-table tr:last-child td {
    border-bottom: none;
}

.rank-table .pos {
    font-weight: 700;
    color: var(--accent-soft);
}

.rank-table .name {
    font-weight: 700;
    color: #fff;
}

.rank-table .muted {
    color: var(--text-muted);
}

.rank-table .lvl {
    font-weight: 700;
    color: var(--text-main);
}

.rank-table .king {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--accent-soft);
}

/* --- MODAL LOGOWANIA --- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(4, 4, 6, 0.84);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #121216;
    border: 1px solid rgba(255, 130, 35, 0.26);
    border-top: 2px solid var(--accent);
    border-radius: 8px;
    padding: 28px 26px 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), 0 0 36px rgba(255, 115, 0, 0.14);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.modal-backdrop.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.modal-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.modal-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.m-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.m-field label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.label-row span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.m-field input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #18181f;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
}

.m-field input:focus {
    outline: none;
    border-color: var(--accent);
}

.pass-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.pass-wrap input {
    padding-right: 40px;
}

.eye-btn {
    position: absolute;
    right: 8px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 4px;
}

.eye-btn:hover {
    color: #fff;
}

.m-hint {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.modal-submit {
    width: 100%;
    margin-top: 6px;
    border: none;
    cursor: pointer;
    padding: 11px 16px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.8px;
    box-shadow: 0 6px 20px rgba(255, 115, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(255, 115, 0, 0.55);
}

.modal-msg {
    margin-top: 10px;
    font-size: 0.85rem;
    text-align: center;
    min-height: 18px;
}

.modal-msg.ok {
    color: var(--accent-soft);
}

.modal-msg.err {
    color: #f87171;
}

.modal-links {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
}

.m-link-muted {
    text-decoration: none;
    color: var(--text-muted);
}

.m-link-muted:hover {
    color: #fff;
}

.modal-bottom {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.modal-bottom a {
    text-decoration: none;
    color: var(--accent-soft);
    font-weight: 700;
}

.modal-bottom a:hover {
    color: #fff;
}

/* --- STOPKA & TOAST --- */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: #070709;
}

.site-footer strong {
    color: var(--accent-soft);
}

.toast {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 120;
    background: #15151c;
    border: 1px solid var(--border-hover);
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- REVEAL & ANIMACJE --- */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroBreath {
    from { filter: brightness(0.42) contrast(1.08) saturate(1.1); }
    to { filter: brightness(0.52) contrast(1.14) saturate(1.22); }
}

@keyframes charFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes sparkUp {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(14px, -220px, 0) scale(1.2); }
    100% { transform: translate3d(-10px, -460px, 0) scale(0.7); }
}

@keyframes shineSweep {
    0%, 74%, 100% { left: -120%; }
    90% { left: 150%; }
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 1024px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ch-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dl-group {
        width: 100%;
    }

    .hero-right {
        min-height: 220px;
    }

    .hero-char {
        max-height: 240px;
    }

    .main-nav {
        display: none;
    }
}

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

    .start-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .countdown {
        flex-wrap: wrap;
    }

    .modal-card {
        padding: 24px 18px 20px;
    }
}