/* Rabona - Main Styles */

body { background-color: #151921; color: #ffffff; }
.clip-diagonal { clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); }
.gradient-hero { background: linear-gradient(135deg, #1d212b 0%, #2a1829 100%); }

/* Buttons */
.btn-yellow { 
    background-color: #eeff00; 
    color: #000; 
    font-weight: 800; 
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-yellow:hover { background-color: #d4e600; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(238, 255, 0, 0.3); }

/* --- CLEAN CONTENT STYLING (Automatic Selectors) --- */
.article-body { color: #9ca3af; font-size: 1.125rem; }

/* Sections */
.article-body section { margin-bottom: 3rem; }

/* Headings (H2) */
.article-body h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-left: 4px solid #eeff00;
    padding-left: 0.75rem;
    line-height: 1.3;
}

/* Headings (H3) */
.article-body h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Paragraphs */
.article-body p { margin-bottom: 1rem; line-height: 1.75; }
.article-body p.lead { font-size: 1.25rem; color: #d1d5db; margin-bottom: 2rem; }

/* Lists */
.article-body ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d1d5db;
}
.article-body li { margin-bottom: 0.5rem; }

/* Tables - Automatic Styling */
.article-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #1f2937;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}
.article-body caption {
    caption-side: top;
    text-align: left;
    color: #eeff00;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.article-body th {
    background-color: #111827;
    color: #ffffff;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #374151;
}
.article-body td {
    padding: 1rem;
    border-bottom: 1px solid #374151;
}
.article-body tr:last-child td { border-bottom: none; }
.article-body tr:hover td { background-color: rgba(55, 65, 81, 0.5); }

/* Custom Override for Specific Sections (Red Accent) */
#registrazione h2, 
#scommesse h2, 
#sicurezza h2 { border-color: #d32f2f; }

/* Guide Steps List styling override */
.steps-list { list-style: none !important; padding-left: 0 !important; }
.steps-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.step-number { 
    background-color: #d32f2f; color: white; 
    width: 1.5rem; height: 1.5rem; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 9999px; font-size: 0.75rem; font-weight: bold; flex-shrink: 0; margin-top: 0.25rem;
}

/* SEO TOC Styling */
.content-box {
    border: 1px solid #eeff00;
    border-radius: 8px;
    background: rgba(29, 33, 43, 0.9);
}
