/**
 * Nexvia Digital Studio — İnteraktif Aşk Araçları Stilleri
 * Scratch Card Canvas, Moon Phase Engine & Sticky Board
 */

.blk-widgets-wrap {
    position: relative;
    width: 100%;
    margin: 40px 0;
    padding: 30px 20px;
    background: radial-gradient(circle at center, #151924 0%, #0d0f17 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    color: #f1f5f9;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* Başlık */
.widgets-header-box {
    text-align: center;
    margin-bottom: 30px;
}

.widgets-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.widgets-main-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
}

/* Izgara Konteyneri */
.widgets-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 840px) {
    .widgets-grid-container {
        grid-template-columns: 1fr;
    }
}

/* Widget Kartı Genel */
.widget-card {
    background: rgba(18, 21, 30, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.widget-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 6px;
}

.widget-card-header i {
    color: #d4af37;
}

.widget-hint {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

/* ==========================================================================
   1. KAZI-KAZAN KARTI
   ========================================================================== */
.scratch-card-container {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: 220px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.scratch-secret-content {
    position: absolute;
    inset: 0;
    background: #fdfbf7;
    color: #1e293b;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.secret-heart-icon {
    font-size: 1.6rem;
    color: #e11d48;
    margin-bottom: 6px;
}

.secret-heading {
    font-size: 1.15rem;
    font-weight: 800;
    color: #881337;
    margin-bottom: 6px;
}

.secret-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 12px;
}

.secret-reward-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #be123c;
}

.scratch-canvas {
    position: absolute;
    inset: 0;
    cursor: crosshair;
    touch-action: none;
    z-index: 2;
    transition: opacity 0.6s ease;
}

/* ==========================================================================
   2. AY EVRESİ (MOON PHASE)
   ========================================================================== */
.moon-display-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
    margin: auto 0;
}

@media (max-width: 480px) {
    .moon-display-box {
        flex-direction: column;
    }
}

.moon-celestial-canvas {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #020617;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 25px rgba(254, 240, 138, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.moon-sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fef08a 0%, #ca8a04 60%, #1e1b4b 100%);
    transition: all 0.5s ease;
}

.moon-info-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.moon-phase-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fef08a;
}

.moon-date-badge {
    font-size: 0.84rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.moon-illumination {
    font-size: 0.8rem;
    font-weight: 600;
    color: #d4af37;
}

/* ==========================================================================
   3. BİRLİKTE GEÇEN ZAMAN SAYACI
   ========================================================================== */
.time-elapsed-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: auto 0;
}

@media (max-width: 440px) {
    .time-elapsed-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.time-unit-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 12px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.time-val {
    font-family: 'Cinzel', serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #f8fafc;
}

.time-val.highlight {
    color: #d4af37;
}

.time-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 4px;
}

/* ==========================================================================
   4. POST-IT SEVGİ NOT PANOSU
   ========================================================================== */
.sticky-notes-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sticky-note-card {
    position: relative;
    padding: 14px 12px 16px 12px;
    border-radius: 6px;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sticky-note-card:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 5;
}

.sticky-note-card:nth-child(1) { transform: rotate(-2deg); }
.sticky-note-card:nth-child(2) { transform: rotate(1.5deg); }
.sticky-note-card:nth-child(3) { transform: rotate(2deg); }
.sticky-note-card:nth-child(4) { transform: rotate(-1.5deg); }

.note-pin {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    color: #dc2626;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
}

.note-title {
    font-size: 0.85rem;
    font-weight: 800;
    margin-top: 8px;
    margin-bottom: 4px;
}

.note-text {
    font-size: 0.76rem;
    line-height: 1.45;
    color: #334155;
    margin: 0;
}

/* Renkler */
.note-rose { background: #ffe4e6; }
.note-gold { background: #fef9c3; }
.note-emerald { background: #dcfce7; }
.note-sky { background: #e0f2fe; }
