/* ═══════════════════════════════════════════════════════
   BLOG & CONTACT STYLES — SameGhost
   Тёмный минимал — Onest/Geist — #bb86fc accent
   ═══════════════════════════════════════════════════════ */

/* Hero Small */
.hero--small {
    padding: var(--space-2xl) 0;
}

.hero--404 {
    padding: var(--space-3xl) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero__title--huge {
    font-size: clamp(5rem, 15vw, 12rem);
    color: var(--phantom-accent);
    line-height: 1;
    margin-bottom: var(--space-md);
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--slate-line);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.is-active {
    background: var(--phantom-accent);
    color: #121212;
    border-color: var(--phantom-accent);
}

@media (max-width: 576px) {
    .filters {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-btn {
        text-align: center;
    }
}

/* Search */
.search-box {
    max-width: 400px;
    margin: 0 auto var(--space-xl);
}

.search-input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--slate-line);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
}

.search-input:focus {
    outline: none;
    border-color: var(--phantom-accent);
    box-shadow: 0 0 0 3px var(--phantom-accent-dim);
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Article Card Meta */
.article-card__meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Info */
.contact-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--slate-line);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.contact-item a {
    color: var(--phantom-accent);
}

.contact-item a:hover {
    color: #c99fff;
}

/* Contact Form */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-body);
    border: 1px solid var(--slate-line);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--phantom-accent);
    box-shadow: 0 0 0 3px var(--phantom-accent-dim);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a0a0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.btn--full {
    width: 100%;
}

/* Content Card */
.content-card {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-line);
}

.content-card h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.content-card p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-card a {
    color: var(--phantom-accent);
    text-decoration: underline;
}

.content-card a:hover {
    color: #c99fff;
}

.container--narrow {
    max-width: 800px;
}

/* Content Lists */
.content-list,
.warning-list,
.tips-list {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.content-list li,
.warning-list li,
.tips-list li {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.content-list {
    list-style: disc;
}

.content-list li::marker {
    color: var(--phantom-accent);
}

.warning-list {
    list-style: none;
}

.warning-list li::before {
    content: '⚠️ ';
}

.tips-list {
    list-style: none;
}

.tips-list li::before {
    content: '✓ ';
    color: var(--phantom-accent);
    font-weight: 700;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-body);
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-line);
    transition: var(--transition-normal);
}

.value-card:hover {
    border-color: var(--phantom-accent-glow);
}

.value-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
}

.value-card p {
    font-size: 0.9375rem;
}

/* Help Resources */
.help-resources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

@media (max-width: 768px) {
    .help-resources {
        grid-template-columns: 1fr;
    }
}

.help-resource {
    display: block;
    padding: var(--space-lg);
    background: var(--bg-body);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-fast);
    border: 1px solid var(--slate-line);
    text-decoration: none;
}

.help-resource:hover {
    background: var(--phantom-accent);
    color: #121212;
    border-color: var(--phantom-accent);
}

.help-resource strong {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.help-resource:hover strong {
    color: #121212;
}

.help-resource span {
    font-size: 0.875rem;
    opacity: 0.8;
    color: var(--text-secondary);
}

.help-resource:hover span {
    color: #121212;
    opacity: 1;
}

/* Age Restriction */
.age-restriction {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: rgba(207, 102, 121, 0.1);
    border-left: 4px solid var(--ember-warn);
    border-radius: var(--radius-sm);
}

.age-restriction h2 {
    margin-top: 0;
    color: var(--ember-warn);
}

/* Legal Content */
.legal-content h2 {
    font-size: 1.25rem;
}

.legal-content h3 {
    font-size: 1rem;
    margin-top: var(--space-lg);
}

.legal-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

/* Offer Card Rank */
.offer-card__rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--phantom-accent);
    min-width: 50px;
    text-align: center;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}