/* Base CSS for Tomcraft - Push Gaming Casinos */
/* Primary: Royal Blue (#4169E1), Accent: Champagne Gold (#D4AF37) */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #1a1a2e !important;
    background-color: #f8f9fa !important;
}

/* Navigation Styles - Critical Rules */
.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-menu ul,
.nav-menu ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav ul,
nav ol,
header ul,
header ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

/* Footer list reset */
footer ul,
footer ol {
    list-style: none !important;
}

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

footer li {
    margin-bottom: 0 !important;
}

/* Content Lists with Champagne Gold Star Markers */
main ul,
main ol,
article ul,
article ol,
section ul:not(.nav-menu),
section ol:not(.nav-menu) {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 1.5rem 0 !important;
}

main li,
article li,
section li:not(.nav-menu li) {
    position: relative !important;
    padding-left: 2rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 18px !important;
}

main li::before,
article li::before,
section li:not(.nav-menu li)::before {
    content: "\2605" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #D4AF37 !important;
    font-size: 1rem !important;
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #1a1a2e !important;
}

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

h2 {
    font-size: 2rem !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
    color: #4169E1 !important;
}

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

/* Paragraphs */
p {
    font-size: 18px !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.8 !important;
}

/* Links */
a {
    color: #4169E1 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

a:hover {
    color: #D4AF37 !important;
}

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

table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: white !important;
    min-width: 600px !important;
}

thead {
    background: linear-gradient(135deg, #4169E1 0%, #2c4aa8 100%) !important;
}

th {
    padding: 1rem 1.25rem !important;
    text-align: left !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

td {
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid #e9ecef !important;
    font-size: 16px !important;
}

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

/* Cards */
.card {
    background: white !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !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;
}

/* Buttons */
.btn {
    display: inline-block !important;
    padding: 0.875rem 2rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-align: center !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, #4169E1 0%, #2c4aa8 100%) !important;
    color: white !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2c4aa8 0%, #1e3a8a 100%) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

.btn-accent {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%) !important;
    color: #1a1a2e !important;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #b8962e 0%, #9a7d26 100%) !important;
    transform: translateY(-2px) !important;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid #4169E1 !important;
    color: #4169E1 !important;
}

.btn-outline:hover {
    background: #4169E1 !important;
    color: white !important;
}

/* Images */
img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
}

/* Hero Section */
.hero {
    position: relative !important;
    min-height: 80vh !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::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.9) 0%, rgba(65, 105, 225, 0.85) 100%) !important;
}

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

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

.hero p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.25rem !important;
    margin-bottom: 2rem !important;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

.star-decoration {
    position: absolute !important;
    color: #D4AF37 !important;
    animation: twinkle 2s ease-in-out infinite !important;
}

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

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

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

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

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

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

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

/* Logo - No box shadow */
.logo img,
.site-logo,
img[src*="logo"] {
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Section Styling */
section {
    padding: 4rem 0 !important;
}

.section-alt {
    background-color: #f0f4ff !important;
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16162b 100%) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 3rem 0 2rem !important;
}

footer p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 16px !important;
}

footer a {
    color: #D4AF37 !important;
}

footer a:hover {
    color: white !important;
}

/* Table of Contents */
.toc {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    justify-content: center !important;
    padding: 2rem 0 !important;
}

.toc-btn {
    display: inline-block !important;
    padding: 0.625rem 1.25rem !important;
    border: 2px solid #4169E1 !important;
    border-radius: 50px !important;
    color: #4169E1 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
}

.toc-btn:hover {
    background: #4169E1 !important;
    color: white !important;
}
