/* ==================================================
   HOMIEN CRAFT - x2 BAKİYE KAMPANYASI TEMASI
   Kendi içinde bağımsızdır (açık/koyu tema fark etmez).
   ================================================== */

/* ---------- BÜYÜK KAMPANYA BANDI ---------- */

.cmp-wrap {
    padding-top: 22px;
}

.cmp-banner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 22px;
    border: 1px solid rgba(251, 191, 36, .5);
    background:
        radial-gradient(120% 150% at 0% 0%, rgba(251, 191, 36, .24), transparent 55%),
        radial-gradient(90% 130% at 100% 100%, rgba(249, 115, 22, .24), transparent 60%),
        linear-gradient(135deg, #0e1526, #080d18);
    color: #f8fafc;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .45),
        0 0 0 1px rgba(251, 191, 36, .08) inset;
    margin-bottom: 22px;
}

.cmp-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(251, 191, 36, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 191, 36, .05) 1px, transparent 1px);
    background-size: 38px 38px;
    -webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse at 20% 50%, #000, transparent 75%);
}

.cmp-banner::after {
    content: "";
    position: absolute;
    top: -40%;
    bottom: -40%;
    width: 120px;
    left: -200px;
    z-index: -1;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, .16), transparent);
    animation: cmp-sheen 6s ease-in-out infinite;
}

@keyframes cmp-sheen {
    0%        { left: -200px; }
    55%, 100% { left: 115%; }
}

.cmp-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 38px 46px;
}

/* Dev x2 yazısı */
.cmp-x2 {
    display: flex;
    align-items: flex-start;
    line-height: .8;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -4px;
    background: linear-gradient(180deg, #fde68a 0%, #fbbf24 45%, #f97316 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 28px rgba(251, 146, 60, .45));
}

.cmp-x {
    font-size: clamp(54px, 7vw, 100px);
    margin-top: .22em;
    margin-right: 4px;
}

.cmp-num {
    font-size: clamp(110px, 15vw, 210px);
}

.cmp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, .4);
    background: rgba(251, 191, 36, .1);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cmp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 0 0 rgba(251, 191, 36, .7);
    animation: cmp-pulse 1.8s infinite;
}

@keyframes cmp-pulse {
    70%  { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

.cmp-copy h2 {
    margin: 14px 0 10px;
    color: #fff;
    font-size: clamp(28px, 3.6vw, 50px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.cmp-copy h2 span {
    background: linear-gradient(90deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cmp-copy p {
    margin: 0 0 18px;
    max-width: 560px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.6;
}

.cmp-copy p strong {
    color: #fbbf24;
}

.cmp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.cmp-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, .3);
    background: rgba(8, 13, 24, .7);
    color: #e5edf7;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.cmp-chip b {
    color: #fbbf24;
    font-weight: 900;
}

.cmp-chip i {
    color: #f97316;
    font-style: normal;
}

.cmp-end {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
    letter-spacing: .4px;
}

.cmp-end b {
    color: #fbbf24;
}

.cmp-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fde68a, #fbbf24 45%, #f97316);
    color: #1a1200 !important;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 14px 34px rgba(249, 115, 22, .35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.cmp-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(249, 115, 22, .5);
}

/* Market ve cüzdan sayfası için biraz küçük sürüm */
.cmp-market .cmp-inner,
.cmp-wallet .cmp-inner {
    padding: 26px 34px;
    gap: 28px;
}

.cmp-market .cmp-num,
.cmp-wallet .cmp-num {
    font-size: clamp(90px, 11vw, 150px);
}

.cmp-market .cmp-x,
.cmp-wallet .cmp-x {
    font-size: clamp(44px, 5vw, 70px);
}

.cmp-market .cmp-copy h2,
.cmp-wallet .cmp-copy h2 {
    font-size: clamp(24px, 2.8vw, 36px);
}

.cmp-wallet {
    margin-top: 6px;
}

/* Marketteki bakiye kutusunda küçük rozet */
.cmp-mini {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #1a1200;
    font-size: 11px;
    font-weight: 900;
    vertical-align: middle;
}

/* ---------- CÜZDAN: BAKİYE YÜKLEME KARTI ---------- */

.cmp-pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin: 14px 0 22px;
}

.cmp-pkg {
    position: relative;
    display: block;
    cursor: pointer;
}

.cmp-pkg input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cmp-pkg-box {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 132px;
    padding: 24px 12px 18px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, .28);
    background: linear-gradient(180deg, #121c32, #0b1220);
    color: #e5edf7;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.cmp-pkg:hover .cmp-pkg-box {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, .6);
}

.cmp-pkg input:checked + .cmp-pkg-box {
    border-color: #fbbf24;
    box-shadow:
        0 0 0 2px rgba(251, 191, 36, .4),
        0 16px 34px rgba(251, 191, 36, .2);
}

.cmp-pkg input:focus-visible + .cmp-pkg-box {
    outline: 2px solid #fde68a;
    outline-offset: 3px;
}

.cmp-pkg-small {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.cmp-pkg-price {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.cmp-pkg-plain {
    color: #94a3b8;
    font-size: 12px;
}

.cmp-pkg-box.is-campaign {
    border-color: rgba(251, 191, 36, .55);
    background:
        radial-gradient(120% 100% at 50% 0%, rgba(251, 191, 36, .2), transparent 65%),
        linear-gradient(180deg, #17203a, #0b1220);
}

.cmp-pkg-arrow {
    color: #f97316;
    font-size: 11px;
    line-height: 1;
}

.cmp-pkg-get {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #fbbf24;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.cmp-pkg-get small {
    color: #fde68a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.cmp-pkg-ribbon {
    position: absolute;
    top: -11px;
    right: -8px;
    padding: 4px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #1a1200;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .5px;
    box-shadow: 0 6px 16px rgba(249, 115, 22, .45);
}

/* ---------- MOBİL ---------- */

@media (max-width: 860px) {

    .cmp-inner,
    .cmp-market .cmp-inner,
    .cmp-wallet .cmp-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        padding: 30px 22px;
        text-align: center;
    }

    .cmp-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .cmp-chips {
        justify-content: center;
    }

    .cmp-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cmp-banner::after,
    .cmp-dot {
        animation: none;
    }

    .cmp-pkg-box,
    .cmp-cta {
        transition: none;
    }
}
