/* Theme CSS for Buefem Casino */
/* Primary: crimson red | Accent: black */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap');

/* ========== CSS Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #222 !important;
    background-color: #fff !important;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans', sans-serif !important;
    font-weight: 700 !important;
    color: #111 !important;
    line-height: 1.3 !important;
}

h1 {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
}

h2 {
    font-size: 2rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 3px solid #DC143C !important;
}

h3 {
    font-size: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    color: #DC143C !important;
}

p {
    font-size: 18px !important;
    margin-bottom: 1rem !important;
}

/* ========== Navbar ========== */
.navbar {
    background-color: #111 !important;
    padding: 0.5rem 1rem !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.navbar-brand .navbar-item {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: #fff !important;
}

.navbar-brand .navbar-item:hover {
    background-color: transparent !important;
    color: #DC143C !important;
}

.navbar-brand img {
    max-height: 40px !important;
    margin-right: 0.5rem !important;
    box-shadow: none !important;
}

.navbar-menu {
    background-color: #111 !important;
}

.navbar-item {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    list-style: none !important;
}

.navbar-item::before,
.navbar-item::after {
    display: none !important;
    content: none !important;
}

.navbar-item:hover {
    background-color: #DC143C !important;
    color: #fff !important;
}

.navbar-burger {
    color: #fff !important;
}

.navbar-burger span {
    background-color: #fff !important;
}

.navbar .button.is-primary {
    background-color: #DC143C !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.navbar .button.is-primary:hover {
    background-color: #b01030 !important;
}

.navbar .button.is-outlined {
    background-color: transparent !important;
    border: 2px solid #DC143C !important;
    color: #DC143C !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.navbar .button.is-outlined:hover {
    background-color: #DC143C !important;
    color: #fff !important;
}

/* ========== Hero Section ========== */
.hero {
    background: linear-gradient(135deg, #111 0%, #2a2a2a 100%) !important;
    color: #fff !important;
    padding: 3rem 1.5rem !important;
}

.hero .title {
    color: #fff !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
}

.hero .subtitle {
    color: #ddd !important;
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    margin-bottom: 2rem !important;
}

.hero .button.is-primary {
    background-color: #DC143C !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    white-space: nowrap !important;
    border: none !important;
}

.hero .button.is-primary:hover {
    background-color: #b01030 !important;
}

.hero-image img {
    border-radius: 8px !important;
    max-width: 100% !important;
    height: auto !important;
}

/* ========== Table of Contents ========== */
.toc {
    background-color: #f8f8f8 !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    margin-bottom: 2rem !important;
    border-left: 4px solid #DC143C !important;
}

.toc ol {
    list-style: decimal !important;
    margin-left: 1.5rem !important;
    padding-left: 0 !important;
}

.toc ol li {
    padding: 0.4rem 0 !important;
    font-size: 1rem !important;
}

.toc ol li::marker {
    color: #DC143C !important;
    font-weight: 700 !important;
}

.toc a {
    color: #111 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.toc a:hover {
    color: #DC143C !important;
    text-decoration: underline !important;
}

/* ========== Sections ========== */
.section {
    padding: 3rem 1.5rem !important;
}

.section:nth-child(even) {
    background-color: #f9f9f9 !important;
}

/* ========== Cards ========== */
.card {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 1.5rem !important;
    overflow: hidden !important;
}

.card-content {
    padding: 1.5rem !important;
}

.card .title {
    color: #111 !important;
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem !important;
}

/* ========== Lists ========== */
.content ul,
.content ol {
    margin-left: 0 !important;
    padding-left: 1.5rem !important;
}

.content ul {
    list-style: none !important;
}

.content ul li {
    position: relative !important;
    padding-left: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 18px !important;
}

.content ul li::before {
    content: '+' !important;
    position: absolute !important;
    left: 0 !important;
    color: #111 !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
}

.content ul li::marker {
    display: none !important;
    content: none !important;
}

.content ol {
    list-style: decimal !important;
}

.content ol li {
    padding-left: 0.5rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 18px !important;
}

.content ol li::marker {
    color: #111 !important;
    font-weight: 700 !important;
}

/* Navbar and Footer lists - NO markers */
.navbar ul,
.navbar ol,
.footer ul,
.footer ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar li,
.footer li {
    list-style: none !important;
}

.navbar li::before,
.navbar li::after,
.footer li::before,
.footer li::after {
    display: none !important;
    content: none !important;
}

/* ========== Tables ========== */
.table-container {
    overflow-x: auto !important;
    margin: 1.5rem 0 !important;
    border-radius: 8px !important;
}

.table {
    width: 100% !important;
    border-collapse: collapse !important;
    min-width: 600px !important;
}

.table thead {
    background-color: #111 !important;
}

.table thead th {
    color: #fff !important;
    font-weight: 600 !important;
    padding: 1rem !important;
    text-align: left !important;
    font-size: 1rem !important;
}

.table tbody tr {
    border-bottom: 1px solid #eee !important;
}

.table tbody tr:nth-child(even) {
    background-color: #f8f8f8 !important;
}

.table tbody td {
    padding: 1rem !important;
    font-size: 1rem !important;
}

/* ========== Images ========== */
.content img {
    border-radius: 8px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 1.5rem 0 !important;
}

figure img {
    border-radius: 8px !important;
}

/* ========== Buttons ========== */
.button.is-primary {
    background-color: #DC143C !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.button.is-primary:hover {
    background-color: #b01030 !important;
}

.button.is-dark {
    background-color: #111 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.button.is-dark:hover {
    background-color: #333 !important;
}

/* ========== Footer ========== */
.footer {
    background-color: #111 !important;
    color: #ccc !important;
    padding: 3rem 1.5rem 2rem !important;
}

.footer .title {
    color: #fff !important;
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
}

.footer a {
    color: #ccc !important;
    text-decoration: none !important;
}

.footer a:hover {
    color: #DC143C !important;
}

.footer p {
    color: #999 !important;
    font-size: 0.95rem !important;
}

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

.footer li {
    list-style: none !important;
    margin-bottom: 0.5rem !important;
}

.footer li::before,
.footer li::after {
    display: none !important;
    content: none !important;
}

.footer-bottom {
    border-top: 1px solid #333 !important;
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    text-align: center !important;
}

/* ========== Icons ========== */
.material-icons {
    vertical-align: middle !important;
    color: #DC143C !important;
    font-size: 1.5rem !important;
    margin-right: 0.5rem !important;
}

.icon-black .material-icons {
    color: #111 !important;
}

/* ========== Responsive ========== */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    .hero .title {
        font-size: 2rem !important;
    }

    .hero .subtitle {
        font-size: 1rem !important;
    }

    .section {
        padding: 2rem 1rem !important;
    }

    .columns {
        flex-direction: column !important;
    }

    .column {
        width: 100% !important;
    }

    .navbar-menu {
        padding: 1rem !important;
    }

    .navbar-item {
        padding: 0.75rem 1rem !important;
    }
}
