@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
    --bg-dark: #070a12;
    --bg-card: rgba(10, 15, 26, 0.45);
    --bg-card-border: rgba(255, 255, 255, 0.1);
    --accent-gold: #f39c12;
    --accent-gold-glow: rgba(243, 156, 18, 0.4);
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;
    --accent-green: #22c55e;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-dark);
    background-image: linear-gradient(to bottom, rgba(7, 10, 18, 0.65), rgba(7, 10, 18, 0.8)), url('zdjecia/bd496b50-2c81-4390-ac2b-9b909482ff88.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* SIDEBAR & NAWIGACJA */
.sidebar {
    width: 280px;
    background: rgba(8, 12, 22, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-right: 1px solid var(--bg-card-border);
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    height: 100vh;
    z-index: 100;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.6);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bg-card-border);
}

.sidebar-header img {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-header:hover img {
    transform: scale(1.15) rotate(6deg);
}

.sidebar-title-group h1 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-title-group span {
    font-size: 11px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-shadow: 0 0 10px var(--accent-gold-glow);
}

.nav-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-section-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 700;
    margin: 10px 0 5px 10px;
    opacity: 0.7;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-item i {
    width: 18px;
    text-align: center;
    font-size: 15px;
    transition: transform 0.3s ease;
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(6px);
}

.nav-item:hover i {
    transform: scale(1.25);
    color: var(--accent-gold);
}

.nav-item.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(243, 156, 18, 0.25) 0%, rgba(243, 156, 18, 0.05) 100%);
    border-left: 3px solid var(--accent-gold);
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.15);
}

/* MAIN CONTENT & TOP BAR */
.main-wrapper {
    margin-left: 280px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-bar {
    height: 70px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 12, 22, 0.5);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--bg-card-border);
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-secondary);
}

.breadcrumbs span {
    color: var(--text-primary);
    font-weight: 700;
}

.badge-tag {
    background: rgba(243, 156, 18, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(243, 156, 18, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    animation: pulseBadge 3s infinite alternate;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px 6px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.user-chip img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.logout-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 4px;
    transition: color 0.2s ease;
}

.logout-link:hover {
    color: var(--accent-gold);
}

.content-container {
    padding: 35px 40px;
    flex-grow: 1;
}

/* SIATKA 2 KOLUMNY OBOK SIEBIE */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

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

/* KARUZELA BANEROWA (SLIDER CO 3 SEKUNDY) */
.hero-carousel-container {
    width: 100%;
    height: 400px;
    position: relative;
    background: #05080e;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--bg-card-border);
    margin-bottom: 30px;
}

.hero-carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fade {
    animation-name: carouselFade;
    animation-duration: 1s;
}

@keyframes carouselFade {
    from { opacity: 0.3; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 10, 18, 0.9) 0%, rgba(7, 10, 18, 0.2) 60%, rgba(7, 10, 18, 0.3) 100%);
    z-index: 2;
}

.hero-caption {
    position: absolute;
    bottom: 25px;
    left: 30px;
    z-index: 3;
}

.hero-caption h2 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.hero-caption p {
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    right: 30px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.dot.active {
    background: var(--accent-gold);
    width: 28px;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--accent-gold);
}

/* JEDNOLITE, PRZEZROCZYSTE KARTY */
.card {
    background: var(--bg-card) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-card-border);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 25px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-4px);
    background: rgba(10, 15, 26, 0.6) !important;
    border-color: rgba(243, 156, 18, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(243, 156, 18, 0.12);
}

.card-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.card-title i {
    animation: iconPulse 2.5s infinite alternate;
}

/* TABELE */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: 10px;
}

th {
    padding: 14px 18px;
    text-align: left;
    background: rgba(243, 156, 18, 0.12);
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

th:first-child { border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
th:last-child { border-top-right-radius: 12px; border-bottom-right-radius: 12px; }

td {
    padding: 16px 20px;
    text-align: left;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    font-weight: 700;
}

td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

tr:hover td {
    background: rgba(243, 156, 18, 0.12);
    border-color: rgba(243, 156, 18, 0.3);
}

/* WYPOSAŻENIE */
.equipment-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eq-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 22px;
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInEq 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--delay) * 0.12s);
}

.eq-item:hover {
    background: rgba(243, 156, 18, 0.12);
    border-color: rgba(243, 156, 18, 0.3);
    transform: translateX(6px);
}

.eq-icon-box {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.eq-item:hover .eq-icon-box {
    transform: scale(1.15) rotate(6deg);
}

.eq-icon-box.orange { color: #f39c12; background: rgba(243, 156, 18, 0.2); }
.eq-icon-box.red { color: #ef4444; background: rgba(239, 68, 68, 0.2); }
.eq-icon-box.yellow { color: #f1c40f; background: rgba(241, 196, 15, 0.2); }
.eq-icon-box.grey { color: #95a5a6; background: rgba(149, 165, 166, 0.2); }
.eq-icon-box.white { color: #ecf0f1; background: rgba(236, 240, 241, 0.2); }
.eq-icon-box.blue { color: #3498db; background: rgba(52, 152, 219, 0.2); }

.eq-text { font-size: 14px; color: var(--text-primary); }
.eq-text strong { font-weight: 700; color: #fff; }
.eq-text span { color: var(--text-secondary); font-weight: 600; }

/* LISTY STYLIZOWANE */
.styled-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.styled-list li {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.styled-list li:hover {
    background: rgba(243, 156, 18, 0.12);
    border-color: rgba(243, 156, 18, 0.3);
    transform: translateX(6px);
}

footer {
    padding: 20px 40px;
    border-top: 1px solid var(--bg-card-border);
    background: rgba(8, 12, 22, 0.7);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ANIMACJE */
@keyframes slideInEq {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes iconPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px var(--accent-gold-glow)); }
    100% { transform: scale(1.18); filter: drop-shadow(0 0 12px var(--accent-gold)); }
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 10px rgba(243, 156, 18, 0.1); }
    100% { box-shadow: 0 0 20px rgba(243, 156, 18, 0.4); }
}
.author-tag {
    margin-left: auto;
    text-align: right;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.author-tag span {
    font-weight: 800;
    color: var(--accent-gold, #f39c12);
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.4);
    letter-spacing: 1.5px;
}
/* STYL DLA BY SKOONEK */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;800&display=swap');

.author-tag {
    margin-left: auto;
    text-align: right;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.author-tag span {
    font-weight: 800;
    color: #f39c12;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
    letter-spacing: 1.5px;
}
/* STYL DLA GIFA W STOPCE */
.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-gif {
    height: 24px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.sidebar-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(243, 156, 18, 0.4));
}

.sidebar-logo {
    font-size: 28px;
    color: var(--accent-gold);
}

/* SPA — sekcje */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* Flota / manewry */
.fleet-grid,
.tactics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.car-card,
.tactic-card {
    background: rgba(15, 21, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.car-card:hover,
.tactic-card:hover {
    transform: translateY(-6px);
    border-color: rgba(243, 156, 18, 0.4);
    box-shadow: 0 15px 35px rgba(243, 156, 18, 0.15);
}

.car-img-container,
.tactic-img-container {
    width: 100%;
    height: 230px;
    position: relative;
    background: #05080e;
    overflow: hidden;
}

.tactic-img-container {
    height: 220px;
}

.car-img-container img,
.tactic-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-img-container img,
.tactic-card:hover .tactic-img-container img {
    transform: scale(1.05);
}

.car-img-overlay,
.tactic-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 21, 35, 1) 0%, transparent 100%);
}

.car-body,
.tactic-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.car-title,
.tactic-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.tactic-title {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.car-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.badge-unit {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.car-desc,
.tactic-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 1;
}

.tactic-desc {
    line-height: 1.6;
}

.car-card-vip {
    grid-column: 1 / -1;
    border: 1px solid rgba(243, 156, 18, 0.3);
    background: linear-gradient(135deg, rgba(21, 29, 46, 0.9) 0%, rgba(15, 21, 35, 0.95) 100%);
}

.car-card-vip .car-img-container {
    height: 380px;
}

.fallback-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-secondary);
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.02) 10px,
        rgba(0, 0, 0, 0.2) 10px,
        rgba(0, 0, 0, 0.2) 20px
    );
}

/* ===== AUTH GATE ===== */
body.auth-pending .app-shell,
body.locked .app-shell { display: none !important; }
body.unlocked .auth-gate { display: none !important; }
body.locked,
body.auth-pending {
    display: block;
    overflow: hidden;
}

.auth-gate [hidden] {
    display: none !important;
}

.auth-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 48px clamp(24px, 6vw, 80px);
    background: #0a1018;
}

.login-bg {
    position: absolute;
    inset: -12px;
    background: url('zdjecia/porsche.jpg') center / cover no-repeat;
    filter: blur(3px) saturate(1.08) brightness(0.78);
    transform: scale(1.04);
    animation: drift 22s ease-in-out infinite alternate;
}

.login-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            105deg,
            rgba(7, 10, 18, 0.72) 0%,
            rgba(7, 10, 18, 0.38) 42%,
            rgba(7, 10, 18, 0.22) 70%,
            rgba(7, 10, 18, 0.35) 100%
        ),
        radial-gradient(ellipse at 78% 40%, rgba(243, 156, 18, 0.1), transparent 52%);
}

.login-stage {
    position: relative;
    z-index: 2;
    width: min(460px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    animation: rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.login-crest {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 10px 26px rgba(243, 156, 18, 0.45));
    animation: crestIn 0.95s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.login-brand-text {
    display: grid;
    gap: 4px;
    text-align: left;
}

.login-eyebrow {
    font-size: 11px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: #f39c12;
    font-weight: 800;
}

.login-brand h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(70px, 12vw, 100px);
    line-height: 0.84;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.login-sub {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.7);
}

.login-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    max-width: 380px;
    padding: 22px 22px 20px;
    border-radius: 18px;
    background: rgba(12, 16, 28, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: rise 0.85s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.login-lead {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.9);
    max-width: none;
    text-align: center;
}

.login-lead strong {
    color: #f39c12;
    font-weight: 800;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    width: 100%;
    padding: 6px 18px 6px 6px;
    border-radius: 14px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.discord-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: transparent;
    font-size: 20px;
    color: #fff;
}

.discord-btn-label {
    padding-right: 6px;
}

.discord-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
}

.discord-btn:active {
    transform: translateY(0);
}

.discord-btn.secondary {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.discord-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.discord-btn.secondary .discord-btn-icon {
    background: rgba(255, 255, 255, 0.08);
}

.denied-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.login-error {
    width: 100%;
    padding: 11px 13px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
    font-size: 12.5px;
    font-weight: 600;
}

.login-hint {
    font-size: 12px;
    color: rgba(148, 163, 184, 0.88);
    line-height: 1.45;
    text-align: center;
    width: 100%;
}

@keyframes drift {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to { transform: scale(1.07) translate3d(-1%, -0.6%, 0); }
}

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

@keyframes crestIn {
    from { opacity: 0; transform: scale(0.7) rotate(-8deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (max-width: 640px) {
    .auth-gate {
        place-items: center;
        padding: 28px 18px;
    }

    .login-stage {
        align-items: stretch;
    }

    .login-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .login-brand-text {
        text-align: center;
        justify-items: center;
    }

    .discord-btn {
        width: 100%;
    }
}
