:root{
  --pink:#ff8acb;
  --lilac:#b38cff;
  --bg1:#ffe6f0;
  --bg2:#f3e8ff;
  --card:#fff;
  --muted:#666;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family:"Segoe UI", system-ui, sans-serif;
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:18px;
}

.card{
  background: var(--card);
  width:100%;
  max-width:900px;
  padding:26px;
  border-radius:24px;
  box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.header{ margin-bottom:22px; }

.brand{
  display:flex;
  gap:14px;
  align-items:center;
}

.brand-emoji{ font-size:34px; }

.subtitle{
  margin:4px 0 0;
  color:var(--muted);
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:18px;
}

@media (min-width:900px){
  .grid{ grid-template-columns: repeat(3, 1fr); }
}

/* TILE */
.tile{
  text-decoration:none;
  color:#222;
  background:#fff;
  border-radius:20px;
  padding:18px;
  box-shadow:0 10px 24px rgba(0,0,0,0.08);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tile:hover{
  transform: translateY(-3px);
  box-shadow:0 18px 36px rgba(0,0,0,0.12);
}

.tile-top{
  display:flex;
  gap:10px;
  align-items:center;
}

.tile-emoji{ font-size:28px; }

.tile-title{
  margin:0;
  font-weight:900;
  font-size:17px;
}

.tile-sub{
  margin:12px 0 16px;
  font-size:14px;
  color:var(--muted);
}

.tile-cta{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.badge{
  background: rgba(179,140,255,0.18);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}

.cta-btn{ font-weight:800; }

/* MOBILE CAROUSEL */
.carousel-wrap{ display:none; }

@media (max-width:640px){
  .grid{ display:none; }

  .carousel-wrap{
    display:flex;
    align-items:center;
    gap:10px;
  }

  .carousel{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:14px;
  }

  .carousel .tile{
    min-width:85%;
    scroll-snap-align:center;
  }

  .nav-btn{
    border:none;
    background:#fff;
    width:44px;
    height:44px;
    border-radius:14px;
    font-size:22px;
    cursor:pointer;
    box-shadow:0 6px 16px rgba(0,0,0,0.12);
  }

  .dots{
    display:flex;
    justify-content:center;
    gap:6px;
    margin-top:12px;
  }

  .dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#ccc;
  }

  .dot.active{ background: var(--lilac); }
}
