/* Global Styles + Parallax Background */
body {
  background: linear-gradient(to bottom, #121212, #1c1c1c, #2c2c2c);
  background-attachment: fixed;
  background-size: cover;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  margin: 0;
  overflow-x: hidden;
}

.container {
  padding: 60px 20px;
  animation: fadeIn 1s ease-in-out;
}

h1 {
  margin-bottom: 0;
  font-size: 3.2em;
}

.subtitle {
  color: #ccc;
  margin-top: 10px;
  margin-bottom: 60px;
  font-size: 1.3em;
  min-height: 40px;
}

/* Panel Layout */
.panels {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  animation: slideUp 1.5s ease-out;
}

/* Panel Styling */
.panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 500px;
  text-decoration: none;
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.panel > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.panel small {
  font-size: 0.4em;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}


.panel::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: inherit;
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.panel:hover {
  transform: scale(1.07);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.3);
}

.panel:hover::before {
  opacity: 0.5;
}

/* Panel Colors */
.blue { background: linear-gradient(145deg, #a4c9e4, #7aaedc); }
.green { background: linear-gradient(145deg, #b5d3af, #90b98a); }
.orange { background: linear-gradient(145deg, #e7c9a1, #d1a978); }
.red { background: linear-gradient(145deg, #e1b2b2, #c48c8c); }

/* Footer */
footer {
  color: #aaa;
  font-size: 0.9em;
  margin-top: 60px;
}

/* Link Colors (Fix for readability) */
a {
  color: #bbb;
  text-decoration: none;
}
a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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