:root{
  --text:#ffffff;
  --muted:rgba(255,255,255,.75);
  --border:rgba(255,255,255,.25);
  --focus:rgba(255,255,255,.6);
}
*{box-sizing:border-box}
@font-face{
  font-family:"RalewayRegular";
  src:url("/static/hinted-GWENT-ExtraBold.ttf") format("truetype");
  font-style:normal;
  font-weight:normal;
  font-display:swap;
}
body{
  margin:0;
  color:var(--text);
  font-family:"RalewayRegular", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:18px;
  line-height:1.35;
  /* Malibu premium background (no photos) */
  background: radial-gradient(circle at 50% 25%,
    #ffb36b 0%,
    #ff6fae 25%,
    #b45cff 55%,
    #4a148c 85%,
    #1a0833 100%);
  background-attachment: fixed;
  min-height:100vh;
  position:relative;
}
@media (max-width: 480px){ body{font-size:16px;} }

/* Slightly darken top area (10–15%) for better logo/title contrast */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  /* top shade fades out before the cards */
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.14) 0%,
    rgba(0,0,0,0.10) 18%,
    rgba(0,0,0,0.00) 48%);
  z-index:0;
}

.page{ min-height:100vh; padding:24px 0; position:relative; z-index:1; }
.main-block{ margin:2% 5%; padding:2%; border-radius:20px; }
.logo-block{ display:flex; justify-content:center; align-items:center; margin-bottom:24px; }
.logo-block img{
  width:min(30%,180px);
  height:auto;
  border-radius:20px;
  border:1px solid var(--border);
  /* sunset glow under logo */
  box-shadow: 0 0 60px rgba(255,170,120,0.45);
}

.block{ max-width:620px; margin:0 auto; } /* narrower = premium */
.title h3{ margin:0 0 14px 0; text-align:center; }

/* Premium glass tiles for Malibu */
.blockpage{
  width:100%;
  display:block;
  text-align:center;
  color:#fff;
  padding:18px;
  margin-bottom:16px;
  font-weight:700;
  border-radius:16px;
  transition:transform .2s ease;
  border:1px solid rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  position:relative;
}
.blockpage:hover{ transform:scale(1.02); }

.blockHead{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  cursor:pointer;
}

.blockLeft{ display:flex; align-items:center; gap:10px; justify-content:center; }
.blockIcon{ width:32px; height:32px; object-fit:contain; }
.blockTitle{ font-size:18px; }
.chev{
  opacity:.7;
  transition:transform .18s ease;
  user-select:none;
  position:absolute;
  right:18px;
}
.blockpage[data-open="1"] .chev{ transform:rotate(180deg); }
.additional-block{ margin-top:14px; }
.hidden{ display:none; }

.urls{
  display:block;
  text-decoration:none;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding:14px;
  width:min(250px,90%);
  border:1px solid rgba(255,255,255,0.35);
  margin:12px auto;
  color:#fff;
  transition:transform .2s ease;
  border-radius:12px;
  text-align:center;
}
.urls:hover{ transform:scale(1.02); }

a.blockLink{ text-decoration:none; }
a.blockLink:focus-visible,
button.blockHead:focus-visible,
.urls:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:3px;
  border-radius:10px;
}
.note{ color:var(--muted); font-weight:600; margin:10px 0 0; }
.small{ font-size:.95em; color:var(--muted); font-weight:600; }
.footer{ text-align:center; margin-top:18px; opacity:.75; font-size:.9em; }

a.blockpage.blockLink{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.blockpage.direct .chev{ font-size: 18px; opacity: .9; }

@media (max-width: 480px){
  .blockpage{ padding:16px; }
  .blockTitle{ font-size:17px; }
}

/* PATCH: center text in direct link button */
.blockLink.direct{
    justify-content: center;
}

.blockLink.direct .blockLeft{
    justify-content: center;
    text-align: center;
    width: 100%;
}
