/* ============================================
   AnimesHUB — Static Pages (Contact / ToS / DMCA)
   ============================================ */

.static-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* ── Page hero ── */
.static-hero {
    text-align: center;
    padding: 36px 0 32px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border);
}
.static-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.static-hero-icon svg { width: 26px; height: 26px; color: var(--accent); }
.static-hero h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.static-hero p {
    font-size: 14px;
    color: var(--muted-foreground);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}
.static-hero-meta {
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
}

/* ── Sections ── */
.static-section {
    margin-bottom: 32px;
}
.static-section h2 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.static-section h2 svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.static-section h2 .sec-num {
    width: 22px; height: 22px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.static-section p,
.static-section li {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.75;
}
.static-section ul,
.static-section ol {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.static-section a { color: var(--accent); text-decoration: none; }
.static-section a:hover { text-decoration: underline; }

/* ── Info cards ── */
.static-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}
.static-info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
}
.static-info-card svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 8px; }
.static-info-card h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.static-info-card p { font-size: 12.5px; color: var(--muted-foreground); line-height: 1.5; }
.static-info-card a { color: var(--accent); font-size: 12.5px; word-break: break-all; }

/* ── Contact form ── */
.static-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 28px;
}
.static-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.static-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}
.static-form-group.full { grid-column: span 2; }
.static-form-group label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.static-form-group .req { color: var(--accent); }
.static-input,
.static-select,
.static-textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13.5px;
    color: #fff;
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s;
    width: 100%;
}
.static-input,
.static-select { height: 42px; padding: 0 13px; }
.static-textarea { padding: 10px 13px; resize: vertical; min-height: 130px; line-height: 1.6; }
.static-input::placeholder,
.static-textarea::placeholder { color: var(--muted); }
.static-input:focus,
.static-select:focus,
.static-textarea:focus { border-color: rgba(219,123,59,0.5); }
.static-select { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
}
.static-select option { background: #1a1a1a; color: #fff; }
.static-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    flex-wrap: wrap;
}
.static-form-note { font-size: 12px; color: var(--muted); }
.static-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.static-btn:hover { background: var(--accent-hover); }
.static-btn svg { width: 16px; height: 16px; }
.static-btn:disabled { opacity: 0.5; cursor: default; }

/* Success / error banners */
.static-alert {
    padding: 13px 16px;
    border-radius: 9px;
    font-size: 13.5px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.static-alert svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.static-alert-success { background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.2); color: #4ade80; }
.static-alert-error   { background: rgba(239,68,68,0.08);  border: 1px solid rgba(239,68,68,0.2);  color: #f87171; }

/* ── DMCA box ── */
.static-highlight-box {
    background: rgba(219,123,59,0.06);
    border: 1px solid rgba(219,123,59,0.2);
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 28px;
}
.static-highlight-box p { font-size: 13.5px; color: var(--muted-foreground); line-height: 1.7; }
.static-highlight-box strong { color: var(--accent); }

.static-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.static-steps li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    counter-increment: step;
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.6;
}
.static-steps li::before {
    content: counter(step);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── ToS table of contents ── */
.static-toc {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 32px;
}
.static-toc h3 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.static-toc ol { padding-left: 16px; display: flex; flex-direction: column; gap: 6px; }
.static-toc li { font-size: 13.5px; }
.static-toc a { color: var(--muted-foreground); text-decoration: none; transition: color 0.15s; }
.static-toc a:hover { color: var(--accent); }

/* divider */
.static-divider {
    height: 1px;
    background: var(--border);
    margin: 30px 0;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .static-hero h1 { font-size: 22px; }
    .static-info-grid { grid-template-columns: 1fr; gap: 10px; }
    .static-form { padding: 18px; }
    .static-form-grid { grid-template-columns: 1fr; }
    .static-form-group.full { grid-column: span 1; }
    .static-page { padding: 24px 14px 60px; }
}
