@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  --bg: #ffecee;
  --bg-soft: #ffe8ec;
  --text: #672528;
  --border: #e7c7ca;
  --pink: #ffc4d0;
  --card-pink: rgba(255, 59, 90, 0.10);
  --card-peach: rgba(255, 184, 108, 0.10);
  --card-purple: rgba(179, 136, 255, 0.10);
  --card-mint: rgba(99, 214, 179, 0.10);
  --card-pink2: rgba(255, 61, 87, 0.10);
  --shadow: 0 18px 40px rgba(113, 39, 45, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(white, var(--bg));
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
}

/* Header */

.header {
  height: 50px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 239, 241, 0.78);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  font-weight: 600;
  color: var(--text);
}

.logo img {
  display: block;
  height: 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* Layout */

.container {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 32px 60px 60px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.hero h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.2px;
  color: var(--text);
  font-weight: 600;
}

.hero p {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: 22px;
  color: var(--text);
}

.stat-card {
  width: 100%;
  min-width: 0;
  height: 150px;
  border: 1px solid #f1c9cf;
  border-radius: 12px;
  background: url("/bg.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card h1 {
  margin: 0;
  font-size: 40px;
  color: var(--text);
}

.stat-card p {
  margin: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* Sections */

.section {
  margin-bottom: 22px;
}

.section-title {
  margin: 0 0 24px;
  font-size: 34px;
  line-height: 1;
  color: var(--text);
  font-weight: 600;
}

/* Cards grid */

.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.action-card {
  width: 100%;
  min-width: 0;
  height: 150px;
  border-radius: 12px;
  background: var(--card-pink);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(113, 39, 45, 0.11);
}

.label:active {
  transform: scale(0.96);
}

.emoji {
  height: 58px;
  filter: drop-shadow(0 14px 8px rgba(103, 37, 40, 0.4));
}

.label {
  --btn-color: #ff4a62;
  --btn-text: #ff3b62;
  --btn-shadow: rgba(255, 61, 98, 0.35);

  max-width: calc(100% - 24px);
  min-width: 120px;
  height: 44px;
  padding: 7px 22px;

  border: 2px solid color-mix(in srgb, var(--btn-color), transparent 35%);
  border-radius: 100px;

  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--btn-color), transparent 82%) 0%,
      color-mix(in srgb, var(--btn-color), transparent 90%) 100%
    );

  color: var(--btn-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;

  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.12),
    inset 0 -8px 16px color-mix(in srgb, var(--btn-color), transparent 88%),
    0 10px 22px color-mix(in srgb, var(--btn-color), transparent 88%);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.label:hover {
  transform: translateY(-3px);

  border-color: color-mix(in srgb, var(--btn-color), white 35%);

  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--btn-color), white 18%) 0%,
      var(--btn-color) 100%
    );

  color: color-mix(in srgb, var(--btn-color), white 65%);

  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.35),
    inset 0 -5px 10px color-mix(in srgb, var(--btn-color), black 35%),
    0 7px 0 color-mix(in srgb, var(--btn-color), black 38%),
    0 18px 34px var(--btn-shadow);

  filter: brightness(1.04);
}

.label:active {
  transform: translateY(4px);

  border-color: color-mix(in srgb, var(--btn-color), black 10%);

  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--btn-color), black 8%) 0%,
      color-mix(in srgb, var(--btn-color), black 18%) 100%
    );

  color: color-mix(in srgb, var(--btn-color), white 55%);

  box-shadow:
    inset 0 5px 10px color-mix(in srgb, var(--btn-color), black 45%),
    inset 0 -2px 4px rgba(255, 255, 255, 0.14),
    0 2px 0 color-mix(in srgb, var(--btn-color), black 50%),
    0 8px 18px color-mix(in srgb, var(--btn-color), transparent 70%);

  filter: brightness(0.96);
}

/* Card themes */

.care .action-card {
  background: var(--card-peach);
}

.gifts .action-card {
  background: var(--card-purple);
}

.mood .action-card {
  background: var(--card-mint);
}

.adult .action-card {
  background: var(--card-pink2);
}

.tenderness .label {
  --btn-color: #ff4a62;
  --btn-text: #FF3B62;
  --btn-shadow: rgba(255, 61, 98, 0.35);
}

.care .label {
  --btn-color: #f19a52;
  --btn-text: #FFB86C;
  --btn-shadow: rgba(241, 154, 82, 0.35);
}

.gifts .label {
  --btn-color: #b37cff;
  --btn-text: #B388FF;
  --btn-shadow: rgba(179, 124, 255, 0.35);
}

.mood .label {
  --btn-color: #40c7a8;
  --btn-text: #63D6B3;
  --btn-shadow: rgba(64, 199, 168, 0.35);
}

.adult .label {
  --btn-color: #ff4a62;
  --btn-text: #FF3D57;
  --btn-shadow: rgba(255, 74, 98, 0.35);
}

/* Info block */

.info {
  margin-top: 34px;
  padding: 22px 30px 28px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffdce5, #ffd4de);
  box-shadow: var(--shadow);
}

.info h2 {
  margin: 0 0 22px;
  font-size: 34px;
  color: var(--text);
}

.steps {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
  gap: 18px;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.step b {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 18px;
}

.step span {
  display: block;
  max-width: 220px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.25;
}

.step-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(255, 121, 149, 0.16);
}

.check-icon,
.plane-icon,
.heart-icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  background-color: #ffa9bb;
}

.check-icon {
  mask: url("/Circle_Check.svg") center / contain no-repeat;
  -webkit-mask: url("/Circle_Check.svg") center / contain no-repeat;
}

.plane-icon {
  mask: url("/Paper_Plane.svg") center / contain no-repeat;
  -webkit-mask: url("/Paper_Plane.svg") center / contain no-repeat;
}

.heart-icon {
  mask: url("/Heart.svg") center / contain no-repeat;
  -webkit-mask: url("/Heart.svg") center / contain no-repeat;
}

.dots {
  flex: 1;
  min-width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dots i,
.dots o {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff9daf;
  display: block;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding: 20px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.made {
  font-size: 12px;
  font-weight: 600;
}

/* Laptop / smaller desktop */

@media (max-width: 1400px) {
  .container {
    padding: 32px 40px 60px;
  }

  .header {
    padding: 24px 40px;
  }

  .grid {
    gap: 20px;
  }

  .action-card {
    height: 170px;
  }

  .label {
    font-size: 16px;
    padding: 7px 16px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero p {
    font-size: 20px;
  }

  .steps {
    gap: 14px;
  }

  .step b {
    font-size: 16px;
  }

  .step span {
    max-width: 190px;
    font-size: 13px;
  }

  .step-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }

  .check-icon,
  .plane-icon,
  .heart-icon {
    width: 38px;
    height: 38px;
  }
}

/* Tablet */

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .stat-card {
    width: 100%;
    max-width: 334px;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps {
    flex-direction: column;
    align-items: flex-start;
  }

  .dots {
    display: none;
  }
}

/* Mobile */

@media (max-width: 700px) {
  .header {
    height: 136px;
    padding: 18px 16px 10px;
    align-items: flex-end
  }

  .nav {
    display: none;
  }

  .container {
    padding: 24px 16px 40px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
    letter-spacing: -0.6px;
  }

  .hero p {
    font-size: 18px;
  }

  .stat-card {
    width: 100%;
    max-width: none;
  }

  .section-title {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .action-card {
    width: 100%;
    height: 130px;
    gap: 12px;
  }

  .label {
    height: 34px;
    padding: 6px 12px;
    font-size: 16px;
  }

  .info {
    padding: 20px 18px 22px;
  }

  .info h2 {
    font-size: 28px;
  }

  .footer {
    padding: 18px 16px;
  }
}

.toast-stack {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    pointer-events: none;
    padding: 0 16px;
}

.toast-item {
    pointer-events: auto;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.12);
    padding: 20px 28px 18px 28px;
    width: auto;
    max-width: 540px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.2);
    opacity: 0;
    transform: translateY(-24px) scale(0.96);
}

.toast-item.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-item.hide {
    opacity: 0;
    transform: translateY(-20px) scale(0.94);
    transition: 0.2s ease-in;
}

.toast-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.toast-icon svg {
    width: 48px;
    height: 48px;
    display: block;
}

.toast-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #672528;
    line-height: 1.25;
    margin-bottom: 6px;
}

.toast-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #672528;
    opacity: 0.8;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .toast-item {
        max-width: calc(100vw - 32px);
        padding: 16px 20px 14px;
    }
    .toast-title {
        font-size: 20px;
    }
    .toast-sub {
        font-size: 14px;
        white-space: normal;
        word-break: break-word;
    }
    .toast-icon svg {
        width: 40px;
        height: 40px;
    }
}