/*
Theme Name: CDM CMT
Author: Creatif Desain
Description: Tema WordPress custom untuk landing page event CDM CMT, dibuat identik dengan desain HTML asli. Dilengkapi halaman pengaturan Homepage Settings di admin untuk mengatur countdown, competitions, guidebook PDF, rule book, gallery, timeline, dan sponsor.
Version: 1.0
Text Domain: cdmcmt
*/
 @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Quicksand:wght@500;600;700&display=swap');

  :root{
    --cream: #f3f3f3;
    --deep-teal: #0e7c7b;
    --teal: #21b0ad;
    --seafoam: #7fe0d3;
    --gold: #f4a93b;
    --gold-dark: #e08b1f;
    --ink: #1c3a3a;
    --shell: #f6e4d3;
	--grey: #dbdbdb;
  }

  *{margin:0;padding:0;box-sizing:border-box;}

  body{
    font-family:'Quicksand', sans-serif;
    background:var(--cream);
    color:var(--ink);
    overflow-x:hidden;
  }

  h1,h2,.brand-word{
    font-family:'Baloo 2', sans-serif;
  }

  /* ===== NAVBAR ===== */
  .navbar-fixed{
    position:fixed;
    top:0; left:0; right:0;
    z-index:50;
    padding-top:calc(1.6rem + 20px);
  }

  .navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    max-width:1000px;
    margin:0 auto;
    padding:1rem 2.8rem;
    background:linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius:999px;
    box-shadow:0 6px 0 #c9791a, 0 14px 24px rgba(224,139,31,0.25);
    position:relative;
    z-index:5;
  }

  .nav-hamburger{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:36px; height:36px;
    background:none;
    border:none;
    cursor:pointer;
    z-index:7;
  }
  .nav-hamburger span{
    display:block;
    width:100%;
    height:3px;
    background:#fffaf0;
    border-radius:2px;
    transition:transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-hamburger.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2){ opacity:0; }
  .nav-hamburger.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

  .nav-mobile-menu{
    display:none;
    flex-direction:column;
    align-items:center;
    gap:0.9rem;
    max-width:1000px;
    margin:0.6rem auto 0;
    padding:1.2rem 1.4rem;
    background:linear-gradient(180deg, var(--gold-dark) 0%, #c9791a 100%);
    border-radius:22px;
    box-shadow:0 10px 22px rgba(0,0,0,0.3);
    max-height:0;
    overflow:hidden;
    opacity:0;
    transition:max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
  }
  .nav-mobile-menu.open{
    display:flex;
    max-height:320px;
    opacity:1;
  }
  .nav-mobile-menu .nav-link{ font-size:1rem; }

  .nav-group{
    display:flex;
    align-items:center;
    gap:2.2rem;
    flex:1;
  }
  .nav-group.right{ justify-content:flex-end; }

  .nav-logo-gap{
    width:150px;
    flex-shrink:0;
  }

  .nav-link {
    color: #fffaf0;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: transform 0.15s ease, color 0.15s ease;
    text-transform: uppercase;
    text-shadow: 2px 2px #0000002b;
}
  
  .nav-link:hover{
    color:#fff;
    transform:translateY(-2px);
  }

  .nav-logo{
    position:absolute;
  top:80%;
    left:50%;
    transform:translate(-50%,-62%);
    width:150px;
    z-index:6;
    filter:drop-shadow(0 8px 12px rgba(14,124,123,0.3));
    pointer-events:none;
  }
  .nav-logo img{ width:100%; height:auto; display:block; }

  @media (max-width:720px){
    .nav-logo{ width:90px; top:50%; transform:translate(-50%,-50%); }
    .nav-group, .nav-logo-gap{ display:none; }
    .nav-hamburger{ display:flex; margin-left:auto; }
    .navbar{ padding:0.9rem 1.4rem; }
    .navbar-fixed{ padding-top:calc(1rem); }
    .hero{ padding-top:calc(2.2rem + 88px) !important; }
    .cta-wrap .cta{ font-size:1.3rem; padding:0.4rem 1.2rem; }
  }

  /* ===== HERO ===== */
  .hero{
    position:relative;
    max-width:1100px;
    margin:0 auto;
    padding:calc(3.4rem + 112px) 2rem 0;
    text-align:center;
  }

  .headline{
    font-size:clamp(1.8rem, 4vw, 3rem);
    color:#e08b1f;
    font-weight:800;
    letter-spacing:0.01em;
    margin-bottom:2.5rem;
    text-shadow: 2px 2px 0 rgba(224,139,31,0.15);
  }

 

  .cta-wrap{
    position:relative;
    z-index:4;
    margin-bottom:-1.4rem;
  }
  .cta{
    display:inline-block;
    background:linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
    color:#fffaf0;
    font-family:'Baloo 2', sans-serif;
    font-weight:700;
    font-size: 2.15rem;
    letter-spacing: 0.02em;
    padding: 0.2rem 2.5rem;
    border-radius:999px;
    border:none;
    cursor:pointer;
    box-shadow:0 6px 0 #c9791a;
    transition:transform 0.15s ease, box-shadow 0.15s ease;
  }
  .cta:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 0 #c9791a;
  }
  .cta:active{
    transform:translateY(3px);
    box-shadow:0 3px 0 #c9791a;
  }

  /* ===== WAVES ===== */
  .wave-band{
    position:relative;
    margin-top:2.4rem;
    margin-bottom:-2px;
    height:min(26vw, 220px);
    background:var(--cream);
  }

  .wave-clip{
    position:absolute;
    inset:0;
    overflow:hidden;
  }

  .wave-layer{
    position:absolute;
    bottom:0;
    left:0;
    width:200%;
    height:100%;
    display:flex;
  }
  .wave-layer svg{ width:50%; height:100%; display:block; flex-shrink:0; }

  .wave-layer.l1{ animation:waveDrift 16s linear infinite; z-index:1; }
  .wave-layer.l2{ animation:waveDrift 12s linear infinite reverse; z-index:2; }
  .wave-layer.l3{ animation:waveDrift 9s linear infinite; z-index:3; }
  .wave-layer.l4{ animation:waveDrift 6.5s linear infinite reverse; z-index:4; }

  @keyframes waveDrift{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
  }

  @media (prefers-reduced-motion: reduce){
    .wave-layer{ animation:none !important; }
  }

  .mascot{
    position:absolute;
    bottom:60px;
    width:min(30vw, 340px);
    z-index:5;
    animation:mascotBob 3.25s cubic-bezier(0.45,0,0.55,1) infinite;
  }
  .mascot.right{ right:2%; animation-delay:-1.625s; }
  .mascot.left{ left:2%; }
  .mascot img{ width:100%; height:auto; display:block; filter:drop-shadow(0 10px 14px rgba(0,0,0,0.18)); }

  @keyframes mascotBob{
    0%,100%{ transform:translateY(0) rotate(0deg) scaleY(1); }
    50%{ transform:translateY(-17px) rotate(-1.6deg) scaleY(0.98); }
  }

  @media (max-width:720px){
    .navbar{ padding:0.3rem 1.4rem; margin:1.2rem 1rem 0; }
    .nav-link{ font-size:0.82rem; }
    .charm-icon{ width:88px; height:88px; }
    .countdown{ gap:1.4rem; }
    .mascot{ width:min(30vw, 95px); bottom:25px; }
  }

  @media (prefers-reduced-motion: reduce){
    *{ transition:none !important; }
    .mascot{ animation:none !important; }
  }
  /* ===== LANDING BODY (below hero waves) ===== */
  .landing-body{
    position:relative;
    background:
      linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url('img/bg-pattern.jpg');
    padding:1px 0 0;
    color:#eaf7f5;
  }

  .body-wave-divider{
    display:block;
    width:calc(100% + 10px);
    height:auto;
    position:relative;
	 left:-10px;
    z-index:1;
    margin-top:-2px;
    margin-bottom:-2px;
  }

  .section{
    max-width:1080px;
    margin:0 auto;
    padding:4.2rem 1.6rem;
    scroll-margin-top:150px;
  }
  .section.tight{ padding-top:2.4rem; padding-bottom:2.4rem; }
  @media (max-width:720px){
    .section{ scroll-margin-top:110px; }
  }

 .section-header{
  margin-bottom:2.8rem;
}
.section-title{
  font-family:'Baloo 2', sans-serif;
  font-size:clamp(2.4rem, 6vw, 3.8rem);
  color:var(--gold);
  text-align:center;
  font-weight:800;
  margin-bottom:1.2rem;
  line-height:1.1;
}
.section-sub{
  text-align:center;
  max-width:620px;
  margin:0 auto;
  color:#bfe4de;
  font-size:clamp(1.05rem, 2vw, 1.3rem);
  line-height:1.6;
}

  .card{
    background:#d9d9d9;
    color:var(--ink);
    border-radius:22px;
    padding:1.8rem 1.6rem;
    box-shadow:0 10px 24px rgba(0,0,0,0.25);
  }

  /* --- Judul + deskripsi event --- */
  .event-intro{ text-align:center; }
  .event-intro h2{
    font-family:'Baloo 2', sans-serif;
    font-size:clamp(2.6rem, 7vw, 5rem);
    font-weight:800;
    line-height:1.08;
    color:var(--gold-dark);
    max-width:780px;
    margin:0 auto 1.3rem;
  }
  .event-intro p{
    max-width:900px;
    margin:0 auto;
    color:var(--cream);
    line-height:1.7;
    font-size:clamp(1rem, 1.6vw, 1.15rem);
  }
  .event-intro .btn-rulebook{
    margin-top:1.8rem;
    font-size:1.6rem;
    padding:0.85rem 2.4rem;
  }

  /* --- Teaser --- */
  .teaser-frame{
    aspect-ratio:16/9;
    max-width:760px;
    margin:0 auto;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 10px 24px rgba(0,0,0,0.3);
  }
  .teaser-frame iframe{
    width:100%;
    height:100%;
    display:block;
    border:0;
  }
  .teaser-placeholder{ position:relative; }
  .teaser-placeholder img{ width:100%; height:100%; object-fit:cover; display:block; }
  .teaser-play{
    position:absolute; top:50%; left:50%;
    transform:translate(-50%,-50%);
    width:74px; height:74px;
    border-radius:50%;
    background:rgba(244,169,59,0.92);
    color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-size:1.6rem;
    box-shadow:0 8px 18px rgba(0,0,0,0.4);
  }

  /* --- Benefits --- */
  .benefit-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.6rem;
    margin-top:3.6rem;
  }
  .benefit-grid .card{
    position:relative;
    text-align:center;
    padding-top:3.6rem;
    border-radius:32px;
  }
  .benefit-grid .card h3{
    font-family:'Baloo 2', sans-serif;
    color:var(--deep-teal);
    margin:0.3rem 0 0.6rem;
    font-size:1.15rem;
  }
  .benefit-grid .card p{ font-size:0.9rem; color:#4a5f5f; line-height:1.6; margin:0; }
  .benefit-icon{
    position:absolute;
    top:-2.3rem;
    left:50%;
    transform:translateX(-50%);
    width:76px; height:76px;
    border-radius:50%;
    background:linear-gradient(180deg, var(--gold), var(--gold-dark));
    display:flex; align-items:center; justify-content:center;
    color:#d9d9d9; font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.7rem;
    box-shadow:0 8px 16px rgba(0,0,0,0.35), inset 0 2px 0 rgba(255,255,255,0.3);
    border:3px solid #d9d9d9;
  }

  /* --- Competitions --- */
.icon-rows{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1.8rem;
}
.icon-row{
  display:flex;
  justify-content:center;
  gap:2.2rem;
  flex-wrap:wrap;
}
.icon-circle{
  cursor:pointer;
  transition:transform 0.15s ease;
}
.icon-circle:hover{ transform:translateY(-4px); }
.icon-circle img{
  width:150px;
  height:auto;
  display:block;
}

@media (max-width:760px){
  .icon-circle img{ width:110px; }
}

@media (max-width:720px){
  .icon-row{ gap:0.2rem; flex-wrap:nowrap; }
}

  /* --- Gallery --- */
  .gallery-slider{
    position:relative;
    max-width:100%;
  }
  .gallery-track{
    display:flex;
    gap:1.2rem;
    overflow-x:auto;
    scroll-behavior:smooth;
    scroll-snap-type:x mandatory;
    padding-bottom:0.6rem;
    -ms-overflow-style:none;
    scrollbar-width:none;
  }
  .gallery-track::-webkit-scrollbar{ display:none; }
  .gallery-track .g-item{
    flex:0 0 auto;
    width:100%;
    aspect-ratio:3/2;
    border-radius:18px;
    overflow:hidden;
    scroll-snap-align:center;
    transition:transform 0.15s ease;
    -webkit-mask-image:-webkit-radial-gradient(circle, #fff 100%, #000 100%);
    transform:translateZ(0);
    -webkit-transform:translateZ(0);
    will-change:transform;
    isolation:isolate;
  }
  .gallery-track .g-item:hover{ transform:scale(1.02); }
  .gallery-track .g-item img{ width:100%; height:100%; object-fit:cover; display:block; }

  .gallery-nav{
    display:flex;
    justify-content:center;
    gap:1rem;
    margin-top:1.2rem;
  }
  .gallery-nav button{
    width:42px; height:42px;
    border-radius:50%;
    border:none;
    background:linear-gradient(180deg, var(--gold), var(--gold-dark));
    color:#fff;
    font-size:1.2rem;
    cursor:pointer;
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
  }
  .gallery-nav button:hover{ transform:translateY(-2px); }

  @media (min-width:760px){
    .gallery-track .g-item{ width:calc((100% - 2*1.2rem)/3); }
  }

  /* --- Timeline --- */
  .timeline{
    position:relative;
    max-width:820px;
    margin:0 auto;
  }
  .timeline::before{
    content:'';
    position:absolute;
    left:50%;
    top:0;
    bottom:0;
    width:3px;
    background:var(--gold);
    transform:translateX(-50%);
  }
  .timeline-item{
    position:relative;
    width:50%;
    padding:0 2.6rem;
    margin-bottom:2.4rem;
  }
  .timeline-item:last-child{ margin-bottom:0; }
  .timeline-item:nth-child(odd){
    left:0;
    text-align:right;
  }
  .timeline-item:nth-child(even){
    left:50%;
    text-align:left;
  }
  .timeline-item::before{
    content:'';
    position:absolute;
    top:0.2rem;
    width:16px; height:16px;
    border-radius:50%;
    background:var(--gold);
    border:3px solid var(--deep-teal);
    box-shadow:0 0 0 4px rgba(244,169,59,0.25);
  }
  .timeline-item:nth-child(odd)::before{ right:-8px; }
  .timeline-item:nth-child(even)::before{ left:-8px; }
  .timeline-item .t-date{ color:var(--gold); font-weight:700; font-size:0.85rem; margin-bottom:0.2rem; }
  .timeline-item .t-title{ font-family:'Baloo 2',sans-serif; font-size:1.05rem; margin-bottom:0.2rem; }
  .timeline-item .t-desc{ font-size:0.88rem; color:#bfe4de; }

  @media (max-width:640px){
    .timeline::before{ left:14px; }
    .timeline-item{
      width:100%;
      left:0 !important;
      text-align:left !important;
      padding:0 0 0 2.6rem;
    }
    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before{ left:6px; right:auto; }
  }

  /* --- FAQ Accordion --- */
  .accordion{ max-width:760px; margin:0 auto; }
  .accordion-item{
    background:rgba(255,253,248,0.06);
    border:1px solid rgba(244,169,59,0.3);
    border-radius:14px;
    margin-bottom:0.7rem;
    overflow:hidden;
  }
  .accordion-head{
    padding:1rem 1.3rem;
    cursor:pointer;
    font-weight:700;
    font-family:'Baloo 2', sans-serif;
    display:flex; justify-content:space-between; align-items:center;
    color:#fffaf0;
    font-size:0.98rem;
  }
  .accordion-head .plus{ color:var(--gold); font-size:1.3rem; transition:transform 0.2s ease; }
  .accordion-item.open .plus{ transform:rotate(45deg); }
  .accordion-body{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.25s ease, padding 0.25s ease;
    padding:0 1.3rem;
    font-size:0.88rem;
    color:#bfe4de;
    line-height:1.6;
  }
  .accordion-item.open .accordion-body{ max-height:280px; padding:0 1.3rem 1.1rem; }

  /* --- Sponsor --- */
  .sponsor-row{
    display:flex; justify-content:center; align-items:center;
    flex-wrap:wrap; gap:1.8rem;
  }
  .sponsor-slot{
    width:130px; height:70px;
    display:flex; align-items:center; justify-content:center;
  }
  .sponsor-slot img{ max-width:100%; max-height:100%; object-fit:contain; }

  /* --- Lokasi --- */
  .map-frame{
    height:320px;
    border-radius:22px;
    overflow:hidden;
    border:3px solid rgba(244,169,59,0.5);
    box-shadow:0 10px 24px rgba(0,0,0,0.3);
  }
  .map-frame iframe{ width:100%; height:100%; border:0; display:block; }

  /* --- Footer --- */
  .footer {
    position: relative;
    text-align: center;
    padding: 1rem 1.6rem 3rem;
    background: var(--teal);
    margin-top: 100px;
}
  .footer-wave{
    display:block;
    width:calc(100% + 8px);
    position:absolute;
    left:-4px;
    right:-4px;
    bottom:100%;
    margin:0;
    height:auto;
  }
  .footer > *:not(.footer-wave){ position:relative; z-index:1; }
  .footer h4{ font-family:'Baloo 2', sans-serif; color:#f7f7f7; margin:3.2rem 0 0.5rem; font-size:1.2rem; }
  .footer p{ margin:0.9rem 0; color:#f7f7f7; font-size:0.88rem; }
  .footer .socials{ color:#f7f7f7; font-weight:700; }
  .footer .partner-slot{
    margin:1.6rem auto 0;
    width:180px; height:60px;
    background:rgba(255,253,248,0.15);
    border:1px dashed rgba(5,59,58,0.35);
    border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    font-size:0.78rem; color:#eafaf7;
  }

  /* --- Buttons --- */
  .btn-pill{
    display:inline-block;
    font-family:'Baloo 2', sans-serif;
    font-weight:700;
    background:linear-gradient(180deg, var(--gold), var(--gold-dark));
    color:#fffaf0;
    padding:0.75rem 1.8rem;
    border-radius:999px;
    border:none;
    cursor:pointer;
    box-shadow:0 5px 0 #c9791a;
    font-size:0.95rem;
  }
  .btn-pill:hover{ transform:translateY(-2px); }

  /* --- Modals --- */
  .overlay{
    display:flex;
    position:fixed; inset:0;
    background:rgba(6,30,35,0.78);
    z-index:100;
    align-items:center;
    justify-content:center;
    padding:1.6rem;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity 0.25s ease, visibility 0s linear 0.25s;
  }
  .overlay.open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition:opacity 0.25s ease;
  }
  .overlay .modal{
    transform:translateY(24px) scale(0.94);
    opacity:0;
    transition:transform 0.28s cubic-bezier(0.34,1.4,0.64,1), opacity 0.22s ease;
  }
  .overlay.open .modal{
    transform:translateY(0) scale(1);
    opacity:1;
  }

  @media (prefers-reduced-motion: reduce){
    .overlay, .overlay .modal{ transition:none !important; }
  }

  .modal{
    background:linear-gradient(180deg, #ffd873 0%, #f4a93b 55%, #e8901f 100%);
    color:#5a2a1a;
    border-radius:26px;
    border:6px solid #8a3a24;
    max-width:600px;
    width:100%;
    position:relative;
    box-shadow:0 22px 44px rgba(0,0,0,0.45), inset 0 2px 0 rgba(255,255,255,0.35);
    text-align:center;
  }

  .modal-body{
    max-height:78vh;
    overflow-y:auto;
    padding:1.6rem 1.7rem 2.8rem;
    scrollbar-width:thin;
    scrollbar-color:#8a3a24 rgba(138,58,36,0.18);
  }
  .modal-body::-webkit-scrollbar{
    width:10px;
  }
  .modal-body::-webkit-scrollbar-track{
    background:rgba(138,58,36,0.18);
    border-radius:999px;
    margin:6px 0;
  }
  .modal-body::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg, #c1543a, #8a3a24);
    border-radius:999px;
    border:2px solid rgba(255,248,232,0.4);
  }
  .modal-body::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(180deg, #a8462f, #7a2a1a);
  }
.modal-body a{text-decoration:none}

  .modal-badge{
    position:absolute;
    top:-40px;
    left:50%;
    transform:translateX(-50%);
    width:76px;
    height:76px;
    display:flex;
    align-items:center;
    justify-content:center;
    filter:drop-shadow(0 6px 10px rgba(0,0,0,0.35));
  }
  .modal-badge img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
  }

  .modal-close{
    position:absolute; top:0.7rem; right:0.9rem;
    background:rgba(138,58,36,0.85);
    border:2px solid #8a3a24;
    color:#fff8e8;
    width:28px; height:28px;
    border-radius:50%;
    font-size:0.9rem; line-height:1;
    cursor:pointer;
    display:flex; align-items:center; justify-content:center;
  }

  .modal h3{
    font-family:'Baloo 2', sans-serif;
    font-size:1.85rem;
    color:#7a2a1a;
    letter-spacing:0.03em;
    text-transform:uppercase;
    margin:0.3rem 0 0.9rem;
    text-shadow:0 1px 0 rgba(255,255,255,0.3);
  }

  .modal .modal-desc{
    margin:0 0 1.1rem;
    text-align:center;
    color:#6b3320;
    font-size:1.1rem;
    line-height:1.55;
  }

  .modal-list{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:0.7rem;
    margin-top:0.4rem;
  }
  .btn-back{
    display:inline-flex;
    align-items:center;
    gap:0.4rem;
    background:none;
    border:none;
    color:#7a2a1a;
    font-weight:700;
    font-family:'Baloo 2', sans-serif;
    font-size:0.9rem;
    cursor:pointer;
    padding:0;
    margin-bottom:1rem;
  }
  .btn-back:hover{ text-decoration:underline; }

  .modal-list-item{
    display:inline-block;
    text-decoration:none;
    background:linear-gradient(180deg, #c1543a, #9c3a24);
    color:#fff8e8;
    border:2px solid #7a2a1a;
    border-radius:16px;
    padding: 0.5rem 1.2rem;
    cursor:pointer;
    font-family:'Baloo 2', sans-serif;
    font-weight:700;
    font-size:1.50rem;
    letter-spacing:0.03em;
    text-transform:uppercase;
    box-shadow:0 4px 0 #6b2317, inset 0 1px 0 rgba(255,255,255,0.2);
    transition:transform 0.12s ease, box-shadow 0.12s ease;
    flex:0 0 auto;
  }
  .modal-list-item:hover{ transform:translateY(-2px); }
  .modal-list-item:active{ transform:translateY(2px); box-shadow:0 1px 0 #6b2317; }

  .modal-wide{ max-width:900px; }
  .guidebook-group{ margin-bottom:1.4rem; }
  .guidebook-group:last-child{ margin-bottom:0; }
  .guidebook-group-title{
    font-family:'Baloo 2', sans-serif;
    font-size:1.15rem;
    font-weight:700;
    color:#5a2a1a;
    margin-bottom:0.6rem;
  }
  .guidebook-group .modal-list{ justify-content:flex-start; }
  .guidebook-group .modal-list-item{ font-size:0.95rem; padding:0.7rem 1.1rem; }

  @media (max-width:760px){
    .benefit-grid{ grid-template-columns:1fr; }
  }

  @media (max-width:720px){
    .benefit-grid{ gap:4.6rem; }
  }
  
  
  
.countdown{
  display:flex;
  justify-content:center;
  gap:1.6rem;
  flex-wrap:wrap;
  margin-bottom:2rem;
}

.charm{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1.55rem;
}

.charm-card{
  display:flex;
  align-items:center;
  justify-content:center;
  width:80px;
  padding:1.2rem 0.6rem;
  background: #4e4954;
  border-radius:20px;
 
}

.charm-num{
  font-family:'Baloo 2', sans-serif;
  font-size:2.2rem;
  font-weight:700;
  line-height:1;
  color:#fffaf0;
  font-variant-numeric:tabular-nums;
  text-shadow:0 2px 0 rgba(0,0,0,0.15);
}

.charm-label{
  font-size:0.78rem;
  font-weight:700;
  color:#5e5e5e;
  
}

@media (max-width:720px){
  .countdown{ gap:0.6rem; }
  .charm-card{ width:62px; padding:0.9rem 0.5rem; border-radius:16px; }
  .charm-num{ font-size:1.66rem; }
}
  
  
 .sea-creatures{
  position:absolute;
  bottom:40%;
  left:50%;
  transform:translateX(-50%);
  margin-bottom:-14px;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  gap:1.4rem;
  z-index:4;
}

.sea-item{
  width:clamp(64px, 11vw, 110px);
  height:auto;
  display:block;
  filter:drop-shadow(0 6px 8px rgba(14,124,123,0.2));
  animation:seaBob 3.25s cubic-bezier(0.45,0,0.55,1) infinite;
}

.item-1{ animation-delay:0s; }
.item-2{ animation-delay:-0.8s; }
.item-3{ animation-delay:-1.6s; }
.item-4{ animation-delay:-2.4s; }

@keyframes seaBob{
  0%,100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-14px) rotate(-3deg); }
}

@media (max-width:720px){
  .sea-creatures{ gap:0.5rem; }
  .sea-item{ width:clamp(34px, 10vw, 52px); }
}

@media (prefers-reduced-motion: reduce){
  .sea-item{ animation:none !important; }
}
  
 
/* ===== SOCIAL MEDIA LINKS SNIPPET ===== */

  .social-links{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:2.2rem;
    background:transparent;
  }
  .social-links a{
    display:inline-flex;
    align-items:center;
    gap:0.7rem;
    text-decoration:none;
    color:#ffffff;
    font-family:'Quicksand', sans-serif;
    font-weight:700;
    font-size:1rem;
    white-space:nowrap;
  }
  .social-links a:hover{ opacity:0.85; }
  .social-links svg{ display:block; flex-shrink:0; }

  /* ===== INNER PAGES (page.php, single.php, archive.php, dst — selain homepage) ===== */
  .cdmcmt-inner-wrap{
    background: var(--cream);
    min-height:60vh;
    padding: calc(3rem + 112px) 1.6rem 4rem;
  }
  @media (max-width:720px){
    .cdmcmt-inner-wrap{ padding-top: calc(2rem + 88px); }
  }
  .cdmcmt-inner-heading{
    max-width:860px;
    margin:0 auto 1.8rem;
    text-align:center;
  }
  .cdmcmt-inner-heading h1{
    font-family:'Baloo 2', sans-serif;
    font-size:clamp(1.8rem, 4vw, 2.6rem);
    color:var(--gold-dark);
    font-weight:800;
    margin-bottom:0.5rem;
  }
  .cdmcmt-inner-heading .cdmcmt-meta{
    color:#5e7d7c;
    font-size:0.9rem;
  }
  .content-card{
    background:#ffffff;
    color:#242424;
    max-width:860px;
    margin:0 auto 1.6rem;
    padding:2rem 2.2rem;
    border-radius:20px;
    box-shadow:0 10px 24px rgba(0,0,0,0.12);
    line-height:1.75;
  }
  .content-card p{ margin:0 0 1rem; }
  .content-card p:last-child{ margin-bottom:0; }
  .content-card img{ max-width:100%; height:auto; border-radius:12px; }
  .content-card a{ color:var(--deep-teal); }
  .content-card .cdmcmt-card-excerpt-title{
    font-family:'Baloo 2', sans-serif;
    font-size:1.2rem;
    color:var(--deep-teal);
    margin-bottom:0.6rem;
  }
  .content-card .cdmcmt-card-excerpt-title a{
    color:inherit;
    text-decoration:none;
  }
  .cdmcmt-pagination{
    max-width:860px;
    margin:1.5rem auto 0;
    display:flex;
    justify-content:center;
    gap:0.8rem;
  }
  .cdmcmt-pagination a, .cdmcmt-pagination span{
    display:inline-block;
    padding:0.5rem 1rem;
    border-radius:999px;
    background:#fff;
    color:var(--deep-teal);
    text-decoration:none;
    font-weight:700;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
  }
  .cdmcmt-pagination .current{ background:var(--gold); color:#fff; }

  /* --- Splash overlay (front page only) --- */
  html.cdmcmt-splash-lock, html.cdmcmt-splash-lock body{ overflow:hidden; }

  .cdmcmt-splash-overlay{
    position:fixed;
    inset:0;
    z-index:99999;
    background-color:#0a4b57;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:1;
    transition:opacity .5s ease;
  }
  .cdmcmt-splash-overlay.cdmcmt-splash-hide{
    opacity:0;
    pointer-events:none;
  }

  .cdmcmt-splash-bar-group{
    position:absolute;
    top:79%;
    left:50%;
    transform:translate(-50%,-50%);
    width:min(50vw, 640px);
  }

  .cdmcmt-splash-mascot{
    position:absolute;
    left:95%;
    bottom:100%;
    transform:translateX(-50%);
    width:90px;
    max-width:100px;
    min-width:60px;
    z-index:6;
    transform-origin:50% 80%;
    animation:cdmcmt-mascot-wiggle 1.3s ease-in-out infinite;
    filter:drop-shadow(0 6px 8px rgba(0,0,0,0.35));
  }
  .cdmcmt-splash-mascot img{ width:100%; display:block; }

  @keyframes cdmcmt-mascot-wiggle{
    0%   { transform:translateX(-50%) rotate(-8deg) scale(1); }
    25%  { transform:translateX(-50%) translateY(-4px) rotate(5deg) scale(1.03); }
    50%  { transform:translateX(-50%) translateY(1px) rotate(-4deg) scale(1); }
    75%  { transform:translateX(-50%) translateY(-3px) rotate(7deg) scale(1.03); }
    100% { transform:translateX(-50%) rotate(-8deg) scale(1); }
  }

  .cdmcmt-splash-bar-outer{
    position:relative;
    width:100%;
    height:3.4vw;
    max-height:36px;
    min-height:26px;
    background:#0a3b45;
    border:8px solid #e8a24a;
    border-radius:26px;
    box-shadow:inset 0 0 0 2px #f6d29a;
    overflow:hidden;
    z-index:5;
  }
  .cdmcmt-splash-bar-track{
    position:relative;
    width:100%;
    height:100%;
    background:linear-gradient(180deg, #0a3b45 0%, #124c58 100%);
  }
  .cdmcmt-splash-bar-fill{
    position:absolute;
    top:0; left:0;
    height:100%;
    width:0%;
    border-radius:18px;
    background:linear-gradient(180deg, #7fe4dc 0%, #2fa9c9 55%, #1c7fae 100%);
    animation:cdmcmt-bar-load 2.6s ease-in-out forwards;
  }
  .cdmcmt-splash-bar-fill::after{
    content:'';
    position:absolute;
    inset:0;
    background:repeating-linear-gradient(120deg, rgba(255,255,255,0.2) 0 14px, transparent 14px 28px);
    animation:cdmcmt-shimmer-move 1.1s linear infinite;
  }

  @keyframes cdmcmt-bar-load{
    0%   { width:4%; }
    100% { width:100%; }
  }
  @keyframes cdmcmt-shimmer-move{
    0%   { background-position-x:0; }
    100% { background-position-x:40px; }
  }

  @media (max-aspect-ratio: 4/5){
    .cdmcmt-splash-overlay{
      background-size:245%;
      background-position:47% top;
      background-color:#f3dfae;
    }
    .cdmcmt-splash-bar-group{
      top:55%;
      width:88vw;
      max-width:460px;
    }
    .cdmcmt-splash-bar-outer{
      height:8vw;
      width:auto;
      max-height:34px;
      min-height:24px;
      border-width:6px;
    }
    .cdmcmt-splash-mascot{
      width:60px;
      left:90%;
      max-width:92px;
      min-width:56px;
    }
  }
