/* Shared styles for Pearl plugins */

:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --background-color: #0f172a;
  --text-color: #f1f5f9;
  --border-color: #334155;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

h2 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
}

.subtitle {
  text-align: center;
  color: var(--border-color);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1rem;
  text-align: center;
}

.time-info {
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.time-info strong {
  color: var(--primary-color);
  font-weight: 600;
}

.features {
  margin: 2rem 0;
}

.features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.features li {
  background-color: rgba(139, 92, 246, 0.1);
  border-left: 3px solid var(--secondary-color);
  padding: 1rem;
  border-radius: 4px;
  text-align: left;
}

.features li:before {
  content: '✓ ';
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

.farewell-message {
  background-color: rgba(99, 102, 241, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.farewell-message p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.link-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.link-button:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 1rem;
  }

  .links {
    flex-direction: column;
  }

  .link-button {
    width: 100%;
    text-align: center;
  }
}
