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

body {
  font-family: "Poppins", Arial, sans-serif;
  background: url("shadow-bg.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* Dark overlay for better readability */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 12, 0.85), rgba(40, 20, 20, 0.75));
  z-index: -1;
}

/* Content wrapper */
.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  animation: fadeIn 1s ease-in-out;
}

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

/* ===== HEADER ===== */
header {
  text-align: center;
  margin-bottom: 40px;
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 
    0 0 20px rgba(255, 221, 102, 0.5),
    0 0 40px rgba(255, 100, 100, 0.3),
    2px 2px 8px rgba(0, 0, 0, 0.8);
}

.tagline {
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: #ffdd88;
  opacity: 0.95;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* ===== CARDS ===== */
.card {
  background: linear-gradient(135deg, rgba(90, 50, 50, 0.7), rgba(60, 30, 40, 0.6));
  width: 100%;
  max-width: 600px;
  padding: 32px 28px;
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(255, 100, 100, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 25px;
  animation: slideUp 0.7s ease-out both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(255, 100, 100, 0.25);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }

.card h2 {
  margin-top: 0;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  margin-bottom: 8px;
  font-weight: 600;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.5px;
  color: #ffdd88;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  font-weight: 300;
}

/* ===== LINKS ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  font-weight: 500;
  font-size: 0.95rem;
}

.links a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 221, 102, 0.4);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(255, 221, 102, 0.2);
}

.link-icon {
  font-size: 1.2rem;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 25px 15px;
  opacity: 0.7;
  font-size: 0.9rem;
  margin-top: auto;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

footer p {
  margin: 5px 0;
}

.footer-note {
  font-size: 0.85rem;
  color: #ff8888;
  font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .content-wrapper {
    padding: 30px 15px;
  }

  .card {
    padding: 24px 20px;
    margin-bottom: 20px;
  }

  header {
    margin-bottom: 30px;
  }

  .links a {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 20px 16px;
  }

  .links a {
    flex-direction: row;
    font-size: 0.85rem;
  }

  .link-icon {
    font-size: 1.1rem;
  }
}

/* ===== SMOOTH SCROLLING ===== */
html {
  scroll-behavior: smooth;
}
