/* === CSS RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #061129;
    --secondary-color: #ff6600;
    --dark-bg: #151515;
    --dark-gray: #343434;
    --medium-gray: #6c6c6c;
    --light-gray: #949494;
    --border-gray: #d9d9d9;
    --text-color: #464646;
    --white: #ffffff;
    --font-primary: 'Exo', sans-serif;
    --font-secondary: 'proxima-nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

p {
    margin-bottom: 16px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Links in content */
.section p a,
.section li a,
.content-block p a,
.content-block li a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.3s;
}

.section p a:hover,
.section li a:hover,
.content-block p a:hover,
.content-block li a:hover {
    color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 800;
    line-height: 1.2;
}

.imgcontent{
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
    max-width: 500px;
    width: 100%;
    border-radius: 8px;
}

/* === HEADER === */
.main-header {
    background-color: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 32px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
    margin: 0;
}

.nav-menu a {
    color: var(--light-gray);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.nav-search {
    position: relative;
}

.nav-search input {
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    color: var(--white);
    padding: 5px 10px;
    width: 150px;
    transition: border-color 0.3s;
}

.nav-search input:focus {
    outline: none;
    border-bottom-color: var(--border-gray);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 20px;
    height: 3px;
    background: var(--white);
}

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 60px 0 40px;
}

.hero-content h1 {
    font-size: 38px;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-lead {
    font-size: 18px;
    line-height: 22px;
    color: var(--text-color);
    margin-bottom: 30px;
    /* max-width: 800px; */
}

.hero-lead a {
    color: var(--secondary-color);
}

.hero-section ul {
    margin: 10px 0 20px 20px;
    padding-left: 0;
    list-style: none;
}

.hero-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 6px;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
}

.hero-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 18px;
}

/* === EXPERT QUOTE === */
.expert-quote {
    background: var(--white);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    padding: 0;
    margin: 30px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.quote-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
}

.quote-author-image {
    flex-shrink: 0;
}

.quote-author-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.quote-text {
    flex: 1;
}

.quote-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0 0 12px 0;
    font-style: italic;
}

.quote-text cite {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    font-style: normal;
}

@media (max-width: 599px) {
    .expert-quote {
        margin: 20px 0;
    }
    
    .quote-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }
    
    .quote-author-image img {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }
    
    .quote-text p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    
    .quote-text cite {
        font-size: 14px;
    }
}

.trust-indicators {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    fill: var(--secondary-color);
}

/* === SECTION TITLE === */
.section {
    padding: 30px 0;
}

.section-title {
    position: relative;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.section-title h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-color);
    text-transform: uppercase;
    background: var(--white);
    padding-right: 20px;
    position: relative;
    z-index: 1;
    margin: 0;
}

.section-title h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-color);
    text-transform: uppercase;
    background: var(--white);
    padding-right: 20px;
    position: relative;
    z-index: 1;
    margin: 0;
}

.section-title h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-color);
    text-transform: uppercase;
    background: var(--white);
    padding-right: 20px;
    position: relative;
    z-index: 1;
    margin: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 2px;
    background-color: var(--primary-color);
    z-index: 0;
}

/* === CASINO CARDS (TOP 10) === */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.casino-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.casino-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.casino-card-header {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
}

.casino-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.casino-logo {
    width: 100%;
    max-width: 180px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.casino-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    color: #ffc107;
    font-size: 18px;
}

.rating-score {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-color);
}

.casino-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.casino-description {
    font-size: 14px;
    line-height: 18px;
    color: var(--medium-gray);
    margin-bottom: 16px;
}

.casino-features {
    list-style: none;
    margin-bottom: 20px;
}

.casino-features li {
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.casino-features li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: 700;
}

.casino-cta {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn {
    display: block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-transform: uppercase;
    flex: 1;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #519218;
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-gray);
}

.btn-secondary:hover {
    background: #f5f5f5;
}

/* Button for content (not in tables) */
.btn-content,
.section p .btn-content,
.section .btn-content {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    display: block;
    max-width: 400px;
    margin: 20px auto;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
    text-transform: uppercase;
    text-decoration: none !important;
}

.btn-content:hover,
.section p .btn-content:hover,
.section .btn-content:hover {
    background: #e55a00 !important;
    color: var(--white) !important;
}

/* === COMPARISON TABLE === */
.comparison-table {
    overflow-x: auto;
    margin: 40px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

thead {
    background: var(--dark-gray);
    color: var(--white);
}

th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

td {
    padding: 16px;
    border-bottom: 1px solid var(--border-gray);
    font-size: 14px;
}

tbody tr:hover {
    background: #f9f9f9;
}

/* Button in table cells */
table td .btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
    text-decoration: none;
}

/* === CONTENT BLOCKS === */
.content-block {
    margin: 40px 0;
}

.content-block h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.content-block h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--text-color);
}

.content-block p {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.content-block ul,
.content-block ol {
    margin: 20px 0;
    padding-left: 35px;
}

.content-block li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* === LISTS (ul, ol) === */
.section ul:not(.nav-menu):not(.casino-features):not(.footer-column ul):not(.pros ul):not(.cons ul),
.section ol:not(.pros ol):not(.cons ol) {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.section ul:not(.nav-menu):not(.casino-features):not(.footer-column ul):not(.pros ul):not(.cons ul) li,
.section ol:not(.pros ol):not(.cons ol) li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.section ul:not(.nav-menu):not(.casino-features):not(.footer-column ul):not(.pros ul):not(.cons ul) li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
}

.section ol:not(.pros ol):not(.cons ol) {
    counter-reset: list-counter;
}

.section ol:not(.pros ol):not(.cons ol) li {
    counter-increment: list-counter;
}

.section ol:not(.pros ol):not(.cons ol) li::before {
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
}

/* Nested lists */
.section ul:not(.nav-menu):not(.casino-features):not(.footer-column ul):not(.pros ul):not(.cons ul) ul,
.section ol:not(.pros ol):not(.cons ol) ol {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 20px;
}

.section ul:not(.nav-menu):not(.casino-features):not(.footer-column ul):not(.pros ul):not(.cons ul) ul li::before {
    content: '◦';
    color: var(--medium-gray);
    font-size: 16px;
}

.section ol:not(.pros ol):not(.cons ol) ol li::before {
    content: counter(list-counter, lower-alpha) '.';
}

/* === ALERT BOXES === */
.alert-box {
    padding: 20px;
    border-radius: 4px;
    margin: 25px 0;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
}

.alert-success {
    background: #d4edda;
    border-color: var(--secondary-color);
    color: #155724;
}

.alert-box strong {
    /* display: block; */
    margin-bottom: 8px;
    font-size: 16px;
}

/* Help block for gambling problems */
.help-block {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 4px;
    margin: 25px 0;
}

.help-block p {
    margin: 8px 0;
}

.help-block p:first-child {
    font-weight: 700;
    font-size: 18px;
    color: #856404;
    margin-bottom: 12px;
}

.help-block strong {
    color: #856404;
    font-size: 16px;
}

/* === PROS & CONS === */
.pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.pros, .cons {
    padding: 20px;
    border-radius: 4px;
}

.pros {
    background: #e8f5e9;
    border: 1px solid var(--secondary-color);
}

.cons {
    background: #ffebee;
    border: 1px solid #ef5350;
}

.pros h3, .cons h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.pros-cons-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

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

.pros li::before {
    content: '✓ ';
    color: var(--secondary-color);
    font-weight: 700;
    margin-right: 8px;
}

.cons li::before {
    content: '✗ ';
    color: #ef5350;
    font-weight: 700;
    margin-right: 8px;
}

/* === BONUS CARDS === */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.bonus-card {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    padding: 20px;
    transition: border-color 0.3s;
}

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

.bonus-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.bonus-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 10px;
}

/* === LICENSE BADGES === */
.license-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.license-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    min-width: 120px;
}

.license-badge img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.license-name {
    font-size: 12px;
    text-align: center;
    font-weight: 600;
}

/* === FAQ ACCORDION === */
.faq-section {
    margin: 50px 0;
}

.faq-item {
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: #f8f8f8;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 20px;
    background: var(--white);
}
/* === AUTHOR BIO SECTION === */
.author-bio-section {
background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
padding: 40px 0;
/* margin: 60px 0 0 0; */
}

.author-bio-card {
background: var(--white);
border: 1px solid var(--border-gray);
border-radius: 4px;
padding: 30px;
max-width: 900px;
margin: 0 auto;
}

.author-bio-header {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 2px solid var(--primary-color);
}

.author-bio-avatar {
width: 80px;
height: 80px;
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--secondary-color);
}

.author-bio-info {
display: flex;
flex-direction: column;
gap: 6px;
}

.author-bio-name {
font-size: 24px;
font-weight: 800;
color: var(--text-color);
margin: 0;
text-transform: none;
}

.author-bio-title {
font-size: 16px;
font-weight: 600;
color: var(--medium-gray);
}

.author-bio-content p {
font-size: 16px;
line-height: 1.7;
color: var(--text-color);
margin: 0;
}

.author-bio-content strong {
color: var(--primary-color);
font-weight: 700;
}

/* Responsive */
@media (max-width: 599px) {
.author-bio-section {
padding: 30px 0;
}

.author-bio-card {
padding: 20px;
}

.author-bio-header {
flex-direction: column;
align-items: flex-start;
gap: 15px;
}

.author-bio-avatar {
width: 60px;
height: 60px;
}

.author-bio-name {
font-size: 20px;
}

.author-bio-title {
font-size: 14px;
}

.author-bio-content p {
font-size: 14px;
}
}

/* === FOOTER === */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 18px;
    font-weight: 700;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--light-gray);
    font-size: 16px;
    transition: color 0.3s;
}

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

/* Archive links - smaller */
.footer-column:nth-child(2) li {
    margin-bottom: 6px;
}

.footer-column:nth-child(2) a {
    font-size: 13px;
}

.footer-copyright {
    border-top: 1px solid var(--medium-gray);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #848484;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-gray);
    border-radius: 50%;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
}

/* === RESPONSIVE === */
@media (max-width: 999px) {
    .main-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
    
    .section-title h3 {
        font-size: 18px;
    }
    
    .content-block h2 {
        font-size: 24px;
    }
    
    .content-block h3 {
        font-size: 20px;
    }
    
    .casino-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 599px) {
    .section {
        padding: 30px 0;
    }
    
    .hero-section {
        padding: 30px 0 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    h3 {
        font-size: 16px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .section-title h2 {
        font-size: 18px;
    }
    
    .section-title h3 {
        font-size: 16px;
    }
    
    .content-block h2 {
        font-size: 20px;
    }
    
    .content-block h3 {
        font-size: 18px;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: flex-start;
    }
    
    table {
        font-size: 12px;
    }
    
    th, td {
        padding: 10px;
    }
}

/* Author Meta */
.author-meta {
margin: 24px 0 40px 0;
display: flex;
flex-wrap: wrap;
gap: 32px;
align-items: center;
justify-content: space-between;
}

.author-info-block {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
}

.author-details {
display: flex;
align-items: center;
gap: 12px;
}

.author-avatar-img {
width: 32px;
height: 32px;
border-radius: 50%;
object-fit: cover;
}

.author-full-name {
font-size: 16px;
font-weight: 600;
line-height: 1.4;
color: #050505;
}

.author-role {
font-size: 16px;
font-weight: 400;
line-height: 1.4;
color: #555;
}

.publication-date {
display: flex;
align-items: center;
gap: 8px;
font-size: 16px;
line-height: 1.4;
color: #555;
}

.date-icon {
width: 16px;
height: 16px;
}

/* Disclaimer Box */
.disclaimer-box {
border-top: 1px solid #DDD;
padding-top: 16px;
margin-top: 24px;
}

.disclaimer-box p {
font-size: 14px;
line-height: 1.6;
color: #555;
margin: 0;
}

/* === 404 ERROR PAGE === */
.error-page-section {
min-height: calc(100vh - 300px);
display: flex;
align-items: center;
padding: 60px 0;
}

.error-content {
max-width: 700px;
margin: 0 auto;
text-align: center;
}

.error-code {
font-size: 120px;
font-weight: 800;
color: var(--primary-color);
line-height: 1;
margin-bottom: 20px;
font-family: var(--font-primary);
opacity: 0.3;
}

.error-content .section-title {
margin-bottom: 30px;
}

.error-content .section-title h1 {
font-size: 32px;
}

.error-message {
text-align: left;
margin: 30px 0 40px 0;
}

.error-message p {
font-size: 16px;
line-height: 1.6;
margin-bottom: 16px;
color: var(--text-color);
}

.error-message ul {
margin: 20px 0;
padding-left: 0;
list-style: none;
}

.error-message ul li {
position: relative;
padding-left: 28px;
margin-bottom: 10px;
font-size: 16px;
line-height: 1.6;
color: var(--text-color);
}

.error-message ul li::before {
content: '•';
position: absolute;
left: 0;
color: var(--secondary-color);
font-weight: 700;
font-size: 20px;
line-height: 1.2;
}

.error-actions {
display: flex;
gap: 15px;
justify-content: center;
flex-wrap: wrap;
}

.error-actions .btn {
min-width: 160px;
}

@media (max-width: 599px) {
.error-page-section {
min-height: calc(100vh - 250px);
padding: 40px 0;
}

.error-code {
font-size: 80px;
margin-bottom: 15px;
}

.error-content .section-title h1 {
font-size: 24px;
}

.error-message {
margin: 20px 0 30px 0;
}

.error-message p,
.error-message ul li {
font-size: 14px;
}

.error-actions {
flex-direction: column;
}

.error-actions .btn {
width: 100%;
}
}
/* === TABLE OF CONTENTS (TOC) === */
.toc-section {
background: #f5f5f5;
padding: 20px 0;
}

.toc-wrapper {
background: #f5f5f5;
border: 1px solid #e0e0e0;
border-radius: 8px;
overflow: hidden;
}

.toc-toggle {
width: 100%;
background: #f5f5f5;
color: var(--text-color);
padding: 18px 24px;
border: none;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 20px;
font-weight: 600;
font-family: var(--font-primary);
transition: all 0.3s ease;
}

.toc-toggle:hover {
background: #ebebeb;
}

.toc-title {
display: flex;
align-items: center;
gap: 12px;
}

.toc-icon {
font-size: 16px;
transition: transform 0.3s ease;
color: var(--text-color);
}

.toc-toggle[aria-expanded="true"] .toc-icon {
transform: rotate(180deg);
}

.toc-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease, padding 0.4s ease;
padding: 0 24px;
background: #f5f5f5;
}

.toc-content[aria-hidden="false"] {
max-height: 2000px;
padding: 24px;
border-top: 1px solid #e0e0e0;
}

.toc-list {
list-style: none;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px 20px;
margin: 0;
padding: 0;
}

.toc-list li {
margin: 0;
padding: 0;
list-style: none;
padding-left: 0!important;

}

.toc-list li::before {
display: none;
}

.toc-list a {
display: block;
padding: 12px 16px;
color: #000 !important;
text-decoration: none !important;
background: #fff;
border-radius: 6px;
border: 1px solid #e0e0e0;
transition: all 0.2s ease;
font-size: 15px;
line-height: 1.4;
}

.toc-list a:hover {
color: #000 !important;
background: #fafafa;
border-color: var(--secondary-color);
transform: translateX(4px);
text-decoration: none !important;
}

.toc-list a:active {
transform: translateX(2px);
}

/* Responsive TOC */
@media (max-width: 1024px) {
.toc-list {
grid-template-columns: repeat(2, 1fr);
gap: 8px 16px;
}
}

@media (max-width: 767px) {
.toc-toggle {
font-size: 18px;
padding: 16px 20px;
}

.toc-content[aria-hidden="false"] {
padding: 20px;
}

.toc-list {
grid-template-columns: 1fr;
gap: 6px;
}

.toc-list a {
font-size: 14px;
padding: 10px 14px;
}
}

@media (max-width: 480px) {
.toc-toggle {
font-size: 16px;
padding: 14px 16px;
}

.toc-title {
gap: 8px;
}
}
