/* Main CSS for GaleriaCasino */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px !important;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #fafafa;
}

/* Navigation Menu - Critical Rules */
.nav-menu li {
    margin-bottom: 0 !important;
}

.nav-menu,
.nav-menu ul,
footer ul,
footer nav ul {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

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

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a472a 0%, #228B22 100%);
    z-index: 1000;
    padding: 0.75rem 0;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.logo img {
    width: 45px;
    height: 45px;
    box-shadow: none !important;
}

.logo-text {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: white;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #F59E0B;
}

.nav-cta {
    background: #F59E0B !important;
    color: #1a1a1a !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: transform 0.3s ease, background 0.3s ease !important;
}

.nav-cta:hover {
    background: #d97706 !important;
    color: white !important;
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a472a;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        display: none;
    }

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

    .nav-menu li {
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    position: relative !important;
    min-height: 85vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8rem 1.5rem 4rem !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(26, 71, 42, 0.92) 0%, rgba(34, 139, 34, 0.85) 100%) !important;
    z-index: 1 !important;
}

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

.hero h1 {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

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

.hero p {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 2rem !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: #F59E0B !important;
    color: #1a1a1a !important;
    padding: 1rem 2.5rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4) !important;
}

/* Main Content */
main {
    padding-top: 80px;
}

.section {
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section:nth-child(even) {
    background: #f0fdf4;
}

.section h2 {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    color: #1a472a !important;
    margin-bottom: 1.5rem !important;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #F59E0B;
    margin-top: 0.75rem;
    border-radius: 2px;
}

.section h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #228B22 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

.section p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: #374151 !important;
    margin-bottom: 1.25rem !important;
}

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

.img-card {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.img-card img {
    width: 100%;
    border-radius: 8px;
    margin: 0;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #F59E0B;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.card h3 {
    margin-top: 0 !important;
    color: #1a472a !important;
}

.card i {
    color: #F59E0B;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Lists - Reset defaults first */
.content-list,
.section ul:not(.nav-menu),
.section ol {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 1.5rem 0 !important;
}

.content-list li,
.section ul:not(.nav-menu) li,
.section ol li {
    position: relative;
    padding-left: 2rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
}

.content-list li::before,
.section ul:not(.nav-menu) li::before,
.section ol li::before {
    content: '\f00c' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 0 !important;
    top: 4px !important;
    color: #F59E0B !important;
    font-size: 0.9rem !important;
}

.content-list li::marker,
.section ul:not(.nav-menu) li::marker,
.section ol li::marker {
    content: none !important;
    display: none !important;
}

/* Table Container */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

thead {
    background: linear-gradient(135deg, #1a472a 0%, #228B22 100%);
}

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

td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
}

tbody tr:hover {
    background: #f0fdf4;
}

tbody tr:last-child td {
    border-bottom: none;
}

/* FAQ Section */
.faq-item {
    background: white;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #228B22;
}

.faq-item strong {
    color: #1a472a;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a472a 0%, #0f2918 100%);
    color: white;
    padding: 4rem 1.5rem 2rem;
}

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

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.footer-col h4 {
    color: #F59E0B;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-col ul li {
    margin-bottom: 0.75rem !important;
}

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

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #F59E0B;
}

.footer-bottom {
    max-width: 1100px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

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

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

@keyframes floatRound {
    0%, 100% { transform: scale(1) translateX(0); }
    50% { transform: scale(1.05) translateX(10px); }
}

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

.animate-float-square {
    animation: floatSquare 6s ease-in-out infinite;
}

.animate-float-round {
    animation: floatRound 5s ease-in-out infinite;
}

.animate-wave {
    animation: wave 3s ease-in-out infinite;
}

/* Decorative elements */
.decoration {
    position: absolute;
    pointer-events: none;
    opacity: 0.1;
}

.decoration-square {
    width: 100px;
    height: 100px;
    background: #F59E0B;
    animation: floatSquare 8s ease-in-out infinite;
}

.decoration-circle {
    width: 80px;
    height: 80px;
    background: #228B22;
    border-radius: 50%;
    animation: floatRound 6s ease-in-out infinite;
}

/* Section entrance animation */
.section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

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

.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }
.section:nth-child(5) { animation-delay: 0.5s; }
.section:nth-child(6) { animation-delay: 0.6s; }

/* Icons consistency */
.icon-primary {
    color: #228B22 !important;
}

.icon-accent {
    color: #F59E0B !important;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}
