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

body {
  background-color: #2c1f0e;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.03) 0px,
    rgba(0,0,0,0.03) 1px,
    transparent 1px,
    transparent 10px
  );
  font-family: 'Georgia', serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.portal {
  max-width: 1100px;
  width: 100%;
  background-color: #f4f1e8;
  border: 3px solid #8b7355;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), inset 0 0 60px rgba(180,150,100,0.1);
  padding: 40px;
}

header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #8b7355;
}

header h1 {
  font-size: 2.2em;
  color: #3a2a1a;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.subtitle {
  color: #8b7355;
  font-style: italic;
  margin-top: 8px;
  font-size: 1em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 24px;
  background-color: #fff;
  border: 2px solid #d4c4a8;
  border-radius: 5px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: #8b4513;
  box-shadow: 0 4px 16px rgba(139,69,19,0.25);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 2.8em;
  margin-bottom: 14px;
}

.card h2 {
  font-size: 1.2em;
  color: #3a2a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.82em;
  color: #5a4a3a;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 18px;
}

.card-cta {
  font-size: 0.8em;
  font-weight: bold;
  color: #8b4513;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer {
  text-align: center;
  font-size: 0.75em;
  color: #8b7355;
  border-top: 1px solid #d4c4a8;
  padding-top: 16px;
}
