@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   PERŞEMBE PAZARI — Modern animasyonlu tasarım
   ============================================================ */

:root {
    --dt-brand: #ef5526;
    --dt-brand-dark: #d8451f;
    --dt-brand-light: #ff7e4f;
    --dt-purple: #7c3aed;
    --dt-yellow: #fbbf24;
    --dt-dark: #1f2937;
    --dt-text: #111827;
    --dt-text-muted: #6b7280;
    --dt-bg: #fafafa;
}

.dt-page {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: var(--dt-bg);
    color: var(--dt-text);
    overflow-x: hidden;
    padding-bottom: 60px;
}

/* ============================================================
   HERO — Animated Banner
   ============================================================ */
.dt-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 20px 90px;
    background: linear-gradient(135deg, #ff6b1a 0%, #ef5526 35%, #c2410c 70%, #7c2d12 100%);
    color: #fff;
    text-align: center;
}

    .dt-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .12) 0, transparent 40%),
            radial-gradient(circle at 80% 70%, rgba(251, 191, 36, .18) 0, transparent 40%);
        pointer-events: none;
        animation: dtHeroGlow 8s ease-in-out infinite alternate;
    }

@keyframes dtHeroGlow {
    0% { opacity: .85; }
    100% { opacity: 1; }
}

/* Floating particles */
.dt-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.dt-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    filter: blur(1px);
}

.dt-particle.p1 { width: 14px; height: 14px; top: 10%; left: 12%; animation: dtFloat1 10s ease-in-out infinite; }
.dt-particle.p2 { width: 26px; height: 26px; top: 60%; left: 8%; background: rgba(251, 191, 36, .35); animation: dtFloat2 12s ease-in-out infinite; }
.dt-particle.p3 { width: 10px; height: 10px; top: 30%; left: 85%; animation: dtFloat1 9s ease-in-out infinite reverse; }
.dt-particle.p4 { width: 20px; height: 20px; top: 75%; left: 80%; background: rgba(124, 58, 237, .3); animation: dtFloat2 14s ease-in-out infinite reverse; }
.dt-particle.p5 { width: 8px; height: 8px; top: 20%; left: 55%; animation: dtFloat1 11s ease-in-out infinite; }
.dt-particle.p6 { width: 32px; height: 32px; top: 80%; left: 40%; background: rgba(255, 255, 255, .15); animation: dtFloat2 13s ease-in-out infinite; }
.dt-particle.p7 { width: 12px; height: 12px; top: 45%; left: 25%; animation: dtFloat1 7s ease-in-out infinite reverse; }
.dt-particle.p8 { width: 18px; height: 18px; top: 15%; left: 70%; background: rgba(251, 191, 36, .25); animation: dtFloat2 10s ease-in-out infinite; }

@keyframes dtFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -25px); }
    66% { transform: translate(-15px, -40px); }
}

@keyframes dtFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-25px, -35px) scale(1.15); }
}

/* Hero content */
.dt-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.dt-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, .25);
    animation: dtBadgePulse 2s ease-in-out infinite;
}

    .dt-badge i {
        color: var(--dt-yellow);
        font-size: 14px;
    }

@keyframes dtBadgePulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(251, 191, 36, .4); }
    50% { transform: translateY(-3px); box-shadow: 0 0 0 12px rgba(251, 191, 36, 0); }
}

.dt-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    margin: 0 0 14px;
    line-height: .95;
    letter-spacing: -2px;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.dt-title-line-1 {
    display: block;
    font-size: clamp(52px, 8vw, 92px);
    color: #fff;
    animation: dtTitleSlideIn .8s cubic-bezier(.22, 1, .36, 1) .1s both;
}

.dt-title-line-2 {
    display: block;
    font-size: clamp(72px, 11vw, 130px);
    background: linear-gradient(180deg, #ffe7c2 0%, #fef3c7 30%, #fbbf24 60%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: dtTitleSlideIn .8s cubic-bezier(.22, 1, .36, 1) .25s both;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .25));
}

@keyframes dtTitleSlideIn {
    from { opacity: 0; transform: translateY(40px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.dt-subtitle {
    color: rgba(255, 255, 255, .92);
    font-size: clamp(15px, 2.2vw, 18px);
    font-weight: 500;
    margin: 14px 0 0;
    animation: dtTitleSlideIn .8s cubic-bezier(.22, 1, .36, 1) .4s both;
}

/* Hero floating shapes (icons) */
.dt-hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dt-shape {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    animation-duration: 5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.dt-shape.s1 { top: 20%; left: 8%; animation-name: dtShapeBob; animation-delay: 0s; }
.dt-shape.s2 { top: 55%; left: 88%; animation-name: dtShapeBob; animation-delay: 1.2s; }
.dt-shape.s3 { top: 75%; left: 14%; animation-name: dtShapeBob; animation-delay: 2.4s; }
.dt-shape.s4 { top: 18%; left: 82%; animation-name: dtShapeBob; animation-delay: 3.6s; }

@keyframes dtShapeBob {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-18px) rotate(3deg); }
}

@media (max-width: 768px) {
    .dt-hero-shapes { display: none; }
    .dt-hero { padding: 50px 16px 70px; }
}

/* ============================================================
   COUNTDOWN SECTION (Custom flip cards)
   ============================================================ */
.dt-countdown-section {
    position: relative;
    margin: -50px auto 0;
    padding: 0 20px;
    text-align: center;
    z-index: 3;
    max-width: 900px;
}

.dt-countdown-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dt-text);
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .12);
}

.dt-clock-icon {
    color: var(--dt-brand);
    font-size: 16px;
    animation: dtClockTick 2s ease-in-out infinite;
}

@keyframes dtClockTick {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

/* Countdown grid */
.dt-countdown {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3548 100%);
    border-radius: 24px;
    box-shadow:
        0 30px 60px rgba(17, 24, 39, .25),
        inset 0 1px 0 rgba(255, 255, 255, .08);
    position: relative;
    overflow: hidden;
}

    .dt-countdown::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 0%, rgba(239, 85, 38, .25) 0, transparent 60%);
        pointer-events: none;
    }

.dt-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.dt-card {
    position: relative;
    width: clamp(56px, 14vw, 90px);
    height: clamp(72px, 17vw, 110px);
    background: linear-gradient(180deg, #2d3548 0%, #1a1f2e 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .08),
        inset 0 -2px 0 rgba(0, 0, 0, .3),
        0 8px 16px rgba(0, 0, 0, .3);
    overflow: hidden;
}

    /* Kartın ortasında ince çizgi (klasik flip clock look) */
    .dt-card::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 1px;
        background: rgba(0, 0, 0, .35);
        z-index: 2;
    }

.dt-card-value {
    font-family: 'Inter', sans-serif;
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    display: inline-block;
}

/* Flip animasyonu — değer değişince tetiklenir */
.dt-card-value.dt-flip {
    animation: dtFlip .6s ease;
}

@keyframes dtFlip {
    0% { transform: rotateX(0); opacity: 1; }
    45% { transform: rotateX(-90deg); opacity: .4; }
    55% { transform: rotateX(90deg); opacity: .4; }
    100% { transform: rotateX(0); opacity: 1; }
}

/* Saniye için sürekli pulse */
.dt-card-value.dt-pulse {
    animation: dtSecondPulse 1s ease-in-out infinite;
}

@keyframes dtSecondPulse {
    0%, 100% { filter: drop-shadow(0 0 0 transparent); }
    50% { filter: drop-shadow(0 0 8px rgba(239, 85, 38, .6)); }
}

.dt-unit-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.dt-sep {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    color: rgba(239, 85, 38, .8);
    margin-top: -22px;
    animation: dtBlink 1s ease-in-out infinite;
}

@keyframes dtBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

@media (max-width: 576px) {
    .dt-countdown { padding: 18px 14px; gap: 6px; border-radius: 18px; }
    .dt-sep { font-size: 22px; margin-top: -18px; }
}

/* ============================================================
   PRODUCTS SECTION (Aktif gün)
   ============================================================ */
.dt-products-section {
    max-width: 1280px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.dt-section-head {
    text-align: center;
    margin-bottom: 36px;
}

.dt-section-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    border: 1px solid #fde68a;
}

    .dt-section-pill i {
        color: #dc2626;
        animation: dtFlame 1.5s ease-in-out infinite;
    }

@keyframes dtFlame {
    0%, 100% { transform: scale(1) rotate(-3deg); }
    50% { transform: scale(1.15) rotate(3deg); }
}

.dt-section-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: var(--dt-text);
    margin: 0 0 8px;
    letter-spacing: -.5px;
}

.dt-section-desc {
    color: var(--dt-text-muted);
    font-size: 15px;
    margin: 0;
}

/* Products grid */
.dt-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

.dt-product-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: var(--dt-text);
    box-shadow: 0 4px 14px rgba(17, 24, 39, .06);
    border: 1px solid #f1f3f5;
    transition: all .35s cubic-bezier(.22, 1, .36, 1);
    opacity: 0;
    animation: dtCardEnter .6s cubic-bezier(.22, 1, .36, 1) both;
    display: flex;
    flex-direction: column;
}

    .dt-product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 50px rgba(239, 85, 38, .22);
        border-color: rgba(239, 85, 38, .35);
        color: var(--dt-text);
    }

@keyframes dtCardEnter {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Discount tag */
.dt-product-discount-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #dc2626 0%, #ef5526 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    box-shadow: 0 6px 14px rgba(220, 38, 38, .35);
    animation: dtTagPop 2s ease-in-out infinite;
}

    .dt-product-discount-tag i {
        font-size: 10px;
    }

@keyframes dtTagPop {
    0%, 100% { transform: scale(1) rotate(-2deg); }
    50% { transform: scale(1.08) rotate(2deg); }
}

/* Image */
.dt-product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fafafa;
    overflow: hidden;
}

    .dt-product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 18px;
        transition: transform .5s cubic-bezier(.22, 1, .36, 1);
    }

.dt-product-card:hover .dt-product-image img {
    transform: scale(1.08);
}

.dt-product-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(239, 85, 38, .15) 0, transparent 60%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.dt-product-card:hover .dt-product-glow {
    opacity: 1;
}

/* Info */
.dt-product-info {
    padding: 16px 16px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dt-product-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dt-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2);
}

.dt-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--dt-brand);
    margin-top: auto;
    transition: gap .25s ease;
}

.dt-product-card:hover .dt-product-cta {
    gap: 10px;
}

.dt-product-cta i {
    font-size: 11px;
    transition: transform .25s ease;
}

.dt-product-card:hover .dt-product-cta i {
    transform: translateX(4px);
}

/* Marquee — bottom strip */
.dt-product-marquee {
    background: linear-gradient(90deg, var(--dt-brand) 0%, #ff7e4f 50%, var(--dt-brand) 100%);
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .3px;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.dt-marquee-track {
    display: inline-flex;
    gap: 28px;
    white-space: nowrap;
    animation: dtMarquee 18s linear infinite;
    padding-left: 28px;
}

    .dt-marquee-track span {
        flex: 0 0 auto;
    }

@keyframes dtMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   EMPTY STATE (Perşembe değilse)
   ============================================================ */
.dt-empty {
    max-width: 640px;
    margin: 80px auto 0;
    text-align: center;
    padding: 0 20px;
}

.dt-empty-illustration {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 36px;
}

.dt-empty-circle {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff8a4f 0%, #ef5526 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 62px;
    box-shadow: 0 24px 50px rgba(239, 85, 38, .35);
    animation: dtCircleFloat 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes dtCircleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.dt-empty-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(239, 85, 38, .35);
    animation: dtRingPulse 3s ease-out infinite;
    z-index: 1;
}

.dt-empty-ring.r1 { animation-delay: 0s; }
.dt-empty-ring.r2 { animation-delay: 1s; }
.dt-empty-ring.r3 { animation-delay: 2s; }

@keyframes dtRingPulse {
    0% { transform: scale(1); opacity: .8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.dt-empty-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    color: var(--dt-text);
    margin: 0 0 12px;
}

.dt-empty-desc {
    font-size: 15px;
    color: var(--dt-text-muted);
    line-height: 1.6;
    margin: 0 0 28px;
}

    .dt-empty-desc strong {
        color: var(--dt-brand);
    }

.dt-empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.dt-btn-primary,
.dt-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.dt-btn-primary {
    background: var(--dt-brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(239, 85, 38, .3);
}

    .dt-btn-primary:hover {
        background: var(--dt-brand-dark);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(239, 85, 38, .42);
    }

.dt-btn-secondary {
    background: #fff;
    color: var(--dt-text);
    border: 1.5px solid #e5e7eb;
}

    .dt-btn-secondary:hover {
        background: var(--dt-text);
        color: #fff;
        border-color: var(--dt-text);
        transform: translateY(-2px);
    }

.dt-empty-features {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px dashed #e5e7eb;
}

.dt-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--dt-text-muted);
    font-size: 12px;
    font-weight: 600;
}

    .dt-feature i {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(239, 85, 38, .08);
        color: var(--dt-brand);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

@media (max-width: 576px) {
    .dt-empty-illustration { width: 130px; height: 130px; }
    .dt-empty-circle { font-size: 48px; }
}
