/* ============================================================
   RUST BYCOBRA — thème rouge / noir (comme le logo)
   ============================================================ */
:root {
  --bg: #0e0a0a;
  --bg-2: #140e0e;
  --panel: #191213;
  --panel-2: #221819;
  --line: #33242500;
  --border: #33282a;
  --text: #f1e9e5;
  --muted: #9d8c88;
  --red: #e3261c;
  --red-2: #ff4636;
  --red-dark: #7d120d;
  --green: #3ecf6e;
  --orange: #f2a33a;
  --blue: #4aa8ff;
  --radius: 14px;
  --font-title: 'Bebas Neue', Impact, sans-serif;
  --font: 'Barlow', system-ui, -apple-system, Segoe UI, sans-serif;
  --side: 232px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background:
    radial-gradient(1200px 600px at 85% -10%, #3a0d0a55, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, #2a0a0855, transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; letter-spacing: .04em; margin: 0; }
h1 { font-size: 2.3rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
.muted { color: var(--muted); }
.error { color: var(--red-2); min-height: 1.2em; }
[hidden] { display: none !important; }

/* ---------- Boutons / champs ---------- */
.btn {
  font: 600 14px var(--font);
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  padding: 9px 14px;
  cursor: pointer;
  transition: transform .08s, background .15s, border-color .15s;
}
.btn:hover { border-color: #5a3f40; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-primary { background: linear-gradient(180deg, var(--red), #b51810); border-color: #ff5a4a55; color: #fff; }
.btn-primary:hover { background: linear-gradient(180deg, var(--red-2), var(--red)); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-danger { color: var(--red-2); }
.btn-big { width: 100%; padding: 13px; font-size: 16px; }
.btn-sm { padding: 5px 10px; font-size: 13px; }

input, select, textarea {
  font: 500 15px var(--font);
  width: 100%;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}
input:focus, select:focus { border-color: var(--red); box-shadow: 0 0 0 3px #e3261c33; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 13px; color: var(--muted); }

/* ---------- Connexion ---------- */
.login-page {
  display: grid; place-items: center; padding: 20px;
  background: linear-gradient(#0e0a0acc, #0e0a0af2), url('/img/bg.jpg') center/cover fixed;
}
.login-card {
  width: 100%; max-width: 400px;
  background: #191213e6; border: 1px solid var(--border); border-radius: 20px;
  padding: 28px 24px; text-align: center; backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px #000a;
}
.login-logo { width: 170px; height: 170px; border-radius: 18px; margin-top: -90px; box-shadow: 0 16px 40px #000c; }
.login-card form { display: grid; gap: 14px; text-align: left; margin-top: 20px; }

/* ---------- Structure ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--side);
  background: #120c0dee; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 18px 12px; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 4px 8px 18px; }
.brand img { width: 46px; height: 46px; border-radius: 10px; }
.brand span { font-family: var(--font-title); font-size: 1.6rem; letter-spacing: .05em; line-height: 1; }
.brand b, .topbar b { color: var(--red); font-weight: 400; }
.nav { display: grid; gap: 4px; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 600;
  border: 1px solid transparent;
}
.nav a i { font-style: normal; width: 20px; text-align: center; font-size: 17px; }
.nav a:hover { color: var(--text); background: var(--panel); }
.nav a.active { color: #fff; background: linear-gradient(90deg, #e3261c33, transparent); border-color: #e3261c44; }
.nav a.active i { color: var(--red); }
.side-foot { margin-top: auto; display: grid; gap: 10px; padding: 8px; }
.me { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.conn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.conn .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.conn.ok .dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
.conn.ko .dot { background: var(--red); box-shadow: 0 0 10px var(--red); }

.topbar { display: none; }
.main { margin-left: var(--side); padding: 26px clamp(16px, 3vw, 36px) 40px; max-width: 1400px; }
.loading { padding: 60px; text-align: center; color: var(--muted); }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head p { margin: 2px 0 0; }

/* ---------- Cartes / grilles ---------- */
.grid { display: grid; gap: 14px; }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.span-2 { grid-column: span 2; }
.card {
  background: linear-gradient(180deg, var(--panel), #151011);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; min-width: 0;
}
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; }
.card-head h3 { color: #fff; }
.card-head .muted { font-size: 13px; }

.stat .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stat .value { font-family: var(--font-title); font-size: 2.4rem; line-height: 1.05; margin-top: 4px; }
.stat .sub { font-size: 13px; color: var(--muted); }
.stat .value small { font-size: 1.2rem; color: var(--muted); }
.bar { height: 6px; background: #2a1e1f; border-radius: 4px; overflow: hidden; margin-top: 8px; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--red-dark), var(--red)); }

.hero {
  position: relative; overflow: hidden;
  display: flex; gap: 18px; align-items: center;
  background: linear-gradient(100deg, #1d1112 30%, #1d111200), url('/img/bg.jpg') right center/cover;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 14px;
}
.hero img { width: 92px; height: 92px; border-radius: 14px; flex: none; box-shadow: 0 10px 30px #000a; }
.hero h1 { font-size: 1.9rem; line-height: 1.05; }
.hero .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #2a1e1f; color: var(--muted); border: 1px solid var(--border); white-space: nowrap; }
.tag.red { background: #e3261c22; color: var(--red-2); border-color: #e3261c55; }
.tag.green { background: #3ecf6e1c; color: var(--green); border-color: #3ecf6e44; }
.tag.orange { background: #f2a33a1c; color: var(--orange); border-color: #f2a33a44; }

/* ---------- Squad ---------- */
.members { display: grid; gap: 8px; }
.member { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); }
.avatar { width: 42px; height: 42px; border-radius: 10px; flex: none; display: grid; place-items: center; font-family: var(--font-title); font-size: 1.3rem; background: #2a1e1f; color: var(--muted); object-fit: cover; position: relative; }
.member.online .avatar { box-shadow: 0 0 0 2px var(--green); color: var(--text); }
.member.dead .avatar { box-shadow: 0 0 0 2px var(--red); }
.member .info { flex: 1; min-width: 0; }
.member .name { font-weight: 700; display: flex; gap: 6px; align-items: center; }
.member .name .crown { color: var(--orange); font-size: 13px; }
.member .meta { font-size: 13px; color: var(--muted); }
.member .grid-pos { font-family: var(--font-title); font-size: 1.5rem; color: #fff; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 8px; border-bottom: 1px solid var(--border); }
td { padding: 10px 8px; border-bottom: 1px solid #261c1d; }
tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }

/* ---------- Bases ---------- */
.base-block { margin-bottom: 22px; }
.base-title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.base-title h2 { font-size: 1.5rem; }
.devices { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.device { position: relative; }
.device .kind { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.device .dname { font-weight: 700; font-size: 16px; margin: 2px 0 8px; }
.device.alarm.on { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 30px #e3261c55; animation: pulse 1.2s infinite; }
.device.missing { opacity: .6; }
@keyframes pulse { 50% { box-shadow: 0 0 0 1px var(--red), 0 0 6px #e3261c22; } }
.device .tools { position: absolute; top: 10px; right: 10px; display: flex; gap: 2px; }

.switch { position: relative; width: 58px; height: 32px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #2a1e1f; border-radius: 99px; border: 1px solid var(--border); cursor: pointer; transition: .2s; }
.switch span::before { content: ''; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; border-radius: 50%; background: #6d5d5a; transition: .2s; }
.switch input:checked + span { background: #3ecf6e33; border-color: var(--green); }
.switch input:checked + span::before { transform: translateX(26px); background: var(--green); }
.switch input:disabled + span { opacity: .5; cursor: default; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.items { display: grid; gap: 4px; margin-top: 8px; font-size: 13px; }
.items div { display: flex; justify-content: space-between; padding: 4px 8px; background: var(--bg-2); border-radius: 6px; }
.upkeep { font-family: var(--font-title); font-size: 1.8rem; line-height: 1; }
.upkeep.low { color: var(--red-2); }
.upkeep.mid { color: var(--orange); }
.upkeep.ok { color: var(--green); }

/* ---------- Carte ---------- */
.map-wrap { position: relative; width: 100%; max-width: 900px; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #1c3a4e; margin: 0 auto; }
.map-wrap img { width: 100%; height: 100%; display: block; }
.map-wrap .grid-overlay { position: absolute; pointer-events: none; }
.marker { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; pointer-events: auto; }
.marker .pin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px #0008, 0 2px 6px #000; }
.marker .lbl { margin-top: 3px; font-size: 11px; font-weight: 700; background: #000b; padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.marker.player .pin { background: var(--green); }
.marker.player.offline .pin { background: #777; }
.marker.player.dead .pin { background: var(--red); }
.marker.mk-ev .pin { width: 26px; height: 26px; flex: none; overflow: hidden; line-height: 1; background: #000c; border-color: var(--orange); display: grid; place-items: center; font-size: 13px; }
.marker.mon .lbl { background: transparent; color: #fffc; text-shadow: 0 1px 3px #000; font-weight: 600; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---------- Events ---------- */
.timeline { display: grid; gap: 6px; }
.ev { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; }
.ev .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #2a1e1f; font-size: 16px; }
.ev.raid { border-color: #e3261c88; background: #e3261c14; }
.ev.raid .ico { background: var(--red); }
.ev.death .ico { background: #4a1210; }
.ev.event .ico { background: #4a3210; }
.ev.squad .ico { background: #12391f; }
.ev .t { font-weight: 700; }
.ev .d { font-size: 13px; color: var(--muted); }
.ev time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters .btn.active { border-color: var(--red); color: #fff; background: #e3261c22; }

/* ---------- Chat ---------- */
.chat { display: flex; flex-direction: column; height: calc(100vh - 200px); min-height: 380px; }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px; }
.msg { max-width: 80%; padding: 8px 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--border); }
.msg .who { font-weight: 700; font-size: 13px; color: var(--red-2); }
.msg .when { font-size: 11px; color: var(--muted); margin-left: 6px; font-weight: 500; }
.msg.site { align-self: flex-end; background: #e3261c22; border-color: #e3261c44; }
.chat form { display: flex; gap: 8px; margin-top: 10px; }

/* ---------- Réglages ---------- */
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #261c1d; }
.setting:last-child { border-bottom: 0; }
.setting .muted { font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.steps b { color: var(--text); }
.empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.empty b { color: var(--text); display: block; font-size: 16px; margin-bottom: 4px; }

/* ---------- Alerte raid / toast ---------- */
.raid-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: linear-gradient(90deg, #b5100a, var(--red)); color: #fff;
  font-size: 16px; box-shadow: 0 10px 40px #e3261c88; animation: flash .8s infinite alternate;
}
.raid-banner > span { font-size: 26px; }
.raid-banner div { flex: 1; }
@keyframes flash { to { background: linear-gradient(90deg, #7d0c08, #b5100a); } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 90; background: #261c1d; border: 1px solid var(--border); padding: 10px 16px; border-radius: 10px; box-shadow: 0 10px 30px #000a; font-weight: 600; max-width: 90vw; }

/* ============================================================
   MOBILE : barre en bas comme une vraie appli
   ============================================================ */
@media (max-width: 1100px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --side: 0px; }
  .sidebar {
    inset: auto 0 0 0; width: 100%; height: auto; flex-direction: row;
    padding: 6px 4px calc(6px + var(--safe-b)); border-right: 0; border-top: 1px solid var(--border);
    background: #120c0df5; backdrop-filter: blur(10px);
  }
  .brand, .side-foot { display: none; }
  .nav { grid-template-columns: repeat(7, 1fr); width: 100%; gap: 0; }
  .nav a { flex-direction: column; gap: 2px; padding: 6px 2px; font-size: 10px; justify-content: center; }
  .nav a i { font-size: 18px; }
  .nav a.active { background: transparent; border-color: transparent; color: var(--red-2); }
  .topbar {
    display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 15;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; background: #0e0a0aee; backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .topbar img { width: 34px; height: 34px; border-radius: 8px; }
  .topbar-title { font-family: var(--font-title); font-size: 1.5rem; letter-spacing: .05em; flex: 1; }
  .main { padding: 16px 14px calc(90px + var(--safe-b)); }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .hero img { width: 64px; height: 64px; }
  .hero h1 { font-size: 1.5rem; }
  .stat .value { font-size: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .chat { height: calc(100vh - 230px); }
  .msg { max-width: 92%; }
}

/* ============================================================
   CONNEXION DISCORD + ÉCRAN DE VÉRIFICATION + ACCÈS REFUSÉ
   ============================================================ */
.small { font-size: 12px; }
.btn-discord {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  background: #5865f2; border-color: #7983f5; color: #fff;
}
.btn-discord:hover { background: #4752c4; }
.login-card .btn-discord { margin: 22px 0 6px; }

/* Écran plein avec logo qui "scanne" */
.gate {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: radial-gradient(600px 400px at 50% 40%, #3a0d0a88, transparent 70%), var(--bg);
  animation: fadein .3s ease;
}
.gate-logo { position: relative; width: 150px; height: 150px; }
.gate-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; animation: breathe 1.6s ease-in-out infinite; }
.gate-logo .ring {
  position: absolute; inset: -12px; border-radius: 50%;
  border: 3px solid transparent; border-top-color: var(--red); border-right-color: #e3261c55;
  animation: spin .9s linear infinite; filter: drop-shadow(0 0 8px var(--red));
}
.gate-logo .scan {
  position: absolute; left: 0; right: 0; height: 3px; top: 0; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--red-2), transparent);
  box-shadow: 0 0 14px var(--red); animation: scan 1.4s ease-in-out infinite;
}
.gate-text { font-family: var(--font-title); font-size: 1.6rem; letter-spacing: .08em; min-height: 1.6em; text-align: center; padding: 0 20px; }
.gate-bar { width: min(320px, 80vw); height: 5px; background: #2a1e1f; border-radius: 4px; overflow: hidden; }
.gate-bar span { display: block; height: 100%; width: 5%; background: linear-gradient(90deg, var(--red-dark), var(--red-2)); transition: width .8s ease; box-shadow: 0 0 10px var(--red); }
.gate-bar span.ko { background: var(--red-2); }
.gate-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-weight: 600; color: #5d4f4c; }
.gate-steps li { display: flex; align-items: center; gap: 10px; transition: color .3s; }
.gate-steps li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: 11px; }
.gate-steps li.run { color: var(--text); }
.gate-steps li.run::before { border-color: var(--red) transparent var(--red) transparent; animation: spin .7s linear infinite; }
.gate-steps li.ok { color: var(--green); }
.gate-steps li.ok::before { content: '✓'; background: var(--green); border-color: var(--green); color: #000; }
.gate-steps li.ko { color: var(--red-2); }
.gate-steps li.ko::before { content: '✕'; background: var(--red); border-color: var(--red); color: #fff; }
.gate.fail .ring { border-color: var(--red); animation: none; }
.gate.fail .gate-logo { animation: shake .45s; }
.gate.fail .gate-logo img { filter: grayscale(.6) brightness(.7); animation: none; }
.gate.out { animation: fadeout .4s forwards; }

/* Page accès refusé */
.refuse-page { min-height: 100vh; display: grid; place-items: center; overflow: hidden; }
.scanlines { position: fixed; inset: 0; pointer-events: none; z-index: 300; background: repeating-linear-gradient(0deg, #0000 0 2px, #0000001f 2px 3px); }
.denied { text-align: center; padding: 24px; max-width: 560px; animation: rise .6s cubic-bezier(.2,.9,.3,1.2); }
.denied-logo { position: relative; width: 130px; height: 130px; margin: 0 auto 18px; }
.denied-logo img { width: 100%; height: 100%; border-radius: 50%; filter: grayscale(.7) brightness(.6); box-shadow: 0 0 0 3px var(--red), 0 0 60px #e3261c66; }
.denied-logo .lock { position: absolute; right: -6px; bottom: -6px; width: 48px; height: 48px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 22px; box-shadow: 0 6px 20px #000a; animation: pop .5s .3s both; }
.glitch { position: relative; font-size: clamp(3rem, 12vw, 5.5rem); line-height: .95; color: #fff; letter-spacing: .06em; text-shadow: 0 0 30px #e3261c88; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; overflow: hidden; }
.glitch::before { color: var(--red-2); transform: translate(-3px, 0); clip-path: inset(0 0 60% 0); animation: glitch1 2.4s infinite steps(1); }
.glitch::after { color: #5be0ff; transform: translate(3px, 0); clip-path: inset(55% 0 0 0); animation: glitch2 2.4s infinite steps(1); opacity: .7; }
.denied-lead { font-size: 1.25rem; font-weight: 700; margin: 12px 0 4px; }
.denied-why { color: var(--muted); margin: 0 0 22px; }
.denied-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.denied-actions .btn { text-decoration: none; padding: 11px 16px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(.96); filter: brightness(1.15); } }
@keyframes scan { 0% { top: 4%; } 50% { top: 94%; } 100% { top: 4%; } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes fadein { from { opacity: 0; } }
@keyframes fadeout { to { opacity: 0; visibility: hidden; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes pop { from { transform: scale(0); } }
@keyframes glitch1 { 0%, 88%, 100% { transform: translate(0); clip-path: inset(0 0 100% 0); } 90% { transform: translate(-4px, 1px); clip-path: inset(10% 0 55% 0); } 94% { transform: translate(3px, -1px); clip-path: inset(40% 0 30% 0); } }
@keyframes glitch2 { 0%, 86%, 100% { transform: translate(0); clip-path: inset(100% 0 0 0); } 89% { transform: translate(4px, -1px); clip-path: inset(60% 0 10% 0); } 93% { transform: translate(-3px, 1px); clip-path: inset(20% 0 60% 0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; } }
