/* =========================================
   ADDVIBES — MOBILE PEGBOARDS SECTION
   Source frame: 720 × 1280 (9:16)
   Fade In: 36–38 / Stable: 38–40
========================================= */

.addvibes-mobile-pegboards-section{
  display:none;
}

@media (max-width:900px), (orientation:portrait){

  .addvibes-mobile-pegboards-section{
    --pegboards-opacity:0;

    position:absolute;
    inset:0;
    z-index:18;

    display:block;

    opacity:var(--pegboards-opacity);
    visibility:hidden;
    pointer-events:none;

    transition:
      opacity .10s linear,
      visibility .10s linear;

    direction:ltr;
  }

  .addvibes-mobile-pegboards-section.is-active{
    visibility:visible;
  }

  .addvibes-mobile-pegboards-section.is-interactive{
    pointer-events:auto;
  }

  .addvibes-mobile-pegboards-section__inner{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    pointer-events:none;
  }

  /*
    Pegboard occupies the central area.
    Copy stays above it in the empty wall space.
  */
  .addvibes-mobile-pegboards-section__copy{
    position:absolute;
    top:max(3.8svh,26px);
    left:50%;

    width:min(82vw,360px);
    padding:0 14px;

    transform:translateX(-50%);

    text-align:center;
    pointer-events:none;
  }

  .addvibes-mobile-pegboards-section__eyebrow{
    margin:0 0 8px;

    color:#D9B875;

    font-family:Arial,Helvetica,sans-serif;
    font-size:8px;
    font-weight:800;
    line-height:1;

    letter-spacing:.22em;
    text-transform:uppercase;

    text-shadow:
      0 2px 8px rgba(0,0,0,.96),
      0 0 14px rgba(224,169,59,.22);
  }

  .addvibes-mobile-pegboards-section__title{
    display:flex;
    flex-direction:column;
    align-items:center;

    margin:0;

    font-family:"Fraunces",Georgia,serif;
    font-size:clamp(30px,9.4vw,44px);
    font-weight:700;
    line-height:.84;

    letter-spacing:-.04em;

    filter:
      drop-shadow(0 4px 6px rgba(0,0,0,.92))
      drop-shadow(0 10px 18px rgba(0,0,0,.48));
  }

  .addvibes-mobile-pegboards-section__title-main{
    color:#F0DFC2;
  }

  .addvibes-mobile-pegboards-section__title-rgb{
    display:block;
    margin-top:8px;

    color:transparent;

    background:
      linear-gradient(
        90deg,
        #2FA8D9 0%,
        #65E4FF 22%,
        #8D63E8 45%,
        #D63E9C 68%,
        #E0A93B 100%
      );

    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;

    filter:
      drop-shadow(0 0 8px rgba(47,168,217,.24))
      drop-shadow(0 0 10px rgba(214,62,156,.18));
  }

  .addvibes-mobile-pegboards-section__text{
    width:min(76vw,310px);
    max-width:310px;

    margin:11px auto 0;

    color:rgba(242,231,216,.93);

    font-family:Arial,Helvetica,sans-serif;
    font-size:10.5px;
    font-weight:500;
    line-height:1.52;
    text-align:center;

    text-shadow:
      0 2px 6px rgba(0,0,0,1),
      0 5px 15px rgba(0,0,0,.88);
  }

  /*
    Button sits below the pegboard and matches its visual width.
  */
  .addvibes-mobile-pegboards-section__button{
    position:absolute;
    left:50%;
    top:82%;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;

    width:min(48vw,190px);
    min-height:42px;

    padding:0 14px;

    transform:translateX(-50%);

    border:1px solid rgba(242,231,216,.44);
    border-radius:999px;

    background:
      linear-gradient(
        135deg,
        rgba(12,26,48,.92),
        rgba(47,168,217,.18) 42%,
        rgba(22,41,74,.88)
      );

    color:#F2E7D8;
    text-decoration:none;
    white-space:nowrap;

    font-family:Arial,Helvetica,sans-serif;
    font-size:8.5px;
    font-weight:800;
    line-height:1;

    letter-spacing:.13em;

    box-shadow:
      0 9px 24px rgba(0,0,0,.52),
      inset 0 1px 0 rgba(255,255,255,.14),
      0 0 14px rgba(47,168,217,.10);

    pointer-events:auto;
    touch-action:manipulation;
  }

  .addvibes-mobile-pegboards-section__button:active{
    transform:
      translateX(-50%)
      scale(.98);
  }
}

@media (max-height:700px) and (max-width:900px){

  .addvibes-mobile-pegboards-section__copy{
    top:max(2.8svh,20px);
  }

  .addvibes-mobile-pegboards-section__title{
    font-size:29px;
  }

  .addvibes-mobile-pegboards-section__text{
    width:min(78vw,300px);
    margin-top:8px;
    font-size:9.5px;
  }

  .addvibes-mobile-pegboards-section__button{
    top:81%;
    width:min(46vw,180px);
    min-height:39px;
    font-size:8px;
  }
}

@media (min-width:901px) and (orientation:landscape){
  .addvibes-mobile-pegboards-section{
    display:none !important;
  }
}
