
#spromo-quest-widget {
    font-family: "Inter", sans-serif;
    background: #15110d;
    color: #ece4d3;
    padding: 30px;
    border-radius: 4px;
    margin: 0 auto;
    max-width: 900px;
    border: 1px solid rgba(201, 162, 39, 0.16);
}
 
#spromo-quest-widget * { box-sizing: border-box; }
 
.sq-header {
    text-align: center;
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.16);
}
.sq-header h1 {
    font-family: "Cinzel", serif;
    font-size: 1.9em;
    font-weight: 600;
    color: #ece4d3;
    margin: 0 0 8px;
}
.sq-header p { color: #948c7a; font-size: 0.95em; margin: 0; }
 
.sq-step {
    background: #1b1611;
    border: 1px solid rgba(201, 162, 39, 0.16);
    border-radius: 4px;
    padding: 22px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
 
.sq-step::before {
    content: attr(data-step);
    position: absolute;
    top: -14px;
    right: 10px;
    font-family: "Cinzel", serif;
    font-size: 4.5em;
    font-weight: 700;
    color: rgba(201, 162, 39, 0.05);
    pointer-events: none;
}
 
.sq-step h2 {
    font-family: "Cinzel", serif;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 12px;
    color: #e0b84a;
    position: relative;
}
 
.sq-step p { line-height: 1.65; color: #ece4d3; margin: 0 0 16px; position: relative; }
.sq-step p:last-child { margin-bottom: 0; }
 
.sq-highlight { font-weight: 600; color: #e0b84a; }
 
.sq-image-container {
    text-align: center;
    background: #0b0908;
    padding: 12px;
    border-radius: 3px;
    border: 1px solid rgba(201, 162, 39, 0.16);
    margin: 14px 0;
    position: relative;
}
.sq-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    transition: transform 0.2s ease;
}
.sq-image-container img:hover { transform: scale(1.015); }
 
.sq-tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
    margin: 18px 0;
    position: relative;
}
.sq-task-item {
    background: #0b0908;
    border: 1px solid rgba(201, 162, 39, 0.2);
    color: #ece4d3;
    padding: 8px 10px;
    border-radius: 3px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85em;
}
 
.sq-reward {
    background: #0b0908;
    border: 1px solid rgba(201, 162, 39, 0.3);
    padding: 28px;
    border-radius: 4px;
    text-align: center;
    position: relative;
}
.sq-reward h3 { font-family: "Cinzel", serif; color: #e0b84a; font-size: 1.5em; font-weight: 600; margin: 0 0 12px; }
 
.sq-item-preview {
    width: 76px;
    height: 76px;
    margin: 18px auto;
    background: #1b1611;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px dashed rgba(201, 162, 39, 0.4);
    padding: 12px;
}
.sq-item-preview img { max-width: 100%; height: auto; }
 
.sq-reward-line { font-size: 1.1em; font-weight: 700; color: #e0b84a; margin: 0; }
 
.sq-footer { margin-top: 34px; text-align: right; }
 
.sq-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #ece4d3;
    padding: 11px 22px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 700;
    font-family: "Cinzel", serif;
    font-size: 0.85em;
    letter-spacing: 0.3px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.sq-btn-back:hover { background: #0b0908; border-color: #ab8226; transform: translateX(-3px); }
 
@media (max-width: 640px) {
    .sq-header h1 { font-size: 1.5em; }
    .sq-tasks-grid { grid-template-columns: 1fr 1fr; }
}
