/* =========================
   Recoleta (LOCAL)
   Put Recoleta-RegularDEMO.otf in the SAME folder as style.css
========================= */


/* =========================
   Theme Variables
========================= */
:root {
  --bg: #f6f7ff;
  --bg2: #f7fbff;
  --blob1: rgba(99, 102, 241, 0.25);
  --blob2: rgba(168, 85, 247, 0.18);
  --blob3: rgba(56, 189, 248, 0.14);

  --surface: rgba(255, 255, 255, 0.82);
  --text: #0f172a;
  --muted: #5b6477;
  --border: rgba(15, 23, 42, 0.10);

  --shadowLg: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadowMd: 0 14px 40px rgba(15, 23, 42, 0.10);
  --shadowSm: 0 8px 22px rgba(15, 23, 42, 0.10);

  --radiusLg: 18px;
  --radiusMd: 14px;

  --primary: #4f46e5;
  --primary2: #7c3aed;
  --ring: rgba(79, 70, 229, 0.22);

  --chipBg: rgba(124, 58, 237, 0.10);
  --chipBorder: rgba(124, 58, 237, 0.18);

  --warnBg: rgba(255, 230, 170, 0.35);
  --warnBorder: rgba(255, 200, 90, 0.30);
}

[data-theme="dark"] {
  --bg: #070a18;
  --bg2: #0b1026;
  --blob1: rgba(99, 102, 241, 0.25);
  --blob2: rgba(168, 85, 247, 0.20);
  --blob3: rgba(56, 189, 248, 0.12);

  --surface: rgba(16, 18, 35, 0.70);
  --text: #e7eaff;
  --muted: rgba(231, 234, 255, 0.72);
  --border: rgba(231, 234, 255, 0.10);

  --shadowLg: 0 24px 70px rgba(0, 0, 0, 0.55);
  --shadowMd: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadowSm: 0 8px 22px rgba(0, 0, 0, 0.40);

  --primary: #8b5cf6;
  --primary2: #60a5fa;
  --ring: rgba(139, 92, 246, 0.25);

  --chipBg: rgba(139, 92, 246, 0.16);
  --chipBorder: rgba(139, 92, 246, 0.22);

  --warnBg: rgba(255, 208, 120, 0.18);
  --warnBorder: rgba(255, 208, 120, 0.22);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);

  background:
    radial-gradient(900px 520px at 12% 10%, var(--blob1), transparent 62%),
    radial-gradient(760px 520px at 86% 18%, var(--blob2), transparent 62%),
    radial-gradient(700px 520px at 50% 90%, var(--blob3), transparent 65%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

/* Container */
.container {
  width: min(1100px, calc(100% - 40px));
  margin: 42px auto;
  padding: 26px;
  border-radius: var(--radiusLg);
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: var(--shadowLg);
   -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

/* LOGO (Recoleta + tracking) */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.logoText {
  font-family: "Recoleta", "DM Serif Display", serif;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  font-size: 48px;
  line-height: 1;
}

.logoSmall .logoText { font-size: 34px; }

.logoMark {
  font-size: 30px;
  opacity: 0.85;
  transform: translateY(1px);
  filter: drop-shadow(0 10px 18px rgba(15,23,42,0.10));
}

.subtitle {
  margin: 10px 0 0 0;
  color: var(--muted);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.4;
  max-width: 650px;
}

.muted { color: var(--muted); font-size: 13px; }

/* Nav */
.nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.navLink {
  text-decoration: none;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(15,23,42,0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

[data-theme="dark"] .navLink { background: rgba(16,18,35,0.65); }

.navLink:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15,23,42,0.12);
}

/* Theme toggle */
.themeToggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.35));
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15,23,42,0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

[data-theme="dark"] .themeToggle {
  background: linear-gradient(180deg, rgba(16,18,35,0.75), rgba(16,18,35,0.55));
}

.themeToggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15,23,42,0.12);
}

.toggleIcon { font-size: 14px; }
.toggleText { font-size: 13px; font-weight: 600; }

/* Layout */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}

@media (min-width: 900px){
  .grid { grid-template-columns: 1.3fr 0.7fr; align-items: start; }
}

.panel {
  background: rgba(255,255,255,0.70);
  border-radius: var(--radiusLg);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadowMd);
  min-width: 0;
}
[data-theme="dark"] .panel { background: rgba(16,18,35,0.65); }

.panel h2,
.card h3 {
  font-family: "DM Serif Display", serif;
  letter-spacing: 0.06em;
}

/* Inputs */
textarea,
.searchBox,
select.searchBox {
  width: 100%;
  padding: 12px;
  border-radius: var(--radiusMd);
  border: 1px solid var(--border);
  outline: none;
  font-size: 14px;
  background: rgba(255,255,255,0.78);
  color: var(--text);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

textarea { min-height: 175px; resize: none; padding: 14px; }

[data-theme="dark"] textarea,
[data-theme="dark"] .searchBox,
[data-theme="dark"] select.searchBox {
  background: rgba(16,18,35,0.78);
}

textarea:focus,
.searchBox:focus,
select.searchBox:focus {
  border-color: rgba(79,70,229,0.45);
  box-shadow: 0 0 0 4px var(--ring);
}

/* Buttons */
.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.10s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

button:not(.smallBtn) {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: white;
  box-shadow: 0 14px 30px rgba(79,70,229,0.22);
}

button:not(.smallBtn):hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(79,70,229,0.28);
}

.smallBtn {
  background: rgba(255,255,255,0.55);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

[data-theme="dark"] .smallBtn { background: rgba(16,18,35,0.65); }

.smallBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15,23,42,0.12);
}

/* Output area */
.output {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radiusLg);
  background: rgba(79,70,229,0.08);
  border: 1px solid rgba(79,70,229,0.14);
}

/* Cards + chat items */
.card,
.chatItem {
  background: rgba(255,255,255,0.72);
  border-radius: var(--radiusLg);
  padding: 14px;
  margin-top: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadowSm);
}

[data-theme="dark"] .card,
[data-theme="dark"] .chatItem {
  background: rgba(16,18,35,0.70);
}

.card h3 { margin: 4px 0 8px 0; font-size: 15px; }
.why { color: var(--muted); }
.steps { margin: 10px 0 0 18px; }

.chatItem { margin-top: 10px; padding: 10px 12px; }
.chatItem .meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.chatClickable {
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.chatClickable:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(15,23,42,0.14);
  background: rgba(124,58,237,0.06);
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--chipBg);
  border: 1px solid var(--chipBorder);
  color: var(--text);
  margin-top: 8px;
  margin-right: 6px;
}

/* Disclaimer */
.disclaimer {
  background: var(--warnBg);
  border: 1px solid var(--warnBorder);
  padding: 10px 12px;
  border-radius: var(--radiusMd);
  font-size: 13px;
}

/* Link button */
.linkBtn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(79,70,229,0.12);
  color: var(--primary);
  border: 1px solid rgba(79,70,229,0.20);
  font-weight: 700;
  transition: transform 0.10s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.linkBtn:hover {
  transform: translateY(-1px);
  background: rgba(79,70,229,0.16);
  box-shadow: 0 14px 30px rgba(79,70,229,0.14);
}

.phoneLink, .link {
  color: var(--primary2);
  text-decoration: underline;
  font-weight: 800;
}
.phoneLink:hover, .link:hover { opacity: 0.85; }

/* Searching- Empty State */
#campusHint {
  display: block; 
  min-height: 1.2em; 
  transition: color 0.2s ease;
}

.no-results-active {
  animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both !important;
  color: #ef4444 !important;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Customed Background */
#mascot-overlay {
  position: fixed;
  bottom: -40px;
  right: -40px;
  font-size: 300px;
  pointer-events: none;
  z-index: -1;
  transition: all 0.6s ease;
  filter: grayscale(0.4);
  user-select: none;
}

.logoText {
  background: linear-gradient(135deg, var(--primary), var(--primary2)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
/* ============================
   TEAM SECTION FIX + MASCOT
   (paste at VERY bottom)
   ============================ */

.teamHeaderRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.teamGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:14px;
}

@media (max-width: 900px){
  .teamGrid{ grid-template-columns: 1fr; }
}

.teamCard{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 14px;
  border-radius:16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 10px 26px rgba(0,0,0,0.20);
}

[data-theme="light"] .teamCard{
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.75);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.avatar{
  width:44px;
  height:44px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:#fff;
  background: linear-gradient(135deg, #7a8cff, #b9a6ff);
  flex: 0 0 auto;
}

.teamText{ min-width: 0; }

.teamName{
  font-weight:800;
  letter-spacing: 0.2px;
  line-height: 1.15;
}

.teamRole{
  margin-top:4px;
  opacity:0.85;
  font-size: 13px;
}

.teamBuddy{
  margin-left:auto;
  font-size: 22px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25));
  animation: buddyBounce 2.4s ease-in-out infinite;
}

@keyframes buddyBounce{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Floating mascot in the Team header */
.teamMascot{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

[data-theme="light"] .teamMascot{
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.75);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.mascotEmoji{
  animation: pawWiggle 1.2s ease-in-out infinite;
}

.mascotAnimal{
  font-size: 22px;
  animation: floaty 2.8s ease-in-out infinite;
}

@keyframes floaty{
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes pawWiggle{
  0%,100% { transform: rotate(0deg); }
  50% { transform: rotate(-18deg); }
}
