/* Jina Roue de la Fortune — Styles */

.jrf-container {
    max-width: 480px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #2c2c2a;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
}

/* ── Header ── */
.jrf-header {
    background: #3d5c35;
    padding: 16px 24px;
    text-align: center;
}
.jrf-header-sub {
    color: #a8c49a;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-style: italic;
}
.jrf-header-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
}
.jrf-header-title span {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    opacity: 0.85;
}

/* ── Steps ── */
.jrf-step {
    padding: 28px 32px;
}
.jrf-step-active { display: block; }

/* ── Formulaire ── */
.jrf-form-title {
    font-size: 13px;
    color: #4a6741;
    margin: 0 0 20px;
    font-weight: 400;
    line-height: 1.5;
}
.jrf-fields { display: flex; flex-direction: column; gap: 14px; }
.jrf-field-row { display: flex; gap: 12px; }
.jrf-field-row .jrf-field { flex: 1; }

.jrf-field { display: flex; flex-direction: column; gap: 4px; }
.jrf-field label {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #4a6741;
    font-weight: 600;
    text-transform: uppercase;
}
.jrf-field input[type="text"],
.jrf-field input[type="email"],
.jrf-field input[type="tel"] {
    border: 1px solid #c8d9c4;
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 14px;
    color: #2c2c2a;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}
.jrf-field input:focus { border-color: #4a6741; }

.jrf-required { color: #d85a30; }
.jrf-required-note { font-size: 11px; color: #888; margin: 0; }

.jrf-checkbox-field { flex-direction: row; align-items: flex-start; }
.jrf-checkbox-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 12px; color: #555; line-height: 1.5; }
.jrf-checkbox-label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: #4a6741; }
.jrf-link { color: #4a6741; }

.jrf-error {
    background: #fff0ee;
    border: 1px solid #f5c4b3;
    color: #993c1d;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 13px;
    margin: 10px 0 0;
}

/* ── Boutons ── */
.jrf-btn-play,
.jrf-btn-spin {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 14px 24px;
    background: #3d5c35;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
}
.jrf-btn-play:hover,
.jrf-btn-spin:hover { background: #4a6741; }
.jrf-btn-play:active,
.jrf-btn-spin:active { transform: scale(0.98); }
.jrf-btn-play:disabled,
.jrf-btn-spin:disabled { background: #9ab89a; cursor: not-allowed; }

.jrf-btn-shop {
    display: inline-block;
    padding: 12px 28px;
    background: #3d5c35;
    color: #fff;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    transition: background 0.2s;
}
.jrf-btn-shop:hover { background: #4a6741; color: #fff; }

/* ── Roue ── */
.jrf-wheel-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.jrf-wheel-arrow {
    font-size: 28px;
    color: #fff;
    position: absolute;
    top: -6px;
    z-index: 10;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
#jrf-wheel-canvas {
    border-radius: 50%;
    box-shadow: 0 6px 32px rgba(0,0,0,0.20);
    cursor: pointer;
}

.jrf-promo-note {
    font-size: 11px;
    color: #888;
    text-align: center;
    margin: 12px 0 0;
    font-style: italic;
}

/* ── Résultats ── */
.jrf-result-header {
    font-size: 32px;
    font-weight: 700;
    color: #3d5c35;
    text-align: center;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.jrf-result-lose { color: #757575; }
.jrf-result-subtitle {
    text-align: center;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}
.jrf-lot-badge {
    background: #3d5c35;
    color: #fff;
    text-align: center;
    padding: 18px 28px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 auto 20px;
}
.jrf-result-note {
    text-align: center;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 20px;
}
.jrf-lose-cta { text-align: center; margin-bottom: 20px; }

.jrf-social { text-align: center; margin-top: 8px; }
.jrf-instagram {
    color: #4a6741;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 1px;
}

/* ── Footer ── */
.jrf-footer {
    background: #3d5c35;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.jrf-footer-link {
    color: #a8c49a;
    font-size: 11px;
    text-decoration: none;
}
.jrf-footer-link:hover { color: #fff; }
.jrf-footer-social { color: #a8c49a; font-size: 11px; }

/* ── Responsive ── */
@media (max-width: 520px) {
    .jrf-step { padding: 20px 18px; }
    .jrf-field-row { flex-direction: column; }
    #jrf-wheel-canvas { width: 300px; height: 300px; }
    .jrf-lot-badge { font-size: 16px; }
}

/* ── Message hors période ── */
.jrf-message {
    max-width: 480px;
    margin: 20px auto;
    padding: 20px 28px;
    background: #f0f5ee;
    border: 1px solid #c8d9c4;
    border-radius: 8px;
    color: #3d5c35;
    text-align: center;
    font-size: 15px;
}
