/* DiscoIcons — style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}
.hero-sub {
  font-size: 1rem;
  opacity: 0.8;
}

.footer-links a {
  font-weight: 600;
}
button, a, .icon-tile {
  transition: all 0.15s ease;
}
.panel {
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.icon-tile:hover {
  transform: translateY(-3px) scale(1.02);
}
:root, [data-theme="dark"] {
  --bg:      #0b0d11;
  --bg2:     #0f1117;
  --card:    #181b24;
  --card2:   #1e2130;
  --card3:   #252840;
  --acc:     #5865f2;
  --acc2:    #4752c4;
  --acc-g:   rgba(88,101,242,.3);
  --acc-s:   rgba(88,101,242,.12);
  --red:     #ed4245;
  --text:    #e3e5e8;
  --text2:   #b9bbbe;
  --muted:   #72767d;
  --br:      rgba(255,255,255,.07);
  --br2:     rgba(255,255,255,.12);
  --inp-bg:  #0d1018;
  --inp-br:  #2a2d3a;
  --shadow:  rgba(0,0,0,.4);
  --mock-bg: #313338;
  --mock-hd: #2b2d31;
}
[data-theme="light"] {
  --bg:      #f2f3f5;
  --bg2:     #ebedef;
  --card:    #ffffff;
  --card2:   #f8f9fb;
  --card3:   #ebedef;
  --acc:     #5865f2;
  --acc2:    #4752c4;
  --acc-g:   rgba(88,101,242,.25);
  --acc-s:   rgba(88,101,242,.1);
  --red:     #d0021b;
  --text:    #060607;
  --text2:   #4e5058;
  --muted:   #80848e;
  --br:      rgba(0,0,0,.08);
  --br2:     rgba(0,0,0,.15);
  --inp-bg:  #f0f1f4;
  --inp-br:  rgba(0,0,0,.18);
  --shadow:  rgba(0,0,0,.12);
  --mock-bg: #313338;
  --mock-hd: #2b2d31;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Outfit', sans-serif; font-size: 14px; line-height: 1.5; overflow-x: hidden; transition: background .2s, color .2s; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--card3); border-radius: 3px; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: 'Outfit', sans-serif; border: none; outline: none; }
input { font-family: 'Outfit', sans-serif; outline: none; }
svg { display: block; }

/* ── NAV ── */
.nav { position: sticky; top: 0; z-index: 100; height: 56px; display: flex; align-items: center; padding: 0 24px; gap: 4px; background: var(--bg2); border-bottom: 1px solid var(--br); backdrop-filter: blur(16px); transition: background .2s; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1rem; color: var(--text); margin-right: 10px; white-space: nowrap; }
.nav-logo-mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg,#5865f2,#eb459e); display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.nav-logo em { color: var(--acc); font-style: normal; }
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-link { padding: 6px 12px; border-radius: 6px; color: var(--muted); font-size: .83rem; font-weight: 600; transition: color .15s, background .15s; }
.nav-link:hover { color: var(--text); background: var(--card2); }
.nav-link.active { color: var(--text); background: var(--acc-s); }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-theme { background: var(--card2); border: 1px solid var(--br2); border-radius: 6px; padding: 6px 8px; color: var(--text2); display: flex; align-items: center; transition: all .15s; }
.btn-theme:hover { background: var(--card3); color: var(--text); }
[data-theme="dark"] .ico-light { display: none; }
[data-theme="light"] .ico-dark { display: none; }
.btn-disc-login { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border-radius: 6px; background: var(--acc); color: #fff; font-size: .82rem; font-weight: 700; transition: background .15s, box-shadow .15s, transform .1s; }
.btn-disc-login:hover { background: var(--acc2); box-shadow: 0 4px 16px var(--acc-g); transform: translateY(-1px); }
.user-chip { display: none; align-items: center; gap: 7px; padding: 4px 11px 4px 4px; border-radius: 99px; background: var(--acc-s); border: 1px solid var(--acc-g); font-size: .82rem; font-weight: 700; color: var(--text); }
.user-chip.show { display: flex; }
.user-av { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg,#5865f2,#eb459e); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; color: #fff; }
.btn-logout { background: none; color: var(--muted); display: flex; align-items: center; padding: 2px 3px; border-radius: 3px; transition: color .15s; }
.btn-logout:hover { color: var(--red); }
.nav-mob { display: none; background: none; color: var(--text); font-size: 1.4rem; }

/* ── HERO ── */
.hero { position: relative; overflow: hidden; padding: 52px 24px 44px; text-align: center; border-bottom: 1px solid var(--br); background: var(--bg); transition: background .2s; }
.hero-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .4; }
.hero-inner { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 99px; margin-bottom: 18px; background: var(--acc-s); border: 1px solid var(--acc-g); font-size: .73rem; font-weight: 700; letter-spacing: .8px; color: #a5b4fc; animation: fu .45s ease both; }
.hero-title { font-size: clamp(2rem,5vw,3.2rem); font-weight: 900; line-height: 1.1; letter-spacing: -.8px; animation: fu .5s ease both .06s; color: var(--text); }
.hero-hl { background: linear-gradient(120deg,#a5b4fc 0%,#f9a8d4 60%,#fde68a 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { margin-top: 10px; color: var(--muted); font-size: .92rem; animation: fu .55s ease both .12s; }
.hero-note { margin-top: 8px; font-size: .7rem; color: var(--muted); opacity: .5; }
@keyframes fu { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

/* ── MAIN EDITOR LAYOUT — left wide, right narrower ── */
.editor-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px; align-items: start;
}
.editor-left { min-width: 0; }
.editor-right { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 68px; }

/* ── PANEL ── */
.panel { background: var(--card); border: 1px solid var(--br); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px var(--shadow); transition: background .2s, border-color .2s; }
.psec { padding: 14px; border-top: 1px solid var(--br); display: flex; flex-direction: column; gap: 10px; }
.psec:first-child { border-top: none; }

/* ── TABS — match screenshot 4: big horizontal tabs ── */
.tab-bar { display: flex; background: rgba(0,0,0,.15); border-bottom: 1px solid var(--br); overflow-x: auto; scrollbar-width: none; }
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn { display: flex; align-items: center; gap: 7px; padding: 14px 20px; font-size: .78rem; font-weight: 800; letter-spacing: .6px; color: var(--muted); border-bottom: 2.5px solid transparent; white-space: nowrap; flex-shrink: 0; transition: color .15s, border-color .15s; }
.tab-btn:hover { color: var(--text2); }
.tab-btn.on { color: var(--text); border-bottom-color: var(--acc); }
.tab-pane { display: none; flex-direction: column; }
.tab-pane.on { display: flex; }

/* ── ICON TOPBAR ── */
.icon-topbar { display: flex; align-items: center; gap: 8px; padding: 12px 12px 0; }
.icon-search-wrap { flex: 1; position: relative; }
.icon-search { width: 100%; padding: 10px 12px 10px 34px; background: var(--inp-bg); border: 1px solid var(--inp-br); border-radius: 8px; color: var(--text); font-size: .85rem; transition: border .15s, box-shadow .15s; }
.icon-search:focus { border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc-g); }
.srch-ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.cat-select-wrap { position: relative; flex-shrink: 0; }
.cat-select-btn { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-radius: 8px; background: var(--inp-bg); border: 1px solid var(--inp-br); color: var(--text); font-size: .83rem; font-weight: 700; white-space: nowrap; min-width: 160px; transition: border .15s; }
.cat-select-btn:hover, .cat-select-btn.open { border-color: var(--acc); }
.cat-badge { background: var(--acc); color: #fff; border-radius: 99px; font-size: .65rem; font-weight: 800; padding: 1px 6px; min-width: 18px; text-align: center; }
.cat-menu { display: none; position: absolute; top: calc(100% + 4px); right: 0; background: var(--card); border: 1px solid var(--br2); border-radius: 8px; z-index: 50; min-width: 190px; box-shadow: 0 8px 32px var(--shadow); overflow: hidden; max-height: 280px; overflow-y: auto; }
.cat-menu.open { display: block; }
.cat-item { padding: 9px 14px; font-size: .83rem; font-weight: 600; color: var(--text2); cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background .1s, color .1s; }
.cat-item:hover { background: var(--card2); color: var(--text); }
.cat-item.on { background: var(--acc-s); color: var(--acc); }

/* ── ACTION ROW ── */
.icon-action-row { display: flex; align-items: center; gap: 8px; padding: 8px 12px 0; flex-wrap: wrap; }
.btn-multi { display: flex; align-items: center; gap: 8px; background: none; color: var(--text2); font-size: .8rem; font-weight: 600; padding: 0; cursor: pointer; transition: color .15s; flex-shrink: 0; }
.btn-multi:hover { color: var(--text); }
.multi-tog { width: 34px; height: 19px; border-radius: 10px; background: var(--card3); border: 1.5px solid var(--br2); position: relative; transition: background .2s; flex-shrink: 0; }
.multi-tog::after { content: ''; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: #fff; top: 50%; transform: translateY(-50%); left: 2px; transition: left .2s; }
.multi-tog.on { background: var(--acc); border-color: var(--acc); }
.multi-tog.on::after { left: calc(100% - 15px); }
.icon-action-right { display: flex; gap: 6px; margin-left: auto; }
.btn-pill { padding: 7px 12px; border-radius: 7px; background: var(--card2); border: 1px solid var(--br2); color: var(--text2); font-size: .77rem; font-weight: 700; transition: all .15s; white-space: nowrap; }
.btn-pill:hover { background: var(--card3); color: var(--text); border-color: var(--acc); }

/* ── ICON COUNT ── */
.icon-count-row { padding: 7px 12px 0; font-size: .8rem; font-weight: 700; color: var(--text2); }
.icon-count-row b { color: #a5b4fc; }

/* ── ICON GRID — matches screenshot 4: square tiles, ~9 columns ── */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 5px; padding: 8px 12px;
  min-height: 200px;
}
.icon-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0; padding: 10px;
  background: var(--card2); border: 1.5px solid var(--br);
  border-radius: 8px; color: var(--muted); cursor: pointer;
  transition: all .15s; aspect-ratio: 1;
}
[data-theme="dark"] .icon-tile { background: rgba(255,255,255,.04); border-color: transparent; }
.icon-tile:hover { background: var(--card3); color: var(--text); transform: translateY(-1px); border-color: var(--br2); }
.icon-tile.on { background: var(--acc-s); border-color: var(--acc); color: #a5b4fc; }
.icon-tile svg { flex-shrink: 0; }
.icon-tile-lbl { display: none; }
.clyde-empty { display: none; flex-direction: column; align-items: center; padding: 24px 16px; gap: 6px; color: var(--muted); text-align: center; }
.clyde-empty.show { display: flex; }

/* ── PAGINATION ── */
.pagination { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 12px; gap: 8px; }
.page-btn { padding: 8px 16px; border-radius: 7px; background: var(--card2); border: 1px solid var(--br2); color: var(--text2); font-size: .8rem; font-weight: 700; transition: all .15s; }
.page-btn:hover { background: var(--card3); color: var(--text); }
.page-btn:disabled { opacity: .35; cursor: not-allowed; }
.page-btn-next { background: var(--acc); color: #fff; border-color: var(--acc); }
.page-btn-next:hover { background: var(--acc2); }
.page-btn-next:disabled { background: var(--card2); border-color: var(--br2); color: var(--muted); }
.page-info { font-size: .8rem; color: var(--muted); font-weight: 600; }
.txt-box { padding: 0 12px 12px; display: none; }
.txt-inp { width: 100%; padding: 9px; background: var(--inp-bg); border: 1px solid var(--inp-br); border-radius: 7px; color: var(--text); font-size: 1.15rem; font-weight: 800; text-align: center; letter-spacing: 6px; transition: border .15s; }
.txt-inp:focus { border-color: var(--acc); }
.txt-hint { font-size: .67rem; color: var(--muted); margin-top: 4px; text-align: center; }

/* ── CONTROLS ── */
.ctrl { display: flex; flex-direction: column; gap: 6px; }
.ctrl-row { display: flex; align-items: center; justify-content: space-between; }
.ctrl-lbl { font-size: .73rem; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .3px; }
.ctrl-val { font-size: .72rem; color: #a5b4fc; font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.range { -webkit-appearance: none; width: 100%; height: 5px; background: var(--card3); border-radius: 99px; cursor: pointer; border: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; background: var(--acc); border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 6px var(--acc-g); cursor: grab; transition: transform .15s; }
.range::-webkit-slider-thumb:active { transform: scale(1.2); cursor: grabbing; }
.clr-row { display: flex; gap: 7px; align-items: center; }
.clr-thumb { width: 34px; height: 34px; border-radius: 7px; border: 2px solid var(--br2); overflow: hidden; position: relative; flex-shrink: 0; cursor: pointer; }
.clr-thumb input[type=color] { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); opacity: 0; cursor: pointer; }
.hex-inp { flex: 1; padding: 8px 10px; background: var(--inp-bg); border: 1px solid var(--inp-br); border-radius: 7px; color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: .81rem; transition: border .15s; }
.hex-inp:focus { border-color: var(--acc); }
.swatches { display: flex; gap: 5px; flex-wrap: wrap; }
.sw { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid transparent; cursor: pointer; flex-shrink: 0; transition: transform .15s, border-color .15s; }
.sw:hover { transform: scale(1.15); }
.sw.on { border-color: var(--text); transform: scale(1.1); }
.sw.sw-w { border-color: var(--br2) !important; }
.mode-row { display: flex; gap: 4px; }
.mode-btn { flex: 1; padding: 8px 6px; background: var(--inp-bg); border: 1px solid var(--inp-br); border-radius: 7px; color: var(--muted); font-size: .74rem; font-weight: 700; transition: all .15s; }
.mode-btn:hover { color: var(--text2); }
.mode-btn.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.seg { display: flex; background: var(--inp-bg); border-radius: 7px; padding: 3px; gap: 2px; border: 1px solid var(--inp-br); }
.seg-btn { flex: 1; padding: 5px; border-radius: 5px; color: var(--muted); font-size: .71rem; font-weight: 700; transition: all .15s; }
.seg-btn:hover { color: var(--text2); }
.seg-btn.on { background: var(--acc); color: #fff; }

/* ── SHAPE GRID ── */
.shape-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.shape-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px 4px 8px; background: var(--inp-bg); border: 1.5px solid var(--inp-br); border-radius: 8px; color: var(--muted); font-size: .63rem; font-weight: 700; transition: all .15s; position: relative; min-height: 68px; }
.shape-btn:hover { color: var(--text); border-color: var(--acc-g); background: var(--acc-s); }
.shape-btn.on { border-color: var(--acc); background: var(--acc-s); color: var(--acc); }
.shape-lock { position: absolute; top: 3px; right: 4px; font-size: .52rem; }

/* ── GRADIENT ── */
.grad-bar { height: 32px; border-radius: 7px; border: 1px solid var(--inp-br); position: relative; overflow: visible; cursor: crosshair; }
.g-handle { position: absolute; top: 50%; transform: translate(-50%,-50%); width: 15px; height: 22px; border-radius: 4px; border: 2.5px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.6); cursor: grab; z-index: 2; }
.g-handle.sel { transform: translate(-50%,-50%) scale(1.15); box-shadow: 0 0 0 2px var(--acc),0 2px 8px rgba(0,0,0,.7); }
.g-stops { display: flex; flex-direction: column; gap: 4px; }
.g-row { display: flex; align-items: center; gap: 6px; background: var(--inp-bg); padding: 6px 8px; border-radius: 7px; border: 1.5px solid transparent; cursor: pointer; transition: border-color .15s; }
.g-row.sel { border-color: var(--acc); }
.g-sw { width: 24px; height: 24px; border-radius: 4px; border: 1.5px solid var(--br2); overflow: hidden; position: relative; flex-shrink: 0; }
.g-sw input[type=color] { position: absolute; inset: -4px; width: calc(100%+8px); height: calc(100%+8px); opacity: 0; cursor: pointer; }
.g-hex { flex: 1; background: var(--inp-bg); border: 1px solid var(--inp-br); border-radius: 4px; color: var(--text); padding: 4px 7px; font-family: 'JetBrains Mono', monospace; font-size: .77rem; }
.g-hex:focus { border-color: var(--acc); outline: none; }
.g-pos { width: 42px; background: var(--inp-bg); border: 1px solid var(--inp-br); border-radius: 4px; color: var(--text2); padding: 4px 6px; font-family: 'JetBrains Mono', monospace; font-size: .72rem; text-align: right; }
.g-pos:focus { border-color: var(--acc); outline: none; }
.g-del { background: none; color: var(--muted); font-size: .9rem; padding: 2px 4px; border-radius: 3px; transition: color .15s, background .15s; }
.g-del:hover { color: var(--red); background: rgba(237,66,69,.12); }
.btn-add-stop { width: 100%; padding: 8px; background: var(--acc-s); border: 1px dashed var(--acc-g); border-radius: 7px; color: #a5b4fc; font-size: .75rem; font-weight: 700; transition: all .15s; }
.btn-add-stop:hover { background: rgba(88,101,242,.2); border-color: var(--acc); }
.g-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.g-preset { width: 24px; height: 24px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: transform .15s, border-color .15s; }
.g-preset:hover { transform: scale(1.15); border-color: var(--br2); }

/* ── PREVIEW (right panel) ── */
.prev-panel { padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.checker {
  background: repeating-conic-gradient(var(--card2) 0% 25%, var(--card3) 0% 50%) 0 0 / 14px 14px;
  border-radius: 10px; padding: 20px;
  border: 1px solid var(--br);
  display: flex; align-items: center; justify-content: center;
}
#mainCanvas { display: block; border-radius: 6px; image-rendering: pixelated; width: 220px; height: 220px; transition: width .2s, height .2s; }
.btn-dl { width: 100%; padding: 13px; background: linear-gradient(135deg,#5865f2,#7289da); border-radius: 8px; color: #fff; font-size: .92rem; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; transition: box-shadow .15s, transform .1s; }
.btn-dl:hover { box-shadow: 0 6px 24px var(--acc-g); transform: translateY(-1px); }
.btn-dl:active { transform: scale(.98); }

/* ── DISCORD MOCK ── */
.mock { background: var(--mock-bg); border-radius: 12px; border: 1px solid rgba(0,0,0,.5); overflow: hidden; }
.mock-hdr { background: var(--mock-hd); padding: 9px 14px; display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: #949cf7; border-bottom: 1px solid rgba(0,0,0,.3); }
.mock-msgs { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.mock-msg { display: flex; gap: 11px; }
.mock-av { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; overflow: hidden; }
.mock-av img { width: 100%; height: 100%; object-fit: cover; }
.mock-msg-body { flex: 1; }
.mock-name-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.mock-name { font-size: .87rem; font-weight: 700; }
/* ── FIX: badge properly centered ── */
.mock-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(88,101,242,.2); border: 1px solid rgba(88,101,242,.4);
  border-radius: 3px; padding: 2px 6px;
  font-size: .7rem; font-weight: 600; color: #b5baf7;
  line-height: 1; vertical-align: middle;
}
#mockCanvas { width: 14px !important; height: 14px !important; display: inline-block; vertical-align: middle; border-radius: 2px; }
.mock-ts { font-size: .7rem; color: #4e5058; }
.mock-txt { font-size: .87rem; color: #dbdee1; line-height: 1.5; }
.mock-txt.dim { color: #72767d; font-style: italic; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--br); background: var(--bg2); padding: 28px 24px; transition: background .2s; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; margin-bottom: 18px; }
.footer-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: .8rem; transition: color .15s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .74rem; }

/* ── MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 500; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--card); border: 1px solid var(--br2); border-radius: 12px; padding: 32px 28px; max-width: 400px; width: 92%; position: relative; animation: popIn .22s cubic-bezier(.34,1.56,.64,1) both; box-shadow: 0 24px 80px rgba(0,0,0,.5); text-align: center; }
@keyframes popIn { from { opacity:0; transform:scale(.86); } to { opacity:1; transform:scale(1); } }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; color: var(--muted); font-size: 1rem; transition: color .15s; }
.modal-close:hover { color: var(--text); }
.modal-title { font-size: 1.3rem; font-weight: 900; margin-bottom: 8px; color: var(--text); }
.modal-sub { color: var(--text2); font-size: .87rem; margin-bottom: 20px; line-height: 1.5; }
.modal-perks { text-align: left; margin-bottom: 22px; background: var(--inp-bg); border: 1px solid var(--br); border-radius: 8px; padding: 13px 15px; display: flex; flex-direction: column; gap: 8px; }
.modal-perk { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--text2); }
.perk-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--acc-s); border: 1px solid var(--acc-g); display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 800; color: #a5b4fc; flex-shrink: 0; }
.btn-disc-big { width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px; background: var(--acc); color: #fff; border-radius: 8px; font-size: .93rem; font-weight: 800; cursor: pointer; transition: background .15s, box-shadow .15s, transform .1s; margin-bottom: 10px; }
.btn-disc-big:hover { background: var(--acc2); box-shadow: 0 4px 20px var(--acc-g); transform: translateY(-1px); }
.modal-note { font-size: .71rem; color: var(--muted); }

/* ── TOAST ── */
.toast { position: fixed; bottom: 82px; right: 22px; background: var(--card2); border: 1px solid var(--br2); border-radius: 7px; padding: 10px 16px; font-size: .83rem; font-weight: 600; color: var(--text); z-index: 600; box-shadow: 0 8px 28px var(--shadow); animation: toastIn .22s ease; transition: opacity .3s, transform .3s; }
.toast.ok { color: #57f287; border-color: rgba(59,165,92,.35); }
@keyframes toastIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

/* ── HELP ── */
.help-btn { position: fixed; bottom: 22px; right: 22px; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg,#5865f2,#eb459e); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; z-index: 200; box-shadow: 0 4px 20px var(--acc-g); transition: transform .15s; }
.help-btn:hover { transform: scale(1.1) rotate(-8deg); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .editor-wrap { grid-template-columns: 1fr; }
  .editor-right { position: static; flex-direction: row; flex-wrap: wrap; }
  .editor-right > * { flex: 1; min-width: 260px; }
}
@media (max-width: 600px) {
  .nav-links, .btn-disc-login { display: none; }
  .nav-mob { display: block; }
  .icon-topbar { flex-direction: column; }
  .cat-select-btn { min-width: unset; width: 100%; }
  .icon-action-right { flex-wrap: wrap; }
}

.footer-links a {
  color: var(--text2); /* visible in both themes */
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--acc); /* your Discord blue */
}
/* =========================
   🔥 GOATED FINAL POLISH
   (SAFE + CLEAN + PREMIUM)
   ========================= */

/* 🎯 Smooth interactions (no global break) */
a, button, .icon-tile, .btn-pill, .nav-link {
  transition: all 0.18s ease;
}

/* 🌌 Subtle premium background */
body {
  background:
    radial-gradient(circle at 15% 10%, rgba(88,101,242,0.05), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(235,69,158,0.05), transparent 40%),
    var(--bg);
}

/* 🧊 Better panel depth */
.panel {
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

/* 🚀 Icon tiles feel better */
.icon-tile {
  border-radius: 10px;
}

.icon-tile:hover {
  transform: translateY(-2px);
  border-color: var(--br2);
}

.icon-tile.on {
  box-shadow: 0 0 16px rgba(88,101,242,0.25);
}

/* ⚡ Buttons feel clickable */
.btn-disc-login:hover,
.btn-dl:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--acc-g);
}

/* 🎯 Nav polish */
.nav-link:hover {
  background: var(--card2);
}

.nav-link.active {
  color: var(--acc);
  background: var(--acc-s);
}

/* ✨ Hero upgrade */
.hero-title {
  letter-spacing: -0.5px;
}

.hero-sub {
  opacity: 0.85;
}

/* 🧼 Better spacing = premium feel */
.psec {
  padding: 18px;
}

/* 💎 Footer clean modern look */
.footer-links a {
  color: var(--text2);
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}

/* underline animation */
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--acc);
  transition: width 0.25s ease;
}

.footer-links a:hover {
  color: var(--acc);
}

.footer-links a:hover::after {
  width: 100%;
}

/* 🎮 Click feedback */
button:active {
  transform: scale(0.97);
}

/* 🔥 Slight hover polish for pills */
.btn-pill:hover {
  transform: translateY(-1px);
  border-color: var(--acc);
}

/* ✨ Make inputs feel modern */
input:focus {
  box-shadow: 0 0 0 2px var(--acc-g);
}
/* ── PARTNERS ── */
.partners-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.partners-header {
  text-align: center;
  margin-bottom: 20px;
}

.partners-header h2 {
  font-size: 1.6rem;
  font-weight: 900;
}

.partners-header p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* GRID */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

/* CARD */
.partner-card {
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all .2s ease;
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--acc);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

/* ICON */
.partner-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}

/* NAME */
.partner-name {
  font-weight: 800;
  font-size: 0.95rem;
}

/* DESC */
.partner-desc {
  font-size: 0.75rem;
  color: var(--muted);
}

/* JOIN BTN */
.partner-join {
  margin-top: auto;
  padding: 8px;
  border-radius: 8px;
  background: var(--acc);
  color: #fff;
  font-weight: 700;
  text-align: center;
  transition: .15s;
}

.partner-join:hover {
  background: var(--acc2);
}