:root {
  color-scheme: only light;
  --sky-dark: #1a5bd8;
  --sky-mid: #43b4ff;
  --sky-light: #b9f3ff;
  --sun: rgba(255, 208, 77, 0.85);
  --card: rgba(255, 255, 255, 0.9);
  --text: #102045;
  --shadow: 0 24px 40px rgba(10, 33, 85, 0.28);
  --radius: 28px;
}

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

body {
  font-family: "Baloo 2", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 50% 0%, var(--sun), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, var(--sky-dark) 0%, var(--sky-mid) 50%, var(--sky-light) 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body::before {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6), transparent 40%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.4), transparent 35%),
    radial-gradient(circle at 15% 70%, rgba(255, 255, 255, 0.35), transparent 40%),
    radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.35), transparent 35%);
  opacity: 0.7;
}

body::after {
  background-image: radial-gradient(circle, rgba(255, 226, 120, 0.8) 0 6px, transparent 7px),
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 4px, transparent 5px),
    radial-gradient(circle, rgba(255, 191, 74, 0.8) 0 5px, transparent 6px);
  background-size: 140px 140px, 200px 200px, 160px 160px;
  background-position: 0 0, 40px 90px, 80px 30px;
  opacity: 0.35;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 18px 48px;
  position: relative;
  z-index: 1;
}

.card {
  width: 100%;
  max-width: 480px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 20px 26px;
  box-shadow: var(--shadow);
  border: 4px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
}

.hero {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  padding: 14px 0 18px;
}

.hero__image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.action-button {
  border: none;
  text-decoration: none;
  color: #ffffff;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  border-radius: 22px;
  font-size: 1.1rem;
  font-weight: 800;
  min-height: 84px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), inset 0 -6px 12px rgba(0, 0, 0, 0.25), 0 18px 26px rgba(4, 16, 55, 0.35);
  border: 4px solid #0c2365;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.action-button__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.35);
}

.action-button__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.action-button__title {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.action-button__helper {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
}

.action-button__badge {
  min-width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 900;
  background: radial-gradient(circle at top, #fff4c7, #ffb703 70%);
  color: #532a00;
  border: 4px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.6), 0 10px 16px rgba(0, 0, 0, 0.25);
}

.action-button:focus-visible,
.action-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), inset 0 -8px 14px rgba(0, 0, 0, 0.3), 0 22px 30px rgba(4, 16, 55, 0.4);
}

.action-button--orange {
  background: linear-gradient(140deg, #ffb000 0%, #ff6a00 55%, #ff3d00 100%);
}

.action-button--blue {
  background: linear-gradient(140deg, #26a7ff 0%, #005bff 60%, #002fd1 100%);
}

.action-button--green {
  background: linear-gradient(140deg, #7bff5b 0%, #28d94f 55%, #0a8c3d 100%);
}

.action-button--red {
  background: linear-gradient(140deg, #ff3b3b 0%, #e3002d 55%, #9b001f 100%);
}

.footer {
  margin-top: 22px;
  text-align: center;
}

.footer__message {
  font-size: 1rem;
  color: #ffffff;
  background: #6b6b6b;
  padding: 14px 16px;
  border-radius: 18px;
  border: 2px dashed rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2), 0 10px 16px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .card {
    padding: 40px 28px 30px;
  }

  .hero__title {
    font-size: 2.7rem;
  }

  .action-button {
    font-size: 1.2rem;
  }
}

/* === About Project Button === */

.about-project {
  display: flex;
  justify-content: center;
  margin: 10px 0 26px;
}

.about-project__btn,
.about-project__btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(160deg, #1f4e9e 0%, #143776 48%, #0b214f 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    inset 0 -6px 12px rgba(0, 0, 0, 0.35),
    0 14px 22px rgba(6, 20, 54, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.about-project__btn:hover,
.about-project__btn:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.34),
    inset 0 -7px 14px rgba(0, 0, 0, 0.38),
    0 18px 26px rgba(6, 20, 54, 0.38);
  filter: brightness(1.05);
}

.about-project__btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -4px 10px rgba(0, 0, 0, 0.4),
    0 10px 16px rgba(6, 20, 54, 0.3);
  filter: brightness(0.98);
}
