/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Scroll offset for fixed navbar */
section {
    scroll-margin-top: 90px;
}

body {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #f8f9fa;
    padding-top: 80px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 1.5rem !important;
    color: midnightblue !important;
}

h1 {
    font-size: 3rem !important;
    margin-top: 0 !important;
}

h2 {
    font-size: 2.25rem !important;
    margin-top: 3rem !important;
}

h3 {
    font-size: 1.75rem !important;
    margin-top: 2rem !important;
}

p {
    margin-bottom: 1.5rem;
    font-size: 18px;
    line-height: 1.8;
}

strong {
    color: midnightblue;
    font-weight: 600;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: linear-gradient(135deg, midnightblue 0%, #1e3a6e 100%) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem 0 !important;
}

.navbar-brand {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.navbar-item {
    color: white !important;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    list-style: none !important;
}

.navbar-item:hover {
    background-color: rgba(0, 255, 255, 0.1) !important;
    color: cyan !important;
}

.navbar-burger {
    color: white !important;
}

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

.navbar-menu .navbar-item {
    list-style: none !important;
}

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

.brand-logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.cta-button {
    background: linear-gradient(135deg, cyan 0%, #00b8d4 100%) !important;
    color: midnightblue !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.75rem 1.75rem !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    text-align: center !important;
    display: inline-block !important;
}

.cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4) !important;
    color: midnightblue !important;
}

.navbar-end .cta-button {
    margin-left: 0.5rem;
}

.navbar-end .cta-button:first-child {
    margin-left: 0;
}

.navbar-end .navbar-item {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative !important;
    background-image: url('die-besten-live-wetten-strategien_12952186880.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
    padding: 4rem 1.5rem !important;
}

.hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(25, 25, 112, 0.92) 0%, rgba(0, 139, 139, 0.88) 100%) !important;
}

.hero-body {
    position: relative !important;
    z-index: 2 !important;
}

.hero h1 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 1.5rem !important;
}

.hero-subtitle {
    font-size: 1.25rem !important;
    color: white !important;
    line-height: 1.8 !important;
    margin-bottom: 2rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    max-width: 800px !important;
}

.hero .cta-button {
    font-size: 1.125rem !important;
    padding: 1rem 2.5rem !important;
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.toc {
    background-color: white;
    border-left: 4px solid cyan;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding-left: 0;
}

.toc ol li {
    counter-increment: toc-counter;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
}

.toc ol li::before {
    content: counter(toc-counter) ".";
    position: absolute;
    left: 0;
    color: midnightblue;
    font-weight: 600;
}

.toc a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 17px;
}

.toc a:hover {
    color: cyan;
}

/* ============================================
   SECTIONS & CARDS
   ============================================ */
.content-section {
    background-color: white;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-content {
    max-width: 900px;
}

/* ============================================
   LISTS
   ============================================ */
.content-section ul,
.content-section ol {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.content-section ul li,
.content-section ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 18px;
}

.content-section ul li::before {
    content: '●';
    position: absolute;
    left: 0.5rem;
    color: midnightblue;
    font-size: 1.2rem;
}

.content-section ol {
    counter-reset: list-counter;
}

.content-section ol li {
    counter-increment: list-counter;
}

.content-section ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0.25rem;
    color: midnightblue;
    font-weight: 600;
}

/* ============================================
   IMAGES
   ============================================ */
.content-section img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    height: auto;
}

.content-section picture {
    display: block;
    margin: 2rem 0;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid cyan;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card h3 {
    margin-top: 0 !important;
}

/* ============================================
   TABLES
   ============================================ */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.table {
    background-color: white;
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background-color: midnightblue;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.table tr:hover {
    background-color: rgba(0, 255, 255, 0.05);
}

/* ============================================
   ICONS
   ============================================ */
.icon {
    color: cyan;
    margin-right: 0.5rem;
}

.icon.is-medium {
    font-size: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, midnightblue 0%, #1e3a6e 100%);
    color: white;
    padding: 3rem 1.5rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-column h4 {
    color: cyan !important;
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
}

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

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

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

.footer-column a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-column a:hover {
    color: cyan;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

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

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

@media screen and (max-width: 768px) {
    body {
        font-size: 17px;
    }

    h1 {
        font-size: 2rem !important;
    }

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

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

    .hero {
        min-height: 400px !important;
        padding: 3rem 1rem !important;
    }

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

    .content-section {
        padding: 2rem 1.5rem;
    }

    .navbar-menu {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .navbar-end .cta-button {
        margin-left: 0;
        margin-top: 0.5rem;
        display: block;
        width: calc(100% - 2rem);
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 1.75rem !important;
    }

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

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

    .content-section {
        padding: 1.5rem 1rem;
    }

    .hero {
        min-height: 350px !important;
        padding: 2rem 1rem !important;
    }

    .cta-button {
        padding: 0.625rem 1.5rem !important;
        font-size: 15px !important;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.has-text-centered {
    text-align: center !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

.py-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
