/* ============================================================================
   ÇARK / KAZI-KAZAN / MYSTERY KUTU POPUP (Sprint CARK-1, 2026-05-23)
   v2 - profesyonel görseller, user-initiated spin, konfeti
   ----------------------------------------------------------------------------
   - Z-index 1150 (mobile-bottom-bar 1110 üstünde)
   - 3 görsel varyant: cark | kazi_kazan | kutu
   - Win moment dramatic effect (sparkles + popin)
   ========================================================================== */

.cark-popup {
    position: fixed;
    inset: 0;
    z-index: 1150;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.cark-popup[hidden] { display: none !important; }
body.cark-popup-open { overflow: hidden; }

.cark-popup__backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.85) 0%, rgba(0, 0, 0, 0.92) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: ck-fadein 280ms ease-out;
}

.cark-popup__panel {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 160, 23, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 32px 26px 26px;
    animation: ck-popin 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cark-popup__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: all 180ms ease;
    z-index: 5;
}
.cark-popup__close:hover {
    background: #f1f5f9;
    color: #0f172a;
    transform: rotate(90deg);
}

@keyframes ck-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes ck-popin {
    from { opacity: 0; transform: translateY(30px) scale(0.88); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* ===== Aşamalar ===== */
.cark-stage[hidden] { display: none !important; }

.cark-popup__title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    line-height: 1.25;
    letter-spacing: -0.5px;
}
.cark-popup__subtitle {
    margin: 0 0 22px;
    font-size: 14px;
    color: #64748b;
    text-align: center;
    line-height: 1.55;
}

/* ===== Görsel container (ortak) ===== */
.cark-visual {
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Form aşamasında reward preview MARQUEE REEL (slot makinesi vibe).
   Sürekli kayan ödül kartları + fade edge gradient + dinamik tagline. */
.cark-rewards-preview {
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
}
.cark-rewards-preview__title {
    font-size: 11px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}
.cark-rewards-preview__marquee {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px solid #fde68a;
    border-radius: 12px;
    padding: 12px 0;
    box-shadow:
        inset 0 0 0 3px #fff,
        0 4px 14px rgba(217, 119, 6, 0.15);
}
.cark-rewards-preview__marquee::before,
.cark-rewards-preview__marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 36px;
    z-index: 2;
    pointer-events: none;
}
.cark-rewards-preview__marquee::before {
    left: 0;
    background: linear-gradient(90deg, #fffbeb 0%, transparent 100%);
}
.cark-rewards-preview__marquee::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, #fef3c7 100%);
}
.cark-rewards-preview__track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: cark-marquee-scroll 22s linear infinite;
    padding: 0 5px;
}
.cark-rewards-preview__marquee:hover .cark-rewards-preview__track {
    animation-play-state: paused;
}
@keyframes cark-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.cark-reward-pill {
    flex-shrink: 0;
    background: #fff;
    border: 1.5px solid #fbbf24;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 800;
    color: #78350f;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    letter-spacing: -0.2px;
}
.cark-reward-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}
.cark-rewards-preview__tagline {
    margin-top: 10px;
    font-size: 12px;
    color: #92400e;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ============================================================================
   ÇARK (WHEEL) - Profesyonel altın detaylı dönen tekerlek
   ========================================================================== */
.cark-visual--cark {
    width: 240px;
    height: 240px;
    padding: 8px;
}
.cark-wheel-stage {
    position: relative;
    width: 100%;
    height: 100%;
}
.cark-wheel-rim {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, #fcd34d 0%, #d97706 60%, #92400e 100%);
    box-shadow:
        0 0 40px rgba(217, 119, 6, 0.5),
        0 12px 32px rgba(0, 0, 0, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.5),
        inset 0 -2px 8px rgba(0, 0, 0, 0.3);
    z-index: 0;
}
.cark-wheel-rim::after {
    /* İç altın halka dekoru (kenarlık) */
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.35);
}
.cark-wheel {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-radius: 50%;
    transition: transform 5s cubic-bezier(0.15, 0.7, 0.18, 1);
    box-shadow:
        inset 0 0 0 3px rgba(255, 255, 255, 0.9),
        inset 0 0 20px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    background: #fff;
    z-index: 1;
}
.cark-wheel--spinning {
    /* Initial state - placeholder for when user hasn't clicked yet */
}
.cark-pointer {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 26px solid #b45309;
    z-index: 4;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}
.cark-pointer::before {
    /* Pointer'in altın highlight şeridi */
    content: '';
    position: absolute;
    top: -22px;
    left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 16px solid #fbbf24;
}
.cark-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fbbf24 0%, #d97706 60%, #92400e 100%);
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    z-index: 3;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    border-style: solid;
    user-select: none;
}
.cark-center--interactive {
    animation: cark-pulse 1.6s ease-in-out infinite;
}
.cark-center--interactive:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow:
        0 8px 24px rgba(217, 119, 6, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
}
.cark-center--interactive:active {
    transform: translate(-50%, -50%) scale(0.94);
}
.cark-center--spinning {
    animation: none;
    cursor: wait;
}
@keyframes cark-pulse {
    0%, 100% {
        box-shadow:
            0 6px 16px rgba(0, 0, 0, 0.3),
            0 0 0 0 rgba(251, 191, 36, 0.6),
            inset 0 2px 4px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow:
            0 6px 16px rgba(0, 0, 0, 0.3),
            0 0 0 12px rgba(251, 191, 36, 0),
            inset 0 2px 4px rgba(255, 255, 255, 0.4);
    }
}

/* Çark üzerindeki ışık noktaları (kenarda yanıp sönen LED görünümü) */
.cark-bulbs {
    position: absolute;
    inset: -2px;
    pointer-events: none;
    z-index: 2;
}
.cark-bulb {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 4px rgba(251, 191, 36, 0.8);
    transform: translate(-50%, -50%);
    animation: cark-bulb-blink 1.5s ease-in-out infinite;
}

@keyframes cark-bulb-blink {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 0.3; transform: translate(-50%, -50%) scale(0.7); }
}

/* ============================================================================
   KAZI-KAZAN - Hologram kart, sparkle reveal
   ========================================================================== */
.cark-visual--kazi-kazan {
    width: 300px;
    height: 160px;
    border-radius: 14px;
    overflow: visible;
    background:
        repeating-linear-gradient(45deg,
            #fbbf24 0px, #fbbf24 10px,
            #f59e0b 10px, #f59e0b 20px,
            #d97706 20px, #d97706 30px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.35),
        0 0 0 2px #b45309,
        0 0 0 4px #fcd34d,
        inset 0 2px 4px rgba(255, 255, 255, 0.6);
    padding: 0;
    position: relative;
}
.cark-visual--kazi-kazan::before {
    /* Köşelerde altın yıldız işareti dekorasyonu */
    content: '★';
    position: absolute;
    top: 8px;
    left: 12px;
    color: #fef3c7;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 3;
}
.cark-visual--kazi-kazan::after {
    content: '★';
    position: absolute;
    bottom: 8px;
    right: 12px;
    color: #fef3c7;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 3;
}
.cark-scratch-canvas {
    position: absolute;
    inset: 8px;
    cursor: grab;
    touch-action: none;
    border-radius: 10px;
    z-index: 2;
}
.cark-scratch-canvas:active {
    cursor: grabbing;
}
.cark-scratch-reveal {
    position: absolute;
    inset: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
    border-radius: 10px;
    z-index: 1;
}
.cark-scratch-reveal__etiket {
    font-size: 26px;
    font-weight: 800;
    color: #78350f;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
    letter-spacing: -0.3px;
}
.cark-scratch-reveal__hint {
    font-size: 12px;
    color: #92400e;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.6);
    padding: 4px 10px;
    border-radius: 6px;
}

/* ============================================================================
   MYSTERY KUTU - 3D derinlikli kutular, kurdele
   ========================================================================== */
.cark-visual--kutu {
    gap: 18px;
    flex-wrap: wrap;
    padding: 12px 0;
}
.cark-box {
    width: 86px;
    height: 100px;
    background: linear-gradient(155deg, #fde68a 0%, #fbbf24 60%, #d97706 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    color: #78350f;
    box-shadow:
        0 8px 20px rgba(217, 119, 6, 0.35),
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(180, 83, 9, 0.4);
    overflow: hidden;
}
.cark-box::before {
    /* Dikey kurdele */
    content: '';
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    background: linear-gradient(180deg, #b45309 0%, #92400e 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    z-index: 1;
}
.cark-box::after {
    /* Yatay kurdele */
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    background: linear-gradient(90deg, #b45309 0%, #92400e 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    z-index: 1;
}
.cark-box__icon {
    /* Kurdele kavşağına fiyonk */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 30% 30%, #fbbf24 0%, #b45309 100%);
    border-radius: 50%;
    z-index: 2;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
    font-size: 0; /* eski emoji içerik gizle */
}
.cark-box__label {
    /* Soru işareti veya kazanan ödül */
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px 8px;
    border-radius: 6px;
    color: #78350f;
    letter-spacing: 0.5px;
    min-width: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.cark-box:hover:not([data-opened]):not([data-disabled]) {
    transform: translateY(-10px) rotate(-2deg);
    box-shadow:
        0 16px 32px rgba(217, 119, 6, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
}
.cark-box[data-opened] {
    background: linear-gradient(155deg, #fef3c7 0%, #fde68a 100%);
    box-shadow:
        0 12px 28px rgba(217, 119, 6, 0.55),
        0 0 0 3px #d97706,
        0 0 30px rgba(251, 191, 36, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.7);
    animation: cark-box-open 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cark-box[data-opened] .cark-box__label {
    font-size: 11px;
    font-weight: 800;
    color: #78350f;
    background: #fff;
    padding: 4px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    /* Etiket biraz büyür */
    transform: translateX(-50%) scale(1.05);
}
.cark-box[data-disabled] {
    opacity: 0.35;
    cursor: not-allowed;
    transform: scale(0.92);
    filter: grayscale(0.4);
}
@keyframes cark-box-open {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.15) rotateY(180deg); }
    100% { transform: scale(1) rotateY(360deg); }
}

/* ===== Form ===== */
.cark-form {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.cark-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.cark-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background: #fff;
    transition: all 180ms ease;
    box-sizing: border-box;
    font-family: inherit;
}
.cark-field input:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
    background: #fffbeb;
}
.cark-field--row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cark-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
    cursor: pointer;
}
.cark-check input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #d97706;
    cursor: pointer;
}

.cark-form__error {
    margin: 4px 0 0;
    padding: 10px 14px;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    border-radius: 8px;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.cark-submit {
    margin-top: 8px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 180ms ease;
    box-shadow:
        0 6px 16px rgba(217, 119, 6, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
}
.cark-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 10px 24px rgba(217, 119, 6, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.cark-submit:active:not(:disabled) {
    transform: translateY(0);
}
.cark-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.cark-submit__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ck-spin 700ms linear infinite;
}
@keyframes ck-spin {
    to { transform: rotate(360deg); }
}

.cark-disclaimer {
    margin: 10px 0 0;
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.5;
}

/* ===== Spinning aşaması ===== */
.cark-spinning-text {
    margin: 18px 0 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    letter-spacing: 0.3px;
}
.cark-spin-hint {
    margin: 6px 0 0;
    text-align: center;
    font-size: 13px;
    color: #b45309;
    animation: cark-pulse-text 1.6s ease-in-out infinite;
}
@keyframes cark-pulse-text {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}
.cark-visual--spinning {
    width: 260px;
    height: 260px;
    margin: 0 auto;
    padding: 8px;
}

/* ===== Sonuç aşaması ===== */
.cark-sonuc-hero {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}
.cark-sonuc-emoji {
    font-size: 60px;
    line-height: 1;
    margin-bottom: 8px;
    animation: ck-emoji-bounce 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}
@keyframes ck-emoji-bounce {
    0%   { transform: scale(0) rotate(-30deg); opacity: 0; }
    50%  { transform: scale(1.3) rotate(15deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
.cark-sonuc-title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.cark-sonuc-subtitle {
    margin: 0;
    font-size: 15px;
    color: #475569;
}
.cark-sonuc-subtitle strong {
    color: #b45309;
    font-size: 18px;
    font-weight: 800;
}

.cark-coupon-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
    border: 2px dashed #d97706;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    margin: 0 0 16px;
    box-shadow:
        0 8px 24px rgba(217, 119, 6, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}
.cark-coupon-card::before {
    /* Soft shimmer effect */
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: rotate(-25deg) translateX(-100%);
    animation: ck-shimmer 3s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ck-shimmer {
    0%, 100% { transform: rotate(-25deg) translateX(-100%); }
    50%      { transform: rotate(-25deg) translateX(100%); }
}
.cark-coupon-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #92400e;
    margin-bottom: 8px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}
.cark-coupon-code {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    position: relative;
    z-index: 1;
}
.cark-coupon-code > span:first-child {
    font-family: 'Courier New', Monaco, monospace;
    font-size: 28px;
    font-weight: 800;
    color: #78350f;
    letter-spacing: 4px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.cark-coupon-copy-hint {
    font-size: 11px;
    color: #92400e;
    font-weight: 700;
    position: relative;
    height: 18px;
}
.cark-coupon-copy-hint .cark-copy-done { display: none; color: #047857; }
.cark-coupon-code[data-copied] .cark-copy-default { display: none; }
.cark-coupon-code[data-copied] .cark-copy-done { display: inline; }

.cark-coupon-meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(217, 119, 6, 0.5);
    font-size: 12px;
    color: #92400e;
    position: relative;
    z-index: 1;
}
.cark-coupon-meta > div {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    align-items: center;
}
.cark-coupon-meta strong { color: #78350f; }

.cark-countdown {
    font-family: 'Courier New', Monaco, monospace;
    font-weight: 800;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 10px;
    border-radius: 6px;
    color: #78350f;
    letter-spacing: 0.5px;
}
.cark-countdown--son {
    background: #fee2e2;
    color: #991b1b;
    animation: cark-blink 1s ease-in-out infinite;
}
.cark-countdown--bitti {
    background: #f3f4f6;
    color: #6b7280;
    animation: none;
}
@keyframes cark-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}

.cark-sonuc-info {
    text-align: center;
    font-size: 13px;
    color: #475569;
    margin: 0 0 16px;
    line-height: 1.55;
}

.cark-sonuc-cta {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    border-radius: 12px;
    transition: all 180ms ease;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:
        0 6px 16px rgba(21, 128, 61, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.cark-sonuc-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 24px rgba(21, 128, 61, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ============================================================================
   KONFETI - win moment celebration
   ========================================================================== */
.cark-confetti {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 10;
}
.cark-confetti__piece {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 14px;
    opacity: 0;
    animation: cark-confetti-fall 2.4s ease-out forwards;
}

@keyframes cark-confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(400px) rotate(720deg);
    }
}

/* ===== Mobile ===== */
@media (max-width: 480px) {
    .cark-popup__panel {
        padding: 26px 18px 22px;
        border-radius: 16px;
    }
    .cark-popup__title { font-size: 20px; }
    .cark-visual--cark { width: 200px; height: 200px; }
    .cark-visual--spinning { width: 220px; height: 220px; }
    .cark-visual--kazi-kazan { width: 260px; height: 140px; }
    .cark-box { width: 72px; height: 84px; }
    .cark-coupon-code > span:first-child {
        font-size: 23px;
        letter-spacing: 3px;
    }
    .cark-center { width: 60px; height: 60px; font-size: 12px; }
}
