:root {
  --primary-color: #5c24ff; 
  --primary-hover: #4a19e6;
  --bg-color: #f4f5f7;
  --text-main: #1d1d1f;
  --text-muted: #6e6e73;
  --card-bg: #ffffff;
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.container {
  width: 100%;
  max-width: 600px;
  background: var(--card-bg);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.header-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #5c24ff, #9c27b0);
  border-radius: 20px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(92, 36, 255, 0.3);
}

h1 {
  font-family: 'Montserrat', sans-serif; 
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

p.description {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  text-align: left;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

hr {
  border: none;
  height: 1px;
  background: #eee;
  margin: 2rem 0;
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  text-align: left;
}

.link-card {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background: #fafafa;
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.link-card:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  object-fit: contain;
}

a.button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #ffffff;
  padding: 1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(92, 36, 255, 0.3);
}

a.button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 36, 255, 0.4);
}

a.button .icon {
  filter: brightness(0) invert(1); 
}

iframe {
  margin: 1.5rem 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.footer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (min-width: 500px) {
  .link-grid {
    grid-template-columns: 1fr 1fr;
  }
  .link-card:last-child:nth-child(odd) {
    grid-column: span 2; 
  }
}