
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a2557 0%, #1e0b31 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  max-width: 1000px;
  width: 100%;
}

header {
  text-align: center;
  color: white;
  margin-bottom: 50px;
}

header h1 {
  font-size: 3rem;
  font-family: "Cinzel Decorative", serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
  font-size: 1.2rem;
  opacity: 0.95;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.link-card {
  transition: transform 0.1s ease;
  transform-style: preserve-3d;
  will-change: transform;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
}

.link-card a {
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.link-card .icon {
  font-size: 2.5rem;
}

.link-card h3 {
  font-size: 1.3rem;
  color: #667eea;
  margin-bottom: 10px;
}

.link-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.link-card:hover * {
  transform: translateZ(10px);
}

.link-card * {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

@media (prefers-reduced-motion) {
  .link-card {
    transform: none !important;
  }
}

footer {
  text-align: center;
  color: white;
  opacity: 0.8;
  margin-top: 40px;
}