/* Global CSS for Volokh Casino */
/* Bootstrap Framework Overrides - CRITICAL */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #333333 !important;
    background-color: #ffffff !important;
}

/* Bootstrap Navigation Fixes - SUPER IMPORTANT */
.navbar-nav {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    list-style: none !important;
    padding-left: 0 !important;
}

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

.nav-item {
    margin-bottom: 0 !important;
    list-style: none !important;
}

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

.nav-link::before,
.nav-link::after {
    display: none !important;
    content: none !important;
}

/* Navbar Styling */
.navbar {
    background-color: #000000 !important;
    padding: 15px 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.navbar-brand {
    display: flex !important;
    align-items: center !important;
}

.navbar-brand img {
    height: 40px !important;
    width: auto !important;
    box-shadow: none !important;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    padding: 8px 16px !important;
    transition: color 0.3s ease !important;
}

.nav-link:hover {
    color: #cccccc !important;
}

/* CTA Button in Navbar */
.btn-cta-nav {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.btn-cta-nav:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Hero Section */
.hero-section {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    padding: 120px 0 !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
}

.hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    z-index: 1 !important;
}

.hero-content {
    position: relative !important;
    z-index: 2 !important;
    color: #ffffff !important;
}

.hero-section h1 {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 25px !important;
    line-height: 1.2 !important;
}

.hero-section p {
    font-size: 1.2rem !important;
    color: #ffffff !important;
    margin-bottom: 30px !important;
    max-width: 700px !important;
}

/* Conversion Buttons */
.btn-conversion {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    padding: 14px 32px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.btn-conversion:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.btn-conversion-dark {
    background-color: transparent !important;
    border: 2px solid #000000 !important;
    color: #000000 !important;
    padding: 14px 32px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.btn-conversion-dark:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Table of Contents */
.toc-section {
    background-color: #f8f9fa !important;
    padding: 40px !important;
    border-radius: 8px !important;
    margin: 40px 0 !important;
}

.toc-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    columns: 2 !important;
    column-gap: 40px !important;
}

.toc-list li {
    padding: 10px 0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.toc-list li::before,
.toc-list li::after,
.toc-list li::marker {
    display: none !important;
    content: none !important;
}

.toc-list a {
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    transition: color 0.3s ease !important;
}

.toc-list a:hover {
    color: #555555 !important;
}

/* Section Styling */
.content-section {
    padding: 60px 0 !important;
}

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

h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 25px !important;
    margin-top: 0 !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #000000 !important;
    margin-bottom: 20px !important;
}

p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
    color: #333333 !important;
}

/* Content Lists with Diamond Markers */
.content-section ul,
.content-section ol {
    list-style: none !important;
    padding-left: 30px !important;
    margin-bottom: 25px !important;
}

.content-section ul li,
.content-section ol li {
    position: relative !important;
    padding-left: 25px !important;
    margin-bottom: 12px !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
}

.content-section ul li::before,
.content-section ol li::before {
    content: '\25C6' !important;
    position: absolute !important;
    left: 0 !important;
    color: #ffffff !important;
    background-color: #000000 !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 2px !important;
    top: 6px !important;
}

.content-section ul li::marker,
.content-section ol li::marker {
    display: none !important;
    content: none !important;
}

/* Tables */
.table-responsive {
    overflow-x: auto !important;
    margin: 25px 0 !important;
    border-radius: 8px !important;
}

table {
    width: 100% !important;
    border-collapse: collapse !important;
    background-color: #ffffff !important;
    min-width: 500px !important;
}

thead {
    background-color: #000000 !important;
}

thead th {
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 15px 20px !important;
    text-align: left !important;
    font-size: 16px !important;
}

tbody td {
    padding: 15px 20px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-size: 16px !important;
    color: #333333 !important;
}

tbody tr:hover {
    background-color: #f8f9fa !important;
}

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

.img-float-left {
    float: left !important;
    margin: 0 30px 20px 0 !important;
    max-width: 300px !important;
}

/* Cards */
.info-card {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 30px !important;
    margin-bottom: 25px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.info-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Icons */
.bi {
    color: #000000 !important;
    font-size: 24px !important;
}

.icon-white {
    color: #ffffff !important;
}

/* Footer */
.footer {
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 60px 0 30px !important;
}

.footer h5 {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    font-size: 18px !important;
}

.footer p {
    color: #cccccc !important;
    font-size: 16px !important;
}

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

.footer-links li {
    margin-bottom: 10px !important;
    list-style: none !important;
}

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

.footer-links a {
    color: #cccccc !important;
    text-decoration: none !important;
    font-size: 16px !important;
    transition: color 0.3s ease !important;
}

.footer-links a:hover {
    color: #ffffff !important;
}

.footer-bottom {
    border-top: 1px solid #333333 !important;
    padding-top: 25px !important;
    margin-top: 40px !important;
    text-align: center !important;
}

.footer-bottom p {
    color: #888888 !important;
    font-size: 14px !important;
    margin: 0 !important;
}

/* Animations */
@keyframes floatSquare {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatRound {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

.animate-float-square {
    animation: floatSquare 4s ease-in-out infinite !important;
}

.animate-float-round {
    animation: floatRound 3s ease-in-out infinite !important;
}

.animate-wave {
    animation: wave 2s ease-in-out infinite !important;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease !important;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #000000 !important;
        padding: 20px !important;
        margin-top: 15px !important;
        border-radius: 8px !important;
    }

    .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid #333333 !important;
    }

    .btn-cta-nav {
        margin-top: 15px !important;
        display: inline-block !important;
    }

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

    .toc-list {
        columns: 1 !important;
    }

    .img-float-left {
        float: none !important;
        max-width: 100% !important;
        margin: 20px 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 !important;
        min-height: 400px !important;
    }

    .hero-section h1 {
        font-size: 1.7rem !important;
    }

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

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

    .content-section {
        padding: 40px 0 !important;
    }

    .footer {
        padding: 40px 0 20px !important;
    }
}

/* Hamburger Toggle Button */
.navbar-toggler {
    border: 2px solid #ffffff !important;
    padding: 8px 12px !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
