/* RIFT watchlist CSS */

@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

body {
    background-color: #121212;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    /* désactive sélection */
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
}

html, body {
  overflow-x: hidden;
}

.navbar {
    color: #fff;
    background-color: #1f1f1f;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    position: relative;
}

/* Bouton hamburger (caché sur desktop) */
.navbar-toggle{
    display:none;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    font-size:24px;
    line-height:1;
    border:1px solid #333;
    border-radius:8px;
    background:#2a2a2a;
    color:#fff;
    cursor:pointer;
}

.navbar-left h1 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-right button {
    margin-left: 12px;
    padding: 8px 14px;
    font-size: 14px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Effet glow */
.navbar-right button:hover {
    background-color: #444;
    box-shadow:
        0 0 6px rgba(120, 160, 255, 0.6),   /* bleu clair */
        0 0 12px rgba(160, 120, 255, 0.4),  /* violet */
        0 0 20px rgba(120, 160, 255, 0.2);  /* halo large */
    text-shadow: 0 0 6px rgba(200, 180, 255, 0.6);
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 0 6px rgba(120, 160, 255, 0.6),
      0 0 12px rgba(160, 120, 255, 0.4);
  }
  50% {
    box-shadow:
      0 0 10px rgba(160, 120, 255, 0.8),
      0 0 20px rgba(120, 160, 255, 0.6);
  }
}

.navbar-right button:hover {
    background-color: #444;
    animation: glowPulse 1.5s infinite ease-in-out;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}
.navbar a:hover {
    color: #f39c12;
}

/*Boutons Navbar */

.refresh-data-btn {
    background-color: #f39c12; /* Orange */
    color: black;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.refresh-data-btn:hover {
    background-color: #e67e22; /* Orange foncé */
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(255, 165, 0, 0.5);
}

/* Mobile */
@media (max-width: 768px) {

    .navbar { justify-content: space-between; gap: 10px; }
    .navbar-left { flex:1 1 auto; min-width:0; }
    .navbar-left h1 { font-size: clamp(16px, 5vw, 20px); margin-right:8px; }
    .navbar-left span { display:block; font-size:12px; opacity:.8; }

    .navbar-toggle { display:inline-flex; }

    /* Collapsed menu */
    #navbarMenu {
    position:absolute;
    top:100%;
    left:0; right:0;
    background:#1f1f1f;
    border-top:1px solid #333;
    padding:12px;
    display:grid;
    grid-auto-rows:min-content;
    gap:10px;
    max-height:0;
    overflow:hidden;
    opacity:0;
    pointer-events:none;
    transition: max-height .3s ease, opacity .2s ease;
    z-index: 1000;
    }

    /* Open state */
    #navbarMenu.is-open{
    max-height:70vh;
    opacity:1;
    pointer-events:auto;
    }

    /* Boutons plein large en mobile */
    .navbar-right button{
    width:100%;
    margin-left:0;
    }
    /* Switch aligné au début */
    .galaxy-switch{ justify-self:start; }
}

/* moins d’animation en mobile  */
@media (prefers-reduced-motion: reduce) {
  #navbarMenu{ transition:none; }
}

/*******************
    RIFT Header
********************/

/*  desktop + mobile */
.gradient-border {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 4px;
    margin-top: 1px;
    margin-bottom: 10px;
    background:
        linear-gradient(#121212, #121212) padding-box,
        linear-gradient(90deg, #2f7aa1, #8751c0) border-box;
    background-clip: padding-box, border-box;
}

.rift-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    color: rgba(241, 241, 241, 0.788);
    border-radius: 10px;
    background: url('../img/fond_RIFT.png') center/cover no-repeat;
}

.rift-title h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 5.5vw, 3rem);
    margin: 0;
    padding: 0;
    font-weight: bold;
    text-shadow: 1px 1px 4px #000;
}

.rift-legende img,
.rift-logo img {
    max-height: clamp(48px, 12vw, 120px);
    object-fit: contain;
}

/* Popup pour les risques */

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    padding: 1rem;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 0 15px  #a9a6e1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Risk popup-content light mode */
body.light-mode .popup-content {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ccc;
  box-shadow: 0 0 15px #b694f6;
}

.popup-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.close-btn {
    margin-top: 1rem;
    padding: 5px 10px;
    background-color: #a9a6e1;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

/* centrage sur mobile pour Header */
@media (max-width: 768px) {
  .rift-header {
    justify-content: center;
  }
  .rift-logo   { order: 1; }
  .rift-title  { order: 2; width: 100%; text-align: center; }
  .rift-legende{ order: 3; }

  /* un peu plus compact en très petit écran */
  .rift-title h1 { font-size: clamp(1.4rem, 7vw, 2.2rem); }
}


/******************
    Switch Notes
*******************/
/* Container */
.notes-switch{
  display:inline-flex; align-items:center; gap:.6rem; cursor:pointer;
  user-select:none; -webkit-user-select:none;
}

/* On cache la vraie checkbox mais on la garde accessible */
.notes-switch input{
  position:absolute; opacity:0; width:0; height:0;
}

/* Track */
.notes-switch-track{
  position:relative; width:42px; height:24px; flex:0 0 42px;
  border-radius:999px; transition:background-color .2s ease, box-shadow .2s ease;
  background:rgba(255,255,255,.22); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}

/* Knob */
.notes-switch-track::after{
  content:""; position:absolute; top:3px; left:3px;
  width:18px; height:18px; border-radius:50%;
  background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.25);
  transition:transform .2s ease;
}

/* Checked */
.notes-switch input:checked + .notes-switch-track{
  background:#22c55e; /* vert doux */
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.notes-switch input:checked + .notes-switch-track::after{
  transform: translateX(18px);
}

/* Focus visible */
.notes-switch input:focus-visible + .notes-switch-track{
  outline: 2px solid #60a5fa; outline-offset: 2px;
}

/* Label texte */
.notes-switch-label{ font-size:.95rem; opacity:.9; }

/* Hover */
.notes-switch:hover .notes-switch-track{ filter:brightness(1.05); }

/* Désactivé (si jamais tu en as besoin) */
.notes-switch input:disabled + .notes-switch-track{
  filter:grayscale(.3) opacity(.6); cursor:not-allowed;
}

/* Thème clair/sombre si tu as body.light-mode */
body.light-mode .notes-switch-track{
  background:rgba(0,0,0,.1); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
body.light-mode .notes-switch input:checked + .notes-switch-track{
  background:#16a34a;
}


/***********
    CONTENT
*************/

/* Message accueil */
#noDataMessage { display: none; }

.no-data {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 500px;
    border-radius: 10px;
    font-size: 1.1rem;
}

.no-data button {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.no-data button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.container {
    padding: clamp(12px, 3.5vw, 20px);
    padding: 20px;
}

/* Wrap du tableau */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Tableau */
table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    color:   rgb(155, 136, 207);
    background-color: #24242477;
    vertical-align: middle;
    border: 1px solid #534e4e;
    padding: 8px;
    white-space: nowrap;
}

thead th.empty {
    border: none !important;
    background-color: #24242477 !important;
}

thead th.emptyright {
    border: none !important;
    background-color: #24242477 !important;
}

thead th:hover {
    background-color: rgba(44, 44, 44, 0.5);
}

table td {
    vertical-align: middle;
    border: 1px solid #333;
    padding: 8px;
}

table tr:nth-child(odd) {
    background-color: rgba(22, 22, 22, 0.3);
}
table tr:nth-child(even) {
    background-color: rgba(11, 11, 11, 0.25);
}
table tr:hover {
    background-color: rgba(44, 44, 44, 0.5);
}

/* Light mode */
body.light-mode table tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.9); /* presque blanc */
}

body.light-mode table tr:nth-child(even) {
    background-color: rgba(245, 245, 245, 0.9); /* gris très clair */
}

body.light-mode table tr:hover {
    background-color: rgba(207, 226, 243, 0.6); /* bleu clair doux pour hover */
}

/* Light mode : alternance par cellule */
body.light-mode table tbody tr:nth-child(odd) > td { background-color: rgba(255,255,255,0.9); }
body.light-mode table tbody tr:nth-child(even) > td { background-color: rgba(245,245,245,0.9); }
body.light-mode table tbody tr:hover > td           { background-color: rgba(207,226,243,0.6); }

/* Alignement droite FDV, Supports et Resistances */
.align-right {
    text-align: right;
}

/* Alignement centre pour le prix */
.align-center {
    text-align: center;
}

/* checkbox */

/* case par défaut */
input[type="checkbox"][disabled] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #1a1c2c;      /* fond sombre */
    border: 2px solid #7b9dc9;      /* contour bleu/gris */
    width: 22px;
    height: 22px;
    border-radius: 5px;
    position: relative;
    cursor: not-allowed;
    transition: all 0.3s ease;      /* pour des transitions douces */
}

/* case cochée → fond + bordure + glow */
input[type="checkbox"][disabled]:checked {
    background-color: #2a2340;      /* fond violet foncé */
    border-color: #a68bff;          /* bordure violet clair */
    box-shadow:
        0 0 6px rgba(120,160,255,0.8),   /* bleu vif */
        0 0 12px rgba(160,120,255,0.6),  /* violet */
        0 0 18px rgba(200,180,255,0.4);  /* halo large */
}

/* coche ✔ */
input[type="checkbox"][disabled]:checked::after {
    content: "✔";
    color: #c9b6ff;    /* violet clair */
    font-size: 16px;
    font-weight: 700;
    text-shadow:
        0 0 4px rgba(120,160,255,0.8),
        0 0 8px rgba(160,120,255,0.6),
        0 0 12px rgba(200,180,255,0.4);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* hover (même en disabled si tu veux feedback visuel) */
input[type="checkbox"][disabled]:hover {
    background-color: #2a2a40;
    border-color: #9ca8ff;
}

/* checboxes light mode */

/* Case par défaut (non cochée) en light mode */
body.light-mode input[type="checkbox"]:not(:checked) {
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;          /* fond blanc */
    border: 2px solid #888;             /* contour gris */
    width: 18px;
    height: 18px;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Case cochée en light mode */
body.light-mode input[type="checkbox"]:checked {
    background-color: #f5f0ff;          /* blanc cassé/violet très pâle */
    border-color: #8a6dff;              /* contour violet */
    box-shadow:
        0 0 6px rgba(120,160,255,0.6),   /* glow bleu */
        0 0 12px rgba(160,120,255,0.5),  /* glow violet */
        0 0 18px rgba(200,180,255,0.4);  /* halo pâle */
}

/* Coche ✔ en light mode */
body.light-mode input[type="checkbox"]:checked::after {
    content: "✔";
    color: #5a3bcc; /* violet soutenu */
    font-size: 14px;
    font-weight: 700;
    text-shadow:
        0 0 4px rgba(120,160,255,0.7),
        0 0 8px rgba(160,120,255,0.5);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* coin */

.coin-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.coin-price {
  font-weight: 900; /* xtra-bold */
  font-size: 1.1em; /* on agrandit un peu */
  letter-spacing: 0.5px;  /* un peu d’espace entre les chiffres aussi */
  text-shadow: 0 0 2px rgba(0,0,0,0.2); /* discret, améliore le contraste */
}

/* Liens crypto */
.cg-link {
    color: rgb(155, 136, 207);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.cg-link:hover {
    color:  rgb(155, 136, 207);
    text-decoration: underline;
}
.cg-link:visited {
    color:  rgb(155, 136, 207);
    text-decoration: none;
}

/* CATEGORY */

.category-cell {
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-weight: bold;
    background: linear-gradient(
      to right,
      rgba(120, 160, 255, 0.44),
      rgba(160, 120, 255, 0.24)
    );
    padding: 8px;
    text-align: left;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/**************
    RISQUES
**************/

.risk {
    color: #000;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 6px 10px;
    border-radius: 6px;
    min-width: 30px;
}

/* RISK -> Dégradé en fonction du niveau de risque */
.risk-0 { background-color: #c5f2dc; } 
.risk-1 { background-color: #d8f3db; }
.risk-2 { background-color: #ebf4da; }
.risk-3 { background-color: #fff6d8; }
.risk-4 { background-color: #ffe7d8; }
.risk-5 { background-color: #ffd7d7; }

body.light-mode .risk-cell,
body.light-mode .momentum-cell {
    background-color: white;
}

.risk-cell,
.momentum-cell {
    text-align: center;
    vertical-align: middle;
    padding: 8px;
}

/****************
    MOMENTUN LT
****************/

.momentumLT {
    display: inline-flex;
    justify-content: center;
    vertical-align: middle;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 48px;
    height: 50%;
    max-height: 20px;
    line-height: 1;
}

.momentumLT-up      { color:#111; background-color:#c5f2dc; }
.momentumLT-neutral { color:#111; background-color:#fff6d8; }
.momentumLT-down    { color:#111; background-color:#ffd7d7; }

/* filters */

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* flags - value */
.cell-bold   { font-weight: bold; }
.cell-red    { color:#e74c3c; }
.cell-green  { color:#27ae60; }
.cell-orange { color:#f39c12; }

/* Notes */
.note-icon {
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.note-icon:hover {
    transform: scale(1.2);
}

.note-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.note-popup-content {
    background: #1e1e1e;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 0 15px #70b1f5;
    max-width: 500px;
    text-align: left;
    white-space: pre-wrap;
}

/* note-popup-content light mode */
body.light-mode .note-popup-content {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ccc;
  box-shadow: 0 0 15px #b694f6;
}

.note-popup-content button {
    margin-top: 1rem;
    padding: 8px 16px;
    background-color: #70b1f5;
    color: black;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

/* Bouton Description des risques */

  /* overlay, caché par défaut */
  #risksModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;  height: 100vh;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  #risksModal.active {
    display: flex;
  }

  #risksModal .modal-box {
    position: relative;
    /* width/height seront fixés côté JS */
    overflow: hidden; /* empêche tout débordement */
  }

  /*  close  */
  #risksModal .modal-close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: #fff;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    width: 2rem; height: 2rem;
    border-radius: 50%;
    cursor: pointer;
  }
  /* L’image prend 100% de la boîte */
  #risksModal img {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* FIX Header Responsive */
  .rift-header {
    position: relative;          /* nécessaire pour ::before */
    overflow: hidden;            /* pour respecter le border-radius avec l'overlay */
    border-radius: 10px;         /* (ton 12px parent - 2px de liseré) */
    background: url('../img/fond_RIFT.png') center/cover no-repeat;
  }

  /* Overlay dégradé en pseudo-élément (évite le bug de découpe) */
  .rift-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 50%,
                  rgba(0,0,0,0) 45%,
                  rgba(0,0,0,.22) 100%);
  }

/*****************
***    PRINT   ***
*******************/

@media print {
  /* Base */
    html, body {
        background: white !important;
        color: black !important;
        font-family: 'Montserrat', sans-serif;
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
    }

    /* Masquer les éléments inutiles */
    .no-print {
        display: none !important;
    }

    /* Structure du tableau */
    table {
        width: 100%;
        border-collapse: collapse;
        page-break-inside: avoid;
        font-size: 11pt;
    }

    thead {
        display: table-header-group;
        background: #f0f0f0 !important;
    }

    tfoot {
        display: table-footer-group;
    }

    th {
        color: black;
        background: white;
        border: 1px solid #000;
        padding: 6px 8px;
    }

    td {
        color: black;
        background: white;
        border: 1px solid #000;
        text-align: center;
        padding: 0;
    }

    /* liens Exceefy */
    .cg-link {
        color: #000;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s ease;
    }

    /* Risques - conserver les couleurs */
    .risk-0 { background-color: rgba(198, 246, 213, 0.9) !important; }
    .risk-1 { background-color: rgba(212, 241, 251, 0.9) !important; }
    .risk-2 { background-color: rgba(228, 236, 249, 0.9) !important; }
    .risk-3 { background-color: rgba(255, 243, 205, 0.9) !important; }
    .risk-4 { background-color: rgba(255, 224, 224, 0.9) !important; }
    .risk-5 { background-color: rgba(255, 201, 222, 0.9) !important; }
    .risk-9 { background-color: #000 !important; color: white !important; font-weight: bold; }

    /* Forcer le fond blanc sur les checkboxes non cochées */
    input[type="checkbox"]:not(:checked) {
        appearance: none;
        -webkit-appearance: none;
        background-color: white !important;
        border: 1px solid black;
        width: 16px;
        height: 16px;
        display: inline-block;
        vertical-align: middle;
        margin: 0 auto;
    }

    /* Affichage des notes */
    .note-fake {
        background: none !important;
        border: none !important;
        color: #000 !important;
        font-style: italic;
    }
}

/*********************
    ANIMATION GALAXY
**********************/

.galaxy-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-left: 1rem;
}

.galaxy-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: background 0.4s ease;
    display: flex;
    align-items: center;
    padding-left: 4px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1), inset -2px -2px 5px rgba(255,255,255,0.7);
}

.slider::before {
    content: "";
    height: 26px;
    width: 26px;
    background-color: rgb(239, 239, 239);
    border-radius: 50%;
    transition: transform 0.4s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px; /* tu peux descendre à 14px si besoin */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-shadow: 0 0 4px rgba(255,255,255,0.5); /* effet glow emoji */
}

/* État activé */
.galaxy-switch input:checked + .slider {
    background: linear-gradient(to right, #6EF7DA, #CF8CF3);
}

.galaxy-switch input:checked + .slider::before {
    transform: translateX(26px);
}

.galaxy-switch input:checked + .slider .icon {
    opacity: 1;
}

/** Animation Fond Galaxy Night Star **/

#night-sky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #000 100%);
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle 2s infinite ease-in-out alternate;
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(-45deg, white, transparent);
    opacity: 0.8;
    transform: rotate(45deg);
    animation: shoot 1.5s ease-out forwards;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

@keyframes shoot {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translate(-600px, 600px) rotate(45deg);
        opacity: 0;
    }
}