/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #008C45; /* Italian Green */
    --secondary-color: #CD212A; /* Italian Red */
    --accent-color: #FFD700; /* Casino Gold */
    --bg-dark: #121212;
    --card-bg: #1e1e1e;
    --text-light: #f4f4f4;
    --text-dark: #333;
    --container-width: 1140px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop ul li {
    margin: 0 15px;
}

.nav-desktop ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.3s;
}

.nav-desktop ul li a:hover {
    color: var(--primary-color);
}

.header-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.header-btn:hover {
    transform: scale(1.05);
}

/* Hero */
.hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1596838132731-dd9d7fab4034?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Listing */
.listing-section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.listing-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.casino-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
    transition: border-color 0.3s;
}

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

.card-rank {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-right: 20px;
}

.brand-info {
    flex: 1;
    text-align: center;
}

.brand-logo {
    max-width: 140px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.1));
}

.bonus-info {
    flex: 2;
    padding: 0 20px;
    text-align: center;
}

.bonus-label {
    background: rgba(205, 33, 42, 0.1);
    color: var(--secondary-color);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 700;
}

.bonus-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 5px;
    color: var(--accent-color);
}

.features {
    flex: 1.5;
    list-style: none;
}

.features li {
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.check-icon {
    width: 18px;
    fill: var(--primary-color);
    margin-right: 8px;
}

.cta-button {
    background: linear-gradient(to bottom, #008C45, #005a2d);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 140, 69, 0.3);
}

/* Content Area */
.main-content {
    background-color: #fff;
    color: #333;
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
}

.main-content h2, .main-content h3 {
    margin: 30px 0 15px;
    color: var(--bg-dark);
}

.main-content p, .main-content ul, .main-content ol {
    margin-bottom: 20px;
}

.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    padding: 12px;
    border: 1px solid #ddd;
}

table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 3px solid var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-nav h4 {
    margin-bottom: 15px;
}

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

.footer-nav ul li a {
    color: #999;
    text-decoration: none;
}

.responsible-gaming {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

.copyright {
    text-align: center;
    font-size: 0.7rem;
    color: #555;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-desktop {
        display: none;
    }
    
    .casino-card {
        flex-direction: column;
        text-align: center;
    }
    
    .bonus-info {
        margin: 15px 0;
    }
    
    .features {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}