/* ===================== home.css (UPDATED: Canva-like + coquette) ===================== */
:root{
    --pink:#ffd6ea;
    --pink2:#ffc4dd;
    --pink3:#ffb6d7;
    --lav:#e7dcff;
    --cream:#fff6fb;
  
    --rose:#c2185b;
    --ink:#1a1a1a;
  
    --panelBg:#fff7fb;
    --panelBorder: rgba(0,0,0,.12);
  
    --shadow: 0 20px 60px rgba(0,0,0,.12);
    --softShadow: 0 14px 35px rgba(0,0,0,.10);
  }
  
  *{ box-sizing:border-box; margin:0; padding:0; }
  body{
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background: #f2f2f2;
    color: var(--ink);
  }
  
  /* --------------------------------
     Canva-like entrance animation
  --------------------------------- */
  @media (prefers-reduced-motion: reduce){
    *{ animation:none !important; transition:none !important; }
  }
  
  @keyframes enterUp {
    from { opacity:0; transform: translateY(10px); filter: blur(2px); }
    to   { opacity:1; transform: translateY(0); filter: blur(0); }
  }
  @keyframes floatSlow {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-6px); }
  }
  
  /* layout */
  .page{
    width:min(1100px, 94%);
    margin: 28px auto;
    display:grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
    align-items: stretch;
    animation: enterUp .7s cubic-bezier(.2,.9,.2,1) both;
  }
  
  /* ================= LEFT CANVAS ================= */
  .canvas{
    position:relative;
    border-radius: 18px;
    overflow:hidden;
    background: linear-gradient(#ffd7ea, #ffd7ea);
    box-shadow: var(--shadow);
    min-height: 560px;
  }
  
  /* petals: more "Canva" */
  .petals{
    position:absolute; inset:-20px;
    opacity:.75;
    pointer-events:none;
    background:
      radial-gradient(10px 8px at 15% 14%, rgba(255,105,180,.55), transparent 62%),
      radial-gradient(8px 6px at 28% 26%, rgba(255,105,180,.35), transparent 62%),
      radial-gradient(10px 8px at 56% 18%, rgba(255,105,180,.42), transparent 62%),
      radial-gradient(9px 7px at 80% 22%, rgba(255,105,180,.38), transparent 62%),
      radial-gradient(9px 7px at 40% 54%, rgba(255,105,180,.25), transparent 62%),
      radial-gradient(10px 8px at 68% 58%, rgba(255,105,180,.24), transparent 62%),
      radial-gradient(10px 8px at 88% 48%, rgba(255,105,180,.20), transparent 62%);
    filter: blur(.2px);
    animation: drift 7.5s ease-in-out infinite alternate;
  }
  @keyframes drift{
    from{ transform: translateY(0px) translateX(0px); }
    to  { transform: translateY(12px) translateX(-6px); }
  }
  
  /* falling petals (extra layer) */
  .canvas::before{
    content:"";
    position:absolute; inset:0;
    pointer-events:none;
    background:
      radial-gradient(6px 4px at 10% 10%, rgba(255,105,180,.45), transparent 65%),
      radial-gradient(7px 5px at 30% 0%, rgba(255,105,180,.35), transparent 65%),
      radial-gradient(6px 4px at 55% 8%, rgba(255,105,180,.35), transparent 65%),
      radial-gradient(7px 5px at 75% 3%, rgba(255,105,180,.30), transparent 65%),
      radial-gradient(6px 4px at 92% 12%, rgba(255,105,180,.22), transparent 65%);
    opacity:.6;
    animation: fall 6.8s linear infinite;
  }
  @keyframes fall{
    from{ transform: translateY(-40px); }
    to  { transform: translateY(80px); }
  }
  
  /* bubbles */
  .bubble{
    position:absolute;
    border:0;
    cursor:pointer;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    box-shadow: 0 16px 40px rgba(0,0,0,.10);
    backdrop-filter: blur(6px);
    transition: transform .18s ease, box-shadow .18s ease;
    display:grid;
    place-items:center;
    color:#6b0f3a;
    text-align:center;
    overflow:hidden;
    animation: enterUp .7s cubic-bezier(.2,.9,.2,1) both;
  }
  .b1{ animation-delay: 0ms; }
  .b2{ animation-delay: 120ms; }
  .b3{ animation-delay: 240ms; }
  
  /* slight idle float */
  .bubble:not(:active){
    animation-name: enterUp, floatSlow;
    animation-duration: .7s, 3.8s;
    animation-delay: 0ms, 1.2s;
    animation-timing-function: cubic-bezier(.2,.9,.2,1), ease-in-out;
    animation-iteration-count: 1, infinite;
    animation-fill-mode: both, both;
  }
  
  .bubbleText{
    font-family: ui-serif, Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: .02em;
    text-shadow: 0 8px 24px rgba(0,0,0,.10);
  }
  
  .b3 .bubbleText{
    font-size: 26px;
    line-height: 1.05;
  }
  
  .gloss{
    position:absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 12%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,0) 55%);
    opacity:.9;
    pointer-events:none;
  }
  
  /* bubble positions */
  .b1{ top: 62px; left: 78px; }
  .b2{ top: 132px; left: 300px; width: 190px; height: 190px; }
  .b3{ top: 78px; right: 110px; width: 190px; height: 190px; }

  /* Hilangkan underline khusus bubble */
.bubble{
    text-decoration: none;
  }
  
  
  /* hover fallback */
  .bubble:hover{
    transform: scale(1.06);
    box-shadow: 0 20px 50px rgba(0,0,0,.14);
  }
  .bubble:active{ transform: scale(1.02); }
  
  /* garden base */
  .garden{
    position:absolute;
    left:0; right:0;
    bottom:0;
    height: 240px;
    pointer-events:none;
  }
  
  /* layered green hills like Canva */
  .grass{
    position:absolute; inset:auto 0 0 0;
    height: 130px;
    background:
      radial-gradient(220px 120px at 18% 90%, #a6d96a, transparent 60%),
      radial-gradient(260px 140px at 46% 95%, #7cb342, transparent 62%),
      radial-gradient(240px 140px at 72% 92%, #9ccc65, transparent 60%),
      radial-gradient(260px 170px at 95% 110%, #7aa624, transparent 60%),
      linear-gradient(#86c440, #79b733);
  }
  
  /* flowers: more coquette (pink clusters) */
  .flowers{
    position:absolute; left:0; right:0; bottom:0;
    height: 170px;
    background:
      radial-gradient(12px 12px at 8% 78%, rgba(255,255,255,.95), transparent 55%),
      radial-gradient(12px 12px at 10% 80%, rgba(255,120,180,.95), transparent 55%),
  
      radial-gradient(12px 12px at 20% 82%, rgba(255,255,255,.95), transparent 55%),
      radial-gradient(12px 12px at 22% 84%, rgba(255,120,180,.95), transparent 55%),
  
      radial-gradient(12px 12px at 40% 84%, rgba(255,255,255,.95), transparent 55%),
      radial-gradient(12px 12px at 42% 86%, rgba(255,120,180,.95), transparent 55%),
  
      radial-gradient(12px 12px at 58% 82%, rgba(255,255,255,.95), transparent 55%),
      radial-gradient(12px 12px at 60% 84%, rgba(255,120,180,.95), transparent 55%),
  
      radial-gradient(12px 12px at 78% 80%, rgba(255,255,255,.95), transparent 55%),
      radial-gradient(12px 12px at 80% 82%, rgba(255,120,180,.95), transparent 55%),
  
      radial-gradient(12px 12px at 90% 78%, rgba(255,255,255,.95), transparent 55%),
      radial-gradient(12px 12px at 92% 80%, rgba(255,120,180,.95), transparent 55%);
  
    opacity:.95;
    animation: bloom 3.6s ease-in-out infinite;
  }
  @keyframes bloom{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-4px); }
  }
  
  /* ================= RIGHT PANEL ================= */
  .panel{
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--softShadow);
    overflow:hidden;
    border: 1px solid rgba(0,0,0,.08);
    animation: enterUp .7s cubic-bezier(.2,.9,.2,1) both;
    animation-delay: 200ms;
  }
  .panelInner{ padding: 14px 14px 16px; }
  
  /* brand */
  .panelHeader{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 8px 4px 12px;
  }
  .brand{
    font-weight: 900;
    letter-spacing: .14em;
    font-size: 11px;
    color: rgba(0,0,0,.65);
  }
  
  /* Search block */
  .searchBlock{
    padding: 10px 10px 12px;
    background: linear-gradient(180deg, var(--panelBg), #fff);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    position:relative;
  }
  
  /* tiny ribbon decor on search */
  .searchBlock::after{
    content:"";
    position:absolute;
    top:14px; left:13px;
    width:13px; height:13px;
    border-radius: 17px;
    background:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,.8), transparent 55%),
      linear-gradient(135deg, rgba(255,182,215,.85), rgba(231,220,255,.85));
    border:1px solid rgba(0,0,0,.08);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    opacity:.9;
  }
  
  .searchTitle{
    text-align:center;
    font-weight: 900;
    letter-spacing: .16em;
    font-size: 12px;
    margin-bottom: 10px;
  }
  .searchForm{
    display:flex;
    gap:10px;
    align-items:center;
    background: #fff;
    border: 2px solid rgba(194,24,91,.25);
    border-radius: 999px;
    padding: 8px 10px;
  }
  .searchForm input{
    border:0;
    outline:none;
    width: 100%;
    font-size: 13px;
    padding: 6px 8px;
    background: transparent;
  }
  .searchForm button{
    border:0;
    cursor:pointer;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(194,24,91,.10);
    transition: .15s ease;
  }
  .searchForm button:hover{
    background: rgba(194,24,91,.18);
    transform: translateY(-1px);
  }
  .searchHint{
    margin-top: 10px;
    font-size: 12px;
    color: rgba(0,0,0,.55);
    line-height: 1.4;
  }
  
  /* source chips */
  .sources{
    margin-top: 10px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }
  .chip{
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.75);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    cursor:pointer;
    transition:.15s ease;
  }
  .chip:hover{ transform: translateY(-1px); background: rgba(255,255,255,.95); }
  
  /* active chip (coquette) */
  .chip.is-active{
    border-color: rgba(194,24,91,.35);
    background: linear-gradient(135deg, rgba(255,214,234,.95), rgba(231,220,255,.95));
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
  }
  
  /* ================= HOT TOPIC (Coquette) ================= */
  .hotTopic{ margin-top: 12px; padding: 8px 2px; }
  
  .hotTitle{
    text-align:center;
    font-weight: 900;
    letter-spacing: .16em;
    font-size: 12px;
    margin-bottom: 10px;
  }
  
  /* Coquette frame with scallop + ribbon */
  .hotBox{ position:relative; }
  
  .hotBoxInner{
    background: linear-gradient(180deg, #ffe3f1, #ffd2e9);
    border: 2px solid rgba(0,0,0,.12);
    border-radius: 18px;
    padding: 12px;
    position:relative;
    box-shadow: 0 18px 45px rgba(0,0,0,.10);
  }
  
  /* scallop edge */
  .hotBoxInner::before{
    content:"";
    position:absolute;
    inset:-10px -10px auto -10px;
    height:26px;
    background:
      radial-gradient(circle at 13px 13px, rgba(255,255,255,.95) 12px, transparent 13px) repeat-x;
    background-size: 25px 29px;
    opacity:.95;
  }
  
  /* ribbon bow decor */
  .hotBoxInner::after{
    content:"";
    position:absolute;
    top:-25px; left:10px;
    width:28px; height:28px;
    background:
      radial-gradient(circle at 30% 35%, rgba(255,255,255,.8), transparent 55%),
      linear-gradient(135deg, rgba(255,182,215,.95), rgba(231,220,255,.95));
    border:1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,.10);
    transform: rotate(8deg);
  }
  
  /* old shadow layer (keep subtle) */
  .hotShadow{
    position:absolute;
    inset:auto 0 -7px 8px;
    height: 100%;
    border-radius: 18px;
    background: rgba(0,0,0,.25);
    filter: blur(1px);
    z-index: -1;
    opacity:.22;
  }
  
  .hotDesc{
    font-size: 12px;
    line-height:1.4;
    color: rgba(0,0,0,.70);
    margin: 10px 0 10px;
  }
  
  .hotList{
    display:flex;
    flex-direction:column;
    gap:8px;
  }
  
  .hotItem{
    text-align:left;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.72);
    border-radius: 14px;
    padding: 9px 10px;
    cursor:pointer;
    font-size: 12px;
    transition:.15s ease;
    position:relative;
  }
  .hotItem::before{
    content:"✦";
    margin-right:8px;
    color: rgba(194,24,91,.55);
  }
  .hotItem:hover{
    transform: translateX(3px);
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 26px rgba(0,0,0,.08);
  }
  
  .hotActions{
    display:flex;
    gap:8px;
    margin-top: 10px;
  }
  .hotActionBtn{
    flex:1;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.70);
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 12px;
    cursor:pointer;
    transition:.15s ease;
  }
  .hotActionBtn:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,.95);
  }
  .hotActionBtn.primary{
    border-width: 2px;
    border-color: rgba(194,24,91,.20);
    background: linear-gradient(135deg, rgba(255,214,234,.95), rgba(231,220,255,.95));
  }
  
  /* footer */
  .panelFooter{
    margin-top: 10px;
    text-align:center;
    font-size: 12px;
    color: rgba(0,0,0,.55);
  }
  
  /* responsive */
  @media (max-width: 920px){
    .page{ grid-template-columns: 1fr; }
    .canvas{ min-height: 520px; }
    .panel{ max-width: 520px; margin: 0 auto; }
    .b1{ left: 42px; }
    .b2{ left: 220px; }
    .b3{ right: 42px; }
  }
  @media (max-width: 520px){
    .bubble{ width: 140px; height: 140px; }
    .b2, .b3{ width: 150px; height: 150px; }
    .bubbleText{ font-size: 28px; }
    .b3 .bubbleText{ font-size: 22px; }
    .b1{ top: 70px; left: 22px; }
    .b2{ top: 150px; left: 140px; }
    .b3{ top: 80px; right: 22px; }
  }
  
  /* Hilangkan underline khusus bubble */
.bubble{
    text-decoration: none;
  }

  /* ================= BACK BUTTON ================= */
.backBtn{
    display:inline-flex;
    align-items:center;
    gap:6px;
  
    margin: 12px;
    padding: 8px 14px;
  
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
  
    color: #6b0f3a;
    background: linear-gradient(135deg, #ffe3f1, #f6ddff);
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 999px;
  
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(0,0,0,.10);
    transition: .15s ease;
  }
  
  /* Hover effect */
  .backBtn:hover{
    transform: translateX(-2px);
    background: linear-gradient(135deg, #ffd6ea, #ebd8ff);
  }
  
  /* Active click */
  .backBtn:active{
    transform: translateX(0) scale(.98);
  }
  