/* Core Styles for SmallBar Casino */
/* Using Bulma Framework with custom overrides */

/* Import Clash Display Font */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #DC143C;
    --accent-color: #FFFFF0;
    --dark-bg: #1a1a2e;
    --text-dark: #222222;
    --text-light: #FFFFF0;
}

/* Base Reset and Typography */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Clash Display', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: var(--text-dark) !important;
    background-color: #f5f5f5 !important;
}

/* Typography - All headers with !important */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Clash Display', sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--text-dark) !important;
}

h1 {
    font-size: 2.8rem !important;
    margin-bottom: 1.5rem !important;
}

h2 {
    font-size: 2.2rem !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.2rem !important;
}

h3 {
    font-size: 1.6rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

h4 {
    font-size: 1.3rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.8rem !important;
}

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

/* Navbar Styles - No markers, no pseudo-elements */
.navbar {
    background-color: var(--dark-bg) !important;
    padding: 1rem 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
}

.navbar-item,
.navbar-link {
    color: var(--text-light) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    list-style: none !important;
}

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

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

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

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

.navbar-item:hover {
    color: var(--primary-color) !important;
    background-color: transparent !important;
}

.navbar-brand img {
    max-height: 50px !important;
    box-shadow: none !important;
}

.navbar-burger {
    color: var(--text-light) !important;
}

.navbar-burger span {
    background-color: var(--text-light) !important;
}

/* CTA Buttons in Navbar */
.navbar .button.is-primary {
    background-color: var(--primary-color) !important;
    color: var(--text-light) !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

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

.navbar .button.is-outlined {
    border: 2px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    background-color: transparent !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.navbar .button.is-outlined:hover {
    background-color: var(--accent-color) !important;
    color: var(--dark-bg) !important;
}

/* Hero Section */
.hero {
    position: relative !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !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(26, 26, 46, 0.92) 0%, rgba(220, 20, 60, 0.85) 100%) !important;
    z-index: 1 !important;
}

.hero-body {
    position: relative !important;
    z-index: 2 !important;
    padding: 6rem 1.5rem !important;
}

.hero .title {
    color: var(--text-light) !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
}

.hero .subtitle {
    color: var(--accent-color) !important;
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    max-width: 700px !important;
    margin: 0 auto 2rem !important;
    line-height: 1.8 !important;
}

.hero .button.is-primary {
    background-color: var(--primary-color) !important;
    color: var(--text-light) !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.hero .button.is-primary:hover {
    background-color: #b8102f !important;
    transform: translateY(-2px) !important;
}

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

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

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

/* Cards */
.card {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

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

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

.card-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Lists - Reset and Custom Markers */
ul, ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.content ul,
.content ol {
    list-style: none !important;
    padding-left: 1.5rem !important;
}

.content ul li,
.content ol li {
    position: relative !important;
    padding-left: 1.8rem !important;
    margin-bottom: 0.8rem !important;
    font-size: 18px !important;
}

.content ul li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.6rem !important;
    width: 8px !important;
    height: 8px !important;
    background-color: var(--accent-color) !important;
    border: 2px solid var(--primary-color) !important;
    border-radius: 2px !important;
    transform: rotate(45deg) !important;
}

.content ol {
    counter-reset: item !important;
}

.content ol li::before {
    content: counter(item) !important;
    counter-increment: item !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.1rem !important;
    width: 24px !important;
    height: 24px !important;
    background-color: var(--primary-color) !important;
    color: var(--text-light) !important;
    border-radius: 50% !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Tables */
.table-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 1.5rem 0 !important;
}

.table {
    width: 100% !important;
    border-collapse: collapse !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.table thead {
    background-color: var(--dark-bg) !important;
}

.table thead th {
    color: var(--text-light) !important;
    font-weight: 600 !important;
    padding: 1rem !important;
    text-align: left !important;
    font-size: 16px !important;
}

.table tbody td {
    padding: 1rem !important;
    border-bottom: 1px solid #eee !important;
    font-size: 16px !important;
}

.table tbody tr:hover {
    background-color: #f9f9f9 !important;
}

/* Images */
.section img {
    border-radius: 12px !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 1.5rem auto !important;
}

/* Icons - Bootstrap Icons styling */
.bi {
    color: var(--primary-color) !important;
    font-size: 1.5rem !important;
}

.icon-accent .bi {
    color: var(--accent-color) !important;
}

/* Footer - No markers, no pseudo-elements */
.footer {
    background-color: var(--dark-bg) !important;
    color: var(--text-light) !important;
    padding: 4rem 1.5rem 2rem !important;
}

.footer a {
    color: var(--accent-color) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.footer p {
    color: var(--text-light) !important;
    font-size: 16px !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,
.footer li::marker {
    display: none !important;
    content: none !important;
}

.footer h4 {
    color: var(--text-light) !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
}

.footer-logo img {
    max-height: 60px !important;
    box-shadow: none !important;
}

/* Conversion Buttons */
.button.is-cta {
    background-color: var(--primary-color) !important;
    color: var(--text-light) !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.button.is-cta:hover {
    background-color: #b8102f !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4) !important;
}

/* Animations - Square, Round, and Wave elements */
@keyframes floatSquare {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
}

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

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

.animated-square {
    position: absolute !important;
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(220, 20, 60, 0.1) !important;
    animation: floatSquare 6s ease-in-out infinite !important;
}

.animated-round {
    position: absolute !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 240, 0.1) !important;
    animation: floatRound 4s ease-in-out infinite !important;
}

.animated-wave {
    position: absolute !important;
    width: 60px !important;
    height: 4px !important;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color)) !important;
    border-radius: 2px !important;
    animation: wave 3s ease-in-out infinite !important;
}

/* Section decorative elements */
.section-decorated {
    position: relative !important;
    overflow: hidden !important;
}

.section-decorated .animated-square {
    top: 20% !important;
    right: 5% !important;
}

.section-decorated .animated-round {
    bottom: 15% !important;
    left: 3% !important;
}

/* Mobile Responsive */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--dark-bg) !important;
        padding: 1rem !important;
    }

    .navbar-menu.is-active {
        display: block !important;
    }

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

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

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

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

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

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

    .hero-body {
        padding: 4rem 1rem !important;
    }

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

    .footer .columns {
        text-align: center !important;
    }

    .footer .column {
        margin-bottom: 2rem !important;
    }
}

/* Utility Classes */
.has-text-primary {
    color: var(--primary-color) !important;
}

.has-text-accent {
    color: var(--accent-color) !important;
}

.has-bg-primary {
    background-color: var(--primary-color) !important;
}

.has-bg-dark {
    background-color: var(--dark-bg) !important;
}

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

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

.text-center {
    text-align: center !important;
}
