/* =========================================================
   REBOBINANDO DISCOS
   Homepage pessoal brasileira — 2000/2004
   ========================================================= */

/* ---------- Base ---------- */

:root {
  --sky-top: #7ec8f5;
  --sky-bottom: #dff7ff;

  --white: #ffffff;
  --text: #17324a;
  --muted: #547086;

  --blue: #0878c9;
  --blue-dark: #075b9d;
  --blue-light: #8ed8ff;

  --green: #5dbb63;
  --green-dark: #3c9443;

  --border-light: #ffffff;
  --border-dark: #77a9c7;

  --panel: rgba(255, 255, 255, 0.88);
  --shadow: rgba(22, 71, 101, 0.25);

  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 24px 14px;

  color: var(--text);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;

  background:
    radial-gradient(
      circle at 82% 12%,
      rgba(255, 255, 255, 0.9) 0,
      rgba(255, 255, 255, 0.4) 8%,
      transparent 22%
    ),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);

  background-attachment: fixed;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* ---------- Main container ---------- */

.site {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Header ---------- */

.header {
  padding: 18px 18px 20px;

  text-align: center;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(238, 251, 255, 0.88)
  );

  border: 1px solid var(--border-light);
  border-right-color: var(--border-dark);
  border-bottom-color: var(--border-dark);

  border-radius: var(--radius);

  box-shadow:
    0 3px 0 rgba(255, 255, 255, 0.55),
    0 8px 22px var(--shadow);
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.logo {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto;

  border-radius: 50%;

  border: 3px solid #ffffff;

  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(22, 71, 101, 0.25);
}

.tagline {
  max-width: 460px;
  margin: 12px auto 0;

  color: var(--muted);
  font-size: 12px;
}

/* ---------- Main links ---------- */

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin-top: 16px;
}

.link-card {
  position: relative;

  display: flex;
  align-items: center;
  gap: 14px;

  min-height: 68px;
  padding: 10px 16px;

  color: #ffffff;
  text-decoration: none;

  background: linear-gradient(
    180deg,
    var(--blue-light) 0%,
    var(--blue) 45%,
    var(--blue-dark) 100%
  );

  border: 1px solid #ffffff;
  border-right-color: #07517f;
  border-bottom-color: #07517f;

  border-radius: 8px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 3px 7px rgba(30, 80, 110, 0.2);

  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);

  transition:
    transform 0.12s ease,
    filter 0.12s ease;
}

.link-card::before {
  content: "";

  position: absolute;
  top: 3px;
  left: 8px;
  right: 8px;

  height: 30%;

  border-radius: 6px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.38),
    rgba(255, 255, 255, 0)
  );

  pointer-events: none;
}

.link-card:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.link-card:active {
  transform: translateY(2px);

  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.2),
    0 1px 2px rgba(30, 80, 110, 0.2);
}

.link-card:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.link-icon {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 40px;

  width: 40px;
  height: 40px;

  font-size: 20px;

  background: rgba(255, 255, 255, 0.18);

  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 7px;

  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -2px 3px rgba(0, 0, 0, 0.12);
}

.link-content {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;

  min-width: 0;
}

.link-content strong {
  font-size: 14px;
  line-height: 1.3;
}

.link-content small {
  margin-top: 2px;

  font-size: 10px;
  line-height: 1.3;

  opacity: 0.82;
}

/* ---------- Platform variations ---------- */

.youtube-card {
  background: linear-gradient(180deg, #ff7777 0%, #e52f2f 48%, #b91818 100%);
}

.link-shopee {
  background: linear-gradient(180deg, #ff9d79 0%, #ee613d 48%, #c83c20 100%);
}

.link-mercadolivre {
  background: linear-gradient(180deg, #72c9ff 0%, #248fd2 48%, #126ba5 100%);
}

.link-amazon {
  background: linear-gradient(180deg, #a7dca2 0%, #5eaf59 48%, #3e8b3e 100%);
}

/* ---------- Support section ---------- */

.support {
  margin-top: 16px;
  padding: 14px 18px;

  text-align: center;

  background: rgba(255, 255, 255, 0.72);

  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 8px;

  box-shadow: 0 3px 12px rgba(35, 91, 120, 0.12);
}

.support h2,
.partnerships h2 {
  margin: 0 0 5px;

  color: var(--blue-dark);

  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.support p {
  max-width: 500px;
  margin: 0 auto;

  color: var(--muted);
  font-size: 10px;
}

/* ---------- Footer / partnerships ---------- */

.footer {
  margin-top: 18px;
  padding: 18px 10px 8px;

  text-align: center;
}

.partnerships {
  padding: 14px;

  background: rgba(255, 255, 255, 0.65);

  border-top: 1px solid rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(120, 170, 195, 0.45);

  border-radius: 6px;
}

.email {
  display: inline-block;

  color: var(--blue-dark);

  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;

  text-decoration: underline;

  overflow-wrap: anywhere;
}

.email:hover {
  color: #d52b2b;
}

.email:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 3px;
}

.footer-meta {
  margin-top: 12px;

  color: rgba(36, 78, 99, 0.65);

  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
}

.footer-meta p {
  margin: 2px 0;
}

/* ---------- Desktop ---------- */

@media (min-width: 700px) {
  body {
    padding: 50px 20px;
  }

  .site {
    max-width: 680px;
  }

  .header {
    padding: 24px 28px 26px;
  }

  .tagline {
    font-size: 13px;
  }

  .links {
    gap: 12px;
    margin-top: 18px;
  }

  .link-card {
    min-height: 72px;
    padding: 11px 18px;
  }

  .link-content strong {
    font-size: 15px;
  }

  .link-content small {
    font-size: 11px;
  }

  .support {
    margin-top: 18px;
  }

  .footer {
    margin-top: 22px;
  }
}

/* ---------- Reduced motion ---------- */

@media (max-width: 699px) {
  .youtube-card {
    background: linear-gradient(180deg, #ff7777 0%, #e52f2f 48%, #b91818 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .link-card {
    transition: none;
  }
}
