/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(145deg, #0e0e0e, #1a1a1a);
  color: #eaeaea;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Background dots */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
}

/* Header */
header {
  background-color: rgba(50, 0, 0, 0.85);
  padding: 3rem 1rem 2rem;
  text-align: center;
  z-index: 1;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

header h1 {
  font-size: 3rem;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  color: #fff;
}

header p {
  color: #ccc;
  font-size: 1.2rem;
}

/* Main content */
main {
  flex: 1 0 auto;
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

/* Card design */
.card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card h2, .card h3 {
  color: #ff5c5c;
  margin-bottom: 1rem;
}

.card.highlight {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #ff4444;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li::before {
  content: "•";
  color: #ff4444;
  margin-right: 0.5rem;
}

footer {
  flex-shrink: 0;
  text-align: center;
  padding: 1.5rem 1rem;
  background-color: rgba(50, 0, 0, 0.85);
  font-size: 0.9rem;
  color: #aaa;
}

/* Animation */
.fade-in {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll behavior */
body.scrolled header {
  background-color: rgba(50, 0, 0, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
