/* assets/style.css
   TrackWappla — modern glassmorphism theme
   Purple Twitch-inspired palette, animations, responsive
*/

/* ---------- Variables ---------- */
:root{
  --bg-1: #07070a;
  --bg-2: #0e0e12;
  --card: rgba(255,255,255,0.04);
  --card-2: rgba(255,255,255,0.02);
  --muted: #9aa0a6;
  --text: #eaeef6;
  --accent: #9147ff;
  --accent-2: #772ce8;
  --glass-border: rgba(255,255,255,0.06);
  --radius: 14px;
  --shadow: 0 12px 48px rgba(2,4,12,0.6);
  --glass-blur: 10px;
  --ease: cubic-bezier(.2,.9,.2,1);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html,body{height:100%;margin:0;background:linear-gradient(180deg,var(--bg-1),var(--bg-2));color:var(--text)}
a{color:inherit}
.container{max-width:1100px;margin:28px auto;padding:0 20px}

/* ---------- Utility ---------- */
.glass{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow);
}
.muted{color:var(--muted);font-size:13px}
.small{font-size:13px;color:var(--muted)}

/* ---------- Header ---------- */
.main-header{
  position:sticky;
  top:0;
  z-index:3000;
  padding:12px 0;
  background:linear-gradient(180deg, rgba(10,10,12,0.55), rgba(8,8,10,0.3));
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.header-flex{display:flex;align-items:center;justify-content:space-between;gap:12px}
.logo{display:flex;align-items:center;gap:8px;text-decoration:none}
.logo-text{font-weight:700;font-size:18px}
.logo .accent{color:var(--accent)}
.header-actions{display:flex;align-items:center;gap:12px}

/* Search container (centered in header) */
.search-container{flex:1;margin:0 18px;display:flex;justify-content:center}
.search-input{
  width:520px;max-width:100%;
  padding:12px 14px;border-radius:12px;border:0;background:rgba(255,255,255,0.02);
  color:var(--text);outline:none;font-size:15px;box-shadow:inset 0 1px 0 rgba(255,255,255,0.02);
  transition:box-shadow .14s var(--ease), transform .14s var(--ease);
}
.search-input:focus{box-shadow:0 8px 40px rgba(145,71,255,0.08);transform:translateY(-2px)}
.search-results{
  position:absolute;left:0;right:0;top:52px;background:#0c0c0d;border-radius:10px;padding:8px;display:none;
  max-height:320px;overflow:auto;box-shadow:0 18px 60px rgba(0,0,0,0.6);
}
.search-results.visible{display:block}
.sr-item{display:flex;align-items:center;gap:12px;padding:8px;border-radius:8px;cursor:pointer;transition:background .12s var(--ease)}
.sr-item:hover{background:rgba(255,255,255,0.02)}
.sr-item img{width:40px;height:40px;border-radius:8px;object-fit:cover}

/* Avatar & dropdown */
.avatar{width:44px;height:44px;border-radius:10px;object-fit:cover;border:2px solid rgba(255,255,255,0.03);cursor:pointer}
.avatar-panel{
  position:absolute;right:0;top:56px;min-width:200px;background:linear-gradient(180deg,#101014,#0c0c0d);border-radius:12px;padding:6px;
  box-shadow:0 18px 60px rgba(0,0,0,0.6);display:none;z-index:1300;
}
.avatar-panel.open{display:block}
.avatar-panel a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:8px;color:var(--text);text-decoration:none}
.avatar-panel a:hover{background:rgba(255,255,255,0.02)}

/* ---------- Hero ---------- */
.hero{display:flex;gap:18px;padding:22px;border-radius:14px;align-items:flex-start;margin-top:18px;background:
  linear-gradient(180deg, rgba(145,71,255,0.04), rgba(119,44,232,0.02));box-shadow:var(--shadow)}
.hero-left{flex:1}
.hero h1{margin:0;font-size:30px}
.lead{color:var(--muted);margin-top:8px}
.search-input-hero{width:100%;padding:14px;border-radius:12px;border:0;background:rgba(255,255,255,0.02);color:var(--text);outline:none}

/* Hero search dropdown fix */
.search-hero{position:relative;}
#heroSearchResults{
    position:absolute;
    top:48px;
    left:0;
    right:0;
    background:#1b1b1b;
    padding:8px 0;
    border-radius:10px;
    display:none;
    z-index: 8000 !important;
    max-height:260px;
    overflow-y:auto;
}
#heroSearchResults.visible{display:block;}
.search-results .sr-item:hover { background: rgba(255,255,255,0.08); }

/* Hero right stats */
.stat-cards{display:flex;flex-direction:column;gap:12px}
.stat-card{padding:12px;border-radius:10px;background:linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));}
.stat-card .label{font-size:13px;color:var(--muted)}
.stat-card .value{font-weight:700;margin-top:6px}

/* CTA */
.cta-row{display:flex;gap:10px;margin-top:14px}
.btn{background:linear-gradient(90deg,var(--accent),var(--accent-2));padding:10px 14px;border-radius:10px;color:white;text-decoration:none;font-weight:700;border:0;cursor:pointer;box-shadow:0 8px 28px rgba(120,63,220,0.12);transition:transform .12s var(--ease), box-shadow .12s var(--ease)}
.btn:hover{transform:translateY(-3px);box-shadow:0 18px 48px rgba(120,63,220,0.16)}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,0.04)}
.btn.danger{background:linear-gradient(90deg,#ff5c6a,#ff3859)}

/* ---------- Grid sections ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.card{padding:14px;border-radius:12px}

/* Lists inside cards */
.list{display:flex;flex-direction:column;gap:8px}
.list-item{display:flex;align-items:center;gap:12px;padding:8px;border-radius:8px;text-decoration:none;color:var(--text)}
.li-left{flex:0 0 48px}
.li-avatar{width:48px;height:48px;border-radius:10px;object-fit:cover}
.li-body{flex:1}
.li-name{font-weight:700}
.li-sub{font-size:13px;color:var(--muted)}

/* Featured */
.featured-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px}
.feature{display:block;padding:10px;border-radius:10px;text-decoration:none;color:var(--text);transition:transform .14s var(--ease)}
.feature:hover{transform:translateY(-6px);background:linear-gradient(180deg, rgba(145,71,255,0.04), rgba(119,44,232,0.02))}

/* Clips */
.clips-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.clip-card{border-radius:10px;overflow:hidden;text-decoration:none;color:var(--text);display:block;transition:transform .12s var(--ease)}
.clip-card:hover{transform:translateY(-6px)}
.clip-card img{
  width:100%;
  height:120px;
  object-fit:cover;
}
.clip-meta{padding:8px;background:rgba(0,0,0,0.25)}

/* ---------- Bottom & quick actions ---------- */
.bottom-row{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin-top:18px}
.actions{display:flex;gap:8px;flex-wrap:wrap}

/* ---------- Profile ---------- */
.profile-grid{display:grid;grid-template-columns:300px 1fr;gap:18px;margin-top:18px}
.profile-sidebar{padding:18px;border-radius:12px}
.profile-avatar{width:140px;height:140px;border-radius:18px;object-fit:cover;display:block;margin:0 auto;border:6px solid rgba(255,255,255,0.03)}
.live-glow{box-shadow:0 0 40px rgba(255,71,85,0.16)}
.profile-name{text-align:center;margin-top:12px;margin-bottom:6px;font-size:20px}
.profile-status{text-align:center;color:var(--muted);margin-bottom:12px}
.profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.stat{background:rgba(255,255,255,0.02);padding:10px;border-radius:10px;text-align:center}
.stat .num{font-weight:700;font-size:18px}
.stat .label{font-size:13px;color:var(--muted)}
.profile-actions{display:flex;gap:8px;justify-content:center;margin-top:12px}

/* Table */
.table-wrap{overflow:auto;border-radius:8px}
table{width:100%;border-collapse:collapse}
th,td{padding:10px;border-top:1px solid rgba(255,255,255,0.02);text-align:left}
.profile-table th{font-weight:700}

/* small responsive tweaks for profile */
.profile-main .card{margin-bottom:12px}

/* ---------- Animations ---------- */
@keyframes floatUp {
  0% { transform: translateY(6px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.card { animation: floatUp .28s var(--ease) both; }

/* ---------- Small screen responsive ---------- */
@media (max-width: 980px) {
  .search-container{display:none}
  .grid-3{grid-template-columns:1fr}
  .bottom-row{grid-template-columns:1fr}
  .hero{flex-direction:column}
  .hero-right{width:100%}
  .clips-grid{grid-template-columns:repeat(2,1fr)}
  .profile-grid{grid-template-columns:1fr}
}

/* ---------- Tiny devices ---------- */
@media (max-width: 560px) {
  .logo-text{font-size:16px}
  .avatar{width:36px;height:36px}
  .search-input-hero{padding:12px}
  .profile-avatar{width:110px;height:110px}
  .clips-grid{grid-template-columns:1fr}
}

/* ============================
   L A Z Y   I M A G E S
============================ */
.lazy-img{
  opacity:0;
  transition:opacity .35s ease;
}
.lazy-img.loaded{
  opacity:1;
}
img[data-src]{
  background:rgba(255,255,255,0.05);
}

/* =============================
   HEATMAP (your original one)
============================= */
.heatmap { display:flex; flex-direction:column; gap:8px; }
.heatmap-year { color:var(--muted); font-weight:600; margin-bottom:6px; }
.heatmap-grid {
  display:flex;
  gap:6px;
  align-items:flex-start;
  flex-wrap:nowrap;
  overflow:auto;
  padding-bottom:6px;
}
.heatmap-week-col {
  display:flex;
  flex-direction:column;
  gap:6px;
}
.heatmap-cell {
  width:12px;
  height:12px;
  border-radius:3px;
  background:rgba(255,255,255,0.03);
}
.heat-level-0{ background: rgba(255,255,255,0.03) }
.heat-level-1{ background: rgba(145,71,255,0.22) }
.heat-level-2{ background: rgba(145,71,255,0.40) }
.heat-level-3{ background: rgba(145,71,255,0.66) }
.heat-level-4{ background: rgba(145,71,255,0.98) }

.heatmap-weekdays {
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-right:12px;
  color:var(--muted);
  font-size:12px;
}

@media (max-width:800px) {
  .heatmap-cell { width:10px; height:10px; }
}

/* ============================
   GAMES GRID
============================ */
.games-grid {
  display:grid;
  gap:12px;
  padding-top:6px;
}
.game-item {
  display:flex;
  padding:10px 12px;
  background:rgba(255,255,255,0.04);
  border-radius:12px;
  backdrop-filter:blur(6px);
  align-items:center;
  justify-content:space-between;
  transition:background .2s;
}
.game-item:hover {
  background:rgba(255,255,255,0.12);
}
.game-title {
  font-weight:600;
  font-size:15px;
}

/* dropdown */
.header-dropdown {
    position: absolute;
    right: 20px;
    top: 70px;
    background: rgba(20,20,20,0.95);
    border-radius: 8px;
    padding: 10px;
    display: none;
}
.header-dropdown.open { display: block; }

/* ---------- Z-index safety ---------- */
.avatar-panel{z-index:1300}
.search-results{z-index:9200}

/* ---------- Accessibility ---------- */
.search-input:focus,
.search-input-hero:focus,
.btn:focus {
    outline: 3px solid rgba(145,71,255,0.12);
    outline-offset:2px;
}

.muted-sm { color: var(--muted); font-size:12px; }
.kicker { color: var(--accent); font-weight:700; font-size:13px; }

/* ============================
   CLIP MODAL POPUP
============================ */
.clip-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(3px);
    z-index: 5000;
    padding: 20px;
    justify-content: center;
    align-items: center;
}
.clip-modal.open {
    display: flex;
}

.clip-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #111;
    border-radius: 14px;
    padding: 12px;
    animation: modalFade .25s ease;
}

.clip-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;

    /* Farben ans Dark Theme angepasst */
    color: rgba(200, 180, 255, 0.55); /* leicht muted purple */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;

    padding: 6px 12px;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.clip-modal-close:hover {
    color: #cba8ff;                  /* weiches hell-purple */
    background: rgba(145,71,255,0.18); /* leichtes purple highlight */
    transform: scale(1.12);
}


#clipModalFrame {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    border: none;
}

@media (max-width: 700px) {
    #clipModalFrame {
        height: 310px;
    }
}

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

.welcome {
  margin-top: 30px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.06);
}

.welcome h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

.welcome-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.footer {
  margin-top: 50px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.footer strong {
  color: #fff;
  font-weight: 600;
}

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

.footer .sep {
  opacity: 0.4;
}


/* ============================
   MOBILE FIXES • TRACKWAPPLA
   ============================ */

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

  /* Profile layout: sidebar oben, main unten */
  .profile-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .profile-sidebar {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 16px;
  }

  .profile-main {
    width: 100%;
  }

  /* Avatar smaller */
  .profile-avatar {
    width: 120px;
    height: 120px;
  }

  /* Stats: 3–4 per row → full width */
  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-stats .stat {
    padding: 12px 8px;
  }

  /* Tabs scrollable */
  .tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
  }
  .tab {
    flex: 0 0 auto;
  }

  /* Cards full width and spaced */
  .card {
    padding: 12px;
  }

  /* Chart container fix */
  #viewersChart {
    max-width: 100%;
  }

  /* Table horizontal scroll */
  .table-wrap {
    overflow-x: auto;
  }

  /* Clips grid: 3 → 2 */
  .clips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* Extra small phones */
@media (max-width: 540px){

  /* Sidebar stats: 2 columns → 1 */
  .profile-stats {
    grid-template-columns: 1fr;
  }

  /* Clip cards 1 column */
  .clips-grid {
    grid-template-columns: 1fr;
  }

  /* Tabs smaller */
  .tab {
    padding: 6px 10px;
    font-size: 13px;
  }

  /* Game list spacing */
  .game-item {
    padding: 10px;
  }

  /* Rank text fix */
  .profile-main h3 {
    font-size: 18px;
  }

  /* Placement UI */
  .profile-stats .stat .num {
    font-size: 16px;
  }
}

/* Ultra small devices (iPhone SE etc) */
@media (max-width: 400px){

  .profile-avatar {
    width: 100px;
    height: 100px;
  }

  .clip-card img {
    height: 100px;
  }

  .profile-name {
    font-size: 17px;
  }

  .tab {
    font-size: 12px;
    padding: 5px 8px;
  }
}
/* =============================
   RESPONSIVE HEATMAP FIX
   (works with your existing JS)
============================= */

#heatmap {
    width: 100%;
    overflow-x: auto;     /* <-- allows scrolling on mobile */
    padding-bottom: 6px;
}

.heatmap-grid {
    display: flex;
    flex-direction: row;
    gap: 6px;
    padding-bottom: 4px;
    min-width: max-content;    /* <-- critical: prevents shrinking on mobile */
}

.heatmap-week-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.heatmap-cell {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: rgba(255,255,255,0.03);
}

/* keep your colors */
.heat-level-0{ background: rgba(255,255,255,0.03) }
.heat-level-1{ background: rgba(145,71,255,0.22) }
.heat-level-2{ background: rgba(145,71,255,0.40) }
.heat-level-3{ background: rgba(145,71,255,0.66) }
.heat-level-4{ background: rgba(145,71,255,0.98) }

/* Labels */
.heatmap-weekdays {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-right: 10px;
    font-size: 12px;
    color: var(--muted);
}

/* MOBILE FIX */
@media (max-width: 600px) {
    .heatmap-cell {
        width: 10px;
        height: 10px;
    }
    .heatmap-grid {
        gap: 4px;
    }
}

/* ===============================
   FIXED ADS — FORCE BIG SIZE
=============================== */

.ad-left,
.ad-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5000;
    padding: 0;
}

.ad-left { left: 20px; }
.ad-right { right: 20px; }

/* FORCIERT die Bildgröße – überschreibt alles */
.ad-left img,
.ad-right img {
    width: 260px !important;       /* → Größe anpassen */
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 10px;
    display: block !important;
}



@media screen and (max-width: 1400px) {
    .ad-left,
    .ad-right {
        display: none; /* Ads ausblenden auf kleineren Screens */
    }
}
body.hide-ads .ad-left,
body.hide-ads .ad-right {
    display: none !important;
}
/* ============================
   THEMES
============================ */
/* =============== FIXED THEME SYSTEM =============== */

/* DARK (default) */
body[data-theme="dark"] {
    --bg-1: #07070a;
    --bg-2: #0e0e12;
    --text: #eaeef6;
    --muted: #9aa0a6;
    --card: rgba(0,0,0,0.20);
    --glass-border: rgba(255,255,255,0.08);
}

/* ============================
   SOFT LIGHT THEME FIX (NO FLASHBANG)
   ============================ */

body[data-theme="light"] {
    /* Soft grey background instead of pure white */
    --bg-1: #f0f0f3;
    --bg-2: #e6e6ea;

    /* Text not pure black — softer for eyes */
    --text: #1a1a1a;

    /* Muted text softer */
    --muted: #5f6270;

    /* Cards slightly brighter but NOT white */
    --card: rgba(255, 255, 255, 0.55);
    --card-2: rgba(255, 255, 255, 0.35);

    /* Glass border softer */
    --glass-border: rgba(0, 0, 0, 0.08);

    /* Shadows lighter */
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.10);

    /* Search boxes & dropdowns */
    --search-bg: rgba(255,255,255,0.45);
    --search-border: rgba(0,0,0,0.12);

    /* Panels */
    --panel-bg: rgba(255,255,255,0.7);
}

/* Header fix for light mode */
body[data-theme="light"] .main-header {
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* Search bar */
body[data-theme="light"] .search-input {
    background: var(--search-bg);
    border: 1px solid var(--search-border);
    color: #111;
}

body[data-theme="light"] .search-results {
    background: var(--panel-bg);
    border: 1px solid rgba(0,0,0,0.1);
}

/* Cards */
body[data-theme="light"] .card,
body[data-theme="light"] .glass {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.08);
}

/* Muted text */
body[data-theme="light"] .muted {
    color: var(--muted);
}

/* Profile stats */
body[data-theme="light"] .stat {
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Clip cards */
body[data-theme="light"] .clip-meta {
    background: rgba(255,255,255,0.4);
    color: #111;
}

/* Tables */
body[data-theme="light"] table th,
body[data-theme="light"] table td {
    border-top: 1px solid rgba(0,0,0,0.08);
    color: #111;
}

/* Heatmap colors adjust for light */
body[data-theme="light"] .heat-level-0 { background: rgba(0,0,0,0.06); }
body[data-theme="light"] .heat-level-1 { background: rgba(145,71,255,0.25); }
body[data-theme="light"] .heat-level-2 { background: rgba(145,71,255,0.45); }
body[data-theme="light"] .heat-level-3 { background: rgba(145,71,255,0.65); }
body[data-theme="light"] .heat-level-4 { background: rgba(145,71,255,0.92); }

/* Avatar panel */
body[data-theme="light"] .avatar-panel {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.1);
}

body[data-theme="light"] .avatar-panel a:hover {
    background: rgba(0,0,0,0.05);
}


/* AMOLED */
body[data-theme="amoled"] {
    --bg-1: #000;
    --bg-2: #000;
    --text: #ffffff;
    --muted: #9aa0a6;
    --card: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.08);
}

/* global */
body {
    background: var(--bg-1);
    color: var(--text);
}



/* ============================
   COMPACT MODE
============================ */
body.compact-mode .card,
body.compact-mode .list-item,
body.compact-mode .feature {
    padding: 6px !important;
    margin: 4px !important;
}

/* ============================
   NO BLUR
============================ */
body.no-blur .glass {
    backdrop-filter: none !important;
}

/* ============================
   NO ANIMATIONS
============================ */
body.no-anim *,
body.no-anim *::before,
body.no-anim *::after {
    animation: none !important;
    transition: none !important;
}

/* ============================
   HIDE ADS
============================ */
body.hide-ads .ad-left,
body.hide-ads .ad-right {
    display: none !important;
}

/* ============================
   USERNAME COLOR
============================ */
.profile-username {
    color: var(--username-color, #9147ff);
}
/* GLOBAL SEARCH DROPDOWN FIX — always above all content */
#globalSearchResults {
    z-index: 9000 !important;
    position: absolute;
}

/* SETTINGS PAGE — modern redesign */
.settings-wrapper {
    padding: 26px;
    border-radius: 16px;
    margin: 30px auto;
    max-width: 650px;
}

.settings-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.settings-sub {
    color: var(--muted);
    margin-top: 4px;
    margin-bottom: 20px;
}

.settings-section {
    margin-top: 28px;
    padding: 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
}

.section-header {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent);
}

.setting {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.setting label {
    font-weight: 600;
    margin-bottom: 6px;
}

.setting-input {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text);
    outline: none;
}

.setting-input:focus {
    border-color: var(--accent);
}

.color-input {
    width: 70px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #000;
}

.setting-desc {
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
}

.static-info {
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    color: var(--muted);
}

.settings-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
}

@media (max-width: 600px){
    .settings-wrapper {
        padding: 18px;
    }
    .settings-actions {
        flex-direction: column;
        align-items: stretch;
    }
}


