/**
 * Hiro Imageboard — Content Quality & Trust Styles
 * Version: 1.0.0
 *
 * Styles for the homepage introduction, editorial about page,
 * improved footer, and enhanced readability across informational pages.
 * Preserves the existing minimal aesthetic.
 */

/* ============================================
   HOMEPAGE INTRODUCTION
   ============================================ */

.hero-intro {
    max-width: 960px;
    margin: 10px auto 20px auto;
    padding: 0 16px;
    text-align: center;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.hero-banner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 16px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner-link {
    display: inline-block;
    width: 100%;
    max-width: 880px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.hero-banner-link:hover {
    transform: scale(1.018);
}

.hero-banner-link:active {
    transform: scale(0.982);
}

.hero-banner-img {
    width: 100%;
    max-width: 880px;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero-intro h1 {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-intro .hero-subheading {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary, #3b82f6);
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

.hero-intro .hero-paragraphs {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.hero-intro .hero-paragraphs p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 0;
}


/* ============================================
   EDITORIAL ABOUT PAGE
   ============================================ */

.editorial-page {
    max-width: 860px;
    margin: var(--space-2xl) auto;
    padding: 0 var(--space-lg);
}

.editorial-hero {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.editorial-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.editorial-hero .lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.editorial-section {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.editorial-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary-light);
    line-height: 1.3;
}

.editorial-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    margin-top: var(--space-lg);
}

.editorial-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.editorial-section p:last-child {
    margin-bottom: 0;
}

.editorial-section ul {
    padding-left: 24px;
    margin-bottom: var(--space-md);
}

.editorial-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.editorial-section a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color var(--transition-base);
}

.editorial-section a:hover,
.editorial-section a:focus {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.editorial-meta {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
}

/* ============================================
   IMPROVED FOOTER
   ============================================ */

.site-footer {
    background-color: var(--color-surface);
    box-shadow: var(--shadow-sm);
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
    margin-top: var(--space-2xl);
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border-light);
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 320px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column ul li a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-base);
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
    color: var(--color-primary);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: var(--space-lg) auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copy {
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ============================================
   CONTACT PAGE IMPROVEMENTS
   ============================================ */

.contact-page {
    max-width: 860px;
    margin: var(--space-2xl) auto;
    padding: 0 var(--space-lg);
}

.contact-hero {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.contact-hero h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    letter-spacing: -0.5px;
}

.contact-hero .lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.contact-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary-light);
}

.contact-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.contact-section ul {
    padding-left: 24px;
    margin-bottom: var(--space-md);
}

.contact-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.contact-email {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--color-primary-light);
    border-radius: var(--radius-sm);
    margin: var(--space-sm) 0;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.contact-email:hover,
.contact-email:focus {
    background-color: var(--color-primary);
    color: #fff;
}

/* ============================================
   IMPROVED READABILITY FOR LEGAL PAGES
   ============================================ */

.legal-page {
    max-width: 800px;
    margin: var(--space-2xl) auto;
    padding: 0 var(--space-lg);
}

.legal-page .content-section {
    max-width: 100%;
    margin: 0;
    padding: var(--space-xl);
}

.legal-page .content-section h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.5px;
}

.legal-page .content-section .last-updated {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.legal-page .content-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary-light);
    line-height: 1.4;
}

.legal-page .content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.legal-page .content-section ul {
    padding-left: 24px;
    margin-bottom: var(--space-md);
}

.legal-page .content-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-intro h1 {
        font-size: 32px;
    }

    .hero-intro .hero-subheading {
        font-size: 17px;
    }

    .editorial-hero h1 {
        font-size: 34px;
    }

    .editorial-hero .lead {
        font-size: 17px;
    }

    .editorial-section {
        padding: var(--space-lg);
    }

    .editorial-section h2 {
        font-size: 22px;
    }

    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-hero .lead {
        font-size: 16px;
    }

    .contact-section {
        padding: var(--space-lg);
    }

    .legal-page .content-section h1 {
        font-size: 30px;
    }

    .legal-page .content-section h2 {
        font-size: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero-intro {
        padding: var(--space-lg);
    }

    .hero-intro h1 {
        font-size: 28px;
    }
}

/* ============================================
   DMCA & COPYRIGHT POLICY PAGE
   ============================================ */

.dmca-wrapper {
    max-width: 760px;
    margin: 50px auto 90px;
    padding: 0 20px;
}

.dmca-hero {
    text-align: center;
    margin-bottom: 40px;
}

.dmca-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.35);
    margin-bottom: 16px;
}

.dmca-hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-family-headings);
    margin-bottom: 12px;
}

.dmca-hero .lead {
    font-size: 17px;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}

.dmca-glow-card {
    background: #000000;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.2), inset 0 0 15px rgba(59, 130, 246, 0.05);
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.dmca-glow-card:hover {
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 45px rgba(59, 130, 246, 0.3), inset 0 0 20px rgba(59, 130, 246, 0.08);
}

.dmca-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dmca-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    flex-shrink: 0;
}

.dmca-card-header-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.dmca-card-header-text p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0;
}

.dmca-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 28px 0 14px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dmca-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #3b82f6;
    border-radius: 2px;
}

.dmca-text {
    font-size: 15px;
    line-height: 1.7;
    color: #d4d4d8;
    margin-bottom: 16px;
}

.dmca-rules-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dmca-rule-item {
    background: rgba(20, 20, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 3px solid #3b82f6;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 16px 20px;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.dmca-rule-item:hover {
    transform: translateX(4px);
    border-color: rgba(59, 130, 246, 0.3);
}

.dmca-rule-item strong {
    color: #ffffff;
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

.dmca-rule-item p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

.dmca-notice-box {
    background: rgba(59, 130, 246, 0.08);
    border: 1px dashed rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 32px;
}

.dmca-notice-box p {
    font-size: 14px;
    line-height: 1.65;
    color: #e4e4e7;
    margin: 0;
}

.dmca-notice-box strong {
    color: #3b82f6;
}

.dmca-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    text-align: center;
}

.dmca-appeal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6), 0 4px 16px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.dmca-appeal-btn:hover,
.dmca-appeal-btn:focus {
    background-color: #2563eb;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.85);
    transform: translateY(-2px) scale(1.03);
    color: #ffffff;
    outline: none;
}

.dmca-appeal-btn:active {
    transform: translateY(0) scale(0.98);
}

.dmca-secondary-link {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.dmca-secondary-link:hover {
    color: #3b82f6;
}

/* FLOATING DMCA APPEAL BUTTON */
.floating-dmca-appeal-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.5), 0 4px 20px rgba(0, 0, 0, 0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatGlowPulse 3.5s ease-in-out infinite;
}

.floating-dmca-appeal-btn:hover,
.floating-dmca-appeal-btn:focus {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.9), 0 6px 25px rgba(59, 130, 246, 0.4);
    transform: translateY(-4px) scale(1.05);
    outline: none;
}

.floating-dmca-appeal-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.floating-dmca-appeal-btn:hover svg {
    transform: rotate(-10deg) scale(1.1);
}

@keyframes floatGlowPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.5), 0 4px 20px rgba(0, 0, 0, 0.8);
    }
    50% {
        transform: translateY(-6px);
        box-shadow: 0 0 35px rgba(59, 130, 246, 0.75), 0 8px 25px rgba(0, 0, 0, 0.9);
    }
}

@media (max-width: 600px) {
    .dmca-wrapper {
        margin: 30px auto 70px;
    }

    .dmca-glow-card {
        padding: 28px 20px;
    }

    .dmca-hero h1 {
        font-size: 28px;
    }

    .dmca-hero .lead {
        font-size: 15px;
    }

    .dmca-appeal-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }

    .floating-dmca-appeal-btn {
        bottom: 18px;
        right: 18px;
        padding: 12px 18px;
        font-size: 13px;
    }
}
