/* ======================================================
   Base / Variables
====================================================== */
:root{
  --bg: #0b0b0c;
  --card: #111215;
  --text: #ffffff;
  --muted: rgba(255,255,255,.72);
  --border: rgba(255,255,255,.14);
  --radius: 18px;
}

*,
*::before,
*::after{
  box-sizing: border-box;
}

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 50% -10%, #1a1b22 0%, var(--bg) 55%);
  color: var(--text);
}


/* ======================================================
   Page wrapper
====================================================== */
.page{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.page--centered{
  align-content: center;
}

/* Age gate: keep centered even on desktop */
@media (min-width: 1024px){
  .page.page--centered{
    align-content: center;
  }
}



/* ======================================================
   Card (Linktree container)
====================================================== */
.card{
  width: 100%;
  max-width: 560px; /* mobile */
  background: rgba(17,18,21,.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 22px 80px rgba(0,0,0,.55);
}

/* Tablet */
@media (min-width: 768px){
  .card{
    max-width: 720px;
  }
}

/* Desktop layout fix */
@media (min-width: 1024px){
  .page{
    padding: 22px;        /* reduce top/bottom padding */
    align-content: start; /* stop vertical centering */
  }

  .card{
    max-width: 1200px;    /* keep your wider card */
  }
}


/* ======================================================
   Brand header
====================================================== */
.brand{
  margin: 0;
}

/* Banner */
.brand-banner picture,
.brand-banner img{
  width: 100%;
  display: block;
}

.brand-banner img{
  height: auto;
  max-width: 100%;
  object-fit: contain;   /* IMPORTANT: prevents cropping */
  border-bottom: 1px solid var(--border);
}


/* Logo + bio */
.brand-row{
  display: grid;
  gap: 10px;
  padding: 16px 20px 14px;
  text-align: center;
  justify-items: center;
}

.brand-logo{
  width: min(240px, 72%);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}

.brand-bio{
  margin: 0;
  font-size: 13px;
  letter-spacing: .08em;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
}


/* ======================================================
   Content
====================================================== */
.content{
  padding: 18px 20px 22px;
  text-align: center;
}

@media (min-width: 1024px){
  .content{
    padding: 22px 28px 26px;
  }
}

.title{
  margin: 6px 0 10px 15px;
  font-size: 20px;
  letter-spacing: .02em;
}

.subtitle{
  margin: 6px 0 10px 15px;
  font-size: 16px;
  letter-spacing: .02em;
}

.copy{
  margin: 0 auto 16px;
  max-width: 46ch;
  line-height: 1.45;
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 1024px){
  .copy{
    max-width: 56ch;
    font-size: 15px;
  }
}


/* ======================================================
   Buttons
====================================================== */
.btn-grid{
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

/* Keep buttons stacked on all screen sizes */
@media (min-width: 1024px){
  .btn-grid{
    grid-template-columns: 1fr;
  }
}

.btn{
  display: block;
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 650;
  letter-spacing: .01em;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn:hover{
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}

.btn:active{
  transform: translateY(0);
}


/* ======================================================
   Footer / small text
====================================================== */
.footer{
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.fineprint{
  margin: 6px 0 10px 15px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
   text-align: center;
}

/* Responsive logo sizing */
.brand-logo--responsive{
  display: block;
  width: 32%;
  max-width: 220px;
  margin-inline: auto;
}

@media (min-width: 768px){
  .brand-logo--responsive{
    width: 20%;
  }
}

@media (min-width: 1024px){
  .brand-logo--responsive{
    width: 12%;
  }
}

