:root {
    --bg-dark: #0f0f0f;
    --card-dark: #1a1a1a;
    --accent: #d37c1d;
    --accent-glow: rgba(211, 124, 29, 0.3);
    --text-light: #f0f0f0;
    --text-dim: #999;
    --radius: 24px;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container { 
    width: 95%; 
    max-width: 440px; /* العودة للحجم الأصلي */
    position: relative;
}

.glass-card {
    background: var(--card-dark);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.03);
    text-align: center;
}

/* تعديل أزرار الكرك والشاي لتكون مستطيلة */
.horizontal-grid { 
    display: flex; 
    flex-direction: column; /* جعلها تحت بعض لتكون مستطيلات عريضة */
    gap: 15px; 
    margin-bottom: 15px; 
}

.big-btn {
    width: 100%;
    background: #222; 
    border: 1px solid #333; 
    border-radius: 18px;
    padding: 20px 30px; 
    cursor: pointer; 
    transition: all 0.3s ease;
    display: flex; 
    flex-direction: row; /* أيقونة بجانب النص */
    align-items: center;
    justify-content: space-between; /* توزيع المحتوى */
    color: var(--text-light);
}

.big-btn:hover {
    border-color: var(--accent);
    background: #2a2a2a;
}

.btn-icon { font-size: 1.8rem; }
.btn-text { font-size: 1.2rem; font-weight: 900; }

/* باقي العناصر (الشبكة الأفقية للمراحل التالية) */
.phase[id="phase2"] .horizontal-grid, 
.phase[id="phase3"] .horizontal-grid {
    flex-direction: row;
}

.three-cols > * { flex: 1; }

.option-chip, .spice-chip {
    background: #222; border: 1px solid #333; border-radius: 16px;
    padding: 12px; cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center; color: var(--text-light);
}

.selected, .spice-chip.selected {
    background: var(--accent) !important; color: white !important;
    border-color: var(--accent) !important;
}

.label-title { display: block; margin: 15px 0 8px; font-weight: 700; color: var(--accent); font-size: 0.9rem; }
#sizeValue { color: #fff; background: #333; padding: 2px 8px; border-radius: 6px; }

input[type=range] { width: 100%; -webkit-appearance: none; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { background: #333; height: 6px; border-radius: 3px; }
input[type=range]::-webkit-slider-thumb { 
    -webkit-appearance: none; height: 20px; width: 20px; background: var(--accent); 
    border-radius: 50%; margin-top: -7px; 
}

.action-btn {
    width: 100%; padding: 18px; background: var(--accent); color: white; border: none;
    border-radius: 16px; font-weight: 900; font-size: 1.1rem; margin-top: 25px; cursor: pointer;
}

.action-btn.secondary { background: transparent; border: 1px solid #444; color: var(--text-dim); }

.phase { display: none; }
.phase.active { display: block; animation: slideUp 0.4s ease-out; }
@keyframes slideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.step-card { 
    background: #222; padding: 15px; border-radius: 14px; margin-bottom: 12px; 
    display: flex; gap: 12px; align-items: center; border-right: 4px solid var(--accent);
    text-align: right;
}