:root {
  --bg-dark-1: #1b1b1b;
  --bg-dark-2: #232323;
  --plaid-light: rgba(255,255,255,0.06);
  --plaid-dark: rgba(0,0,0,0.35);

  --card-bg: #f2f2f2;
  --text-main: #111;
  --text-muted: #666;
  --border-soft: #cfcfcf;
}

* {
  box-sizing: border-box;
  font-family: 'Baloo 2', system-ui, sans-serif;
}

/* ===== TRUE DARK PLAID BACKGROUND ===== */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-main);
  position: relative;
  overflow-x: hidden;

  background:
    repeating-linear-gradient(
      0deg,
      var(--plaid-light),
      var(--plaid-light) 18px,
      transparent 18px,
      transparent 36px
    ),
    repeating-linear-gradient(
      90deg,
      var(--plaid-light),
      var(--plaid-light) 18px,
      transparent 18px,
      transparent 36px
    ),
    linear-gradient(
      135deg,
      var(--bg-dark-1),
      var(--bg-dark-2)
    );

  animation: plaidDrift 40s linear infinite;
}

/* ===== PLAID DRIFT ===== */
@keyframes plaidDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 400px 400px, -400px -400px, 0 0;
  }
}

/* ===== GRAIN ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.03),
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 2px
    );
  opacity: 0.4;
}

/* ===== CARD ===== */
.card {
  width: 380px;
  background: var(--card-bg);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* ===== BANNER ===== */
.banner {
  height: 140px;
  background-image: url("assets/Banner.png");
  background-size: cover;
  background-position: center;
  filter: contrast(0.9) saturate(0.85);
}

/* ===== PROFILE ===== */
.profile {
  text-align: center;
  padding: 0 24px 26px;
  position: relative;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 4px solid white;
  background: white;
  object-fit: cover;

  margin-top: -56px;
  position: relative;
  z-index: 10;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

h1 {
  margin: 14px 0 4px;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.3px;
}

.bio {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== LINKS ===== */
.links {
  margin-top: 22px;
}

.links a {
  display: block;
  text-decoration: none;
  color: var(--text-main);
  background: #f7f7f7;
  border: 1px solid var(--border-soft);
  padding: 14px;
  border-radius: 18px;
  margin-bottom: 12px;
  font-size: 16px;

  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.links a:hover {
  background: #ededed;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.links a:active {
  transform: scale(0.97);
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.25);
}

/* ===== FOOTER ===== */
.footer {
  font-size: 11px;
  color: #888;
  margin-top: 18px;
}
