/* =========================================
   EbbelStudio Link-Hub
   Japandi-Ästhetik · Kumiko-Muster · Mobile-First
   ========================================= */

/* --- Custom Properties --- */
:root {
  --navy: #0D325C;
  --navy-light: #1A4A7A;
  --navy-very-light: #E8EEF5;
  --warmwhite: #FAF9F6;
  --creme: #E8DFD0;
  --sand: #D4C4A8;
  --holz: #B09070;
  --black-matt: #1A1A1A;
  --orange: #ED6A1D;

  --font-heading: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Helvetica, Arial, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(13, 50, 92, 0.08);
  --shadow-hover: 0 4px 20px rgba(13, 50, 92, 0.14);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--warmwhite);
  color: var(--navy);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

/* --- Kumiko Asanoha Background Pattern --- */
.kumiko-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50vh;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%230D325C' stroke-width='0.5' opacity='0.08'%3E%3C!-- Asanoha star pattern --%3E%3Cline x1='40' y1='0' x2='40' y2='40'/%3E%3Cline x1='0' y1='40' x2='40' y2='40'/%3E%3Cline x1='40' y1='40' x2='80' y2='40'/%3E%3Cline x1='40' y1='40' x2='40' y2='80'/%3E%3Cline x1='0' y1='0' x2='40' y2='40'/%3E%3Cline x1='80' y1='0' x2='40' y2='40'/%3E%3Cline x1='0' y1='80' x2='40' y2='40'/%3E%3Cline x1='80' y1='80' x2='40' y2='40'/%3E%3Cline x1='0' y1='0' x2='20' y2='0'/%3E%3Cline x1='20' y1='0' x2='40' y2='0'/%3E%3Cline x1='0' y1='0' x2='0' y2='20'/%3E%3Cline x1='0' y1='20' x2='0' y2='40'/%3E%3Cline x1='40' y1='0' x2='60' y2='0'/%3E%3Cline x1='60' y1='0' x2='80' y2='0'/%3E%3Cline x1='80' y1='0' x2='80' y2='20'/%3E%3Cline x1='80' y1='20' x2='80' y2='40'/%3E%3Cline x1='0' y1='40' x2='0' y2='60'/%3E%3Cline x1='0' y1='60' x2='0' y2='80'/%3E%3Cline x1='0' y1='80' x2='20' y2='80'/%3E%3Cline x1='20' y1='80' x2='40' y2='80'/%3E%3Cline x1='80' y1='40' x2='80' y2='60'/%3E%3Cline x1='80' y1='60' x2='80' y2='80'/%3E%3Cline x1='40' y1='80' x2='60' y2='80'/%3E%3Cline x1='60' y1='80' x2='80' y2='80'/%3E%3Cline x1='20' y1='0' x2='0' y2='20'/%3E%3Cline x1='20' y1='0' x2='40' y2='20'/%3E%3Cline x1='60' y1='0' x2='40' y2='20'/%3E%3Cline x1='60' y1='0' x2='80' y2='20'/%3E%3Cline x1='0' y1='20' x2='20' y2='40'/%3E%3Cline x1='40' y1='20' x2='20' y2='40'/%3E%3Cline x1='40' y1='20' x2='60' y2='40'/%3E%3Cline x1='80' y1='20' x2='60' y2='40'/%3E%3Cline x1='20' y1='40' x2='0' y2='60'/%3E%3Cline x1='20' y1='40' x2='40' y2='60'/%3E%3Cline x1='60' y1='40' x2='40' y2='60'/%3E%3Cline x1='60' y1='40' x2='80' y2='60'/%3E%3Cline x1='0' y1='60' x2='20' y2='80'/%3E%3Cline x1='40' y1='60' x2='20' y2='80'/%3E%3Cline x1='40' y1='60' x2='60' y2='80'/%3E%3Cline x1='80' y1='60' x2='60' y2='80'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}

/* --- Container --- */
.container {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* --- Header --- */
.header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.header__logo {
  width: 72px;
  height: auto;
  margin-bottom: 8px;
}

.header__brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  color: var(--navy);
  line-height: 1.2;
}

.header__tagline {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--navy-light);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.header__bio {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--navy-light);
  max-width: 360px;
  margin-top: 12px;
}

/* --- Social Icons --- */
.social {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.social__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.125rem;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.social__icon:hover {
  background-color: var(--navy);
  color: var(--warmwhite);
  transform: translateY(-2px);
}

.social__icon:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* --- Link Cards --- */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--warmwhite);
  border: 1.5px solid rgba(13, 50, 92, 0.12);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.link-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}

.link-card:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

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

/* Primary card (Etsy Shop) */
.link-card--primary {
  background: var(--navy);
  color: var(--warmwhite);
  border-color: var(--navy);
}

.link-card--primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

.link-card--primary .link-card__desc {
  color: rgba(250, 249, 246, 0.75);
}

.link-card--primary .link-card__arrow {
  color: rgba(250, 249, 246, 0.5);
}

.link-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(13, 50, 92, 0.06);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.link-card--primary .link-card__icon {
  background: rgba(250, 249, 246, 0.12);
}

.link-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.link-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
}

.link-card__desc {
  font-size: 0.75rem;
  color: var(--navy-light);
  opacity: 0.85;
}

.link-card__arrow {
  font-size: 0.75rem;
  color: rgba(13, 50, 92, 0.3);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.link-card:hover .link-card__arrow {
  transform: translateX(3px);
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding-top: 8px;
}

.footer p {
  font-size: 0.6875rem;
  color: var(--navy-light);
  opacity: 0.6;
  letter-spacing: 0.02em;
}

/* --- Responsive --- */
@media (min-width: 640px) {
  .container {
    padding-top: 64px;
    padding-bottom: 48px;
    gap: 36px;
  }

  .header__logo {
    width: 80px;
  }

  .header__brand {
    font-size: 1.375rem;
  }

  .link-card {
    padding: 18px 22px;
  }
}
