/* ====== Reset / Base ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden; /* non-scrolling page */
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: rgba(255, 255, 255, 0.92);
  background: radial-gradient(
      900px 420px at 15% 10%,
      rgba(168, 85, 247, 0.28),
      rgba(0, 0, 0, 0) 60%
    ),
    radial-gradient(
      700px 500px at 85% 25%,
      rgba(236, 72, 153, 0.16),
      rgba(0, 0, 0, 0) 55%
    ),
    radial-gradient(
      900px 700px at 55% 95%,
      rgba(59, 130, 246, 0.12),
      rgba(0, 0, 0, 0) 60%
    ),
    linear-gradient(135deg, #070611 0%, #0b0720 35%, #120733 70%, #060611 100%);
  position: relative;
}

/* subtle star field */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,0.30) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 120px 120px, 220px 220px;
  background-position: 0 0, 40px 60px;
  opacity: 0.35;
  filter: blur(0.2px);
}

/* page layout using exact % heights */
.site-header {
  height: 5%;
  min-height: 56px; /* keeps it usable on small screens */
  position: relative;
  z-index: 1;
}

.site-footer {
  height: 2%;
  min-height: 34px;
  position: relative;
  z-index: 1;
}

.site-main {
  height: calc(100% - 5% - 2%);
  position: relative;
  z-index: 1;
}

/* ====== Header ====== */
.site-header,
.site-footer {
  backdrop-filter: blur(10px);
  background: linear-gradient(
    to bottom,
    rgba(20, 10, 45, 0.55),
    rgba(10, 8, 20, 0.22)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer {
  border-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner,
.footer-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(14px, 2vw, 22px);
  gap: 16px;
}

.logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo-link {
  height: 100%; /* controls logo size inside header */
  display: flex;
  align-items: center;
  padding: 0; /* remove padding so image aligns clean */
}

.logo-link img {
  height: 100%;
  width: auto;
  display: block;
}


.logo-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* nav links right */
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.6vw, 18px);
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(168, 85, 247, 0.10);
  border-color: rgba(168, 85, 247, 0.22);
}

/* ====== Calendar Frame ====== */
.cal-frame {
  height: 100%;
  padding: 2%; /* 3% gutter on all sides */
  text-align: center;
}

.cal-frame > iframe {
  border-radius: 24pt;
  max-width: 1024px;
}

.calendar-iframe {
  width: 100%;
  height: 100%;
  max-width: 1024px;
  border-radius: 30pt; /* big smooth corners */
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 8, 25, 0.55);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(168, 85, 247, 0.12) inset;
  overflow: hidden;
}


.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 8px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-decoration: none;
  line-height: 0; /* prevents weird inline spacing */
  transition: all 0.2s ease;
}

.social-icon:hover {
  color: white;
  background: rgba(168, 85, 247, 0.20);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.45);
}

.social-svg {
  width: 20px;
  height: 20px;
  display: block;
}
