/* ==============================================
   NE YESEM SAYFASI – WhatToEat.css
   Renk Paleti: Mercan, Turkuaz, Mor, Limon
   ============================================== */

/* ── Sayfa Değişkenleri ── */
:root {
    --wte-primary: var(--color-primary);
    --wte-primary-dark: var(--color-primary-dark);
    --wte-accent: var(--color-accent);
    --wte-accent-dark: var(--color-accent-dark);
    --wte-bg: var(--color-bg);
    --wte-card-bg: rgba(255, 255, 255, 0.9);
    --wte-text: var(--color-text-main);
    --wte-text-muted: var(--color-muted);
    --wte-radius: var(--radius-card);
    --wte-radius-lg: 32px;
    --wte-shadow: var(--shadow-soft);
    --wte-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --wte-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Wheel Colors */
    --wte-wheel-1: #688745; /* Sage */
    --wte-wheel-2: #970001; /* Red */
    --wte-wheel-3: #AFC794; /* Light Sage */
    --wte-wheel-4: #4B3A2D; /* Dark Brown */
    --wte-wheel-5: #E8E0D8; /* Cream */
    --wte-wheel-6: #5B4634; /* Mid Brown */
    --wte-wheel-7: #7A0000; /* Dark Red */
    --wte-wheel-8: #d4cec6; /* Greyish Cream */
}

/* ── Sayfa Wrapper ── */
.wte-page {
    position: relative;
    overflow: hidden;
    background: var(--wte-bg);
    padding-top: 40px;
}

/* ══════════════════════════════════════
   ARKA PLAN BLOB ANIMASYONLARI - REMOVED
   ══════════════════════════════════════ */
.wte-blobs {
    display: none;
}

@keyframes wte-float1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-60px, 80px) scale(1.1);
    }

    66% {
        transform: translate(40px, -40px) scale(0.9);
    }
}

@keyframes wte-float2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(80px, -60px) scale(1.15);
    }

    66% {
        transform: translate(-30px, 50px) scale(0.85);
    }
}

@keyframes wte-float3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-70px, -70px) scale(1.1);
    }
}

/* ── Tüm section'lar ── */
.wte-page .wte-section {
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════
   1) HERO SECTION
   ══════════════════════════════════════ */
.wte-hero {
    padding: 80px 0 60px;
    text-align: center;
}

.wte-hero__inner {
    max-width: 700px;
    margin: 0 auto;
}

.wte-hero__icon {
    font-size: 48px;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--wte-primary);
    animation: wte-wiggle 2.5s ease-in-out infinite;
}

.wte-hero__icon svg {
    width: 64px;
    height: 64px;
    stroke-width: 1.5px;
}

@keyframes wte-wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-8deg);
    }

    75% {
        transform: rotate(8deg);
    }
}

.wte-hero__title {
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 16px;
    color: var(--color-secondary-dark);
}

.wte-hero__subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--wte-text-muted);
    margin: 0 0 36px;
    font-weight: 500;
}

.wte-hero__ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── CTA Butonları ── */
.wte-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--wte-transition);
    position: relative;
    overflow: hidden;
}

.wte-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--wte-transition);
}

.wte-btn:hover::after {
    opacity: 1;
}

.wte-btn--primary {
    background: var(--wte-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(151, 0, 1, 0.25);
}

.wte-btn--primary:hover {
    transform: translateY(-2px) scale(1.03);
    background: var(--wte-accent-dark);
    box-shadow: 0 12px 32px rgba(151, 0, 1, 0.35);
}

.wte-btn--secondary {
    background: #fff;
    color: var(--wte-text);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--wte-shadow);
}

.wte-btn--secondary:hover {
    transform: translateY(-2px);
    border-color: var(--wte-primary);
    color: var(--wte-primary);
}

.wte-btn--purple {
    background: var(--wte-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(104, 135, 69, 0.25);
}

.wte-btn--purple:hover {
    transform: translateY(-2px) scale(1.03);
    background: var(--wte-primary-dark);
    box-shadow: 0 12px 32px rgba(104, 135, 69, 0.35);
}

.wte-btn--turquoise {
    background: var(--wte-primary-light);
    color: var(--wte-primary-dark);
    box-shadow: 0 8px 24px rgba(175, 199, 148, 0.25);
}

.wte-btn--ghost {
    background: transparent;
    color: var(--wte-text-muted);
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    font-size: 13px;
}

.wte-btn--ghost:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--wte-text);
}

/* ══════════════════════════════════════
   2) CHIP BARI
   ══════════════════════════════════════ */
.wte-chips {
    padding: 0 0 48px;
}

.wte-chips__title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--wte-text);
}

.wte-chips__wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.wte-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(104, 135, 69, 0.2);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--wte-text);
    transition: all var(--wte-transition);
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.wte-chip svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
}

.wte-chip:hover {
    transform: translateY(-2px);
    border-color: var(--wte-primary);
    background: rgba(104, 135, 69, 0.05);
}

.wte-chip.is-active {
    animation: wte-chip-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: var(--wte-primary) !important;
    border-color: var(--wte-primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(104, 135, 69, 0.3);
}

/* Season item icon styles */
.wte-season-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wte-primary);
}

.wte-season-item__icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}
/* Specific chip active states removed in favor of consistent brand color */

@keyframes wte-chip-pop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.18);
    }

    70% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

/* ══════════════════════════════════════
   3) ÇARK / İNTERAKSİYON ALANI
   ══════════════════════════════════════ */
.wte-wheel-section {
    padding: 48px 0 64px;
}

.wte-wheel__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Eğlence yazısı */
.wte-fun-text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--wte-purple);
    min-height: 28px;
    transition: opacity 0.3s ease;
}

/* Çark Container */
.wte-wheel-container {
    position: relative;
    width: 340px;
    height: 340px;
}

.wte-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    box-shadow: 0 0 0 6px var(--wte-card-bg), 0 0 0 8px rgba(0, 0, 0, 0.08), var(--wte-shadow-lg);
}

.wte-wheel.is-spinning {
    pointer-events: none;
}

/* Çark dilimleri (conic-gradient) */
.wte-wheel__face {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--wte-wheel-1) 0deg 45deg,
            var(--wte-wheel-2) 45deg 90deg,
            var(--wte-wheel-3) 90deg 135deg,
            var(--wte-wheel-4) 135deg 180deg,
            var(--wte-wheel-5) 180deg 225deg,
            var(--wte-wheel-6) 225deg 270deg,
            var(--wte-wheel-7) 270deg 315deg,
            var(--wte-wheel-8) 315deg 360deg);
    position: relative;
    overflow: hidden;
}

/* Çark etiketleri */
.wte-wheel__label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48%;
    transform-origin: 0 0;
    display: flex;
    align-items: center;
    padding-left: 20px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    white-space: nowrap;
    overflow: visible;
}

/* Her label farklı açıda konumlandırılır (JS ile de set edilir) */
.wte-wheel__label:nth-child(1) {
    transform: rotate(22.5deg) translateY(-50%);
}

.wte-wheel__label:nth-child(2) {
    transform: rotate(67.5deg) translateY(-50%);
}

.wte-wheel__label:nth-child(3) {
    transform: rotate(112.5deg) translateY(-50%);
}

.wte-wheel__label:nth-child(4) {
    transform: rotate(157.5deg) translateY(-50%);
}

.wte-wheel__label:nth-child(5) {
    transform: rotate(202.5deg) translateY(-50%);
}

.wte-wheel__label:nth-child(6) {
    transform: rotate(247.5deg) translateY(-50%);
}

.wte-wheel__label:nth-child(7) {
    transform: rotate(292.5deg) translateY(-50%);
}

.wte-wheel__label:nth-child(8) {
    transform: rotate(337.5deg) translateY(-50%);
}

/* Çark ortadaki daire */
.wte-wheel__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wte-primary);
    z-index: 2;
}

.wte-wheel__center svg {
    width: 32px;
    height: 32px;
    stroke-width: 2px;
}

/* İğne (pointer) — üstte sabit duracak */
.wte-wheel__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: 24px solid var(--wte-coral);
    z-index: 5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Çevir butonu */
.wte-spin-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 999px;
    background: var(--wte-accent);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all var(--wte-transition);
    box-shadow: 0 8px 32px rgba(151, 0, 1, 0.2);
}

.wte-spin-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--wte-accent-dark);
    box-shadow: 0 14px 40px rgba(151, 0, 1, 0.3);
}

.wte-spin-btn:active {
    transform: scale(0.97);
}

.wte-spin-btn.is-disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Shake animasyonu (yenile butonu) */
@keyframes wte-shake {

    0%,
    100% {
        transform: translateX(0) rotate(0);
    }

    20% {
        transform: translateX(-4px) rotate(-3deg);
    }

    40% {
        transform: translateX(4px) rotate(3deg);
    }

    60% {
        transform: translateX(-3px) rotate(-2deg);
    }

    80% {
        transform: translateX(3px) rotate(2deg);
    }
}

.wte-shake {
    animation: wte-shake 0.5s ease-in-out;
}

/* ══════════════════════════════════════
   4) SONUÇ KARTLARI
   ══════════════════════════════════════ */
.wte-results {
    padding: 0 0 64px;
}

.wte-results__inner {
    max-width: 900px;
    margin: 0 auto;
}

.wte-results__header {
    text-align: center;
    margin-bottom: 32px;
}

.wte-results__title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--wte-text);
}

.wte-results__fun {
    font-size: 16px;
    color: var(--wte-primary);
    font-weight: 600;
    margin: 0;
}

/* Grid */
.wte-results__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Tek kart */
.wte-result-card {
    background: var(--wte-card-bg);
    backdrop-filter: blur(16px);
    border-radius: var(--wte-radius);
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--wte-shadow);
    transition: all var(--wte-transition);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.wte-result-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.wte-result-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wte-shadow-lg);
}

.wte-result-card__emoji {
    font-size: 52px;
    display: block;
    margin-bottom: 12px;
}

.wte-result-card__name {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--wte-text);
}

.wte-result-card__reason {
    font-size: 13px;
    color: var(--wte-text-muted);
    margin: 0 0 16px;
    line-height: 1.5;
}

.wte-result-card__reason strong {
    color: var(--wte-primary);
}

.wte-result-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wte-result-card__actions .wte-btn {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 8px 14px;
}

/* Konfeti – sonuç geldiğinde */
.wte-confetti-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
}

/* Sonuç bölümünü gizle */
.wte-results.is-hidden {
    display: none;
}

/* ══════════════════════════════════════
   5) ALT BÖLÜM: "Kararsızlara Özel"
   ══════════════════════════════════════ */
.wte-extras {
    padding: 64px 0 80px;
}

.wte-extras__title {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 8px;
    color: var(--wte-text);
}

.wte-extras__subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--wte-text-muted);
    margin: 0 0 40px;
}

.wte-extras__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

/* Ortak kart stili */
.wte-extra-card {
    background: var(--wte-card-bg);
    backdrop-filter: blur(16px);
    border-radius: var(--wte-radius);
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    padding: 28px 24px;
    box-shadow: var(--wte-shadow);
    transition: all var(--wte-transition);
}

.wte-extra-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wte-shadow-lg);
}

.wte-extra-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.wte-extra-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wte-primary);
}

.wte-extra-card__icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2px;
}

.wte-extra-card__title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: var(--wte-text);
}

/* Trend listesi */
.wte-trend-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wte-trend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.03);
    font-size: 14px;
    font-weight: 600;
    transition: background var(--wte-transition);
}

.wte-trend-item:hover {
    background: rgba(0, 0, 0, 0.06);
}

.wte-trend-item__icon {
    display: flex;
    align-items: center;
    color: var(--wte-primary);
}

.wte-trend-item__icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2px;
}

.wte-trend-item__rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--wte-lemon);
    color: #78350F;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Mevsim kartı */
.wte-season-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wte-season-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.wte-season-item--winter {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
}

.wte-season-item--summer {
    background: linear-gradient(135deg, var(--wte-coral), var(--wte-lemon-dark));
}

.wte-season-item--spring {
    background: linear-gradient(135deg, #A7F3D0, #34D399);
    color: #065F46;
}

.wte-season-item--autumn {
    background: linear-gradient(135deg, #FDBA74, #FB923C);
    color: #7C2D12;
}

.wte-season-item__emoji {
    font-size: 24px;
}

/* Bütçe Slider */
.wte-budget__display {
    text-align: center;
    margin-bottom: 16px;
}

.wte-budget__amount {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--wte-turquoise), var(--wte-turquoise-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wte-budget__label {
    font-size: 13px;
    color: var(--wte-text-muted);
    display: block;
}

.wte-budget__slider {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wte-primary-light), var(--wte-primary));
    outline: none;
    margin: 16px 0;
}

.wte-budget__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--wte-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.wte-budget__slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    border-color: var(--wte-primary);
}

.wte-budget__slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--wte-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.wte-budget__range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--wte-text-muted);
    font-weight: 600;
}

.wte-budget__suggestions {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wte-budget__suggestion {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.03);
    font-size: 13px;
    font-weight: 600;
}

/* ══════════════════════════════════════
   MOBILE SHAKE İPUCU
   ══════════════════════════════════════ */
.wte-shake-hint {
    display: none;
    text-align: center;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wte-primary);
    animation: wte-fade-in-up 0.5s ease;
}

@media (max-width: 768px) {
    .wte-shake-hint {
        display: block;
    }
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 768px) {
    .wte-hero {
        padding: 60px 0 40px;
    }

    .wte-hero__emoji {
        font-size: 48px;
    }

    .wte-hero__ctas {
        flex-direction: column;
        align-items: center;
    }

    .wte-hero__ctas .wte-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .wte-results__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wte-extras__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wte-wheel-container {
        width: 260px;
        height: 260px;
    }

    .wte-blob--1 {
        width: 300px;
        height: 300px;
    }

    .wte-blob--2 {
        width: 250px;
        height: 250px;
    }

    .wte-blob--3 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .wte-hero__title {
        font-size: 32px;
    }

    .wte-wheel-container {
        width: 230px;
        height: 230px;
    }

    .wte-spin-btn {
        font-size: 16px;
        padding: 14px 28px;
    }
}

/* ── Animasyon Yardımcıları ── */
@keyframes wte-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wte-fade-in {
    animation: wte-fade-in-up 0.6s ease forwards;
}

/* Stagger animasyonu */
.wte-result-card:nth-child(1) {
    transition-delay: 0.1s;
}

.wte-result-card:nth-child(2) {
    transition-delay: 0.25s;
}

.wte-result-card:nth-child(3) {
    transition-delay: 0.4s;
}

/* Mobil kart oranı */
@media (min-width: 769px) and (max-width: 1024px) {
    .wte-results__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .wte-extras__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}