:root {
  --navy: #000035;
  --navy-deep: #000010;
  --teal: #4d838f;
  --gold: #a08c4d;
  --terracotta: #bd7859;
  --stone: #b5c0c5;
  --charcoal: #454547;
  --cream: #f3ede1;
}

* { box-sizing: border-box; }

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

body {
  background: var(--navy-deep);
  background-image:
    radial-gradient(circle at 50% 0%, #101040 0%, var(--navy-deep) 60%);
  color: var(--cream);
  font-family: 'Poiret One', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
}

.frame {
  position: fixed;
  inset: 14px;
  border: 2px solid var(--gold);
  pointer-events: none;
  z-index: 0;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid var(--gold);
}

.frame::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.frame::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 64px 32px 56px;
  margin: auto 0;
  text-align: center;
}

.sunburst {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 640px;
  z-index: -1;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(160, 140, 77, 0.12) 0deg 4deg,
      transparent 4deg 12deg
    );
  border-radius: 50%;
  mask-image: radial-gradient(circle, black 45%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, black 45%, transparent 72%);
}

.logo-wrap {
  display: inline-block;
  background: #f7f1ea;
  border-radius: 6px;
  padding: 20px;
}

.logo {
  width: 100%;
  max-width: 170px;
  display: block;
  filter: drop-shadow(0 0 24px rgba(77, 131, 143, 0.25));
}

.tagline {
  margin: 18px 0 40px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--stone);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border: 1px solid var(--teal);
  border-radius: 2px;
  color: var(--cream);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(77,131,143,0.08), rgba(77,131,143,0));
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  position: relative;
}

.links a::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(160, 140, 77, 0.35);
  pointer-events: none;
}

.links a:hover {
  background: rgba(160, 140, 77, 0.14);
  border-color: var(--gold);
  color: var(--gold);
}

.links a .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
}

.links a .icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.links a:nth-child(2) .icon svg,
.links a:nth-child(3) .icon svg {
  fill: currentColor;
  stroke: none;
}

.rule {
  margin: 44px auto 14px;
  width: 220px;
  color: var(--gold);
}

.rule svg {
  width: 100%;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.rule circle {
  fill: currentColor;
  stroke: none;
}

.location {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--terracotta);
}

@media (max-width: 480px) {
  main { padding: 48px 22px 40px; }
  .sunburst { width: 480px; height: 480px; top: -50px; }
}

@media (max-width: 360px) {
  .logo-wrap { padding: 14px; }
  .logo { max-width: 140px; }
  .tagline { font-size: 11px; letter-spacing: 2.5px; margin: 14px 0 32px; }
  .links a { padding: 12px 16px; font-size: 12px; letter-spacing: 2px; gap: 12px; }
  .rule { width: 180px; }
}

@media (max-height: 700px) and (orientation: landscape) {
  main { padding: 28px 32px; margin: 0 auto; }
  .sunburst { display: none; }
}
