/* GA Online Casino — shared site CSS (used by /about/, /contact/, /privacy/, /terms/, /responsible-gambling/, /methodology/, /author/*). The homepage uses its own inline CSS. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0f1923;
    color: #c9d1d9;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #e8825c; text-decoration: none; transition: color 0.2s; }
a:hover { color: #f09570; }
h1, h2, h3, h4 {
    font-family: 'DM Sans', 'Inter', sans-serif;
    color: #e6edf3;
    font-weight: 700;
    line-height: 1.3;
}
h1 { font-size: 2.1rem; margin-bottom: 12px; }
h2 { font-size: 1.55rem; margin: 28px 0 12px; color: #ffffff; }
h3 { font-size: 1.1rem; margin: 22px 0 8px; color: #e6edf3; }
p { margin-bottom: 14px; }
ul, ol { padding-left: 22px; margin: 8px 0 18px; }
li { margin-bottom: 8px; }
li strong { color: #e6edf3; }
strong { color: #e6edf3; }
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* =============== HEADER =============== */
.site-header {
    background: #0f1923;
    border-bottom: 1px solid #21333f;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-logo {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}
.site-logo span { color: #e8825c; }
.header-nav { display: flex; gap: 18px; align-items: center; }
.header-nav a {
    color: #8b949e;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}
.header-nav a:hover, .header-nav a.active { color: #ffffff; }
.header-nav .badge-18 {
    background: #c0392b;
    color: #ffffff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* =============== HERO =============== */
.page-hero {
    background: linear-gradient(180deg, #0f1923 0%, #111d29 100%);
    padding: 56px 0 32px;
    border-bottom: 1px solid #21333f;
}
.page-hero .breadcrumbs {
    font-size: 0.78rem;
    color: #8b949e;
    margin-bottom: 14px;
}
.page-hero .breadcrumbs a { color: #8b949e; }
.page-hero .breadcrumbs a:hover { color: #e8825c; }
.page-hero p.lede {
    color: #c9d1d9;
    font-size: 1rem;
    margin-top: 14px;
    max-width: 720px;
}
.page-hero .meta {
    font-size: 0.82rem;
    color: #8b949e;
    margin-top: 10px;
}

/* =============== CONTENT =============== */
.section { padding: 40px 0; }
.section-alt { background: #111d29; }
.content {
    max-width: 720px;
    margin: 0 auto;
}
.content p { color: #c9d1d9; line-height: 1.75; }
.content li { color: #c9d1d9; line-height: 1.65; }

/* =============== CARDS =============== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 22px 0;
}
.card {
    background: #162231;
    border: 1px solid #253545;
    border-radius: 10px;
    padding: 20px;
}
.card h3 { font-size: 1rem; margin-top: 0; margin-bottom: 8px; color: #ffffff; }
.card p { font-size: 0.88rem; color: #c9d1d9; margin-bottom: 0; }
.card .card-accent { color: #e8825c; font-weight: 600; }

.callout {
    background: #162231;
    border-left: 3px solid #e8825c;
    border-radius: 6px;
    padding: 16px 18px;
    margin: 22px 0;
}
.callout h3 { margin-top: 0; font-size: 0.98rem; color: #ffffff; }
.callout p { margin-bottom: 0; font-size: 0.9rem; }

.callout.warn { border-left-color: #c0392b; }
.callout.good { border-left-color: #3db8a0; }

/* =============== TABLE =============== */
.simple-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin: 18px 0;
}
.simple-table th {
    background: #111d29;
    color: #8b949e;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #21333f;
    font-weight: 600;
}
.simple-table td {
    padding: 14px;
    border-bottom: 1px solid #21333f;
    color: #c9d1d9;
}
.simple-table tr:hover td { background: rgba(232, 130, 92, 0.04); }

/* =============== AUTHOR BIO =============== */
.author-hero {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 28px;
    align-items: center;
    margin: 8px 0 22px;
}
.author-hero img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e8825c;
}
.author-hero h1 { margin-top: 0; margin-bottom: 6px; }
.author-hero .author-title {
    color: #e8825c;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
}
.author-hero .author-meta {
    font-size: 0.82rem;
    color: #8b949e;
    line-height: 1.6;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 18px 0 24px;
}
.expertise-tag {
    background: #162231;
    border: 1px solid #253545;
    border-radius: 6px;
    padding: 12px 14px;
    text-align: center;
    font-size: 0.85rem;
    color: #e6edf3;
}
.expertise-tag .expertise-tag-label {
    font-size: 0.7rem;
    color: #8b949e;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

/* =============== FOOTER =============== */
.site-footer {
    background: #0f1923;
    border-top: 1px solid #21333f;
    padding: 40px 0 24px;
    margin-top: 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
.footer-brand p {
    font-size: 0.82rem;
    color: #8b949e;
    line-height: 1.6;
    margin-top: 10px;
}
.footer-col h4 {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #8b949e;
    margin-bottom: 12px;
}
.footer-col a {
    display: block;
    font-size: 0.84rem;
    color: #c9d1d9;
    margin-bottom: 8px;
}
.footer-col a:hover { color: #e8825c; }
.footer-bottom {
    border-top: 1px solid #21333f;
    padding-top: 20px;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.75rem;
    color: #8b949e;
    line-height: 1.6;
}
.footer-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}
.footer-badge {
    background: #21333f;
    color: #8b949e;
    font-size: 0.68rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 768px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1rem; }
    .page-hero { padding: 40px 0 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .author-hero { grid-template-columns: 1fr; text-align: center; }
    .author-hero img { margin: 0 auto; width: 130px; height: 130px; }
    .header-nav { gap: 12px; }
    .header-nav a { font-size: 0.78rem; }
    .simple-table { font-size: 0.78rem; }
    .simple-table th, .simple-table td { padding: 10px 8px; }
}
@media (max-width: 480px) {
    .header-nav { gap: 10px; }
    .header-nav a { font-size: 0.72rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* =============== NAV DROPDOWN =============== */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle { color: #ffffff; }
.nav-dropdown-toggle .caret { font-size: 0.7rem; transition: transform 0.15s; }
.nav-dropdown.open .nav-dropdown-toggle .caret,
.nav-dropdown:hover .nav-dropdown-toggle .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: #162231;
    border: 1px solid #21333f;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: 110;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-menu a {
    display: block;
    padding: 9px 16px;
    color: #c9d1d9;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: #21333f; color: #ffffff; }
.nav-dropdown-divider {
    height: 1px;
    background: #21333f;
    margin: 6px 0;
}

@media (max-width: 768px) {
    .nav-dropdown-toggle { font-size: 0.82rem; }
    .nav-dropdown-menu { min-width: 200px; }
    .nav-dropdown-menu a { padding: 11px 16px; font-size: 0.85rem; }
}
