/* Erebor — Haftalık Etkinlik Takvimi — yerel stiller */
:root {
  --bg1: #0f3a66;
  --bg2: #061525;
  --panel: rgba(255, 255, 255, .05);
  --panel-bd: rgba(255, 255, 255, .10);
  --card: #14263b;
  --card-bd: rgba(255, 255, 255, .08);
  --txt: #eef2f7;
  --muted: #9fb2c6;
  --gold: #d9b26a;
}

body.light-theme {
  --bg1: #f0f4f8;
  --bg2: #dbe4ee;
  --panel: rgba(255, 255, 255, 0.65);
  --panel-bd: rgba(12, 26, 42, 0.12);
  --card: #ffffff;
  --card-bd: rgba(12, 26, 42, 0.10);
  --txt: #182e46;
  --muted: #5e7692;
  --gold: #bc8f2f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--txt);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

.logo {
  background: url("../img/logo.png") no-repeat center;
  background-size: contain;
  width: 100%;
  height: 70px;
  margin-top: 24px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px 64px;
  position: relative;
}

.page-title {
  text-align: center;
  margin: 12px 0 4px;
  font-size: 1.35rem;
  letter-spacing: .5px;
}

.page-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 18px;
  font-size: .88rem;
}

/* Canlı durum çubuğu */
.live {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 14px;
  align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--panel-bd);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.live .clock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 16px;
  border-right: 1px solid var(--panel-bd);
  min-width: 120px;
}

.live .clock .t {
  font-size: 1.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.live .clock .d {
  font-size: .72rem;
  color: var(--muted);
  margin-top: 2px;
}

.live .slot .lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin-bottom: 6px;
}

.live .slot .val {
  font-size: .92rem;
  line-height: 1.35;
}

.live .slot .val .none {
  color: var(--muted);
}

.live .slot .val .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--card-bd);
  border-radius: 8px;
  padding: 3px 9px;
  margin: 2px 4px 2px 0;
  font-size: .82rem;
}

.live .slot .val .pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.live .slot .val .tm {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.live .slot .val .pd {
  color: var(--muted);
}

.live .slot .val .cd {
  color: #0c1a2a;
  background: var(--gold);
  border-radius: 5px;
  padding: 1px 7px;
  font-size: .74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Araçlar */
.search {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--panel-bd);
  background: var(--panel);
  color: var(--txt);
  font-size: .95rem;
  outline: none;
}

.search::placeholder {
  color: var(--muted);
}

.search:focus {
  border-color: var(--gold);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .8rem;
  user-select: none;
  border: 1px solid var(--panel-bd);
  background: var(--panel);
  color: var(--txt);
  transition: opacity .15s, transform .05s;
}

.chip:active {
  transform: scale(.97);
}

.chip:focus-visible,
.col:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.chip .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.chip .n {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.chip.off {
  opacity: .4;
}

.chip[data-all] {
  font-weight: 600;
}

/* Haftalık tablo */
.board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.col {
  background: var(--card);
  border: 1px solid var(--card-bd);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .12s;
}

.col:hover {
  box-shadow: 0 0 0 1px var(--muted);
}

.col.today {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.col.sel {
  box-shadow: 0 0 0 2px var(--gold);
}

.col>.head {
  text-align: center;
  padding: 9px 6px;
  font-weight: 600;
  font-size: .9rem;
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid var(--card-bd);
}

.col.today>.head {
  background: var(--gold);
  color: #0c1a2a;
}

.col.today>.head::after {
  content: var(--today-suffix, " · Bugün");
  font-weight: 700;
  font-size: .72rem;
}

.col .list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  min-height: 40px;
}

.ev {
  /* Kategori rengi JS'ten --c değişkeni olarak gelir. Görünümü buradan ayarla. */
  border-left: 3px solid var(--c, #888);
  background: color-mix(in srgb, var(--c, #888) 16%, transparent);
  border-radius: 5px;
  padding: 5px 7px;
  font-size: .72rem;
  line-height: 1.3;
}

.ev .tm {
  color: var(--gold);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 1px;
}

.ev .nm {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.col.today .ev.active {
  position: relative;
  font-weight: 600;
  /* Aktif kutu: solid parlak yerine kendi renginin daha belirgin bir tint'i.
     Aktifliği zaten dönen altın çerçeve (.ev.active::before) belli ediyor.
     Tonu koyulaştırmak/açmak için aşağıdaki yüzdeyi değiştir. */
  background: color-mix(in srgb, var(--c, #888) 34%, transparent);
  box-shadow: 0 0 10px rgba(217, 178, 106, .45);
}

.col .none {
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
  padding: 10px 4px;
}

/* Aktif etkinlik — etrafında dönen ışıklı çerçeve */
@property --spin-a {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin-border {
  to {
    --spin-a: 360deg;
  }
}

.ev.active,
.dcard.now,
.cal-day.today,
.cal-day.active {
  position: relative;
}

.ev.active::before,
.dcard.now::before,
.cal-day.today::before,
.cal-day.active::before {
  content: "";
  position: absolute;
  inset: -2px;
  padding: 2px;
  pointer-events: none;
  z-index: 3;
  background: var(--gold); /* Firefox @property fallback */
  background: conic-gradient(from var(--spin-a),
      var(--gold), transparent 90deg, var(--gold) 180deg, transparent 270deg, var(--gold));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-border 2.6s linear infinite;
}

.ev.active::before {
  border-radius: 7px;
}

.dcard.now::before {
  border-radius: 14px;
  inset: -3px;
  padding: 3px;
  background: var(--gold);
  background: conic-gradient(from var(--spin-a),
      #fff4d6, var(--gold) 55deg, rgba(217, 178, 106, 0.25) 120deg,
      var(--gold) 190deg, #fff4d6 255deg, var(--gold) 320deg, #fff4d6);
  filter: drop-shadow(0 0 6px rgba(217, 178, 106, 0.85));
  animation-duration: 2s;
}

.cal-day.today::before,
.cal-day.active::before {
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {

  .ev.active::before,
  .dcard.now::before,
  .cal-day.today::before,
  .cal-day.active::before {
    animation: none;
    background: var(--gold);
  }
}

/* Gün detay paneli */
.detail {
  margin-top: 28px;
  scroll-margin-top: 14px;
}

.detail .d-head {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--panel-bd);
}

.detail .hint {
  text-align: center;
  color: var(--muted);
  padding: 28px 0;
}

.dcard {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--card-bd);
  border-left: 4px solid var(--c, #888);
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 10px;
}

.dcard.now {
  box-shadow: 0 0 24px rgba(217, 178, 106, .5);
}

.dcard .when {
  color: var(--gold);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: .95rem;
}

.dcard .when .live-tag {
  display: inline-block;
  margin-top: 5px;
  font-size: .66rem;
  font-weight: 700;
  color: #0c1a2a;
  background: var(--gold);
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: .3px;
}

.dcard .badge {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 700;
  color: #0c1a2a;
  background: var(--c, #888);
}

.dcard h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.3;
}

.dcard .desc {
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 14px;
  border-radius: 8px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.dcard .desc.empty {
  font-style: italic;
  opacity: .7;
  background: transparent;
  padding: 0;
  border: none;
  margin-top: 4px;
}

.dcard .desc p {
  margin: 0 0 4px 0;
}

.dcard .desc p:last-child {
  margin-bottom: 0;
}

.foot-note {
  text-align: center;
  color: var(--muted);
  font-size: .76rem;
  margin-top: 22px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #0c1a2a;
  border: none;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: scale(1.1);
}

/* Search native clear button styling */
.search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb2c6' stroke-width='2.5'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") no-repeat center;
  cursor: pointer;
}

/* Chip active state — daha belirgin */
.chip[data-cat]:not(.off) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  font-weight: 600;
}

@media (max-width:760px) {
  .board {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .col .list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .col .ev {
    flex: 1 1 46%;
  }

  .live {
    grid-template-columns: 1fr;
  }

  .live .clock {
    border-right: 0;
    border-bottom: 1px solid var(--panel-bd);
    padding: 0 0 12px;
    flex-direction: row;
    gap: 10px;
  }

  .page-title {
    font-size: 1.3rem;
  }
}

/* --- Skeleton Loading --- */
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-pulse {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-ev {
  height: 42px;
  border-radius: 5px;
  margin-bottom: 5px;
}

/* --- Tabs --- */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.tab-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--txt);
}

.tab-btn.active {
  background: var(--gold);
  color: #0c1a2a;
  border-color: var(--gold);
  font-weight: 600;
}

/* --- Language Switcher & Top Controls --- */
.top-controls {
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-btn {
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--panel-bd);
  border-radius: 8px;
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.settings-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background-color: rgba(255, 255, 255, 0.08);
}

.lang-switcher {
  /* Managed by .top-controls */
}

.lang-switcher select {
  background: var(--panel);
  color: var(--txt);
  border: 1px solid var(--panel-bd);
  padding: 6px 30px 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d9b26a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.lang-switcher select:hover {
  border-color: var(--gold);
  background-color: rgba(255, 255, 255, 0.08);
}

.lang-switcher select:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.lang-switcher select option {
  background: var(--bg2);
  color: var(--txt);
}

@media (max-width:760px) {
  .top-controls {
    position: static;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    margin-top: -10px;
  }
}

/* --- Monthly Calendar --- */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: var(--card);
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--card-bd);
}

.btn-cal {
  background: var(--bg2);
  color: var(--txt);
  border: 1px solid var(--panel-bd);
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.btn-cal:hover {
  background: var(--panel);
}

.cal-title {
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0;
  font-weight: bold;
}

.calendar-days-header {
  display: grid;
  /* minmax(0, 1fr): sütunlar içeriğe göre şişip taşmasın, eşit bölünsün */
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.cal-day {
  background: var(--card);
  border: 1px solid var(--card-bd);
  border-radius: 8px;
  min-height: 100px;
  min-width: 0; /* içerik hücreyi şişirmesin */
  padding: 8px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.cal-day:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.cal-day.empty {
  background: transparent;
  border-color: transparent;
}

.cal-day .d-num {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.cal-day.today {
  border-color: var(--gold);
  background: var(--card); /* arka plan diğer hücrelerle aynı; bugün altın çerçeveyle belli */
  box-shadow: 0 0 15px rgba(217, 178, 106, 0.15);
}

.cal-day.today .d-num {
  color: var(--gold);
}

.cal-day.active {
  border-color: var(--gold);
  background: var(--bg2); /* şeffaf tint yerine belirgin, karttan daha koyu ton */
  box-shadow: 0 0 15px rgba(217, 178, 106, 0.20);
}

.cal-day.active .d-num {
  color: var(--gold);
}

.cal-ev {
  display: flex;
  flex-direction: column; /* saat üstte, ad hemen altında tam genişlikte */
  gap: 1px;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background 0.2s;
  border-left: 3px solid var(--c);
  min-width: 0; /* uzun ad hücreyi yatayda genişletmesin */
  max-width: 100%;
}

/* Ad tam görünsün, gerekirse alt satıra insin (saatin altından, boşluk kalmadan) */
.cal-ev .t { display: block; }
.cal-ev .nm {
  display: block;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.cal-ev:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cal-ev .t {
  font-weight: bold;
  opacity: 0.8;
}

/* --- Calendar Mobile Responsive --- */
@media (max-width:760px) {
  .calendar-days-header {
    display: none;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cal-day {
    min-height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
  }

  .cal-day.empty {
    display: none;
  }

  .cal-day .d-num {
    margin-bottom: 0;
    font-size: 0.95rem;
    min-width: 32px;
  }

  .cal-ev {
    flex: 1 1 auto;
    white-space: normal;
  }

  .calendar-header {
    padding: 8px 14px;
  }

  .cal-title {
    font-size: 1rem;
  }

  .dcard {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* --- Settings Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-out;
}

.modal {
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: slideUp 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--panel-bd);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--gold);
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.toggle-row .lbl {
  font-size: 0.95rem;
  color: var(--txt);
}

.toggle-row .lbl small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--bg1);
  border: 1px solid var(--panel-bd);
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--muted);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--gold);
  border-color: var(--gold);
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #0c1a2a;
}

/* --- Progress Bar --- */
.dcard.now {
  position: relative;
  /* Not: overflow:hidden KULLANILMIYOR — kartın dışına taşan dönen çerçeve
     efektini kırpardı. Progress bar köşeleri aşağıda yuvarlatılarak taşma önlendi. */
}

.dcard.now .progress-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: rgba(255,255,255,0.05);
  border-radius: 0 0 12px 12px;
}

.dcard.now .progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--gold);
  width: 0%;
  transition: width 1s linear;
  box-shadow: 0 0 8px rgba(217,178,106,0.8);
  border-bottom-left-radius: 12px;
}

/* --- Takvime Ekle butonları --- */
.cal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--card-bd);
}
.cal-actions .cal-lbl {
  font-size: 0.8rem;
  color: var(--muted);
}
.cal-actions .cal-btn {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--gold);
  border: 1px solid var(--card-bd);
  border-radius: 999px;
  padding: 3px 12px;
  transition: background 0.15s, border-color 0.15s;
}
.cal-actions .cal-btn:hover {
  border-color: var(--gold);
  background: rgba(217, 178, 106, 0.12);
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.dcard {
  transition: transform 0.2s, box-shadow 0.2s;
}

.dcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.col {
  transition: transform 0.2s, box-shadow 0.2s;
}
.col:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}