/**
 * Common CSS Variables and Base Styles for GitLab Pages
 * Contains all shared CSS variables and base styles used across pages
 */

:root {
  /* Base theme colors - Google Material Design */
  --bg-primary: #f9f9f9;
  --bg-light: #e8f0fe;
  --bg-white: #fff;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-light: #5f6368;
  --primary: #4285f4;
  --primary-hover: #3367d6;
  --accent: #34a853;
  --accent-hover: #2e7d32;
  --error: #ea4335;
  --border: #dadce0;
  --shadow: rgb(0, 0, 0, 0.1);
  --radius: 0.5rem;

  /* Layout variables */
  --container-max-width: 800px;
  --body-padding: 2rem 1rem;
  --card-padding: 2rem;
  --card-margin-bottom: 2rem;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  padding: var(--body-padding);
}

.container {
  max-width: var(--container-max-width);
  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 (width <= 768px) {
  body {
    padding: 1rem 0.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  .card {
    padding: 1.5rem;
  }
}

