:root {
     --bg: #0a0a08;
     --ink: #f7f2e8;
     --muted: #c9bea9;
     --soft: rgba(247, 242, 232, 0.74);
     --line: rgba(214, 168, 89, 0.28);
     --gold: #d6a859;
     --gold-dark: #8f6427;
     --charcoal: #171713;
     --panel: rgba(18, 18, 15, 0.82);
     --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html {
     scroll-behavior: smooth;
}

body {
     min-height: 100vh;
     color: var(--ink);
     font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
     background:
          linear-gradient(180deg, rgba(10, 10, 8, 0.58), rgba(10, 10, 8, 0.98)),
          radial-gradient(circle at 78% 18%, rgba(214, 168, 89, 0.2), transparent 34rem),
          linear-gradient(135deg, #151512 0%, #090908 48%, #1c1710 100%);
     overflow-x: hidden;
}

body::before {
     content: "";
     position: fixed;
     inset: 0;
     pointer-events: none;
     background-image:
          linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
     background-size: 64px 64px;
     mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 72%);
}

a {
     color: inherit;
}

.site-header {
     position: relative;
     z-index: 5;
     display: flex;
     align-items: center;
     justify-content: space-between;
     width: min(1160px, calc(100% - 40px));
     margin: 0 auto;
     padding: 24px 0;
}

.brand,
.nav-links {
     display: flex;
     align-items: center;
}

.brand {
     gap: 12px;
     text-decoration: none;
     color: var(--ink);
     font-family: "Roboto Slab", Georgia, serif;
     font-weight: 700;
}

.brand img {
     width: 44px;
     height: 44px;
     border-radius: 50%;
     border: 1px solid var(--line);
     background: #000;
}

.nav-links {
     gap: 8px;
}

.nav-links a {
     border: 1px solid transparent;
     border-radius: 999px;
     padding: 10px 16px;
     color: var(--soft);
     font-size: 0.92rem;
     font-weight: 700;
     text-decoration: none;
     transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
     border-color: var(--line);
     background: rgba(255, 255, 255, 0.06);
     color: var(--ink);
     outline: none;
}

main {
     position: relative;
     z-index: 1;
}

.hero {
     display: grid;
     grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
     align-items: center;
     gap: clamp(36px, 6vw, 84px);
     width: min(1160px, calc(100% - 40px));
     /* min-height: calc(100vh - 174px); */
     margin: 0 auto;
     /* padding: 0px 0 68px; */
     padding:2rem 0 4rem;
}

.hero-copy {
     max-width: 660px;
}

.eyebrow {
     margin-bottom: 18px;
     color: var(--gold);
     font-size: 0.78rem;
     font-weight: 700;
     letter-spacing: 0.14em;
     text-transform: uppercase;
}

h1 {
     max-width: 760px;
     font-family: "Roboto Slab", Georgia, serif;
     font-size: clamp(3rem, 8vw, 5.5rem);
     line-height: 0.92;
     letter-spacing: 0;
}

.intro {
     max-width: 610px;
     margin-top: 26px;
     color: var(--muted);
     font-size: clamp(1.06rem, 1.4vw, 1.24rem);
     line-height: 1.7;
}

.actions {
     display: flex;
     flex-wrap: wrap;
     gap: 14px;
     margin-top: 34px;
}

.button {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     min-height: 48px;
     border-radius: 6px;
     padding: 13px 22px;
     font-weight: 800;
     text-decoration: none;
     transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
     transform: translateY(-2px);
     outline: none;
}

.button-primary {
     border: 1px solid var(--gold);
     background: linear-gradient(180deg, #e2b96b, var(--gold));
     color: #15100a;
}

.button-secondary {
     border: 1px solid var(--line);
     background: rgba(255, 255, 255, 0.06);
     color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
     border-color: rgba(247, 242, 232, 0.5);
     background: rgba(255, 255, 255, 0.1);
}

.hero-mark {
     position: relative;
     display: grid;
     place-items: center;
     min-height: 520px;
     border: 1px solid var(--line);
     border-radius: 8px;
     background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
          var(--panel);
     box-shadow: var(--shadow);
     overflow: hidden;
}

.hero-mark::before {
     content: "";
     position: absolute;
     inset: 18px;
     border: 1px solid rgba(214, 168, 89, 0.22);
     border-radius: 6px;
}

.hero-mark::after {
     content: "";
     position: absolute;
     inset: auto 0 0;
     height: 46%;
     background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
}

.header-logo,
.skull-logo {
     position: relative;
     z-index: 1;
     display: block;
}

.header-logo {
     width: min(86%, 440px);
     height: auto;
     filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55));
}

.skull-logo {
     position: absolute;
     right: -62px;
     bottom: -86px;
     width: min(70%, 370px);
     opacity: 0.16;
}

.community-panel {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 1px;
     width: min(1160px, calc(100% - 40px));
     margin: 0 auto 54px;
     border: 1px solid var(--line);
     border-radius: 8px;
     background: var(--line);
     overflow: hidden;
     box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.community-panel article {
     min-height: 190px;
     padding: 28px;
     background: rgba(18, 18, 15, 0.94);
}

.community-panel span {
     color: var(--gold);
     font-family: "Roboto Slab", Georgia, serif;
     font-weight: 700;
}

.community-panel h2 {
     margin-top: 18px;
     font-family: "Roboto Slab", Georgia, serif;
     font-size: 1.32rem;
}

.community-panel p {
     margin-top: 12px;
     color: var(--muted);
     line-height: 1.6;
}

.site-footer {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 18px;
     width: min(1160px, calc(100% - 40px));
     margin: 0 auto;
     padding: 26px 0 34px;
     border-top: 1px solid rgba(214, 168, 89, 0.2);
     color: rgba(247, 242, 232, 0.72);
     font-size: 0.94rem;
}

.site-footer p {
     font-weight: 800;
}

@media (max-width: 900px) {
     .hero {
          grid-template-columns: 1fr;
          min-height: auto;
          padding-top: 22px;
     }

     .hero-mark {
          min-height: 390px;
     }

     .community-panel {
          grid-template-columns: 1fr;
     }
}

@media (max-width: 620px) {
     .site-header,
     .hero,
     .community-panel,
     .site-footer {
          width: min(100% - 28px, 1160px);
     }

     .site-header {
          align-items: flex-start;
          gap: 16px;
     }

     .brand span {
          max-width: 150px;
     }

     .nav-links {
          flex-shrink: 0;
     }

     .nav-links a {
          padding: 9px 10px;
     }

     h1 {
          font-size: clamp(2.65rem, 16vw, 4.25rem);
     }

     .intro {
          margin-top: 20px;
     }

     .actions,
     .button {
          width: 100%;
     }

     .hero-mark {
          min-height: 310px;
     }

     .site-footer {
          flex-direction: column;
          align-items: flex-start;
     }
}
