:root {
  --bg: #060d1f;
  --bg-soft: #0b1733;
  --panel: #101b36;
  --panel-soft: #131f3d;
  --text: #f4f6fb;
  --muted: #a9b4ce;
  --line: #223055;
  --brand: #ffb627;
  --brand-strong: #f7921e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 450px at 92% 8%, rgba(247, 146, 30, 0.14), transparent 52%),
    radial-gradient(900px 450px at 4% 100%, rgba(72, 113, 255, 0.12), transparent 56%),
    linear-gradient(180deg, #050a18 0%, #070f22 50%, #050a18 100%);
  line-height: 1.5;
}

.shell {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.nav-toggle {
  position: absolute;
  left: -9999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(6, 13, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #231503;
  font-weight: 700;
  font-size: 0.88rem;
}

.brand-name {
  color: var(--brand);
  font-family: "Fraunces", serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.site-nav a {
  color: var(--text);
  opacity: 0.84;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.45rem 0.72rem;
  border-radius: 9px;
  transition: all 0.2s ease;
}

.site-nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.nav-trigger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-trigger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #d9e2ff;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin: 0;
}

.hero-mini {
  padding: 3.2rem 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 182, 39, 0.12);
  border: 1px solid rgba(255, 182, 39, 0.25);
  color: var(--brand);
  border-radius: 999px;
  padding: 0.44rem 0.86rem;
  font-size: 0.79rem;
  font-weight: 600;
  margin: 0 0 1.15rem;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-mini h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.08;
}

.hero-mini p {
  max-width: 64ch;
  color: var(--muted);
  margin-top: 0.7rem;
}

.country-switch {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.country-link {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-size: 0.86rem;
}

.country-link:hover {
  border-color: rgba(255, 182, 39, 0.5);
  color: var(--brand);
}

.country-link.active {
  color: #231503;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  border-color: transparent;
  font-weight: 600;
}

.calendar-wrap {
  padding: 0 0 3.3rem;
}

.calendar-wrap .shell {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
}

.calendar-card,
.holiday-list-card {
  background: linear-gradient(180deg, rgba(18, 30, 57, 0.92), rgba(13, 24, 49, 0.95));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}

.calendar-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.calendar-topbar h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.nav-month-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-month-btn:hover {
  color: #231503;
  background: var(--brand);
  border-color: transparent;
}

.days-head,
.days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
}

.day-name {
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
  padding: 0.35rem 0;
}

.day-cell {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
}

.day-empty {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.04);
  background: transparent;
}

.is-holiday {
  background: rgba(255, 182, 39, 0.18);
  border-color: rgba(255, 182, 39, 0.55);
  color: var(--brand);
  font-weight: 700;
}

.holiday-list-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.holiday-list-card ul {
  margin: 0;
  padding: 0 0 0 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}

.holiday-list-card li {
  font-size: 0.95rem;
}

.holiday-list-card li strong {
  color: var(--text);
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(4, 9, 21, 0.76);
  padding: 1.25rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

footer p {
  margin: 0;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links span {
  font-weight: 600;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 960px) {
  .calendar-wrap .shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .site-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: grid;
    background: rgba(6, 13, 31, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    padding: 0.75rem 1rem 1rem;
    gap: 0.35rem;
  }

  .site-nav a {
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
  }

  .nav-trigger {
    display: inline-flex;
  }

  #nav-toggle:checked ~ .site-header .site-nav {
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .calendar-card,
  .holiday-list-card {
    padding: 0.8rem;
  }

  .day-cell {
    min-height: 40px;
    font-size: 0.88rem;
  }

  .nav-month-btn {
    width: 38px;
    height: 38px;
  }
}
