/* ==========================================================================
   Devntric Spinner — Stylesheet
   ========================================================================== */

:root{
  --bg: #f3f4fb;
  --surface: #ffffff;
  --surface-2: #f8f8fd;
  --border: #e8e8f4;
  --text: #1c1a2b;
  --text-muted: #6b7180;
  --text-faint: #9a9fb0;

  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --blue: #3b82f6;
  --teal: #14b8a6;
  --green: #22c55e;
  --orange: #f97316;
  --pink: #ec4899;

  --accent: var(--purple);
  --accent-2: var(--blue);
  --gradient-brand: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-card: 0 4px 24px rgba(90, 60, 170, 0.06);
  --shadow-float: 0 12px 40px rgba(90, 60, 170, 0.14);
  --shadow-btn: 0 10px 24px rgba(124, 58, 237, 0.35);

  --ease-out: cubic-bezier(.16,1,.3,1);
}

[data-theme="dark"]{
  --bg: #14121f;
  --surface: #1c1a2c;
  --surface-2: #221f34;
  --border: #2d2a44;
  --text: #f1f0f8;
  --text-muted: #a7a4bf;
  --text-faint: #716d8c;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.25);
  --shadow-float: 0 16px 44px rgba(0,0,0,0.4);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body{
  margin: 0;
  font-family: 'Segoe UI', Inter, system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
  overflow-x: hidden;
}

button{ font-family: inherit; }
a{ color: inherit; text-decoration: none; }

.icon{ width: 20px; height: 20px; }
.icon-sm{ width: 16px; height: 16px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
    width:100%;
    padding:20px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;

    background:var(--surface);
    border-bottom:1px solid var(--border);
    box-shadow:var(--shadow-card);
    box-shadow:
    0 12px 30px rgba(0,0,0,.18);
    
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity .2s ease;
}
.brand:hover{ opacity: 0.85; }

.brand-logo{ width: 46px; height: 46px; }

.brand-text{ display: flex; flex-direction: column; line-height: 1; }
.brand-name{
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}
.brand-sub{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
  margin-top: 4px;
}

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

.icon-btn{
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out), color .15s ease;
}
.icon-btn:hover{ transform: translateY(-2px); box-shadow: var(--shadow-float); color: var(--accent); }
.icon-btn:active{ transform: translateY(0); }

.icon-moon{ display: none; }
[data-theme="dark"] .icon-sun{ display: none; }
[data-theme="dark"] .icon-moon{ display: block; }

.spin-section{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.tagline{

    width:100%;

    display:block;

    text-align:center;

    margin:18px auto;

    padding:0;

    font-size:14px;

    font-weight:700;

    letter-spacing:2px;

    color:var(--accent);

    position:relative;

    z-index:5;
}

/* ==========================================================================
   Layout grid
   ========================================================================== */
.app-grid{

    width:100%;

    max-width:1400px;

    margin:auto;

    padding:0 40px 40px;

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:24px;
}

.panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 22px;
}

.panel-title{
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.panel-title.accent{ color: var(--accent); }
.title-underline{
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-brand);
  margin: 8px 0 20px;
}

.count-pill{
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s var(--ease-out), box-shadow .2s ease, filter .2s ease;
}
.btn-primary{
  background: var(--gradient-brand);
  color: #fff;
  padding: 10px 16px;
  box-shadow: 0 8px 20px rgba(124,58,237,.28);
}
.btn-primary:hover{ filter: brightness(1.06); transform: translateY(-1px); }
.btn-sm{ font-size: 13px; padding: 9px 14px; }

.btn-ghost{
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 16px;
}
.btn-ghost:hover{ background: var(--border); }
.btn-block{ width: 100%; }

.text-btn{
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background .15s ease, color .15s ease;
}
.text-btn:hover{ background: var(--surface-2); color: var(--accent); }
.text-btn-danger:hover{ color: #ef4444; }

/* ==========================================================================
   Left panel — item list
   ========================================================================== */
.panel-row-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.item-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
}

.item-row{
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease;
}
.item-row:hover{ box-shadow: var(--shadow-card); }
.item-row.dragging{ opacity: .4; }
.item-row.eliminated{ opacity: .35; text-decoration: line-through; }

.item-dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--dot, var(--purple));
}

.item-name{
  flex: 1;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-icon{
  width: 22px; height: 22px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.item-icon svg{ width: 100%; height: 100%; }

.item-handle{
  color: var(--text-faint);
  cursor: grab;
  display: flex;
}
.item-handle:active{ cursor: grabbing; }

.item-delete{
  background: none;
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  display: flex;
  padding: 4px;
  border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.item-delete:hover{ color: #ef4444; background: rgba(239,68,68,.08); }

.panel-row-bottom{
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.empty-hint{
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
  padding: 30px 10px;
}

/* ==========================================================================
   Wheel section
   ========================================================================== */
.wheel-section{

    width:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:flex-start;
}

.wheel-wrap{
  position: relative;
  width: min(560px, 90vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#wheelCanvas{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 20px 45px rgba(90,60,170,.25));
}

.wheel-pointer{
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 44px;
  z-index: 5;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.2));
}
.wheel-pointer::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  clip-path: polygon(50% 100%, 0 25%, 0 0, 100% 0, 100% 25%);
  border-radius: 6px;
}
.wheel-pointer::after{
  content:"";
  position:absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--surface);
}

.wheel-center{
  position: absolute;
  width: 26%;
  height: 26%;
  border-radius: 50%;
  background: var(--surface);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(90,60,170,.25), inset 0 0 0 6px var(--surface);
  cursor: default;
  z-index: 4;
}
.wheel-center img,
.wheel-center svg{ width: 58%; height: 58%; object-fit: contain; }

.spin-btn{
  width: min(560px, 90vw);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border: none;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform .15s var(--ease-out), box-shadow .2s ease, filter .2s ease;
}
.spin-btn:hover{ transform: translateY(-2px); box-shadow: 0 16px 34px rgba(124,58,237,.42); filter: brightness(1.05); }
.spin-btn:active{ transform: translateY(0); }
.spin-btn:disabled{ opacity: .6; cursor: not-allowed; transform: none; }
.spin-btn .icon{ width: 22px; height: 22px; }

/* ======================================================
   RESULT CARD
====================================================== */

.result-card{
    background:var(--surface);
    color:var(--text);
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:var(--shadow);
    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

/* Glow Ring */

.result-card::before{

    content:"";

    position:absolute;

    top:-140px;
    left:50%;

    transform:translateX(-50%);

    width:280px;
    height:280px;

    border-radius:50%;

    background:
        radial-gradient(circle,
            rgba(141,107,255,.18),
            transparent 72%);

    pointer-events:none;
}

/* Close Button */

.close-result{

    position:absolute;

    top:16px;
    right:16px;

    width:38px;
    height:38px;

    border:none;

    border-radius:50%;

    background:#F3F4F6;

    color:#6B7280;

    cursor:pointer;

    font-size:18px;

    transition:.25s;
}

.close-result:hover{

    background:#EF4444;

    color:#fff;

    transform:rotate(90deg) scale(1.08);
}

/* Header */

.result-header{

    margin-bottom:22px;
}

.result-header h2{

    margin:0;

    font-size:30px;

    font-weight:800;

    color:var(--text);
}


.result-header p{

    color:var(--text-muted);
}

/* Prize */

.result-prize{

    margin:22px auto;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:220px;

    min-height:68px;

    padding:0 24px;

    border-radius:18px;

background:linear-gradient(
    135deg,
    var(--accent),
    var(--accent-2)
);

    color:#fff;

    font-size:30px;

    font-weight:800;

    box-shadow:
        0 12px 30px rgba(141,107,255,.35);
}

/* Icon */

.result-icon{

    font-size:60px;

    margin:14px 0 18px;

    animation:bounce 1.6s infinite;
}

/* Message */

.result-message{

    color:var(--text-muted);

    font-size:15px;

    line-height:1.6;

    margin-top:8px;
}

/* Animation */

@keyframes popup{

    from{

        opacity:0;

        transform:translateY(25px) scale(.9);

    }

    to{

        opacity:1;

        transform:translateY(0) scale(1);

    }
}

@keyframes bounce{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }
}

/* ================= CLOSE BUTTON ================= */

.close-result{

    background:var(--surface-2);

    color:var(--text-muted);

    border:1px solid var(--border);

    transition:.25s;
}
.close-result:hover{

  background:#EF4444;

  color:white;

  transform:rotate(90deg);
}

/* ================= POPUP ================= */

@keyframes popup{

  from{

      opacity:0;

      transform:translateY(20px) scale(.95);

  }

  to{

      opacity:1;

      transform:translateY(0) scale(1);

  }

}

/* ==========================================================================
   Right settings panel
   ========================================================================== */
.settings-group{ margin-bottom: 22px; }
.settings-group:last-of-type{ margin-bottom: 18px; }

.settings-label{
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}

.pill-group{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pill-option{
  padding: 10px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s ease;
}
.pill-option:hover{ border-color: var(--accent); }
.pill-option.is-active{
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(124,58,237,.3);
}

.segmented{
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
}
.segmented-option{
  padding: 10px 0;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s ease;
}
.segmented-option.is-active{
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(124,58,237,.3);
}

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

.switch{
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: var(--border);
  position: relative;
  cursor: pointer;
  transition: background .2s ease;
  flex-shrink: 0;
}
.switch.is-on{ background: var(--gradient-brand); }
.switch-knob{
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  transition: transform .2s var(--ease-out);
}
.switch.is-on .switch-knob{ transform: translateX(20px); }

.swatch-group{ display: flex; gap: 10px; flex-wrap: wrap; }
.swatch{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sw);
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
  position: relative;
}
.swatch:hover{ transform: scale(1.08); }
.swatch.is-active{ border-color: var(--surface); box-shadow: 0 0 0 2px var(--sw); }

.chevron{ transition: transform .2s ease; }
#moreSettingsBtn[aria-expanded="true"] .chevron{ transform: rotate(180deg); }
#moreSettingsBtn{ display: flex; align-items: center; justify-content: space-between; }

.more-settings{
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field{ display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.field input[type="text"], .field input[type="number"]{
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
}
.field input:focus{ outline: 2px solid var(--accent); outline-offset: 1px; }
.checkbox-field{ flex-direction: row; align-items: center; gap: 10px; }
.checkbox-field input{ width: 16px; height: 16px; accent-color: var(--accent); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  text-align: center;
  padding: 30px 20px 50px;
  border-top: 1px solid var(--border);
  max-width: 1400px;
  margin: 20px auto 0;
}
.footer-brand{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 24px 0 6px;
}
.bolt{ width: 14px; height: 14px; color: var(--accent); }
.footer-version{ font-size: 12px; color: var(--text-faint); margin: 0 0 10px; }
.footer-credit{
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.footer-credit a{
  color: var(--accent);
  font-weight: 700;
  transition: opacity .15s ease;
}
.footer-credit a:hover{ opacity: .75; }
.li-icon{ display: flex; align-items: center; color: var(--accent); }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 30, .5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: fadeIn .2s ease;
}
.modal-overlay[hidden]{
  display: none;
}
.modal{
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  width: min(380px, 90vw);
  box-shadow: var(--shadow-float);
  animation: popIn .22s var(--ease-out);
}
.modal-wide{ width: min(420px, 90vw); max-height: 86vh; overflow-y: auto; }
.modal h3{ margin: 0 0 18px; font-size: 18px; }
.modal .field{ margin-bottom: 16px; }
.color-pick{ display: flex; gap: 10px; flex-wrap: wrap; }
.modal-actions{ display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

@keyframes fadeIn{ from{ opacity: 0; } to{ opacity: 1; } }
@keyframes popIn{ from{ opacity: 0; transform: scale(.92); } to{ opacity: 1; transform: scale(1); } }

/* ==========================================================================
   Confetti canvas
   ========================================================================== */
#confettiCanvas{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
}

/* ==========================================================================
   Spin animation state
   ========================================================================== */
.wheel-wrap.is-spinning #wheelCanvas{
  filter: drop-shadow(0 20px 55px rgba(124,58,237,.4));
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px){
  .app-grid{
    grid-template-columns: 1fr;
  }
  .wheel-section{ order: -1; }
}

@media (max-width: 600px){
  .site-header{ padding: 18px 18px 6px; }
  .brand-name{ font-size: 20px; }
  .brand-logo{ width: 36px; height: 36px; }
  .app-grid{ padding: 0 16px 30px; gap: 16px; }
  .tagline{ font-size: 11px; letter-spacing: 1.5px; margin-bottom: 18px; }
  .panel{ padding: 16px; }
  .icon-btn{ width: 38px; height: 38px; }
}
.result-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:9999;

    opacity:1;

    transition:.25s;
}

.result-overlay.hidden{

    opacity:0;

    visibility:hidden;

    pointer-events:none;
}

.result-card{

    position:relative;

    width:min(420px,90vw);

    background:var(--surface);

    border-radius:24px;

    padding:30px;

    box-shadow:0 25px 60px rgba(0,0,0,.25);

    animation:popup .3s ease;
}

.close-result{

    position:absolute;

    right:14px;

    top:14px;

    width:36px;

    height:36px;

    border:none;

    border-radius:50%;

    background:#ef4444;

    color:#fff;

    cursor:pointer;

    font-size:18px;
}

.close-result:hover{

    transform:scale(1.08);
}

@keyframes popup{

from{

transform:scale(.8);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}
.hidden{
    display:none !important;
}
/* ================= MODE SELECTOR ================= */

.mode-selector{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:12px;

    margin:18px auto 28px;
}

.mode-label{

    font-size:13px;

    font-weight:700;

    color:var(--text-muted);

    letter-spacing:1.5px;

    text-transform:uppercase;
}

.mode-options{

    display:flex;

    gap:10px;

    padding:6px;

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:999px;

    box-shadow:var(--shadow);
}

.mode-btn{

    border:none;

    background:transparent;

    color:var(--text-muted);

    padding:10px 22px;

    border-radius:999px;

    cursor:pointer;

    font-size:14px;

    font-weight:700;

    transition:.25s;
}

.mode-btn:hover{

    color:var(--text);
}

.mode-btn.active{

    background:linear-gradient(
        135deg,
        var(--accent),
        var(--accent-2)
    );

    color:white;

    box-shadow:0 8px 20px rgba(141,107,255,.35);
}
/*================ FOOTER ================*/

.site-footer{
    background: var(--surface);
    color: var(--text);
    border-top: 1px solid var(--border);
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.footer-brand{

    font-size:18px;

    font-weight:800;

    letter-spacing:3px;

    color:var(--text);
}

.footer-version{

    font-size:13px;

    color:var(--text-muted);
}

.footer-credit,
.footer-copyright{

    font-size:14px;

    color:var(--text-muted);

    line-height:1.6;
}

.footer-credit a,
.footer-copyright a{

    color:var(--accent);

    font-weight:700;

    text-decoration:none;
}

.footer-credit a:hover,
.footer-copyright a:hover{

    color:var(--accent-2);
}

@media (max-width:768px){

    .footer-brand{

        font-size:16px;

        letter-spacing:2px;
    }

    .footer-version{

        font-size:12px;
    }

    .footer-credit,
    .footer-copyright{

        font-size:13px;
    }

}

@media (max-width:480px){

    .site-footer{

        padding:20px 12px;
    }

    .footer-brand{

        font-size:15px;

        letter-spacing:1px;
    }

    .footer-credit,
    .footer-copyright{

        font-size:12px;
    }

}
.modal{
    position: relative;
}

.settings-close-x{
    position:absolute;
    top:12px;
    right:12px;

    width:36px;
    height:36px;

    border:none;
    border-radius:50%;

    background:var(--surface-2);
    color:var(--text);

    font-size:20px;
    font-weight:700;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.25s ease;
}

.settings-close-x:hover{
    background:var(--accent);
    color:#fff;
    transform:rotate(90deg);
}