/* Playfair Display (OFL, Google Fonts) — yalnız hədiyyə kartı səhifələri: Azərbaycan hərfləri (Ə ə) daxil; variable — 400–500 bir fayl */
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 500; font-display: swap;
    src: url('../../fonts/playfair/playfair-italic-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 500; font-display: swap;
    src: url('../../fonts/playfair/playfair-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 500; font-display: swap;
    src: url('../../fonts/playfair/playfair-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 500; font-display: swap;
    src: url('../../fonts/playfair/playfair-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 500; font-display: swap;
    src: url('../../fonts/playfair/playfair-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 500; font-display: swap;
    src: url('../../fonts/playfair/playfair-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Virtual hədiyyə kartı: alış səhifəsi və kartın səhifəsi */
.gc-page { max-width: 1080px; margin: 0 auto; padding: 28px 16px 64px; box-sizing: border-box; }
.gc-head { max-width: 640px; margin-bottom: 24px; }
.gc-head h1 { margin: 0 0 8px; font-size: 28px; }
.gc-head p { margin: 0; color: var(--text-secondary); line-height: 1.6; }

.gc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: start; }
@media (max-width: 860px) { .gc-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Kartın üzü — bank kartı nisbəti */
.gc-card {
    position: relative; width: 100%; max-width: 440px; aspect-ratio: 85.6 / 54; box-sizing: border-box;
    padding: 7% 7.5%; border-radius: 18px; overflow: hidden; container-type: inline-size;
    background: radial-gradient(130% 120% at 0% 0%, #3d2d66 0%, #2b1f4a 55%, #1d1533 100%);
    color: #ffffff; box-shadow: 0 18px 40px -20px rgba(29, 21, 51, .6);
}
.gc-card::after {
    content: ""; position: absolute; right: -18%; bottom: -40%; width: 70%; aspect-ratio: 1;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 18px rgba(255, 255, 255, .03);
    pointer-events: none;
}
.gc-card__logo { color: #ffffff; }
.gc-card__logo .logo-svg { width: 38cqw !important; max-width: none !important; height: auto; }
.gc-card__label { margin-top: 7cqw; font-size: 2.8cqw; letter-spacing: .28em; text-transform: uppercase; opacity: .7; }
.gc-card__amount { margin-top: 1cqw; font-size: 13cqw; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.gc-card__amount small { margin-left: 2cqw; font-size: 3.6cqw; font-weight: 600; letter-spacing: .18em; opacity: .8; vertical-align: .9em; }
.gc-card__bottom { position: absolute; left: 7.5%; right: 7.5%; bottom: 7%; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.gc-card__code span { display: block; margin-bottom: .6cqw; font-family: inherit; font-size: 2.3cqw; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.gc-card__code b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 3.9cqw; font-weight: 500; letter-spacing: .14em; }
.gc-card__exp { text-align: right; font-size: 2.3cqw; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.gc-card__exp span { display: block; opacity: .65; }
.gc-card__exp b { font-size: 3cqw; letter-spacing: .08em; }

/* Folqa dizaynları (Signature, Love): serif məbləğ, metal effektli loqo / rəqəmlər; rənglər — dəyişənlərlə */
.gc-card--foil { color: var(--gc-ink); }
.gc-card--foil::after { display: none; }
.gc-card__deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gc-card--foil .gc-card__logo .logo-svg path { fill: var(--gc-logo); stroke: var(--gc-logo); }
.gc-card--foil .gc-card__label { color: var(--gc-muted); opacity: 1; letter-spacing: .34em; }
.gc-card--foil .gc-card__label::after { content: ""; display: block; width: 10cqw; height: 1px; margin-top: 2.2cqw; background: linear-gradient(90deg, var(--gc-line), transparent); }
.gc-card--foil .gc-card__amount {
    margin-top: 1.6cqw; font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 18cqw;
    background: var(--gc-foil); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gc-card--foil .gc-card__amount small { color: var(--gc-line); -webkit-text-fill-color: var(--gc-line); font-family: inherit; font-weight: 500; opacity: 1; letter-spacing: .24em; }
.gc-card--foil .gc-card__code b, .gc-card--foil .gc-card__exp b { color: var(--gc-ink); }
.gc-card--foil .gc-card__code span, .gc-card--foil .gc-card__exp span { color: var(--gc-soft); opacity: 1; }

/* Signature — Premium: saytın bənövşəyisi + qızılı */
.gc-card--signature {
    background: radial-gradient(120% 150% at 8% 0%, #3d2c68 0%, #2b1f4a 45%, #150e28 100%);
    --gc-ink: #ecd8a0; --gc-muted: #cfb676; --gc-soft: #b79d62; --gc-line: #d4af5f; --gc-logo: url(#gcGold);
    --gc-foil: linear-gradient(105deg, #b8893b 0%, #f6e3a6 40%, #c99a45 66%, #efd38c 100%);
}

/* Love — Romantik: bordo + pudra çəhrayısı */
.gc-card--love {
    background: radial-gradient(120% 150% at 8% 0%, #922e46 0%, #6c1a2e 45%, #3d0c19 100%);
    --gc-ink: #f8e1e1; --gc-muted: #e7b3b9; --gc-soft: #d39aa2; --gc-line: #ecbcc2; --gc-logo: url(#gcPink);
    --gc-foil: linear-gradient(105deg, #e2a3ab 0%, #fdeeee 42%, #d8959e 68%, #f6d6d9 100%);
}

/* Bloom — Zərif: krem + adaçayı yaşılı (açıq kart, tünd yaşıl mətn) */
.gc-card--bloom {
    background: radial-gradient(130% 140% at 8% 0%, #fffdf7 0%, #f7f1e3 50%, #ece3cd 100%);
    box-shadow: 0 18px 40px -22px rgba(62, 90, 58, .45), 0 0 0 1px rgba(138, 165, 133, .25);
    --gc-ink: #2f4a35; --gc-muted: #6f8f6c; --gc-soft: #7f9a7a; --gc-line: #8aa585; --gc-logo: url(#gcSage);
    --gc-foil: linear-gradient(105deg, #3e5a3a 0%, #7f9f78 42%, #4f6b4a 68%, #6d8e67 100%);
}

/* Celebration — Özəl gün: şampan + qızılı (açıq kart, tünd qəhvəyi-qızılı mətn) */
.gc-card--celebration {
    background: radial-gradient(130% 140% at 8% 0%, #fbf3e2 0%, #f1e1bf 50%, #e2c994 100%);
    box-shadow: 0 18px 40px -22px rgba(107, 76, 26, .5), 0 0 0 1px rgba(184, 137, 59, .25);
    --gc-ink: #4a3517; --gc-muted: #8a6b33; --gc-soft: #957641; --gc-line: #b8893b; --gc-logo: url(#gcChamp);
    --gc-foil: linear-gradient(105deg, #6b4c1a 0%, #b8893b 42%, #5e4219 68%, #9a722c 100%);
}

/* Dizayn seçimi */
.gc-designs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 420px) { .gc-designs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gc-design { position: relative; display: block; cursor: pointer; }
.gc-design input { position: absolute; opacity: 0; pointer-events: none; }
/* Seçim kartı — dizaynın kiçik nümunəsi: ad içində, dizaynın öz serif şriftində və rəngində */
.gc-design__swatch {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 85.6 / 54; padding: 4px; box-sizing: border-box;
    border-radius: 10px; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--border-strong);
    font-family: "Playfair Display", Georgia, serif; font-size: clamp(12px, 3.6vw, 15px); font-weight: 500;
    letter-spacing: .02em; text-align: center; line-height: 1.1;
}
.gc-design__swatch--signature { color: #e6c98a; }
.gc-design__swatch--love { color: #f6d3d6; }
.gc-design__swatch--bloom { color: #3e5a3a; }
.gc-design__swatch--celebration { color: #6b4c1a; }
.gc-design__swatch--standard { color: #ffffff; }
.gc-design input:checked + .gc-design__swatch { border-color: var(--accent); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #d4af5f; }
.gc-design__swatch--signature { background: radial-gradient(120% 150% at 8% 0%, #3d2c68 0%, #2b1f4a 45%, #150e28 100%); outline: 1px solid rgba(212, 175, 95, .6); outline-offset: -6px; }
.gc-design__swatch--love { background: radial-gradient(120% 150% at 8% 0%, #922e46 0%, #6c1a2e 45%, #3d0c19 100%); outline: 1px solid rgba(242, 198, 203, .6); outline-offset: -6px; }
.gc-design__swatch--bloom { background: radial-gradient(130% 140% at 8% 0%, #fffdf7 0%, #f7f1e3 50%, #ece3cd 100%); outline: 1px solid rgba(138, 165, 133, .7); outline-offset: -6px; }
.gc-design__swatch--celebration { background: radial-gradient(130% 140% at 8% 0%, #fbf3e2 0%, #f1e1bf 50%, #e2c994 100%); outline: 1px solid rgba(184, 137, 59, .7); outline-offset: -6px; }
.gc-design__swatch--standard { background: radial-gradient(130% 120% at 0% 0%, #3d2d66 0%, #2b1f4a 55%, #1d1533 100%); }

.gc-preview__msg, .gc-show__msg { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 20px; font-style: italic; line-height: 1.45; overflow-wrap: anywhere; }
.gc-preview__from, .gc-show__from { margin: 6px 0 0; color: var(--text-secondary); }

/* Forma */
.gc-form-wrap { min-width: 0; }
.gc-form { display: flex; flex-direction: column; }
.gc-label { margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
.gc-label:first-of-type { margin-top: 0; }
.gc-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gc-quick__btn, .gc-stepper__btn {
    height: 44px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--bg); color: var(--text);
    font: inherit; font-weight: 600; cursor: pointer;
}
.gc-quick__btn.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.gc-stepper { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 8px; margin-top: 8px; align-items: center; }
.gc-stepper__btn { font-size: 22px; }
.gc-stepper__btn:disabled { opacity: .4; cursor: default; }
.gc-stepper__value { text-align: center; font-size: 26px; font-weight: 700; }
.gc-hint { margin: 6px 0 0; color: var(--text-secondary); font-size: 13px; }
.gc-hint--right { text-align: right; }
.gc-input {
    width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 12px;
    background: var(--bg); color: var(--text); font: inherit; resize: vertical;
}
.gc-terms { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 14px; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
.gc-terms input { margin-top: 3px; flex: none; }
.gc-submit { margin-top: 4px; }

.form-alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; border: 1px solid var(--border); background: var(--surface-2); }
.form-alert-error { color: var(--danger); }
.form-alert-success { color: var(--success); }

/* Aldığınız kartlar */
.gc-my__title { margin: 32px 0 10px; font-size: 18px; }
.gc-my { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; }
.gc-my li + li { border-top: 1px solid var(--border); }
.gc-my a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; color: inherit; text-decoration: none; }
.gc-my span { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; }
.gc-status { font-style: normal; font-size: 12px; font-weight: 600; }
.gc-status--active { color: var(--success); }
.gc-status--used, .gc-status--expired, .gc-status--refunded { color: var(--text-secondary); }
.gc-status--pending { color: var(--warning); }

/* Kartın səhifəsi */
.gc-page--show { max-width: 520px; }
.gc-show { display: flex; flex-direction: column; align-items: stretch; }
.gc-show .gc-card { margin: 0 auto; }
.gc-show__note { margin: 20px 0 0; text-align: center; }
.gc-show__state, .gc-show__how { margin: 20px 0 12px; text-align: center; color: var(--text-secondary); line-height: 1.5; }
.gc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.gc-actions .btn { margin: 0; }
.gc-copy { grid-column: 1 / -1; height: 40px; border: 0; background: none; color: var(--text-secondary); font: inherit; text-decoration: underline; cursor: pointer; }
.gc-show__more { margin-top: 16px; text-align: center; color: var(--text-secondary); }

/* Canlı açıqca önizləməsi (alış səhifəsi) */
.gc-preview { position: sticky; top: 90px; }
.gc-postcard { display: block; width: 100%; max-width: 440px; height: auto; aspect-ratio: 4 / 5; border-radius: 14px; background: var(--surface-2);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .45); }
.gc-preview__hint { max-width: 440px; text-align: center; }
@media (max-width: 860px) {
    .gc-preview { position: static; }
    .gc-postcard, .gc-preview__hint { max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* Necə işləyir? */
.gc-how { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.gc-how h2 { margin: 0 0 16px; font-size: 20px; }
.gc-how__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gc-how__list li { padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.gc-how__list span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
    background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.gc-how__list p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
@media (max-width: 860px) { .gc-how__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gc-how__list { grid-template-columns: minmax(0, 1fr); } }
