/* =========================================================
   0) DESIGN TOKENS — EDIT OFTEN
   These are safe knobs to change without breaking layout.
   ========================================================= */
:root {
  /* Colors */
  --bg:            #0b0b0b;
  --card:          #141414;
  --text:          #f2f2f2;
  --muted:         #b3b3b3;
  --accent:        #e91e63;   /* section underline + highlights */
  --border:        #2b2b2b;
  --link:          #6bdcff;
  --btn:           #22c55e;   /* primary button */
  --btn-text:      #0b0b0b;

  /* Typography */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: 22px;
  --fs-h2: 18px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-tiny: 12px;

  /* Spacing & radius */
  --page-max: 1100px;         /* max content width */
  --page-pad: 92vw;           /* responsive width wrapper */
  --space-1: 6px;
  --space-2: 8px;
  --space-3: 10px;
  --space-4: 12px;
  --space-5: 14px;
  --space-6: 16px;
  --space-7: 18px;
  --space-8: 24px;
  --r-6:  6px;
  --r-8:  8px;
  --r-10: 10px;
  --r-12: 12px;
  --r-14: 14px;
  --r-16: 16px;

  /* Component sizing */
  --grid-gap: 12px;           /* gap between cards */
  --card-min: 160px;          /* min width of a card in grid */
  --thumb-ratio: 3 / 4;       /* portrait thumbnails on cards */
  --hero-ratio:  3 / 4;       /* big image on profile page */

  /* Breakpoints */
  --bp-profile-single: 980px; /* profile switches to single-column */
}

/* =========================================================
   1) GLOBAL / BASE — RARELY EDIT
   ========================================================= */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
}
img { display: block; max-width: 100%; height: auto; } /* prevent inline gaps */
a { color: var(--link); text-decoration: none; }

.container {
  width: min(var(--page-max), var(--page-pad));
  margin: 0 auto;
}

/* Header */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-6) 0;
}
header h1 { font-size: var(--fs-h1); margin: 0; }
header nav a {
  color: var(--text);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border);
  border-radius: 999px;
}
/* New, simpler header with a Home button on the left */
.site-header {
  padding: var(--space-6) 0;
}

.topnav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.home-link {
  color: var(--text);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-block;
}

/* Section titles + dividers */
.section-title {
  font-size: 18px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: var(--space-1);
  margin: var(--space-7) 0 var(--space-4);
}
.hr { height: 1px; background: var(--border); margin: var(--space-6) 0; }

/* Footer */
.footer { padding: 32px 0 48px; color: var(--muted); }

/* Buttons */
.actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-4); }
.btn {
  background: var(--btn);
  color: var(--btn-text);
  border: none;
  padding: var(--space-3) var(--space-4);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}
.btn.ghost { background: transparent; color: #fff; border: 1px solid var(--border); }

/* Badges / notes */
.badge {
  display: inline-block;
  background: #ff66b3; color: #000;
  padding: 2px 8px; border-radius: var(--r-6);
  font-size: var(--fs-tiny);
}
.note { color: var(--muted); font-size: var(--fs-tiny); }

/* Filters */
.filters { display: flex; gap: var(--space-2); flex-wrap: wrap; margin: var(--space-2) 0 var(--space-6); }

/* Forms */
input, select, textarea {
  padding: var(--space-3) var(--space-4);
  background: #0e0e0e; color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-10);
  width: 100%;
}
label { font-size: var(--fs-tiny); color: var(--muted); display: block; margin: var(--space-3) 0 var(--space-2); }
.review-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-10); padding: var(--space-3); }

/* =========================================================
   2) CARDS & GRID (HOME) — RARELY EDIT
   ========================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-min), 1fr));
  gap: var(--grid-gap);
}

.card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.25); }

/* Consistent portrait thumbnail, crops nicely */
.card > img {
  width: 100%;
  aspect-ratio: var(--thumb-ratio);
  object-fit: cover;
  background: #111;
}

/* Card text area */
.card .pad { padding: var(--space-4); }
.card h2 {
  font-size: var(--fs-h2);
  margin: 0 0 var(--space-2);
  line-height: 1.2;
  color: #fff;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-small);
}

/* =========================================================
   3) PROFILE PAGE — RARELY EDIT
   ========================================================= */
.profile {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr 1.1fr;   /* left image, right info */
  padding: var(--space-2) 0;
}
@media (max-width: var(--bp-profile-single)) {
  .profile { grid-template-columns: 1fr; }
}

/* Large image on the left */
.hero {
  width: 100%;
  aspect-ratio: var(--hero-ratio);
  object-fit: cover;
  border-radius: var(--r-16);
  background: #111;
}

/* Info card on the right */
.info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-12);
  padding: var(--space-5);
}
.info h1 {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-h1);
  color: #ff66b3;
}
.info dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-2) var(--space-3);
  margin: 0;
}
.info dt { color: var(--muted); }
.info dd { margin: 0; }

/* =========================================================
   4) GALLERY (PROFILE) — RARELY EDIT
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--grid-gap);
}
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;      /* square tiles; change to 3/4 or 4/3 if preferred */
  object-fit: cover;
  border-radius: var(--r-10);
  background: #111;
}

/* ===== Age Gate (popup) ===== */
.agegate {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  display: grid; place-items: center;
  z-index: 9999;
}
.agegate[hidden] { display: none; }

.agegate__dialog {
  width: min(520px, 92vw);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  padding: 22px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}

.agegate__dialog h2 { margin: 0 0 10px; }
.agegate__dialog p { margin: 0 0 4px; }

.agegate__actions {
  display: flex; gap: 10px; justify-content: center;
  margin-top: 12px;
}

.btn-green { background: #16a34a; color: #0b0b0b; }
.btn-red   { background: #ef4444; color: #0b0b0b; }

body.agegate-open { overflow: hidden; } /* prevent page scroll while modal open */

/* Social list (Home page bottom) */
.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  margin-top: 12px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px; /* optional for roundish icons */
  background: #fff;   /* optional to keep contrast */
}

.social-text {
  font-size: var(--fs-body);
  color: var(--text);
}

#footer-ad {
  text-align: center;
  margin-top: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.ad-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap; /* stack on mobile */
}

.ad-slot {
  flex: 0 1 auto;
}

/* ===== Referral notice bar ===== */
.notice-bar{
  background:#1b1b1b;
  border:1px solid var(--accent);
  color:#ffd1e6;           /* easy-to-see light pink on dark bg */
  padding:10px 12px;
  border-radius:10px;
  font-weight:700;
  text-align:center;
}
.notice-bar strong{ color:#fff; }
.notice-bar a{ color:#ffe3ef; text-decoration:underline; }

