/* How It Works page - unique element styles only.
   All structural/theme styles come from news.css (loaded above). */

/* ---------- Make Section Labels Visible ---------- */
.section-label span {
    background: rgba(13, 17, 23, 0.95) !important;
    box-shadow: 2px 2px 0 #3d2e0a, 0 0 15px rgba(0,0,0,0.9) !important;
}

/* ---------- Hide Scrollbar ---------- */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* ---------- Modal Override (allow modals to show on this page) ---------- */
body.news-page .modal.show {
    display: flex !important;
}

/* ---------- Step Cards Grid ---------- */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.how-it-works-step {
    display: flex;
    flex-direction: column;
    background: #13171e;
    border: 3px solid #252d3a;
    box-shadow: 0 4px 0 #080c12, 2px 2px 0 #080c12;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.how-it-works-step:hover {
    transform: translateY(-4px);
    border-color: #d4a847;
    box-shadow: 0 8px 0 #080c12, 2px 2px 0 #080c12, 0 16px 40px rgba(0,0,0,0.5);
}

.step-card-top {
    background: linear-gradient(135deg, #1a1508 0%, #2a1e08 100%);
    border-bottom: 2px solid #8a6820;
    padding: 20px 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-tag {
    font-family: "Press Start 2P", monospace;
    font-size: 0.6rem;
    color: #d4a847;
    letter-spacing: 0.08em;
    text-shadow: 1px 1px 0 #3d2e0a;
}

.step-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.how-it-works-step h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #e8f0fc;
    margin: 0;
    line-height: 1.3;
}

.how-it-works-step p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: #7a8fa8;
    margin: 0;
}

.how-it-works-step strong {
    color: #c9d4e3;
    font-weight: 700;
}

.how-it-works-step code {
    background: rgba(212, 168, 71, 0.15);
    color: #d4a847;
    padding: 2px 6px;
    font-family: monospace;
    font-size: 0.85rem;
    border: 1px solid rgba(212, 168, 71, 0.3);
}

.server-addr {
    background: rgba(212, 168, 71, 0.12);
    color: #c9d4e3;
    padding: 3px 8px;
    font-family: monospace;
    font-size: 0.88rem;
    border: 1px solid rgba(212, 168, 71, 0.25);
    border-radius: 3px;
    display: inline-block;
}

.step-command {
    margin-top: 8px !important;
}

.step-command code {
    background: rgba(212, 168, 71, 0.12);
    color: #c9d4e3;
    padding: 6px 12px;
    font-family: monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 168, 71, 0.25);
    border-radius: 3px;
    display: inline-block;
}

.step-hint {
    font-size: 0.75rem !important;
    color: #5a6f8f !important;
    margin-top: 6px !important;
    font-style: italic;
}

.how-it-works-step code {
    background: rgba(212, 168, 71, 0.15);
    color: #d4a847;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: "Press Start 2P", monospace;
    font-size: 0.7rem;
    border: 1px solid rgba(212, 168, 71, 0.3);
}

/* ---------- Offerings Section ---------- */
.how-it-works-offerings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.offering-card {
    background: #13171e;
    border: 3px solid #252d3a;
    box-shadow: 0 4px 0 #080c12, 2px 2px 0 #080c12;
    padding: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.offering-card:hover {
    transform: translateY(-4px);
    border-color: #d4a847;
    box-shadow: 0 8px 0 #080c12, 2px 2px 0 #080c12, 0 16px 40px rgba(0,0,0,0.5);
}

.offering-yes {
    background: #13171e;
    border-left-color: #6fb93d;
}

.offering-no {
    background: #13171e;
    border-left-color: #c8975a;
}

.offering-label {
    font-family: "Press Start 2P", monospace;
    font-size: 0.6rem;
    color: #d4a847;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 1px 1px 0 #3d2e0a;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1a1508 0%, #2a1e08 100%);
    border-bottom: 2px solid #8a6820;
    margin: 0;
    display: block;
}

.offering-yes .offering-label {
    background: linear-gradient(135deg, #0d3d0a 0%, #1a5517 100%);
    border-bottom-color: #5aac34;
    color: #6fb93d;
    text-shadow: 1px 1px 0 #0a2a07;
}

.offering-no .offering-label {
    background: linear-gradient(135deg, #3d2208 0%, #552e08 100%);
    border-bottom-color: #8a6820;
    color: #c8975a;
}

.offering-list {
    list-style: none;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offering-list li {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #c9d4e3;
    margin: 0;
}

.offering-list strong {
    color: #e8f0fc;
    font-weight: 700;
}

.offering-yes .offering-list li::before {
    content: "✓ ";
    color: #6fb93d;
    margin-right: 8px;
    font-weight: bold;
}

.offering-no .offering-list li::before {
    content: "○ ";
    color: #c8975a;
    margin-right: 8px;
}

/* ---------- Why Choose Section ---------- */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-choose-card {
    background: #13171e;
    border: 3px solid #252d3a;
    box-shadow: 0 4px 0 #080c12, 2px 2px 0 #080c12;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.why-choose-card:hover {
    transform: translateY(-4px);
    border-color: #d4a847;
    box-shadow: 0 8px 0 #080c12, 2px 2px 0 #080c12, 0 16px 40px rgba(0,0,0,0.5);
}

.why-choose-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #e8f0fc;
    margin: 0;
    line-height: 1.3;
}

.why-choose-card p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #7a8fa8;
    margin: 0;
}

/* ---------- FAQ Section ---------- */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #13171e;
    border: 3px solid #252d3a;
    box-shadow: 0 4px 0 #080c12, 2px 2px 0 #080c12;
    padding: 20px;
    border-left: 4px solid #d4a847;
}

.faq-question {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e8f0fc;
    margin: 0 0 10px 0;
    font-family: "Montserrat", sans-serif;
}

.faq-answer {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #7a8fa8;
    margin: 0;
}
@media (max-width: 700px) {
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
    .how-it-works-offerings {
        grid-template-columns: 1fr;
    }
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}