/* Theme CSS for SpinSamurai Casino */

/* === CRITICAL MENU FIX === */
.nav-menu li {
    margin-bottom: 0 !important;
}

/* === ROOT VARIABLES === */
:root {
    --color-primary: #000000;
    --color-accent: #C72C48;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray: #666666;
    --font-main: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
}

/* === HEADINGS === */
h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    color: #C72C48 !important;
}

h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.3 !important;
    color: #C72C48 !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
    color: #C72C48 !important;
}

/* === NAVIGATION === */
.navbar {
    background-color: #000000;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-accent);
}

/* === HERO SECTION === */
.hero-section {
    background: #000000 !important;
    padding: 4rem 0 !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-container {
    display: flex !important;
    align-items: center !important;
    gap: 3rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

.hero-image {
    flex: 0 0 400px !important;
    max-width: 400px !important;
}

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

.hero-content {
    flex: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

.hero-section h1 {
    color: #C72C48 !important;
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
}

.hero-section p {
    color: #ffffff !important;
    font-size: 1.125rem !important;
    margin-bottom: 2rem !important;
    line-height: 1.8 !important;
}

/* === BUTTONS === */
.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.cta-button:hover {
    background-color: #a32337;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(199, 44, 72, 0.3);
}

/* === STICKY CTA BUTTON === */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(199, 44, 72, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sticky-cta:hover {
    background-color: #a32337;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(199, 44, 72, 0.5);
}

/* === POPUP === */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background-color: #000000;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
    border: 1px solid #333333;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--color-gray);
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.popup-close:hover {
    color: var(--color-accent);
}

.popup-content h3 {
    color: var(--color-accent);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    margin-top: 0 !important;
}

.popup-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* === SECTIONS === */
section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* === CARDS === */
.card {
    background-color: #000000;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
    border: 1px solid #333333;
}

/* === LISTS === */
ul, ol {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

/* Reset default list styles */
ul li::marker,
ol li::marker {
    display: none;
}

/* Content lists styling (not nav or footer) */
section ul li,
.card ul li,
section ol li,
.card ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

section ul li::before,
.card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

section ol li::before,
.card ol li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

section ol,
.card ol {
    counter-reset: item;
}

/* Ensure nav and footer lists have NO markers */
.nav-menu li::before,
.nav-menu 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 ul,
footer ol,
.nav-menu {
    list-style: none !important;
}

footer ul li,
footer ol li {
    padding-left: 0 !important;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #000000;
    font-size: 1rem;
}

thead {
    background-color: #1a1a1a;
}

thead th {
    color: #ffffff;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    font-size: 1.125rem;
}

tbody td {
    padding: 1rem;
    border-bottom: 1px solid #333333;
    font-size: 1.125rem;
    color: #ffffff;
}

tbody tr:hover {
    background-color: #1a1a1a;
}

/* === IMAGES === */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.logo-img {
    box-shadow: none !important;
}

/* === FOOTER === */
footer {
    background-color: #1a1a1a;
    color: var(--color-white);
    padding: 3rem 1rem 2rem;
    margin-top: 4rem;
}

footer p {
    color: var(--color-white) !important;
    font-size: 1rem;
}

footer a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

footer ul {
    list-style: none !important;
}

footer ul li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* === PARAGRAPHS === */
p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

/* === LINKS === */
a {
    color: var(--color-accent);
    text-decoration: underline;
}

a:hover {
    color: #a32337;
}

/* === STRONG/BOLD === */
strong {
    font-weight: 600;
    color: #ffffff;
}

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

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

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

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

    .hero-container {
        flex-direction: column !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }

    .hero-image {
        flex: 0 0 auto !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

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

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

    .sticky-cta {
        bottom: 20px;
        right: 20px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    section {
        padding: 2rem 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .popup-content {
        padding: 2rem;
    }

    table {
        font-size: 0.9rem;
    }

    thead th,
    tbody td {
        padding: 0.75rem;
        font-size: 1rem;
    }
}

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

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

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .sticky-cta {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    p, section ul li, section ol li {
        font-size: 1rem;
    }
}
