/* IMPORTS */
@import url(fonts.css);
@import url(picker.css);
@import url(theme-switcher.css);
@import url(themes/frappe.css);
@import url(themes/latte.css);
@import url(themes/macchiato.css);
@import url(themes/mocha.css);

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    background: linear-gradient(135deg, var(--base) 0%, var(--mantle) 60%, var(--crust) 100%);
}

body {
    margin: 0;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Comic Code', sans-serif;
    background: linear-gradient(135deg, var(--base) 0%, var(--mantle) 60%, var(--crust) 100%);
    color: var(--text);

    /* top-anchored, horizontally centered, scrollable */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(2.5rem, 9vh, 6rem) 1.25rem 5rem;
}

/* main content column */
main.intro,
.hub {
    width: 100%;
    max-width: 480px;
    z-index: 1;
}

.pfp {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--mauve);
  box-shadow: 0 4px 18px rgba(245, 194, 231, 0.25);
  margin-bottom: 0.75rem;
}

.hub-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.hub-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  transition: color 0.6s ease;
}

.hey {
  color: #ffffff;
}

.name {
  color: rgb(var(--accent-rgb));
}

.name::before {
  content: " ";
}

.tagline {
  margin: 0.35rem 0 0;
  color: var(--subtext-0);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pronouns {
  margin: 0.35rem 0 0;
  color: var(--mauve);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url(/assets/theme/estrogen.svg) center / cover no-repeat;
  filter: invert(86%) sepia(8%) saturate(900%) hue-rotate(190deg)
    brightness(105%);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.badges {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  pointer-events: none;
  z-index: 5;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--surface-0);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  color: var(--subtext-1);
  font-size: 0.75rem;
  white-space: nowrap;
  transition:
    border-color 0.6s ease,
    box-shadow 0.6s ease;
}

.badge:hover {
  border-color: rgb(var(--accent-rgb));
  box-shadow: 0 4px 14px -6px rgba(var(--accent-rgb), 0.5);
}

.badge-icon {
  width: 15px;
  height: 15px;
  filter: invert(78%) sepia(36%) saturate(640%) hue-rotate(280deg)
    brightness(105%);
}

@media (max-width: 600px) {
    .intro {
        color: var(--text);
        text-align: center;
        padding: 0;
    }

    .intro-text {
        margin-top: 0.75rem;
        padding: 0 0.25rem;
    }

    .hub-header h1 {
        font-size: 1.7rem;
    }
}

@media (min-width: 768px) {
  .desktop-break {
    display: block;
  }

  .intro-text {
    margin-top: 1vh;
  }
}

.intro-text {
    max-width: 42ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: var(--subtext-1);
    font-size: 0.98rem;
}

.gitgay-link {
    background-color: var(--mauve);
    border: none;
    color: black;
    padding: 0.85rem 1.5rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 14px;
    font-family: "Comic Code";
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    box-shadow: 0 6px 18px -8px rgba(var(--accent-rgb), 0.7);
}

.gitgay-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 24px -8px rgba(var(--accent-rgb), 0.8);
}

.gitgay-link:active {
    transform: translateY(0);
}

.hub-header,
.pfp,
.hey,
.pronouns,
.intro-text,
.gitgay-link {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ---- 88x31 button wall (always visible on desktop) ---- */
.button-wall {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: min(90vw, 480px);
}

/* hide on mobile */
@media (max-width: 768px) {
    .button-wall {
        display: none;
    }
}

.button-wall a {
    display: block;
    line-height: 0;
}

.button-wall img {
    width: 88px;
    height: 31px;
    image-rendering: pixelated;
    border: 1px solid var(--surface-1);
    border-radius: 2px;
    transition: transform 0.12s ease, border-color 0.12s ease;
}

.button-wall a:hover img {
    transform: translateY(-2px);
    border-color: rgb(var(--accent-rgb));
}

/* Coffee/index.html */

.teapot {
  font-size: 6vh;
}

/* start of code from security.girlsnetwork.dev/coffee */

body.message-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.message-card {
    background: var(--surface-0);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    text-align: center;
    line-height: 1.6;
    color: var(--text);
    border: 1px solid var(--surface-1);
}

.message-card h1 {
  margin-top: 0;
  color: var(--pink);
  letter-spacing: -0.01em;
}

.message-card p {
    color: var(--subtext-1);
}

.message-card .ok {
  color: var(--green);
}
.message-card .err {
  color: var(--red);
}
.message-card .warn {
  color: var(--yellow);
}

.message-card .muted {
    color: var(--overlay-1);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.message-card code {
  background: var(--mantle);
  color: var(--rosewater);
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  font-size: 0.85em;
}

.message-card a.home-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--pink);
  transition: color 0.15s ease;
}

.message-card a.home-link:hover {
  color: var(--flamingo);
  text-decoration: underline;
}

.message-card .glyph {
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

@media (max-width: 540px) {
  .message-card {
    padding: 1.75rem 1.5rem;
  }
}
