/* ── Root tokens (scoped so they don't clash with your existing styles) ── */
  #custom-creative-section {
    --cc-bg: #f0f4ff;
    --cc-dark: #0d1b3e;
    --cc-red: #e8233a;
    --cc-blue: #1d3fd8;
    --cc-gold: #f5a623;
    --cc-white: #ffffff;
    --cc-border: #dce3f5;
    --cc-label: #6b7a99;
    --cc-radius: 18px;
    --cc-shadow: 0 8px 40px rgba(13,27,62,0.10);
    font-family: 'DM Sans', sans-serif;
  }

  /* ── Section wrapper ── */
  #custom-creative-section {
    background: linear-gradient(160deg, #e8eeff 0%, #f9f0ff 50%, #fff4f4 100%);
    padding: 90px 24px 100px;
    position: relative;
    overflow: hidden;
  }

  /* decorative blobs */
  #custom-creative-section::before,
  #custom-creative-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
  }
  #custom-creative-section::before {
    width: 420px; height: 420px;
    background: #c7d4ff;
    top: -100px; left: -100px;
  }
  #custom-creative-section::after {
    width: 340px; height: 340px;
    background: #ffd6d6;
    bottom: -80px; right: -60px;
  }

  .cc-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .cc-headpart{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* ── Section header ── */
  .cc-eyebrow {
    /* display: inline-block; */
    background: var(--cc-white);
    border: 1.5px solid var(--cc-border);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--cc-blue);
    text-transform: uppercase;
    margin-bottom: 22px;
    width: fit-content;
  }

  .cc-headline {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--cc-dark);
    margin: 0 0 16px;
    text-align: center;
  }
  .cc-headline span { color: var(--cc-red); }

  .cc-subtext {
    font-size: 16px;
    color: var(--cc-label);
    line-height: 1.7;
    max-width: 100%;
    margin: 0 0 48px;
    text-align: center;
  }

  /* ── Form card ── */
  .cc-form-card {
    background: var(--cc-white);
    border-radius: 24px;
    box-shadow: var(--cc-shadow);
    padding: 48px 44px;
    border: 1px solid var(--cc-border);
  }

  .cc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }

  .cc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .cc-field.full { grid-column: 1 / -1; }

  .cc-field label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--cc-label);
  }

  .cc-field input,
  .cc-field select,
  .cc-field textarea {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--cc-dark);
    background: #f7f9ff;
    border: 1.5px solid var(--cc-border);
    border-radius: 12px;
    padding: 13px 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
  }
  .cc-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a99' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
  }
  .cc-field input:focus,
  .cc-field select:focus,
  .cc-field textarea:focus {
    border-color: var(--cc-blue);
    box-shadow: 0 0 0 3px rgba(29,63,216,0.10);
    background: #fff;
  }
  .cc-field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
  }

  /* price badge inside form */
  .cc-price-badge {
    grid-column: 1 / -1;
    background: #fff5f5;
    border: 1.5px solid #ffd0d0;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
  }
  .cc-price-badge .price {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--cc-red);
  }
  .cc-price-badge .price-note {
    font-size: 13px;
    color: var(--cc-label);
  }

  /* submit button */
  .cc-submit-btn {
    grid-column: 1 / -1;
    margin-top: 8px;
    background: var(--cc-dark);
    color: var(--cc-white);
    border: none;
    border-radius: 12px;
    padding: 16px 28px;
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.15s;
  }
  .cc-submit-btn:hover {
    background: var(--cc-blue);
    transform: translateY(-2px);
  }
  .cc-submit-btn:active { transform: translateY(0); }

  /* ── MODAL OVERLAY ── */
  .cc-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,27,62,0.55);
    backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .cc-overlay.active { display: flex; }

  .cc-modal {
    /* background: var(--cc-white); */
    background: rgb(13,27,62);
    border-radius: 24px;
    padding: 36px 36px 32px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 80px rgba(13,27,62,0.22);
    animation: ccSlideUp 0.3s ease;
  }
  @keyframes ccSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .cc-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--cc-border);
    background: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: var(--cc-label);
    transition: background 0.2s;
  }
  .cc-modal-close:hover { background: #f0f4ff; }

  /* modal header */
  .cc-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
  }
  .cc-modal-logo {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
  }
  .cc-modal-logo img{
    object-fit: contain;
    width: 90%;
    height: 90%;
  }
  .cc-modal-title { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; color: #fff; line-height: 1.2; text-transform:capitalize; }
  .cc-modal-type  { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: #fff; text-transform: uppercase; margin-top: 3px; }

  /* price box */
  .cc-modal-price {
    background: #fff5f5;
    border: 1.5px solid #ffd0d0;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
  }
  .cc-modal-price .amt { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; color: #c4192e; }
  .cc-modal-price .note { font-size: 13px; color: var(--cc-label); }

  /* description */
  .cc-modal-desc {
    font-size: 14px;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* section titles inside modal */
  .cc-modal-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
  }

  /* language tags */
  .cc-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }
  .cc-modal-tag {
    font-size: 12px;
    border-radius: 999px;
    padding: 4px 14px;
    border: 1.5px solid var(--cc-border);
    color: var(--cc-dark);
    background: #f7f9ff;
  }

  /* what's included */
  .cc-modal-includes { list-style: none; padding: 0; margin: 0 0 24px; }
  .cc-modal-includes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f0f4ff;
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
  }
  .cc-modal-includes li:last-child { border-bottom: none; }
  .cc-modal-includes li::before { content: '✓'; color: red; font-weight: 700; flex-shrink: 0; }

  /* ORDER NOW button */
  .cc-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #fff;
    color: var(--cc-white);
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.5s ease-in-out;
    margin-bottom: 14px;
  }
  .cc-order-btn:hover { background: #c4192e; transform: translateY(-2px); color: #fff; }

  .cc-modal-telegram-note {
    text-align: center;
    font-size: 13px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .cc-modal-telegram-note::before { content: '🟢'; font-size: 11px; }

  /* ── CONFIRMATION CARD MODAL ── */
  .cc-confirm-modal {
    background: rgb(13,27,62);
    border-radius: 24px;
    padding: 40px 36px 36px;
    width: 100%;
    height: auto;
    max-width: 480px;
    position: relative;
    box-shadow: 0 24px 80px rgba(13,27,62,0.22);
    animation: ccSlideUp 0.3s ease;
    overflow-y: auto;
  }

  .cc-confirm-title {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #c4192e;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .cc-confirm-sub {
    font-size: 13.5px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .cc-confirm-table {
    width: 100%;
    border-collapse: collapse;
    background: #f7f9ff;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
  }
  .cc-confirm-table tr td {
    padding: 11px 16px;
    font-size: 13.5px;
    border-bottom: 1px solid #edf0fa;
  }
  .cc-confirm-table tr:last-child td { border-bottom: none; }
  .cc-confirm-table td:first-child {
    color: var(--cc-label);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 38%;
  }
  .cc-confirm-table td:last-child {
    color: var(--cc-dark);
    font-weight: 600;
    text-align: right;
  }
  .cc-confirm-table .cc-amount { color: var(--cc-red); font-weight: 800; font-family: 'Syne', sans-serif; font-size: 15px; }

  /* Telegram send button */
  .cc-tg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #1d3fd8;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    margin-bottom: 12px;
  }
  .cc-tg-btn:hover { background: #1530b0; transform: translateY(-2px); }

  .cc-screenshot-note {
    text-align: center;
    font-size: 12px;
    color: #fff;
    font-style: italic;
  }


  /* toggle buttons */
  .cc-pay-toggle {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .cc-pay-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    background: #f0f4ff;
    color: var(--cc-dark);
    text-align: left;
    width: 100%;
  }
  .cc-pay-opt .cc-radio {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s;
  }
  .cc-pay-opt .cc-radio-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .cc-pay-opt.active { color: var(--cc-white); }
  .cc-pay-opt.active.bank { background: #2d9c4e; }
  .cc-pay-opt.active.crypto { background: var(--cc-blue); }
  .cc-pay-opt.active .cc-radio-dot { opacity: 1; }

  /* payment details dropdown */
  .cc-pay-details {
    display: none;
    background: #f7f9ff;
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: -6px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--cc-dark);
    border: 1.5px solid var(--cc-border);
  }
  .cc-pay-details.visible { display: block; animation: ccFadeIn 0.2s ease; }
  @keyframes ccFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

  .cc-pay-details strong { color: var(--cc-label); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 4px; }
  .cc-acct-num { color: var(--cc-red); font-weight: 700; font-size: 16px; }
  .cc-crypto-addr { color: var(--cc-red); font-weight: 700; font-size: 13px; word-break: break-all; }

  .cc-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #c6c9c7;
    color: var(--cc-white);
    border: none;
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 6px;
    vertical-align: middle;
    transition: background 0.1s ease-in-out;
  }
  .cc-copy-btn:hover { background: #2d9c4e; }
  .cc-copy-btn.copied { background: #2d9c4e; color: #fff; }

.cc-pay-modal {
    background: rgb(13,27,62);
    border-radius: 24px;
    padding: 36px 36px 32px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 24px 80px rgba(13,27,62,0.22);
    animation: ccSlideUp 0.3s ease;
  }

  .cc-pay-title {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #c4192e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 16px;
  }

  .cc-pay-notice {
    background: #fffbe6;
    border: 1.5px solid #f5d87a;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13.5px;
    color: #8a6a00;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.5;
  }

  .cc-pay-label {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 14px;
  }

  /* toggle buttons */
  .cc-pay-toggle {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .cc-pay-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    background: #f0f4ff;
    color: var(--cc-dark);
    text-align: left;
    width: 100%;
  }
  .cc-pay-opt .cc-radio {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s;
  }
  .cc-pay-opt .cc-radio-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .cc-pay-opt.active { color: var(--cc-white); }
  .cc-pay-opt.active.bank { background: #2d9c4e; }
  .cc-pay-opt.active.crypto { background: blue; }
  .cc-pay-opt.active .cc-radio-dot { opacity: 1; }

  /* payment details dropdown */
  .cc-pay-details {
    display: none;
    background: #f7f9ff;
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: -6px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--cc-dark);
    border: 1.5px solid var(--cc-border);
  }
  .cc-pay-details.visible { display: block; animation: ccFadeIn 0.2s ease; }
  @keyframes ccFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

  .cc-pay-details strong { color: var(--cc-label); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 4px; }
  .cc-acct-num { color: var(--cc-red); font-weight: 700; font-size: 16px; }
  .cc-crypto-addr { color: var(--cc-red); font-weight: 700; font-size: 13px; word-break: break-all; }


  /* complete payment button */
  .cc-complete-btn {
    width: 100%;
    background: #fff;
    color: var(--cc-white);
    border: 1.5px solid var(--cc-dark);
    border-radius: 12px;
    padding: 15px;
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: not-allowed;
    opacity: 0.38;
    transition: opacity 0.2s, background 0.2s, transform 0.15s ease-in-out;
    margin-top: 6px;
  }
  .cc-complete-btn.enabled {
    opacity: 1;
    cursor: pointer;
  }
  .cc-complete-btn.enabled:hover {
    background: #c4192e;
    color: #fff;
    border-color: var(--cc-blue);
    transform: translateY(-2px);
  }







  /* ── Responsive ── */
  @media (max-width: 640px) {
    #custom-creative-section { padding: 60px 18px 70px; }
    .cc-form-card { padding: 28px 20px; }
    .cc-form-grid { grid-template-columns: 1fr; }
    .cc-field.full { grid-column: 1; }
    .cc-submit-btn, .cc-price-badge { grid-column: 1; }
    .cc-modal, .cc-confirm-modal { padding: 28px 20px 24px; }
    .cc-confirm-title { font-size: 20px; }
    .cc-headline { font-size: 1.8rem; }
  }