*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #d4af37;
  --gold-bright: #ffd700;
  --gold-deep: #b8860b;
  --cream: #fff8e7;
  --cloud: #f5efe0;
  --heaven-blue: #8ba4b8;
  --text: #2a2418;
  --text-muted: #5c5344;
  --glow: rgba(255, 215, 0, 0.45);
  --card-bg: rgba(255, 252, 245, 0.82);
  --header-h: 72px;
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--text);
  background: linear-gradient(165deg, #e8eef3 0%, var(--cream) 28%, #faf3dc 55%, #f0e6c8 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Ambient sky */
.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.clouds {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(255, 248, 220, 0.9) 0%, transparent 70%),
    radial-gradient(ellipse 60% 30% at 20% 90%, rgba(255, 255, 255, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 50% 25% at 80% 85%, rgba(255, 255, 255, 0.5) 0%, transparent 55%);
}

.particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0;
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  box-shadow: 0 0 8px var(--glow);
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.85; transform: scale(1.2); }
}

.feathers {
  position: absolute;
  inset: 0;
}

.feather {
  position: absolute;
  width: 28px;
  height: 48px;
  opacity: 0.35;
  animation: float-feather var(--dur, 18s) linear infinite;
  animation-delay: var(--delay, 0s);
  filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.5));
}

.feather::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fff 30%, #e8e4dc 70%, transparent);
  clip-path: ellipse(40% 50% at 50% 50%);
  transform: rotate(-15deg);
}

@keyframes float-feather {
  0% {
    transform: translateY(110vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  8% { opacity: 0.4; }
  92% { opacity: 0.25; }
  100% {
    transform: translateY(-10vh) translateX(var(--drift, 40px)) rotate(360deg);
    opacity: 0;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(255, 252, 245, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  border-radius: 50%;
  box-shadow: 0 0 20px var(--glow), 0 0 40px rgba(255, 215, 0, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-rip {
  font-family: Cinzel, serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}

.brand-name {
  font-family: "Great Vibes", cursive;
  font-size: 1.35rem;
  color: var(--gold);
  margin-top: -2px;
}

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

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--gold-deep);
}

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(212, 175, 55, 0.08));
  color: var(--gold-deep) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-deep);
  border-radius: 1px;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero-halo {
  position: absolute;
  top: 8rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  border-radius: 50%;
  border: 2px solid rgba(255, 215, 0, 0.25);
  box-shadow:
    0 0 60px rgba(255, 215, 0, 0.2),
    0 0 120px rgba(255, 215, 0, 0.1),
    inset 0 0 80px rgba(255, 215, 0, 0.08);
  pointer-events: none;
  animation: halo-pulse 5s ease-in-out infinite;
}

@keyframes halo-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.03); }
}

.hero-banner-wrap {
  position: relative;
  margin: 0 auto 2rem;
  max-width: 960px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(42, 36, 24, 0.15),
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 0 80px rgba(255, 215, 0, 0.15);
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.hero-banner-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(255, 248, 231, 0.4) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
}

.hero-tag {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--heaven-blue);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 1rem;
}

.title-rip {
  font-family: Cinzel, serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
}

.title-heart {
  font-size: 1rem;
  color: var(--gold);
  line-height: 1;
}

.title-goslings {
  font-family: "Great Vibes", cursive;
  font-size: clamp(3rem, 12vw, 5.5rem);
  color: var(--gold);
  line-height: 1.1;
  filter: drop-shadow(0 2px 12px rgba(212, 175, 55, 0.35));
}

.hero-sub {
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  color: var(--text-muted);
  font-style: italic;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: Cinzel, serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #2a2010;
  border: 1px solid var(--gold-deep);
  box-shadow: 0 4px 24px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.55);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--gold-deep);
  border: 1px solid rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.2);
  background: rgba(255, 252, 245, 0.95);
}

/* About */
.about {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 16px 48px rgba(42, 36, 24, 0.08);
  backdrop-filter: blur(10px);
  margin-bottom: 2.5rem;
}

.about-logo {
  flex-shrink: 0;
  width: min(200px, 40vw);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 40px var(--glow);
}

.about-text h2 {
  font-family: Cinzel, serif;
  font-size: 1.75rem;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.about-muted {
  color: var(--text-muted);
  font-style: italic;
}

.pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.pillars li {
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  backdrop-filter: blur(8px);
}

.pillar-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pillars h3 {
  font-family: Cinzel, serif;
  font-size: 1.1rem;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}

.pillars p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Links */
.links {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  text-align: center;
}

.links h2 {
  font-family: Cinzel, serif;
  font-size: 1.85rem;
  color: var(--gold-deep);
  margin-bottom: 2rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.2);
}

.link-card-highlight {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(255, 252, 245, 0.95), rgba(255, 215, 0, 0.12));
}

.link-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(212, 175, 55, 0.1));
  color: var(--gold-deep);
}

.link-card-icon svg {
  width: 24px;
  height: 24px;
}

.link-card-label {
  font-family: Cinzel, serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold-deep);
}

.link-card-url {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contract-box {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  text-align: left;
}

.contract-label {
  display: block;
  font-family: Cinzel, serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contract-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.contract-row code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  word-break: break-all;
  color: var(--text);
  background: rgba(255, 255, 255, 0.5);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.btn-copy {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-family: Cinzel, serif;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: #2a2010;
  transition: opacity 0.2s;
}

.btn-copy:hover {
  opacity: 0.9;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(255, 252, 245, 0.6);
}

.footer-logo {
  border-radius: 50%;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.footer p {
  font-size: 1rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 0.85rem !important;
  margin-top: 0.5rem;
  opacity: 0.75;
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(255, 252, 245, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .about-card {
    flex-direction: column;
    text-align: center;
  }
}
