/* Pirate Treasure — Counterfeit Coin Awareness */

:root {
    --dark: #1a1a2e;
    --dark-mid: #16213e;
    --gold: #c9a84c;
    --gold-dark: #a68635;
    --gold-light: #e4c76b;
    --red: #c0392b;
    --offwhite: #f8f7f4;
    --warmgray: #e8e4de;
    --text: #2c2c2c;
    --text-light: #6b6b6b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Crimson Pro', Georgia, serif;
    color: var(--text);
    background: var(--offwhite);
    line-height: 1.75;
    font-size: 1.05rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
    background: var(--dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-brand {
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.site-brand:hover { color: var(--gold-light); }
.site-nav { display: flex; gap: 0; }
.site-nav a {
    color: rgba(255,255,255,0.75);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.1rem 1rem;
    transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.mobile-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; padding: 1rem; }

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .site-nav { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: var(--dark); }
    .site-nav.open { display: flex; }
    .site-header .container { flex-wrap: wrap; }
}

/* Hero */
.hero {
    background: var(--dark);
    color: #fff;
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.95), rgba(22,33,62,0.85));
}
.hero-content { position: relative; max-width: 700px; margin: 0 auto; }
.hero h1 {
    color: var(--gold);
    font-size: 2.6rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}
.hero p { font-size: 1.15rem; opacity: 0.85; margin-bottom: 1.5rem; line-height: 1.8; }
@media (min-width: 768px) {
    .hero { padding: 7rem 2rem; }
    .hero h1 { font-size: 3.2rem; }
}

/* Warning banner */
.warning-banner {
    background: var(--red);
    color: #fff;
    text-align: center;
    padding: 0.8rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Section */
.section { padding: 4rem 0; }
.section-alt { background: #fff; padding: 4rem 0; }
.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}
.section-divider {
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 0.5rem auto 2rem;
}

/* Article cards grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-body { padding: 1.25rem; }
.card-body .category {
    display: inline-block;
    padding: 0.15em 0.5em;
    background: var(--gold);
    color: var(--dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    margin-bottom: 0.5rem;
}
.card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.card-body h3 a { color: var(--dark); }
.card-body h3 a:hover { color: var(--gold-dark); }
.card-body p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Article content */
.article-header {
    padding: 3rem 0 1rem;
    max-width: 800px;
    margin: 0 auto;
}
.article-header .category {
    display: inline-block;
    padding: 0.2em 0.6em;
    background: var(--gold);
    color: var(--dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    margin-bottom: 0.75rem;
}
.article-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}
.article-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--text-light);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}
.article-content p { margin-bottom: 1.4rem; font-size: 1.08rem; }
.article-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--gold);
}
.article-content h3 {
    font-size: 1.2rem;
    margin: 2rem 0 0.75rem;
}
.article-content ul, .article-content ol {
    margin: 0 0 1.5rem 1.5rem;
}
.article-content li { margin-bottom: 0.4rem; }
.article-content img {
    width: 100%;
    border-radius: 4px;
    margin: 1.5rem 0;
}
.article-content .caption {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}
.article-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #fff;
    font-style: italic;
    color: var(--text-light);
}

/* Warning box inside articles */
.warning-box {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-left: 4px solid var(--red);
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}
.warning-box strong { color: var(--red); }

/* Info box */
.info-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-left: 4px solid var(--gold);
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

/* Specs table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}
.specs-table th {
    background: var(--dark);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.75rem 1rem;
    text-align: left;
}
.specs-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--warmgray);
}
.specs-table tr:nth-child(even) { background: #fff; }
.specs-table .pass { color: #16a34a; font-weight: 600; }
.specs-table .fail { color: var(--red); font-weight: 600; }

/* Related articles */
.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--warmgray);
}
.related-articles h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.related-articles ul { list-style: none; padding: 0; }
.related-articles li { padding: 0.4rem 0; }

/* Footer */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 3rem 0 1.5rem;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand {
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.75rem;
}
.footer-about p { line-height: 1.7; }
.footer-links h4 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.footer-links a {
    display: block;
    color: rgba(255,255,255,0.5);
    padding: 0.25rem 0;
    font-size: 0.88rem;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
}
