/* ===== Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #0f0f1a 0%, #020203 100%);
  color: #E6E6E6;
  font-family: 'Inter', 'Roboto', sans-serif;
  line-height: 1.6;
}

/* ===== Header ===== */
header {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: transparent;
}

#raspberry img {
  width: 45px;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 0 6px #ac0033b0);
}

.rotate {
  animation: rotation 10s infinite linear;
}

@keyframes rotation {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Main ===== */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  text-align: center;
  gap: 2.5rem;
  padding: 2rem;
}

h1 {
  font-size: 2.7rem;
  font-weight: 700;
  color: #fff;
}

h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #d8d8d8;
}

p {
  max-width: 600px;
  margin: 1rem auto;
  color: #a3a3a3;
  font-weight: 300;
}

/* ===== Info Banner ===== */
.info-banner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  color: #a3a3a3;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
  animation: fadeIn 0.8s ease forwards;
}

/* ===== Buttons (anchor only) ===== */
#links {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 1rem;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #EAEAEA;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.btn:hover {
  background: #ac0033;
  border-color: #ac0033;
  box-shadow: 0 0 12px #ac0033a0;
  transform: translateY(-3px);
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: #6e6e6e;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: auto;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 1.2s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.3s; }
.fade-in:nth-child(3) { animation-delay: 0.4s; }
.fade-in:nth-child(4) { animation-delay: 0.9s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive (Mobile) ===== */
@media screen and (max-width: 980px) {
  #raspberry img {
    width: 45px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  p {
    width: 85%;
    font-size: 0.9rem;
    line-height: 1.8;
  }

  #links {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem 0.8rem;
  }

  .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.9rem;
    padding: 1rem 0 1.5rem;
  }

  html, body {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

