:root {
  --cream: #fffaf2;
  --cream-2: #fff3eb;
  --pink: #ffdce8;
  --rose: #ff6489;
  --rose-dark: #a22d58;
  --berry: #7c2348;
  --sage: #cfe5c8;
  --sage-dark: #5f8a5b;
  --wood: #7b4c3d;
  --text: #432237;
  --muted: #8b6072;
  --paper: rgba(255,255,255,.74);
  --line: rgba(255,100,137,.18);
  --shadow: 0 24px 70px rgba(124,35,72,.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 5%, rgba(207,229,200,.75), transparent 22rem),
    radial-gradient(circle at 80% 0%, rgba(255,220,232,.95), transparent 24rem),
    linear-gradient(180deg, var(--cream) 0%, #fff0f5 48%, var(--cream-2) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: radial-gradient(rgba(124,35,72,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
}
.floaty { position: fixed; z-index: -1; opacity: .35; filter: blur(.1px); }
.flower-a { left: 7vw; top: 28vh; color: var(--rose); font-size: 2rem; }
.flower-b { right: 8vw; top: 72vh; color: var(--rose); font-size: 1.5rem; }
.mushroom { left: 82vw; top: 30vh; font-size: 2rem; opacity: .28; }

.site-header {
  width: min(1160px, calc(100% - 36px));
  margin: 22px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 28px;
  background: rgba(255,255,255,.54);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 36px rgba(124,35,72,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 14px;
  z-index: 5;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; color: var(--berry); }
.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--rose), #ff9ab2);
  box-shadow: 0 14px 30px rgba(255,100,137,.24);
  font-size: .86rem;
}
.nav-links { display: flex; align-items: center; gap: 6px; font-weight: 900; color: var(--muted); }
.nav-links a { text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.nav-links a:hover { background: rgba(255,220,232,.7); color: var(--berry); }
.nav-pill { background: var(--pink); color: var(--rose-dark) !important; }

.hero-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 42px auto 0;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
  gap: 42px;
  align-items: center;
}
.kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--sage-dark);
  font-size: .78rem;
  font-weight: 900;
}
h1, h2, h3 { font-family: 'Quicksand', system-ui, sans-serif; margin: 0; line-height: 1.02; letter-spacing: -.04em; }
h1 { max-width: 760px; color: var(--berry); font-size: clamp(2.85rem, 6.2vw, 5.8rem); }
h2 { color: var(--rose-dark); font-size: clamp(2rem, 4vw, 3.75rem); }
h3 { color: var(--rose-dark); font-size: 1.75rem; }
.subtext { max-width: 620px; color: var(--muted); font-size: 1.18rem; line-height: 1.75; margin: 24px 0 30px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.button, .copy-btn, .tab {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button { display: inline-flex; align-items: center; justify-content: center; padding: 15px 24px; }
.button:hover, .copy-btn:hover, .tab:hover { transform: translateY(-2px); }
.primary, .copy-btn, .tab.active { background: linear-gradient(135deg, var(--rose), #ff7898); color: white; box-shadow: 0 18px 34px rgba(255,100,137,.25); }
.secondary { background: rgba(255,255,255,.68); color: var(--rose-dark); border: 2px solid rgba(255,100,137,.2); }

.postcard {
  position: relative;
  padding: 18px;
  border-radius: 38px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.stamp { position: absolute; right: 22px; top: 22px; z-index: 2; width: 54px; height: 54px; border: 2px dashed rgba(162,45,88,.22); border-radius: 18px; display: grid; place-items: center; color: var(--rose); background: rgba(255,255,255,.62); }
.scene { position: relative; min-height: 360px; overflow: hidden; border-radius: 28px; background: linear-gradient(180deg, #ffdceb 0%, #ffeec9 48%, #cdf0d0 49%, #a9dca8 100%); }
.sun { position: absolute; right: 74px; top: 60px; width: 74px; height: 74px; border-radius: 999px; background: #ffd36e; box-shadow: 0 0 50px rgba(255,211,110,.65); }
.hill { position: absolute; bottom: -58px; border-radius: 999px 999px 0 0; }
.hill-one { left: -60px; width: 330px; height: 190px; background: #8fca83; }
.hill-two { right: -90px; width: 390px; height: 220px; background: #b8dda4; }
.house { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); width: 178px; height: 132px; }
.roof { position: absolute; left: 10px; top: 0; width: 158px; height: 82px; background: var(--wood); clip-path: polygon(50% 0, 100% 64%, 88% 64%, 88% 100%, 12% 100%, 12% 64%, 0 64%); }
.body { position: absolute; left: 32px; bottom: 0; width: 114px; height: 88px; background: #ffd4de; border: 4px solid rgba(124,35,72,.1); border-radius: 10px; }
.door { position: absolute; left: 72px; bottom: 0; width: 34px; height: 54px; background: #8b5a46; border-radius: 15px 15px 4px 4px; }
.window { position: absolute; left: 42px; bottom: 38px; width: 28px; height: 28px; background: #fff2a7; border-radius: 8px; box-shadow: 72px 0 0 #fff2a7; }
.tree { position: absolute; bottom: 70px; width: 44px; height: 88px; background: #7b4c3d; border-radius: 18px; }
.tree:before { content: ''; position: absolute; left: -32px; top: -48px; width: 108px; height: 90px; border-radius: 999px; background: #83b978; }
.tree-one { left: 54px; }
.tree-two { right: 58px; transform: scale(.78); }
.ip-card { margin-top: 14px; border-radius: 22px; padding: 17px 20px; display: flex; justify-content: space-between; gap: 14px; align-items: center; background: rgba(255,243,235,.82); border: 1px solid var(--line); }
.ip-card span { color: var(--muted); font-weight: 900; }
.ip-card strong { color: var(--rose-dark); font-size: 1.18rem; }

.quick-strip {
  width: min(1050px, calc(100% - 36px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.quick-strip div { border-radius: 24px; padding: 20px; background: rgba(255,255,255,.56); border: 1px solid rgba(255,255,255,.76); box-shadow: 0 12px 35px rgba(124,35,72,.07); }
.quick-strip strong, .quick-strip span { display: block; }
.quick-strip strong { color: var(--berry); font-size: 1.05rem; }
.quick-strip span { margin-top: 4px; color: var(--muted); font-size: .94rem; }

.section, .perks, .join-panel, .discord-panel { width: min(1080px, calc(100% - 36px)); margin: 0 auto; }
.split { padding: 92px 0 36px; display: grid; grid-template-columns: 1fr .85fr; gap: 38px; align-items: end; }
.story-card { border-radius: 30px; padding: 30px; background: var(--paper); border: 1px solid rgba(255,255,255,.78); box-shadow: var(--shadow); }
.story-card p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 1.06rem; }
.perks { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.perk { min-height: 230px; padding: 28px; border-radius: 32px; background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.76); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.perk:after { content: ''; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -80px; border-radius: 999px; background: rgba(255,220,232,.8); }
.perk span { font-size: 2.1rem; display: inline-block; margin-bottom: 14px; }
.perk p { color: var(--muted); line-height: 1.7; margin: 12px 0 0; }
.perk.large { min-height: 330px; background: linear-gradient(135deg, rgba(255,220,232,.82), rgba(207,229,200,.66)); }
.perk.wide { grid-column: 1 / -1; min-height: 190px; }

.join-panel { padding: 96px 0 70px; }
.join-intro { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.join-intro p:last-child { color: var(--muted); line-height: 1.7; font-size: 1.1rem; }
.join-layout { max-width: 820px; margin: 0 auto; border-radius: 38px; padding: 18px; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.76); box-shadow: var(--shadow); }
.tabs { display: flex; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(255,220,232,.52); width: fit-content; margin: 0 auto 20px; }
.tab { padding: 13px 28px; color: var(--rose-dark); background: transparent; }
.join-card { display: none; padding: 26px; border-radius: 28px; background: rgba(255,250,242,.82); }
.join-card.active { display: block; }
ol { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
li { display: flex; align-items: center; gap: 14px; color: var(--text); font-weight: 800; }
li span { color: var(--rose); font-weight: 900; background: var(--pink); padding: 7px 10px; border-radius: 999px; font-size: .8rem; }
.copy-box { display: flex; align-items: center; gap: 12px; border: 2px solid rgba(255,100,137,.26); background: rgba(255,220,232,.34); border-radius: 24px; padding: 14px; }
.copy-box code { margin-right: auto; padding-left: 8px; color: var(--rose-dark); font-weight: 900; font-size: 1.25rem; }
.copy-btn { padding: 12px 22px; }
.discord-panel { margin-bottom: 0; padding: 56px; border-radius: 42px 42px 0 0; background: linear-gradient(135deg, rgba(255,220,232,.9), rgba(255,243,235,.92)); display: flex; justify-content: space-between; align-items: center; gap: 30px; box-shadow: var(--shadow); }
.discord-panel p:not(.kicker) { color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.discord-button { background: #5865f2; color: white; box-shadow: 0 16px 34px rgba(88,101,242,.22); white-space: nowrap; }
footer { text-align: center; color: rgba(139,96,114,.62); padding: 24px; background: rgba(255,220,232,.55); }

@media (max-width: 850px) {
  .site-header { position: relative; top: 0; }
  .nav-links { display: none; }
  .hero-shell, .split, .perks { grid-template-columns: 1fr; }
  .hero-shell { min-height: auto; gap: 28px; }
  .postcard { transform: none; }
  .quick-strip { grid-template-columns: 1fr 1fr; }
  .discord-panel { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
}
@media (max-width: 560px) {
  .hero-shell, .quick-strip, .section, .perks, .join-panel, .discord-panel { width: min(100% - 24px, 1080px); }
  h1 { font-size: 2.65rem; }
  .quick-strip { grid-template-columns: 1fr; }
  .scene { min-height: 290px; }
  .copy-box { flex-wrap: wrap; justify-content: center; }
  .copy-box code { width: 100%; text-align: center; margin-right: 0; }
}


.hero-screenshot{
    width:100%;
    min-height:420px;
    display:block;
    object-fit:cover;
    border-radius:24px;
}

.postcard{
    overflow:hidden;
}

.ip-card{
    position:absolute;
    bottom:20px;
    left:20px;
}


.logo-image {
    height: 56px;
    max-height: 56px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
}

.hero-screenshot {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    object-fit: cover;
}

.postcard {
    position: relative;
    overflow: hidden;
}

.ip-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
}
