@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  cursor: none;
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
  background: #0f0f10;
  background-image: url("img/noise-256.png");
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
}

p {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.2rem;
}

/* Custom cursor style */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: #e5e7eb; /* light grey */
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(229, 231, 235, 0.6); /* soft glow */
  pointer-events: none; /* let clicks pass through */
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  z-index: 9999;
}

/* Centered main */
.main-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

/* Logo */
.logo-wrap {
  display: flex;
  justify-content: center;
}
.logo {
  width: 250px;
  margin: 70px auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(229, 231, 235, 0.4);
  transition: transform .25s ease, box-shadow .25s ease;
}
.logo-tilt { transform: rotate(-6deg); }
.logo-wrap:hover .logo-tilt {
  transform: rotate(6deg);
  box-shadow: 0 0 35px rgba(229, 231, 235, 0.6);
}

/* Cards */
.card-section { width: 100%; max-width: 920px; }
.card-grid {
  display: grid;
  grid-template-columns: 1fr; /* default mobile: stacked */
  gap: 20px;
}
@media (min-width: 920px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 2x2 on larger screens */
  .site-footer {
    padding-bottom: 50px !important;
    margin-bottom: 50px !important;
  }
}
@media (max-width: 920px) {
  .site-footer {
    padding-bottom: 50px !important;
    margin-bottom: 50px !important;
  }
  p{
    width: 90%;
  }
}
.card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
  background: rgba(27, 28, 31, 0.45); /* 85% opaque */
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
}

.card:hover, .card:focus {
  transform: translateY(-2px);
  border-color: rgba(167,139,250,0.6);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  outline: none;
}

.card-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: transparent;
  overflow: hidden;
}
.card-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


.card-title {
  font-size: 1.2rem;
  letter-spacing: 0.8px;
  color: #e0e0e0;
  font-weight: 500;
}

/* Footer */
.site-footer {
  margin: 110px 0 20px;
  color: rgba(229, 231, 235, 0.6);
  font-size: 0.95rem;
  text-align: center;
}

/* A11y */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1, 1);
  white-space: nowrap;
  border: 0;
}
