/* Casino Chileno en Linea - Main Stylesheet */
/* Color Palette: #08CB00 (green), #253900 (dark green), #000000 (black), #EEEEEE (light gray) */

:root {
    --primary-green: #08CB00;
    --dark-green: #253900;
    --black: #000000;
    --light-gray: #EEEEEE;
    --white: #FFFFFF;
    --text-gray: #666666;
    --border-gray: #DDDDDD;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(8, 203, 0, 0.2);
    --transition: all 0.3s ease;
    --radius: 12px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(180deg, var(--dark-green) 0%, var(--black) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(8, 203, 0, 0.2);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo svg {
    width: 50px;
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--white);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(8, 203, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(8, 203, 0, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(37, 57, 0, 0.3) 0%, transparent 50%),
        linear-gradient(160deg, #0a1a00 0%, #000000 40%, #050d00 70%, #000000 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(8, 203, 0, 0.08) 0%, transparent 30%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2308CB00' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(8, 203, 0, 0.3);
    border: 2px solid rgba(8, 203, 0, 0.3);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-gray);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(8, 203, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--black);
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-green) 0%, #06a000 100%);
    color: var(--white);
    font-size: 1.1rem;
    padding: 16px 32px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(8, 203, 0, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(8, 203, 0, 0); }
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(8, 203, 0, 0.1);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-hover);
}

.card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.card-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--primary-green);
}

/* Category Cards */
.category-card {
    background: linear-gradient(145deg, var(--dark-green) 0%, #1a2400 100%);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.8) 100%);
}

.category-card .card-content {
    position: relative;
    z-index: 1;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Casino Cards */
.casino-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(8, 203, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
}

.casino-card:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-hover);
}

.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.casino-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--dark-green);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.casino-rating .star {
    color: #FFD700;
}

.casino-bonus {
    background: linear-gradient(135deg, rgba(8, 203, 0, 0.2) 0%, rgba(37, 57, 0, 0.3) 100%);
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px dashed var(--primary-green);
}

.casino-bonus .label {
    font-size: 0.85rem;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.casino-bonus .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 4px;
}

.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.casino-features .feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--light-gray);
}

.casino-features .feature::before {
    content: '✓ ';
    color: var(--primary-green);
}

/* Keywords Carousel */
.carousel-section {
    padding: 60px 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-green) 50%, var(--black) 100%);
}

.carousel-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    animation: scroll linear infinite;
}

.carousel-row:nth-child(1) { animation-duration: 240s; }
.carousel-row:nth-child(2) { animation-duration: 250s; animation-direction: reverse; }
.carousel-row:nth-child(3) { animation-duration: 260s; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.carousel-item {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 20px 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(8, 203, 0, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}

.carousel-item:hover {
    border-color: var(--primary-green);
    transform: scale(1.05);
}

.carousel-item a {
    color: var(--white);
    font-weight: 500;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Tags */
.tags-section {
    padding: 40px 0;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tag {
    background: rgba(8, 203, 0, 0.1);
    border: 1px solid rgba(8, 203, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-green);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-green);
    color: var(--black);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.3);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    align-items: center;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    color: var(--text-gray);
}

.breadcrumbs a {
    color: var(--text-gray);
}

.breadcrumbs a:hover {
    color: var(--primary-green);
}

.breadcrumbs li:last-child span {
    color: var(--white);
}

/* Article Content */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-header {
    margin-bottom: 40px;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    margin-top: 2.5rem;
    color: var(--primary-green);
}

.article-content h3 {
    margin-top: 2rem;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    background: rgba(8, 203, 0, 0.1);
    border-left: 4px solid var(--primary-green);
    padding: 20px;
    margin: 2rem 0;
    font-style: italic;
}

/* Table of Contents */
.toc {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(8, 203, 0, 0.2);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 40px;
}

.toc-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--primary-green);
}

.toc-list {
    list-style: none;
}

.toc-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list a {
    color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-list a::before {
    content: '→';
    color: var(--primary-green);
}

.toc-list a:hover {
    color: var(--primary-green);
}

/* Pros/Cons */
.pros-cons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.pros, .cons {
    padding: 24px;
    border-radius: var(--radius);
}

.pros {
    background: rgba(8, 203, 0, 0.1);
    border: 1px solid rgba(8, 203, 0, 0.3);
}

.cons {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.pros h4 {
    color: var(--primary-green);
}

.cons h4 {
    color: #ff4444;
}

.pros ul, .cons ul {
    list-style: none;
    padding: 0;
}

.pros li::before {
    content: '✓ ';
    color: var(--primary-green);
}

.cons li::before {
    content: '✗ ';
    color: #ff4444;
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 0;
}

.trust-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(8, 203, 0, 0.1);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.trust-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.trust-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--black) 100%);
    padding: 60px;
    border-radius: var(--radius);
    text-align: center;
    margin: 40px 0;
}

.newsletter h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid rgba(8, 203, 0, 0.3);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: var(--text-gray);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.page-link {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover {
    background: var(--primary-green);
    color: var(--black);
}

.page-link.current {
    background: var(--primary-green);
    color: var(--black);
}

.page-dots {
    padding: 10px 8px;
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: var(--dark-green);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-gray);
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.responsible-gambling {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.responsible-gambling h4 {
    color: #ff4444;
}

/* 404 Page */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 20px;
}

.error-message {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Description Sections */
.description-section {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 40px;
    border-radius: var(--radius);
    margin: 40px 0;
    border: 1px solid rgba(8, 203, 0, 0.1);
}

.description-section h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.description-section p {
    color: var(--light-gray);
    line-height: 1.8;
}

/* Sorting & Filters */
.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.filter-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(8, 203, 0, 0.3);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--white);
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Author Info */
.author-box {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: var(--radius);
    margin: 40px 0;
    border: 1px solid rgba(8, 203, 0, 0.1);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: 8px;
}

.author-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero h1 {
        font-size: 2.5rem;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: var(--black);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        border-top: 1px solid rgba(8, 203, 0, 0.2);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: 2;
    }

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

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .newsletter {
        padding: 40px 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .trust-indicators {
        grid-template-columns: 1fr;
    }

    .filters-bar {
        flex-direction: column;
        gap: 16px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .casino-card {
        padding: 16px;
    }

    .description-section {
        padding: 24px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .star {
    color: #FFD700;
}

.rating-stars .star.empty {
    color: var(--text-gray);
}

/* Light Section Background */
.section-light {
    background: linear-gradient(180deg, #1e2a1a 0%, #151f12 50%, #0d1a08 100%);
}

.section-light .trust-item {
    background: linear-gradient(145deg, #2a3a25 0%, #1e2a1a 100%);
    border: 1px solid rgba(8, 203, 0, 0.25);
}

.section-light .category-card {
    background: linear-gradient(145deg, #2a3a25 0%, #1e2a1a 100%);
    border: 1px solid rgba(8, 203, 0, 0.2);
}

.section-light .card {
    background: linear-gradient(145deg, #2a3a25 0%, #1e2a1a 100%);
    border: 1px solid rgba(8, 203, 0, 0.2);
}

.section-light .section-title {
    color: var(--white);
}

/* 3D Category Icons */
.category-icon-3d {
    display: block;
    margin-bottom: 16px;
}

.category-icon-3d svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.category-card:hover .category-icon-3d svg {
    transform: scale(1.1) translateY(-4px);
    filter: drop-shadow(0 8px 16px rgba(8, 203, 0, 0.3));
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(8, 203, 0, 0.2);
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: var(--primary-green);
    color: var(--black);
}

.popup-content {
    padding: 40px;
    max-height: 85vh;
    overflow-y: auto;
    color: var(--light-gray);
    line-height: 1.8;
}

.popup-content h1 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-right: 40px;
}

.popup-content h2 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.popup-content p {
    margin-bottom: 1rem;
}

.popup-content ul, .popup-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.popup-content li {
    margin-bottom: 0.5rem;
}

.popup-content a {
    color: var(--primary-green);
}

.popup-content a:hover {
    text-decoration: underline;
}

/* Scrollbar for popup */
.popup-content::-webkit-scrollbar {
    width: 8px;
}

.popup-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.popup-content::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

/* Card image with outline icon */
.card-image svg {
    opacity: 0.8;
    transition: var(--transition);
}

.card:hover .card-image svg {
    opacity: 1;
    transform: scale(1.1);
}

/* Mobile popup adjustments */
@media (max-width: 768px) {
    .popup-container {
        max-height: 90vh;
        margin: 10px;
    }

    .popup-content {
        padding: 30px 20px;
    }

    .popup-content h1 {
        font-size: 1.4rem;
    }
}
