/**
 * Common styles for GitLab Pages
 * Based on Pomodoro Method base theme colors
 */

:root {
  /* Base theme colors */
  --bg-primary: #cab275;
  --bg-light: #f5e6d3;
  --bg-white: #fff;
  --text-primary: #333;
  --text-secondary: #555;
  --text-light: #777;
  --primary: #e33302;
  --primary-hover: #ff5722;
  --accent: #ffd110;
  --accent-hover: #f7a601;
  --border: #e0d4b8;
  --shadow: rgb(0, 0, 0, 0.1);
  --radius: 0.5rem;
}

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

body {
  font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: linear-gradient(135deg, #f5e6d3 0%, #cab275 100%);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  padding: 2rem 1rem;
}

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

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px var(--shadow);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.5rem;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.button-primary {
  background: var(--primary);
  color: white;
}

.button-primary:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
}

.button-secondary {
  background: var(--accent);
  color: var(--text-primary);
}

.button-secondary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.stars {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  margin: 0 0.5rem;
}

.star {
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgb(0, 0, 0, 0.1));
}

.star-filled {
  color: var(--accent);
}

iframe {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  min-height: 600px;
  background: var(--bg-white);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-content {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.step-image {
  width: 100%;
  max-width: 620px;
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.step-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.banner {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.rating-section {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-light);
}

@media (max-width: 768px) {
  body {
    padding: 1rem 0.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  .card {
    padding: 1.5rem;
  }
}

