:root {
  --bg-dark: #0a0c10;
  --card-bg: #11161f;
  --card-hover: #161d29;
  --accent-teal: #2dd4bf;
  --accent-gold: #e5b84b;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-subtle: rgba(45, 212, 191, 0.28);
  --border-hover: rgba(229, 184, 75, 0.75);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 50% 0%, #15222b 0%, var(--bg-dark) 65%);
  color: var(--text-main);
  font-family: Georgia, 'Times New Roman', serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.portal-container {
  max-width: 960px;
  width: 100%;
  text-align: center;
}

header {
  margin-bottom: 52px;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
  text-shadow: 0 4px 24px rgba(45, 212, 191, 0.25);
  margin-bottom: 14px;
  font-weight: 700;
}

.motto {
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-style: italic;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.worlds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  justify-items: center;
}

.world-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 36px 30px;
  width: 100%;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.world-card:hover {
  transform: translateY(-5px);
  background: var(--card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(229, 184, 75, 0.12);
}

.world-card h2 {
  font-size: 1.55rem;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
}

.world-card:hover h2 {
  color: var(--accent-gold);
}

.world-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 360px;
}

.world-card--centered {
  grid-column: 1 / -1;
  max-width: calc(50% - 14px);
}

footer {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.donate-link {
  display: inline-block;
  color: var(--accent-gold);
  text-decoration: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--accent-gold);
  padding: 10px 24px;
  border-radius: 6px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.donate-link:hover {
  background: var(--accent-gold);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(229, 184, 75, 0.25);
}

.copyright {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.8rem;
  color: #475569;
  letter-spacing: 0.03em;
}

@media (max-width: 720px) {
  .worlds-grid {
    grid-template-columns: 1fr;
  }
  .world-card--centered {
    max-width: 100%;
  }
}

@media print {
  body {
    display: none !important;
  }
}