/*
 * Stooge Central theme
 * CSS variables + global look and feel. Page/component specific rules live in main.css.
 */
:root {
    --sc-navy: #0f172a;
    --sc-navy-soft: #1e293b;
    --sc-gold: #f5b700;
    --sc-gold-dark: #d99e00;
    --sc-bg: #f4f5f7;
    --sc-surface: #ffffff;
    --sc-text: #1f2937;
    --sc-text-muted: #64748b;
    --sc-border: #e2e8f0;
    --sc-radius: 0.75rem;
    --sc-radius-sm: 0.4rem;
    --sc-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    --sc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --sc-font-logo: 'Michroma', sans-serif;
    --sc-font-logo-weight: 600;
}

* {
    box-sizing: border-box;
}

html {
    overscroll-behavior-y: none;
}

body {
    font-family: var(--sc-font);
    background-color: var(--sc-bg);
    color: var(--sc-text);
    margin: 0;
    overscroll-behavior-y: none;
}

a {
    color: var(--sc-navy);
}

a:hover {
    color: var(--sc-gold-dark);
}

.sc-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

/*== Navbar =============================================================*/
.sc-navbar {
    background: var(--sc-navy);
}

.sc-navbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sc-navbar .navbar-brand {
    font-family: var(--sc-font-logo);
    font-weight: var(--sc-font-logo-weight);
    letter-spacing: 0.03em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sc-navbar .navbar-brand img {
    height: 36px;
    width: auto;
}

.sc-navbar .nav-link {
    color: #e2e8f0;
    font-weight: 600;
}

.sc-navbar .nav-link:hover,
.sc-navbar .nav-link:focus {
    color: var(--sc-gold);
}

.sc-navbar .dropdown-menu {
    max-height: 60vh;
    overflow-y: auto;
}

/*== Hero ================================================================*/
.sc-hero {
    background: var(--sc-navy);
    color: #f8fafc;
    padding: 3.5rem 1rem;
    text-align: center;
}

.sc-hero h1 {
    font-family: var(--sc-font-logo);
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: var(--sc-font-logo-weight);
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    color: #fff;
}

.sc-hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 40rem;
    margin: 0 auto 1.75rem;
}

.sc-hero .btn-sc-gold {
    background-color: var(--sc-gold);
    border-color: var(--sc-gold);
    color: var(--sc-navy);
    font-weight: 700;
}

.sc-hero .btn-sc-gold:hover {
    background-color: var(--sc-gold-dark);
    border-color: var(--sc-gold-dark);
    color: var(--sc-navy);
}

.sc-hero .btn-outline-light:hover {
    color: var(--sc-navy);
}

/*== Cards / quick nav ===================================================*/
.sc-section {
    padding: 2.5rem 0;
}

.sc-section-title {
    font-weight: 800;
    color: var(--sc-navy);
    margin-bottom: 1.5rem;
}

.sc-card {
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    box-shadow: var(--sc-shadow);
    padding: 1.5rem;
    height: 100%;
    text-decoration: none;
    color: var(--sc-text);
    display: block;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
    color: var(--sc-text);
}

.sc-card .sc-card-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.sc-card-icon-img {
    height: 2rem;
    width: auto;
    max-width: 2rem;
    display: block;
}

.sc-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.sc-card p {
    color: var(--sc-text-muted);
    margin-bottom: 0;
    font-size: 0.92rem;
}

.sc-section-subtitle {
    color: var(--sc-text-muted);
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

.sc-history-line {
    color: var(--sc-text);
    font-size: 1rem;
}

.sc-history-meta {
    color: var(--sc-text-muted);
    font-size: 0.85rem;
}

/*== Champions table ======================================================*/
.sc-champs-table {
    width: 100%;
    background: var(--sc-surface);
    border-radius: var(--sc-radius);
    overflow: hidden;
    box-shadow: var(--sc-shadow);
    border-collapse: collapse;
}

.sc-champs-table th,
.sc-champs-table td {
    padding: 0.65rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--sc-border);
}

.sc-champs-table thead th {
    background: var(--sc-navy);
    color: #fff;
    font-weight: 700;
}

.sc-champs-table tbody tr:last-child td {
    border-bottom: none;
}

.sc-champs-table tbody tr:hover {
    background: var(--sc-bg);
}

.sc-medal {
    display: inline-block;
    width: 1.4rem;
}

/*== Footer ===============================================================*/
.sc-footer {
    background: var(--sc-navy);
    color: #cbd5e1;
    padding: 2rem 1rem;
    margin-top: 3rem;
    text-align: center;
}

.sc-footer a {
    color: var(--sc-gold);
    font-weight: 600;
}

.sc-footer a:hover {
    color: #fff;
}

.sc-footer .sc-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.sc-footer small {
    color: #94a3b8;
}

/*== Utility ==============================================================*/
.sc-table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    overscroll-behavior: none;
}
