
  /* ─── 미텐 소개(접고/펼치기) 섹션 ───────────────────────────── */
  .concept-section{padding:1.2rem 1.5rem 1rem; max-width: 980px; margin: 1.5rem auto;}
  .concept-section .hero-title{
    font-size: clamp(2rem, 2.2vw + 1.2rem, 2.9rem);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 12px 0;
    position: relative;
    padding-bottom: .55rem;
    background: linear-gradient(90deg,#0d47a1 0%, #1976d2 45%, #26c6da 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(13,71,161,0.18);
    text-align: center;
  }
  .concept-section .hero-title .hero-sub{
    display:block;
    margin-top:.25rem;
    font-weight:800;
    font-size: clamp(1.1rem, 1.2vw + .8rem, 1.6rem);
    color:#0d47a1;
  }
  .concept-section .hero-title::before{ content:''; display:none; }
  .concept-section .hero-title::after{
    content:'';
    position:absolute;
    left:50%;
    bottom:0;
    width:140px;
    height:7px;
    border-radius:999px;
    background: linear-gradient(90deg, #0d47a1 0%, #26c6da 100%);
    box-shadow:0 6px 14px rgba(13,71,161,0.22);
    transform-origin:center;
    transform: translateX(-50%) scaleX(0);
    transition: transform 700ms cubic-bezier(.2,.8,.2,1);
  }
  .concept-section .hero-title.animate::after{ transform: translateX(-50%) scaleX(1); }

  .concept-section .lead{font-size:1.15rem; line-height:1.9; color:#0d0d0d; max-width:900px; margin: .6rem auto 1rem;}
  .concept-grid{display:grid; grid-template-columns: repeat(3,1fr); gap:16px; margin-top:12px;}
  .concept-card{background:#fff; border:1px solid rgba(0,0,0,0.08); border-radius:12px; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,0.08);}
  .concept-card img{ display:block; width:100%; height:auto; max-width:100%; }
  .concept-card .cap{padding:10px 12px; font-size:0.98rem; line-height:1.55; color:#222;}
  .badge{display:inline-block; padding:2px 8px; border-radius:999px; font-weight:800; font-size:0.78rem; letter-spacing:.02em; margin-right:6px;}
  .badge-red{background:#b71c1c; color:#fff;}
  .badge-green{background:#03712b; color:#fff;}
  .badge-blue{background:#1976d2; color:#fff;}
  .concept-bullets{margin-top:10px; background:#f8fafc; border:1px solid rgba(0,0,0,.06); border-left:6px solid #1976d2; padding:12px 14px; border-radius:10px; max-width:900px; margin-left:auto; margin-right:auto;}
  .concept-bullets ul{list-style:'➡️ '; padding-left:1.1rem; margin:0; line-height:1.75;}
  .concept-note{margin-top:8px; font-size:0.9rem; color:#5b636a; max-width:900px; margin-left:auto; margin-right:auto;}

  /* 핵심 문구 강조 */
  .key-quote{
    display:block;
    color:#d32f2f;
    font-weight:800;
    font-size:1.35rem;
    line-height:1.6;
    margin:8px 0 6px;
  }

  /* 반응형 - 태블릿 */
  @media (min-width: 769px) and (max-width: 1024px){
    .concept-grid{ grid-template-columns: repeat(2, 1fr); }
    .concept-card img{ max-width:82%; margin:0 auto; }
    .concept-card .cap{ font-size:1.14rem; line-height:1.75; padding:12px 14px; }
    .badge{ font-size:0.9rem; padding:4px 10px; }
    .concept-section .lead{ font-size:1.18rem; line-height:2.0; }
  }

  /* 반응형 - 모바일 */
  @media (max-width: 768px){
    .concept-section .hero-title{ font-size:2.2rem; }
    .concept-section .hero-title::after{ width:110px; height:6px; }
    .concept-grid{ grid-template-columns:1fr; }
    .concept-card img{ max-width:85%; margin:0 auto; }
    .concept-card .cap{ font-size:1.02rem; line-height:1.65; padding:12px 14px; }
    .badge{ font-size:0.86rem; padding:3px 10px; }
  }
  @media (max-width:480px){
    .concept-card .cap{ font-size:1.08rem; line-height:1.7; }
    .concept-card{ box-shadow:0 6px 20px rgba(0,0,0,0.1); }
  }

  /* 인라인 CTA */
  .inline-cta{ text-align:center; margin: 1.0rem 0 0.8rem; }
  .inline-cta a{
    display:inline-block;
    background:#e74c3c;
    color:#fff;
    text-decoration:none;
    font-weight:800;
    padding: .9rem 1.4rem;
    border-radius:10px;
    box-shadow:0 6px 14px rgba(231,76,60,.25);
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  }
  .inline-cta a:hover{ transform: translateY(-1px); box-shadow:0 10px 22px rgba(231,76,60,.3); background:#d54333; }
  .inline-cta small{ display:block; margin-top:.25rem; color:#5b636a; }
  @media (max-width:600px){
    .inline-cta a{ width:100%; box-sizing:border-box; }
    .concept-section .lead{ line-height:2.0; }
  }
  /* Accordion */
  .contest-accordion{
    background: #f9f9f9;
    border-left: 6px solid #03712b;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 1rem 1.2rem;
    max-width: 1000px;
    margin: 1rem auto 2rem;
  }
  .contest-accordion summary{
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }
  .contest-accordion summary::-webkit-details-marker{ display:none; }
  .contest-accordion .accordion-hint{
    color:#374151;
    font-size:0.9rem;
    margin-left:auto;
    font-weight:700;
    background:#fff3cd;
    border:1px solid rgba(0,0,0,0.06);
    padding:2px 8px;
    border-radius:999px;
  }
  .contest-accordion[open] .accordion-hint::after{ content:" (닫기)"; }
  .contest-accordion:not([open]) .accordion-hint::after{ content:" (펼치기)"; }

  .contest-accordion .acc-head{
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
  }
  .contest-accordion .acc-title{
    margin:0;
    color:#b71c1c;
    font-size:1.2rem;
    font-weight:800;
  }
  .contest-accordion .acc-icon{
    color:#b71c1c;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:transform .2s ease;
  }
  .contest-accordion[open] .acc-icon{
    transform:rotate(90deg);
  }

  /* Sticky CTA (mobile) */
  .sticky-cta{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    display: none;
    background: rgba(183,28,28,0.98);
    padding: 12px 16px;
    z-index: 1500;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.12);
  }
  .sticky-cta a{
    display: block;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: #ffd700;
    color: #0d0d0d;
    font-weight: 900;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1.05rem;
  }
  @media (max-width: 768px){
    .sticky-cta{ display:block; }
    body{ padding-bottom: 64px; } /* avoid overlap with sticky bar */
  }
  /* Purpose Card */
  .purpose-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-left: 6px solid #1976d2; /* blue accent to distinguish from rules */
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    padding: 1.1rem 1.2rem 1.1rem 1.2rem;
  }
  .purpose-card h4{
    margin: 0 0 0.6rem 0;
    font-size: 1.6rem;
    line-height: 1.25;
    color: #0d0d0d;
  }
  .purpose-badge{
    display: inline-block;
    margin-right: 8px;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    background: #1976d2;
    border-radius: 999px;
    vertical-align: middle;
  }
  .purpose-list{
    margin: 0.2rem 0 0 0;
    padding-left: 1.1rem;
    line-height: 1.85;
    font-size: 1.05rem;
  }
  .purpose-list li{ margin: 0.2rem 0; }
  /* Example box inside rules card */
  .example-box{
    margin-top: 0.9rem;
    background: #f6fbff;
    border: 1px solid rgba(3, 113, 43, 0.15);
    border-left: 6px solid #03712b;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  .example-box h5{
    margin: 0 0 0.6rem 0;
    font-size: 1.05rem;
    color: #0d0d0d;
  }
  .example-list{
    margin: 0;
    padding-left: 1.1rem;
    line-height: 1.75;
    font-size: 1.02rem;
  }
  .example-list li{ margin: 0.1rem 0; }
  .example-formula{
    margin-top: 0.6rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.95rem;
    background: #eef7ff;
    border: 1px dashed rgba(3, 113, 43, 0.25);
    border-radius: 6px;
    padding: 8px 10px;
    color: #083b18;
  }
    .navbar {
      /* background: #2c3e50; */
      background:  #b71c1c;
      padding: 1rem 2rem;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .navbar ul {
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      list-style: none;
      gap: 2rem;
    }

    .navbar li {
      display: flex;
      align-items: center;
    }

    .navbar a {
      color: white;
      text-decoration: none;
      font-weight: bold;
      font-size: 1rem;
      transition: color 0.3s ease;
    }

    .navbar a:hover {
      color: #ffd700;
    }
    .navbar a.active {
      border-bottom: 3px solid #ffd700;
      color: #ffd700;
    }

    body {
      background-image: url('../../image/city3.jpeg');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      font-family: 'Helvetica Neue', sans-serif;
      margin: 0;
      padding: 0;
      color: #333;
    }
    .contact-section {
      max-width: 600px;
      margin: 80px auto;
      background: white;
      padding: 40px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
      border-radius: 8px;
      min-height: 60vh;
    }
    .contact-section h2 {
      text-align: center;
      margin-bottom: 24px;
      font-size: 2rem;
      color: #03712b;
    }
    .contact-section p {
      font-size: 1.2rem;
      text-align: center;
      line-height: 1.6;
    }
    .contact-email {
      display: block;
      margin: 20px auto;
      padding: 12px 0;
      font-size: 1rem;
      width: 100%;
      max-width: 360px;
      color: white;
      background-color: #03712b;
      text-align: center;
      text-decoration: none;
      border-radius: 4px;
      transition: background-color 0.3s ease;
    }
    .contact-email:hover {
      background-color: #025a21;
    }
    html, body {
        margin: 0;
        padding: 0;
        /* height: 100%; */
    }
    /* Smooth scroll for in-page anchor links */
    html { scroll-behavior: smooth; }
    /* Make anchor targets account for sticky nav height */
    #apply, #applyBlock, #applyStart, #lossGuarantee { scroll-margin-top: 200px; }
    /* Ensure inline anchors behave as block-level targets */
    #applyStart { display:block; height:0; }

    /* Video section layout */
    .video {
      max-width: 900px;
      margin: 2rem auto;
      padding: 0 1rem;
      text-align: center;
    }
    .video h2 {
      margin: 0 0 1rem 0;
      color: #0d0d0d;
      font-weight: 700;
    }
    .video .video-container {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      background: #000;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    .video .video-container iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    footer {
      text-align: left;
      padding: 0rem 0rem 0rem 0rem;
      background: #bdc3c7;
      font-size: 0.9rem;
      margin: 0;
    }

    @media (max-width: 768px) {
      
      .navbar ul {
        flex-direction: column;
        gap: 1rem;
      }

      .contact-section {
        margin: 40px 1rem;
        padding: 20px;
      }

      .contact-section h2 {
        font-size: 1.5rem;
      }

      .contact-section p {
        font-size: 1rem;
      }


      footer div[style*="max-width: 1000px"] {
        padding: 1rem;
      }

      footer div[style*="display: flex"] {
        flex-direction: column;
        align-items: flex-start;
      }
    }
  /* CTA section */
  .cta {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem 1.5rem;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  .cta h2 {
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    color: #0d0d0d;
    font-weight: 700;
  }
  .cta .eyebrow{
  display:inline-block;
  margin-bottom:0.4rem;
  padding:4px 10px;
  font-size:0.85rem;
  font-weight:700;
  letter-spacing:0.02em;
  background:#fff3cd;
  color:#8a6d3b;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.06);
}
.cta p.subtext{
  /* Increase top margin to create space below the button */
  margin:1.1rem 0 0.8rem 0;
  font-size:0.95rem;
  color:#555;
}
.cta small.note{
  display:block;
  margin-top:0.4rem;
  color:#6b7280;
  font-size:0.85rem;
}

  .cta .store-badge img {
      max-width: 135px;
      width: 100%;
      height: auto;
      border-radius: 12px;
      display: block;
      margin: 0.75rem auto 1rem;
  }
  .cta .cta-btn {
      display: inline-block;
      margin-top: 0rem;
      margin-bottom: 0.4rem;
      padding: 16px 28px;
      background: #b71c1c;
      color: #ffffff;
      text-decoration: none;
      font-weight: 800;
      font-size: 1.5rem;
      line-height: 1;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.18);
      transition: background-color 0.2s ease, transform 0.1s ease;
    }
  .cta .cta-btn:hover { background: #8f1212; }
  .cta .cta-btn:active { transform: translateY(1px); }

  @media (max-width: 768px) {
    .cta { margin: 2rem 1rem; padding: 1.5rem 1rem; }
    .cta h2 { font-size: 1.4rem; }
    .cta .cta-btn { font-size: 1.15rem; padding: 14px 22px; }
    .cta .store-badge img { max-width: 120px; }
  }
  /* Policy emphasis */
  .policy-alert{
    background:#fff5f5;
    border-left:6px solid #b71c1c;
    padding:12px 14px;
    border-radius:8px;
    margin:0.5rem 0;
  }
  .policy-alert strong{ color:#b71c1c; }
  .policy-alert .badge{
    display:inline-block;
    background:#b71c1c;
    color:#ffffff;
    padding:2px 8px;
    border-radius:999px;
    font-size:0.75rem;
    font-weight:700;
    letter-spacing:0.02em;
    margin-right:6px;
    vertical-align:middle;
  }
    /* Highlighted Rules Card */
.rules-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 6px solid #f90303;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 1.2rem 1.2rem 1.1rem 1.2rem;
}
.rules-card h4 {
  margin: 0 0 0.8rem 0;
  font-size: 1.8rem;
  line-height: 1.2;
  color: #0d0d0d;
}
.rules-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  background: #03712b;
  border-radius: 999px;
  vertical-align: middle;
}
.rules-list {
  list-style: none;
  margin: 0.2rem 0 0 0;
  padding-left: 0;
  font-size: 1.05rem;
  line-height: 1.85;
}
.rules-list li { margin: 0.2rem 0; }
.rules-list strong { color: #0d0d0d; }
.rules-note {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #5b636a;
}

/* Prize list – emphasized cards */
.prize-list{
  list-style:none;
  padding-left:0;
  margin:0.6rem 0 1rem;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.prize-list li{
  list-style:none;
  background:#fff8e1;                 /* warm highlight */
  border:1px solid #ffe082;
  border-left:6px solid #fbc02d;       /* default accent */
  border-radius:12px;
  padding:10px 14px;
  font-size:1.35rem;                   /* bigger */
  font-weight:800;
  color:#0d0d0d;
  box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

/* Winner benefit highlight */
.winner-benefit{
  margin: 0.4rem 0 1rem 0;
  background: #f6fbff;
  border: 1px solid rgba(25,118,210,0.22);
  border-left: 8px solid #1976d2;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  padding: 12px 14px;
}
.winner-benefit h4{
  margin: 0 0 8px 0;
  font-size: 1.4rem;
  color: #0d47a1;
  line-height: 1.25;
}
.winner-benefit-list{
  list-style: '✅ ';
  padding-left: 1.1rem;
  margin: 0 0 6px 0;
  line-height: 1.75;
  font-size: 1.05rem;
  color: #0d0d0d;
}
.winner-benefit-list .muted{
  color:#5b636a;
  font-weight: 600;
}
.winner-benefit-note{
  margin: 6px 0 0 0;
  font-size: 0.96rem;
  color: #0d0d0d;
  background: #fff8e1;
  border: 1px solid #ffe08a;
  border-left: 6px solid #fbc02d;
  border-radius: 8px;
  padding: 8px 10px;
}
@media (max-width:768px){
  .winner-benefit h4{ font-size:1.2rem; }
  .winner-benefit-list{ font-size:1rem; }
  .winner-benefit-note{ font-size:0.92rem; }
}

/* medal-specific accents */
.prize-list li:nth-child(1){ border-left-color:#ffd54f; }
.prize-list li:nth-child(2){ border-left-color:#ffb74d; }
.prize-list li:nth-child(3){ border-left-color:#64b5f6; }
.prize-list li:nth-child(4){ border-left-color:#bdbdbd; }

.prize-list li strong{ margin-right:8px; }

.prize-chip{
  display:inline-block;
  background:#fff3cd;
  border:1px solid #ffe08a;
  color:#7a5600;
  font-weight:800;
  padding:8px 14px;
  border-radius:999px;
  box-shadow:0 2px 8px rgba(0,0,0,0.04);
  margin: 0 0 12px 0;
}
.prize-chip b{ color:#b71c1c; }

/* Prize note – emphasized message under prizes */
.prize-note{
  margin: 0.4rem 0 1.2rem 0;
  background: #fff9e6;
  border: 1px solid #ffe08a;
  border-left: 6px solid #fbc02d;
  border-radius: 10px;
  padding: 12px 14px;
  color: #5c3f00;
  line-height: 1.6;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  font-size: 0.98rem;
}
.prize-note b{ color:#b71c1c; }
.prize-note .note-title{
  display:inline-block;
  font-weight:900;
  margin-right:8px;
  color:#7a5600;
}

@media (max-width:768px){
  .prize-list{ gap:10px; }
  .prize-list li{ font-size:1.15rem; padding:10px 12px; }
}

/* Consistent list spacing inside contest detail box */
.contact-section ul > li { margin-bottom: 0.8rem; }
.contact-section ul > li:last-child { margin-bottom: 0; }
  /* Apple Login Alert */
  .apple-alert{
    background:#fff5f5;
    border:1px solid rgba(183,28,28,0.18);
    border-left:8px solid #b71c1c;
    border-radius:12px;
    box-shadow:0 4px 14px rgba(0,0,0,0.06);
    padding:14px 16px;
    margin:0.8rem 0;
  }
  .apple-alert h5{
    margin:0 0 6px 0;
    font-size:1.1rem;
    color:#b71c1c;
    line-height:1.25;
  }
  .apple-alert ul{ margin:0.3rem 0 0 0; padding-left:1.1rem; line-height:1.7; font-size:0.98rem; }
  .apple-alert li{ margin:0.15rem 0; }
  .apple-badge{
    display:inline-block;
    vertical-align:middle;
    padding:2px 8px;
    margin-right:8px;
    border-radius:999px;
    background:#b71c1c;
    color:#fff;
    font-weight:800;
    font-size:0.78rem;
    letter-spacing:0.02em;
  }
  /* Selection policy card */
  .select-card{
    background:#f8fafc;
    border:1px solid rgba(0,0,0,0.08);
    border-left:6px solid #1976d2;
    border-radius:10px;
    padding:12px 14px;
    margin-top:6px;
    box-shadow:0 4px 12px rgba(0,0,0,0.06);
  }
  .select-card h5{
    margin:0 0 6px 0;
    font-size:1.05rem;
    color:#0d0d0d;
  }
  .select-list{
    margin:0;
    padding-left:1.1rem;
    line-height:1.75;
    font-size:0.98rem;
  }
  .select-list li{ margin:0.12rem 0; }

  /* Form helper tips */
  .form-helpers{ margin-top:0.8rem; }
  .helper-card{
    background:#f6fbff;
    border:1px solid rgba(25,118,210,0.18);
    border-left:8px solid #1976d2;
    border-radius:12px;
    box-shadow:0 4px 14px rgba(0,0,0,0.06);
    padding:14px 16px;
  }
  .helper-card h5{
    margin:0 0 6px 0;
    font-size:1.1rem;
    color:#0d0d0d;
    line-height:1.25;
  }
  .helper-badge{
    display:inline-block;
    vertical-align:middle;
    padding:2px 8px;
    margin-right:8px;
    border-radius:999px;
    background:#1976d2;
    color:#fff;
    font-weight:800;
    font-size:0.78rem;
    letter-spacing:0.02em;
  }
  .helper-list{
    margin:0.3rem 0 0 0;
    padding-left:1.1rem;
    line-height:1.75;
    font-size:0.98rem;
  }
  .helper-list li{ margin:0.15rem 0; }
  @media (max-width:768px){
    .helper-card{ padding:12px 14px; }
    .helper-card h5{ font-size:1.02rem; }
    .helper-list{ font-size:0.95rem; }
  }
  /* Inline field hint for phone input */
  .input-hint{
    max-width: 900px;
    margin: 0.25rem auto 0.5rem;
    background: #f6fbff;
    border: 1px solid rgba(25,118,210,0.18);
    border-left: 6px solid #1976d2;
    border-radius: 8px;
    padding: 8px 12px;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .input-hint strong{ color:#0d0d0d; }
  @media (max-width: 768px){
    .input-hint{ font-size: 0.98rem; padding: 10px 12px; }
  }
  /* Mobile spacing for auth buttons */
  @media (max-width: 480px){
    /* 첫 줄 "인증번호 받기" 버튼 (applyBlock의 직계 버튼) */
    #applyBlock > button{
      margin-top:12px !important;
      padding-top:18px !important;
      padding-bottom:18px !important;
    }
    /* 아래 줄 "확인", "재전송" 버튼 */
    #applyBlock #verifyBtn,
    #applyBlock #resendBtn{
      margin-top:12px !important;
      padding-top:18px !important;
      padding-bottom:18px !important;
    }
    /* 입력창도 살짝 키워 가독성 향상 */
    #applyBlock input{
      min-height:48px;
    }
  }
  /* Smooth accordion animation */
  .contest-accordion .accordion-body{
    overflow: hidden;
    height: auto; /* controlled by JS during animation */
    will-change: height, opacity, transform;
  }
  /* Respect reduced-motion preferences */
  @media (prefers-reduced-motion: reduce){
    .contest-accordion .accordion-body{ transition: none !important; }
  }
  /* Announcement bar (top) */
  .announce-bar{
    position: relative;
    max-width: 1000px;
    margin: 1rem auto 0.75rem;
    padding: 10px 12px;
    background:#fff5f5;
    border:1px solid rgba(183,28,28,0.18);
    border-left:8px solid #b71c1c;
    border-radius:12px;
    box-shadow:0 4px 14px rgba(0,0,0,0.06);
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
  }
  .announce-badge{
    display:inline-block;
    background:#b71c1c;
    color:#fff;
    font-weight:900;
    padding:4px 10px;
    border-radius:999px;
    font-size:0.82rem;
    letter-spacing:.02em;
    margin-right:6px;
  }
  .announce-title{
    margin:0;
    font-weight:900;
    color:#0d0d0d;
  }
  .announce-sub{
    margin:0; color:#5b636a; font-size:0.95rem;
  }
  .announce-actions{ margin-left:auto; display:flex; gap:8px; }
  .announce-actions a{
    text-decoration:none; font-weight:800; border-radius:999px; padding:8px 12px; display:inline-block;
  }
  .announce-actions .btn-primary{ background:#b71c1c; color:#fff; }
  .announce-actions .btn-ghost{ background:#fff; color:#b71c1c; border:1px solid #b71c1c; }
  .announce-close{
    position:absolute; top:6px; right:8px; border:none; background:transparent; font-size:18px; line-height:1; color:#b71c1c; cursor:pointer;
  }
  @media (max-width:768px){
    .announce-actions{ width:100%; justify-content:flex-start; }
  }
  

    

    .hamburger {
      width: 2rem;
      height: 1.5rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      position: absolute;
      top: 1rem;
      right: 1.5rem;
      z-index: 1001;
    }
    .hamburger span {
      height: 3px;
      background: white;
      border-radius: 2px;
      transition: all 0.4s ease;
      position: relative;
      display: block;
    }
    .hamburger.opened span:nth-child(1),
    .hamburger.opened span:nth-child(3) {
      transform-origin: center;
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      margin: auto;
    }
    .hamburger.opened span:nth-child(1) {
      transform: rotate(45deg);
    }
    .hamburger.opened span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.opened span:nth-child(3) {
      transform: rotate(-45deg);
    }

    .nav-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(4px);
      z-index: 999;
      display: none;
    }
    .nav-overlay.open {
      display: block;
    }

    @media (max-width: 768px) {
      .navbar ul {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #b71c1c;
        width: 100%;
        padding: 1.5rem 1.5rem 2rem;
        /* padding: 1.2rem 1.5rem; */
        gap: 1.2rem;
        position: absolute;
        top: 3.8rem;
        left: 0;
        z-index: 1000;
        box-sizing: border-box;
      }
      .navbar ul.open {
        display: flex;
        height: auto;
        overflow: hidden;
        max-height: 100vh;
        overflow-y: auto;
      }

       .video-container {
      position: relative;
      padding-bottom: 56.25%;
      height: 0;
      overflow: hidden;
      max-width: 100%;
      margin-bottom: 1rem;
    }
    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        display: block;
        margin: 0 auto 1rem auto;
        max-width: 720px;     /* 최대 너비 제한 */
        max-height: 405px;    /* 최대 높이 제한 (16:9 기준) */
      }

    .video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  }

    .video-container {
  aspect-ratio: 16 / 9;
  max-height: 520px;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 auto;
}
    }
  