/* =======================
    Global Variables
========================== */
:root {
  /* Colors */
  --color-bg: #f5d04e;
  --color-text-main: #111;
  --color-text-secondary: #555;
  --color-white: #fff;
  --color-border: #000;

  /* Typography */
  --font-family: "Figtree", sans-serif;
  --font-size-title: 24px;
  --font-size-subtitle: 16px;
  --font-size-text: 14px;
  --font-weight-bold: 800;
  --font-weight-medium: 500;
  --line-height: 1.5;
  --letter-spacing: 0px;

  /* Spacing system */
  --space-300: 24px;
  --space-150: 12px;
  --space-100: 8px;
  --space-50: 4px;

  /* Border Radius */
  --radius: 10px;
}

/* =======================
   🌍 Global Styles
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* =======================
    Card Layout
========================== */
.card {
  width: 300px;
  height: 470px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 5px var(--color-border);
  overflow: hidden;
}

/* =======================
   Image Section
========================== */
.image {
  padding: 16px;
}

.image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius);
}

.image button {
  margin-top: 12px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 5px;
}

.image p {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 10px;
}
/* =======================
    Content Section
========================== */
.content {
  padding: 0 var(--space-150);
}

.content h1 {
  font-size: var(--font-size-title);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height);
  margin-top: var(--space-150);
  margin-bottom: var(--space-100);
}

.introduction {
  padding: 0 var(--space-150);
  margin-top: var(--space-50);
  opacity: 0.8;
}

.introduction p {
  font-size: var(--font-size-text);
  line-height: var(--line-height);
  color: var(--color-text-secondary);
}

/* =======================
    Author Section
========================== */
.author {
  display: flex;
  align-items: center;
  gap: var(--space-100);
  padding: var(--space-150);
}

.author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.author p {
  font-size: var(--font-size-text);
  font-weight: var(--font-weight-bold);
}

/* =======================
   📱 Responsive
========================== */
@media (max-width: 375px) {
  .card {
    width: 90%;
  }

  .content h1 {
    font-size: 20px;
  }
}
