.header {
  background: linear-gradient(135deg, #0d2449 0%, #1a3a52 100%);
  color: #ffd700;
  /* padding: 4px 2px; */
  text-align: center;
  border-bottom: 4px solid #ffd700;
}
body {
  background-color: black;
}
main {
  margin-top: 1%;
}
.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}
footer {
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #c084fc;
  user-select: none;
}
span[aria-label="love"] {
  color: #ef4444;
  display: inline-block;
  animation: pulse 1.5s infinite;
}
a {
  color: #f472b6;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  text-decoration: underline;
  color: #ec4899;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pink-link {
  color: #f472b6;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.pink-link:hover {
  text-decoration: underline;
  color: #ec4899;
}

.logo {
  width: 10%;
  border-radius: 8px;
}

.header-title {
  font-size: 2.5rem;
  /* margin-bottom: 10px; */
  font-weight: 700;
}
.header:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
  height: 300px;
}
.header:hover .header-content {
  color: #ffea00;
  transition: color 0.3s ease;
  display: flex;
  margin: auto auto auto auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.header:hover .logo {
  width: fit-content;
  height: 20vh;
  transition: width 0.3s ease;
}

.header-subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  color: #e6e6e6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.dashboard-section {
  width: 100%;
}

.dashboards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 5px solid #0d2449;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #ffd700;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 10px;
}

.card-title {
  font-size: 1.5rem;
  color: #0d2449;
  font-weight: 600;
  margin: 0;
}
.card-header {
  position: relative;
}
.header {
  position: relative;
}
.card {
  position: relative;
}
.search {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 3%;
  gap: 10px;
}
.search input {
  align-items: center;
  width: 19%;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 10px;
  border-color: #f472b6;

  box-shadow: yellow 0px 0px 8px;
}

.card-tag {
  position: absolute;
  top: -5%;
  right: -2%;
  z-index: 2;
  background-color: #ffd700;
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.card-description {
  color: #555;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-primary {
  background-color: #0d2449;
  color: #ffd700;
  border: 2px solid #0d2449;
}

.btn-primary:hover {
  background-color: #ffd700;
  color: #0d2449;
  border: 2px solid #ffd700;
}

.btn-primary:active {
  transform: scale(0.98);
}

.footer {
  background-color: #0d2449;
  color: #ffd700;
  text-align: center;
  padding: 20px;
  border-top: 3px solid #ffd700;
  margin-top: 60px;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #0d2449;
  color: #ffd700;
  padding: 16px 24px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-left: 4px solid #ffd700;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .header-title {
    font-size: 2rem;
  }

  .dashboards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .container {
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .header-title {
    font-size: 1.5rem;
  }

  .header-subtitle {
    font-size: 0.9rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card {
    padding: 20px;
  }
  .search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 3%;
    gap: 10px;
  }
}

.select-wrapper {
  position: relative;
}

:root {
  --bg: #0b0c10; /* near-black */
  --panel: #0f1117; /* dark panel */
  --panel-2: #111420; /* card surface */
  --ink: #f5f7fa; /* light text */
  --muted: #c9d2e0; /* body text */
  --gold: #f6c453; /* warm gold */
  --gold-600: #e4ae2b;
  --gold-300: #ffe1a6;
  --navy: #122033;
  --ring: rgba(246, 196, 83, 0.35);
  --shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

body {
  background: var(--bg);
  color: var(--ink);
}

/* ===== HEADER: low-flash, classic bar with gold underline ===== */
.header--classic {
  background: #0b0f16;
  border-bottom: 1px solid rgba(246, 196, 83, 0.25);
  padding: 18px 12px 26px;
}
.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}
.logo {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(246, 196, 83, 0.45);
  box-shadow: 0 2px 10px rgba(246, 196, 83, 0.12);
}
.header-text {
  display: flex;
  flex-direction: column;
}
.header-title {
  font-family: "Cinzel", serif;
  font-weight: 800;
  letter-spacing: 0.4px;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  color: #fff;
  margin: 0 0 2px;
}
.header-subtitle {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: #e8d8b2;
  opacity: 0.9;
  font-size: 0.98rem;
}
.header--classic::after {
  content: "";
  display: block;
  height: 2px;
  margin: 14px auto 0;
  width: min(92%, 1200px);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 16px rgba(246, 196, 83, 0.35);
}

/* ===== LAYOUT ===== */
main {
  margin-top: 24px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

/* ===== SEARCH (muted, gold ring on focus) ===== */
.search {
  gap: 10px;
  padding-bottom: 20px;
}
.search input {
  width: clamp(220px, 28%, 340px);
  padding: 12px 14px;
  border-radius: 10px;
  background: #0f131c;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  outline: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.search input::placeholder {
  color: #a9b4c4;
  opacity: 0.75;
}
.search input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 4px rgba(246, 196, 83, 0.12);
}
select {
  width: clamp(220px, 24%, 320px);
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #0f131c, #0b0f16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.selectArrow {
  color: var(--gold);
}

/* ===== GRID ===== */
.dashboards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* ===== CARD (subtle, no neon; soft gold accent) ===== */
.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2) 0%, #0e1320 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
  border-color: rgba(246, 196, 83, 0.22);
}
.card::before {
  /* thin gold bar on top */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-300));
  opacity: 0.85;
}
.card-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.card-title {
  margin: 0;
  color: #fff;
  letter-spacing: 0.3px;
  font-weight: 800;
  font-size: 1.12rem;
  font-family: "Cinzel", serif;
}
.card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(246, 196, 83, 0.14);
  color: var(--gold);
  border: 1px solid rgba(246, 196, 83, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  backdrop-filter: saturate(110%);
}
.card-description {
  color: var(--muted);
  margin: 6px 0 14px;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Small square icon that feels like the site’s chips */
.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: #1b2231;
  color: #ffd27a;
  border: 1px solid rgba(246, 196, 83, 0.28);
}

/* ===== BUTTONS: warm gold pill, no glow ===== */
.btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid var(--gold-600);
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease,
    border-color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold) 0%, #f0b63f 100%);
  color: #231a07;
}
.btn-primary:hover {
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

/* ===== FOOTER tweak for brand color ===== */
footer {
  color: #f0c97a;
}
a {
  color: #f0c97a;
}
a:hover {
  color: #ffd788;
}
