/* Base CSS for Etapo - Casino Landing Page */
/* Colors: forest green (primary), amber (accent) */

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

:root {
    --primary-color: #228B22;
    --primary-dark: #1a6b1a;
    --primary-light: #2ea62e;
    --accent-color: #FFBF00;
    --accent-dark: #cc9900;
    --accent-light: #ffcc33;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #1a1a1a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: var(--text-dark) !important;
    background-color: var(--bg-light) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    margin-bottom: 1rem !important;
}

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

h2 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
    margin-top: 2rem !important;
}

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

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

/* Navbar Styles */
.navbar {
    background-color: var(--bg-dark) !important;
    padding: 1rem 0 !important;
}

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

.navbar-brand .navbar-item {
    padding: 0 !important;
}

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

.navbar-brand .brand-name {
    color: var(--text-light) !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin-left: 0.5rem !important;
}

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

.navbar-item {
    color: var(--text-light) !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    transition: color 0.3s ease !important;
}

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

/* IMPORTANT: Remove all markers from navbar */
.navbar ul,
.navbar ol,
.navbar-menu ul,
.navbar-menu ol,
.navbar-start,
.navbar-end {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-item::before,
.navbar-item::after,
.navbar-link::before,
.navbar-link::after {
    display: none !important;
    content: 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-outlined {
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.navbar .button.is-outlined:hover {
    background-color: var(--accent-color) !important;
    color: var(--bg-dark) !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(34, 139, 34, 0.9) 0%, rgba(26, 26, 26, 0.85) 100%) !important;
    z-index: 1 !important;
}

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

.hero .title {
    color: var(--text-light) !important;
    font-size: 2.5rem !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(--text-light) !important;
    font-size: 1.25rem !important;
    line-height: 1.7 !important;
    opacity: 0.95 !important;
    max-width: 800px !important;
    margin: 0 auto 2rem auto !important;
}

.hero .button.is-outlined {
    border: 2px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.hero .button.is-outlined:hover {
    background-color: var(--accent-color) !important;
    color: var(--bg-dark) !important;
    transform: translateY(-2px) !important;
}

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

.section:nth-child(odd) {
    background-color: var(--bg-light) !important;
}

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

.section-title {
    color: var(--primary-color) !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    padding-bottom: 0.75rem !important;
}

.section-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 60px !important;
    height: 4px !important;
    background-color: var(--accent-color) !important;
    border-radius: 2px !important;
}

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

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

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

.card-content .title {
    color: var(--primary-color) !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}

/* Content Lists with Amber Markers */
.content ul,
.content ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

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

.content ul li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.6rem !important;
    width: 10px !important;
    height: 10px !important;
    background-color: var(--accent-color) !important;
    border-radius: 50% !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 !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    background-color: var(--accent-color) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
}

/* Tables */
.table-container {
    overflow-x: auto !important;
    margin: 1.5rem 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
}

.table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 18px !important;
}

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

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

.table tbody tr {
    border-bottom: 1px solid #e0e0e0 !important;
    transition: background-color 0.2s ease !important;
}

.table tbody tr:hover {
    background-color: rgba(34, 139, 34, 0.05) !important;
}

.table tbody td {
    padding: 1rem !important;
    vertical-align: middle !important;
}

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

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

/* Logo should not have shadow */
.navbar-brand img,
.logo-img {
    box-shadow: none !important;
}

/* Conversion Buttons */
.button.cta-button {
    border: 2px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    background-color: transparent !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.button.cta-button:hover {
    background-color: var(--accent-color) !important;
    color: var(--bg-dark) !important;
    transform: translateY(-2px) !important;
}

/* Footer */
.footer {
    background-color: var(--bg-dark) !important;
    padding: 3rem 1.5rem 2rem !important;
}

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

.footer p,
.footer a {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1rem !important;
}

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

/* IMPORTANT: Remove all markers from footer */
.footer ul,
.footer ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer li {
    margin-bottom: 0.5rem !important;
    padding-left: 0 !important;
}

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

.footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    text-align: center !important;
}

.footer .footer-bottom p {
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.9rem !important;
}

/* Material Icons */
.material-icons {
    color: var(--primary-color) !important;
    vertical-align: middle !important;
    margin-right: 0.5rem !important;
}

.material-icons.accent {
    color: var(--accent-color) !important;
}

/* Star Animation */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.star {
    position: fixed !important;
    width: 4px !important;
    height: 4px !important;
    background-color: var(--accent-color) !important;
    border-radius: 50% !important;
    animation: twinkle 3s ease-in-out infinite !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.star:nth-child(2n) {
    animation-delay: 0.5s !important;
}

.star:nth-child(3n) {
    animation-delay: 1s !important;
}

.star:nth-child(4n) {
    animation-delay: 1.5s !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: 1.1rem !important;
    }

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

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

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

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

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