/* ===== Evenimente zilnice · Metin2Community (peste reminder/style.css) ===== */

.ev-banner .banner-text p { margin-bottom: 10px; }
.clock { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.08em; color: var(--gold);
  text-shadow: 0 0 18px rgba(245,197,66,0.4); font-variant-numeric: tabular-nums; }

.ev-layout { grid-template-columns: 1fr; }
@media (min-width: 900px) { .ev-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.ev-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 900px) { .ev-main { gap: 20px; } }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel-head .panel-title { margin-bottom: 12px; }

/* live dot */
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74,222,128,0.6); animation: pulse 1.6s infinite; margin-bottom: 12px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); } 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

/* ACUM */
.now-panel { border-color: rgba(74,222,128,0.25); }
.now-list { display: grid; gap: 12px; }
.now-item { position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center;
  padding: 14px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, transparent), rgba(255,255,255,0.03));
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.now-item .ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 30px; overflow: hidden;
  background: color-mix(in srgb, var(--c) 30%, #000 20%); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 24px color-mix(in srgb, var(--c) 40%, transparent); }
.now-item .name { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.02em; }
.now-item .desc { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.now-item .time { text-align: right; }
.now-item .time small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.now-item .time b { font-family: var(--font-display); font-size: 24px; color: var(--ok); font-variant-numeric: tabular-nums; }
.now-item .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,0.08); }
.now-item .bar i { display: block; height: 100%; background: var(--c); box-shadow: 0 0 12px var(--c); transition: width 1s linear; }
.now-item .go { grid-column: 1 / -1; justify-self: start; margin-top: -2px; }
.live-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; padding: 2px 7px; border-radius: 6px; background: var(--ok); color: #05210f; margin-left: 8px; vertical-align: middle; }

/* URMATOARELE */
.next-list { display: grid; gap: 8px; }
.next-item { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); border-left: 3px solid var(--c); }
.next-item .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 22px; background: color-mix(in srgb, var(--c) 22%, transparent); }
.next-item .name { font-weight: 700; font-size: 15px; }
.next-item .when { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.next-item .when b { color: var(--text); font-weight: 600; }
.next-item .cd { font-family: var(--font-display); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--gold); text-align: right; }
.next-item .cd small { display: block; font-family: var(--font); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.next-item.soon .cd { color: var(--ok); }

/* SAPTAMANA */
.week-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
.week { display: grid; grid-template-columns: 72px repeat(7, minmax(118px, 1fr)); gap: 6px; min-width: 900px; }
.wday { border-radius: 12px; background: rgba(0,0,0,0.25); border: 1px solid var(--panel-border); padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.wday.today { border-color: rgba(245,197,66,0.5); box-shadow: inset 0 0 0 1px rgba(245,197,66,0.25); }
.wday h4 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; display: flex; justify-content: space-between; }
.wday.today h4 { color: var(--gold); }
.wslot { display: flex; flex-direction: column; gap: 1px; font-size: 12px; padding: 5px 8px; border-radius: 8px; line-height: 1.25;
  background: color-mix(in srgb, var(--c) 18%, transparent); border-left: 3px solid var(--c); }
.wslot.past { opacity: 0.38; }
.wslot.live { box-shadow: 0 0 0 1px var(--ok); }
.wslot b { font-variant-numeric: tabular-nums; font-weight: 700; }


/* TOATE */
.all-list { display: grid; gap: 8px; }
.all-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); }
.all-item .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; background: color-mix(in srgb, var(--c) 22%, transparent); }
.all-item .name { font-weight: 700; font-size: 14px; }
.all-item .sched { font-size: 12px; color: var(--muted); margin-top: 3px; display: flex; flex-direction: column; gap: 1px; }
.all-item .sched b { color: var(--text); font-weight: 600; }
.bell { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--panel-border); background: rgba(255,255,255,0.05); display: grid; place-items: center; transition: all 0.15s; }
.bell svg { width: 18px; height: 18px; }
.bell:hover { background: rgba(255,255,255,0.1); }
.bell.on { background: var(--gold); color: #1a1300; border-color: transparent; box-shadow: 0 0 14px rgba(245,197,66,0.4); }

.tips .btn { margin-top: 10px; width: 100%; }
.setting input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--gold); }
.tz-btn { font-size: 12px; padding: 8px 10px; }

@media (max-width: 560px) {
  .now-item { grid-template-columns: 48px 1fr; }
  .now-item .ico { width: 48px; height: 48px; font-size: 26px; }
  .now-item .time { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .next-item { grid-template-columns: 38px 1fr auto; }
}

/* banner fara imagine: gradient + "stele" */
.ev-banner { background:
  radial-gradient(600px 300px at 20% 20%, rgba(245,197,66,0.35), transparent 60%),
  radial-gradient(500px 300px at 80% 30%, rgba(109,124,255,0.4), transparent 60%),
  radial-gradient(400px 260px at 50% 100%, rgba(224,67,63,0.25), transparent 60%),
  linear-gradient(180deg, #171a2a, #0b0d14); }
.ev-banner::before { content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(1.5px 1.5px at 12% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 35% 70%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 88% 40%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 25% 85%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 45% 45%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 93% 80%, #fff 50%, transparent 51%); }

/* iconite (poze de item) */
.ico img, .wslot img, .wk-opt img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.next-item .ico, .all-item .ico { overflow: hidden; padding: 0; }
.now-item .kind { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.now-item .name { font-size: 18px; }
.now-item.weekend { border-style: dashed; }
.wslot { flex-direction: row; align-items: center; gap: 5px; padding: 4px 5px 4px 6px; }
.wslot img { width: 22px; height: 22px; flex: none; border-radius: 5px; }
.wslot span { white-space: normal; line-height: 1.15; font-size: 10.5px; overflow-wrap: normal; color: var(--text); opacity: 0.9; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.wday { gap: 5px; padding: 6px; }
.whead { background: transparent; border-color: transparent; }
.whd { background: rgba(255,255,255,0.04); border-left: 3px solid transparent; flex-direction: column; align-items: flex-start; gap: 0; min-height: 41px; justify-content: center; }
.whd b { font-size: 12px; color: var(--gold); } .whd span { font-size: 10.5px; color: var(--muted); white-space: nowrap; -webkit-line-clamp: 1; }
.wslot:not(.whd) { min-height: 54px; }
.whd { min-height: 54px; }
/* weekend */
.weekend-panel { border-color: rgba(139,92,246,0.35); }
.wk-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 28%, transparent), rgba(255,255,255,0.03)); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); }
.wk-item .ico { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; display: block; box-shadow: 0 0 20px color-mix(in srgb, var(--c) 50%, transparent); }
.wk-item .name { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.wk-item .when { font-size: 12.5px; color: var(--muted); margin-top: 2px; } .wk-item .when b { color: var(--text); }
.wk-item .cd { margin-top: 4px; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--gold); font-variant-numeric: tabular-nums; }
.wk-item .cd small { font-family: var(--font); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.wk-item.live .cd { color: var(--ok); }
.wk-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wk-opt { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 6px 10px 6px 6px; border-radius: 10px; border: 1px solid var(--panel-border); background: rgba(255,255,255,0.03); opacity: 0.55; }
.wk-opt img { width: 24px; height: 24px; border-radius: 6px; }
.wk-opt.active { opacity: 1; border-color: color-mix(in srgb, var(--c) 70%, transparent); background: color-mix(in srgb, var(--c) 25%, transparent); font-weight: 700; }
@media (max-width: 560px) { .wk-item { grid-template-columns: 48px 1fr auto; gap: 10px; } .wk-item .ico { width: 48px; height: 48px; } }

.ev-weekwrap { padding-top: 0; }
@media (min-width: 900px) { .ev-weekwrap { grid-template-columns: 1fr; padding-top: 0; } }

.server-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(245,197,66,0.14); border: 1px solid rgba(245,197,66,0.45); color: var(--gold); text-shadow: none; }
.server-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7fe3ff; box-shadow: 0 0 10px #7fe3ff; }
.ev-banner .banner-text h1 { margin-bottom: 8px; }

/* credit */
.site-by { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }
.site-by span { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.06em;
  background: linear-gradient(90deg, #f5c542, #ffe38a 45%, #d99a1e); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 8px rgba(245,197,66,0.35)); }

.wk-item.voting { border-style: dashed; }
.live-tag.prog { background: var(--gold); color: #1a1300; animation: progPulse 1.6s infinite; }
@keyframes progPulse { 50% { opacity: 0.55; } }
