/* Global CSS for SundayCasino - Tailwind + Custom Styles */
/* Primary: Graphite (#3d3d3d) | Accent: Copper (#b87333) */

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

:root {
    --graphite: #3d3d3d;
    --graphite-dark: #2a2a2a;
    --graphite-light: #5a5a5a;
    --copper: #b87333;
    --copper-light: #da8a47;
    --copper-dark: #8b5a2b;
    --white: #ffffff;
    --off-white: #f8f8f8;
    --light-gray: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    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(--graphite) !important;
    background-color: var(--off-white) !important;
}

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

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

nav ul,
nav li,
.navbar ul,
.navbar li,
header ul,
header li {
    list-style: none !important;
    margin-bottom: 0 !important;
}

nav ul::before,
nav ul::after,
nav li::before,
nav li::after,
.navbar ul::before,
.navbar ul::after,
.navbar li::before,
.navbar li::after,
header ul::before,
header ul::after,
header li::before,
header li::after {
    display: none !important;
    content: none !important;
}

/* Footer Styles */
footer ul,
footer li {
    list-style: none !important;
    margin-bottom: 0 !important;
}

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

footer p {
    color: var(--light-gray) !important;
}

footer a {
    color: var(--copper-light) !important;
    transition: color 0.3s ease !important;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    color: var(--graphite-dark) !important;
    line-height: 1.3 !important;
}

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

h2 {
    font-size: 2rem !important;
    margin-bottom: 1.25rem !important;
    margin-top: 2.5rem !important;
}

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

p {
    font-size: 18px !important;
    margin-bottom: 1.25rem !important;
    color: var(--graphite) !important;
}

/* Content Lists with Copper Plus Markers */
.content-section ul,
.content-section ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 1.5rem !important;
}

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

.content-section ul li::before {
    content: '+' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: var(--copper) !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
}

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

.content-section ol li {
    counter-increment: custom-counter !important;
}

.content-section ol li::before {
    content: counter(custom-counter) '.' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: var(--copper) !important;
    font-weight: 700 !important;
}

/* Hero Section */
.hero-section {
    position: relative !important;
    min-height: 70vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !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(45, 45, 45, 0.92) 0%, rgba(61, 61, 61, 0.88) 100%) !important;
    z-index: 1 !important;
}

.hero-content {
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    padding: 2rem !important;
    max-width: 900px !important;
}

.hero-section h1 {
    color: var(--white) !important;
    font-size: 3rem !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
}

.hero-section p {
    color: var(--light-gray) !important;
    font-size: 1.25rem !important;
}

/* Buttons */
.btn-primary {
    display: inline-block !important;
    background-color: var(--copper) !important;
    color: var(--white) !important;
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    background-color: var(--copper-dark) !important;
    transform: translateY(-2px) !important;
}

.btn-nav {
    display: inline-block !important;
    background-color: var(--copper) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.btn-nav:hover {
    background-color: var(--copper-dark) !important;
}

/* Cards */
.card {
    background: var(--white) !important;
    padding: 2rem !important;
    margin-bottom: 1.5rem !important;
    border-left: 4px solid var(--copper) !important;
    transition: transform 0.3s ease !important;
}

.card:hover {
    transform: translateX(5px) !important;
}

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

table {
    width: 100% !important;
    border-collapse: collapse !important;
    min-width: 600px !important;
    font-size: 16px !important;
}

thead {
    background-color: var(--graphite) !important;
}

thead th {
    color: var(--white) !important;
    padding: 1rem !important;
    text-align: left !important;
    font-weight: 600 !important;
}

tbody td {
    padding: 1rem !important;
    border-bottom: 1px solid var(--light-gray) !important;
}

tbody tr:nth-child(even) {
    background-color: var(--off-white) !important;
}

tbody tr:hover {
    background-color: rgba(184, 115, 51, 0.1) !important;
}

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

/* Sections */
.content-section {
    padding: 4rem 0 !important;
}

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

/* FAQ Section */
.faq-item {
    background: var(--white) !important;
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
    border-left: 4px solid var(--copper) !important;
}

.faq-item strong {
    color: var(--graphite-dark) !important;
    font-size: 1.1rem !important;
}

/* Icons */
.fa, .fas, .far, .fab {
    color: var(--copper) !important;
}

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

@keyframes pulseSquare {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

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

@keyframes pulseRound {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Animations - Wave Elements */
@keyframes wave {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes waveVertical {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-5px);
    }
    75% {
        transform: translateY(5px);
    }
}

/* Decorative Elements */
.decorative-square {
    position: absolute !important;
    width: 50px !important;
    height: 50px !important;
    background-color: var(--copper) !important;
    opacity: 0.3 !important;
    animation: floatSquare 6s ease-in-out infinite !important;
}

.decorative-circle {
    position: absolute !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background-color: var(--copper) !important;
    opacity: 0.2 !important;
    animation: floatRound 8s ease-in-out infinite !important;
}

.decorative-wave {
    position: absolute !important;
    width: 100px !important;
    height: 4px !important;
    background: linear-gradient(90deg, transparent, var(--copper), transparent) !important;
    opacity: 0.4 !important;
    animation: wave 4s ease-in-out infinite !important;
}

/* Section fade-in animation */
.content-section {
    animation: fadeInUp 0.6s ease-out !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover animation */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

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

/* Button hover animation */
.btn-primary,
.btn-nav {
    transition: all 0.3s ease !important;
}

.btn-primary:hover,
.btn-nav:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(184, 115, 51, 0.3) !important;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none !important;
    background: none !important;
    border: none !important;
    font-size: 1.5rem !important;
    color: var(--graphite) !important;
    cursor: pointer !important;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
    }

    .nav-menu {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--white) !important;
        flex-direction: column !important;
        padding: 1rem !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        margin: 0.5rem 0 !important;
    }

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

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

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

    .hero-section {
        min-height: 60vh !important;
    }
}

/* Logo - No box shadow */
.logo img,
.navbar-brand img,
header img[src*="logo"] {
    box-shadow: none !important;
}

/* Container */
.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    body {
        font-size: 16px !important;
    }

    p {
        font-size: 16px !important;
    }

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

    .btn-primary {
        padding: 0.875rem 2rem !important;
        font-size: 1rem !important;
    }
}
