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

body {
    font-family: 'Roboto', Arial, sans-serif; /* Clean, modern font */
    font-size: 16px; /* Default text size */
    color: #00004d; /* Dark blue for text */
    line-height: 1.8; /* Comfortable line spacing */
    margin: 0;
    padding: 0;
    background: #f9f9f9; /* Light background for contrast */
}

/* Container for Consistent Centering */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
/* Header */
header {
    background: #00004d; /* Rich blue */
    color: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #b32d00; /* Green accent */
}

header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff; /* White text */
    font-size: 1.5em;
    font-weight: bold;
}

header .logo img {
    width: 50px; /* Logo size */
    height: auto;
    border-radius: 50%; /* Optional: Rounded logo */
}

header nav {
    display: flex;
    gap: 20px;
}

header nav a {
    text-decoration: none;
    font-weight: bold;
    color: #ffffff; /* White text */
    padding: 8px 15px; /* Button-like appearance */
    background: #b32d00; /* Green background */
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

header nav a:hover {
    background: #0057A3; /* Blue hover effect */
    color: #ffffff;
}

/* Responsive Header */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    header nav {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
    }

    header nav a {
        padding: 10px 20px; /* Larger touch area for mobile */
    }
}

/* Casino розділ */
.casino-section {
    padding: 30px 15px; /* Зменшено з 40px 20px до 30px 15px */
    background: linear-gradient(145deg, #483D8B, #ffd6d6);
    color: #3d1f1f;
    text-align: center;
}

.casino-section h2 {
    color: #b71c1c;
    margin-bottom: 20px; /* Зменшено з 30px до 15px */
    font-size: 28px;
}

.casino-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Зменшено з 24px до 15px */
}

.casino-card {
    background: #fff5f5;
    color: #4e2727;
    width: 220px; /* Зменшено з 260px до 220px */
    padding: 15px; /* Зменшено з 20px до 15px */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.2);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.casino-card:nth-child(1) { animation-delay: 0.2s; }
.casino-card:nth-child(2) { animation-delay: 0.4s; }
.casino-card:nth-child(3) { animation-delay: 0.6s; }

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

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

.casino-logo {
    max-width: 80px; /* Зменшено з 100px до 80px */
    height: 60px; /* Зменшено з 50px до 40px */
    object-fit: contain;
    margin: 12px auto; /* Зменшено з 10px до 8px */
    display: block;
}

.casino-card h3 {
    color: #b71c1c;
    font-size: 18px; /* Зменшено з 20px до 18px */
    margin: 12px 0 6px; /* Зменшено з 15px 0 8px до 12px 0 6px */
    min-height: 22px; /* Зменшено з 24px до 22px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-card p {
    font-size: 13px; /* Зменшено з 14px до 13px */
    margin-bottom: 17px; /* Зменшено з 16px до 12px */
    min-height: 36px; /* Зменшено з 40px до 36px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #f44336;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #d32f2f;
}

/* Footer */
/* Footer */
footer {
    background: #00004d; /* Rich blue */
    color: #ffffff; /* White text */
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 3px solid #b32d00; /* Green accent */
}

footer .footer-column {
    flex: 1;
    min-width: 200px; /* Ensures columns stack on small screens */
    margin: 0 10px;
}

footer .footer-column h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #b32d00; /* Green for headings */
}

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

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

footer .footer-column ul li a {
    color: #ffffff; /* White links */
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-column ul li a:hover {
    color: #b32d00; /* Green hover effect */
}

/* Social Media Icons */
/* Social Media Icons */
footer .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

footer .social-icons a img {
    width: 40px; /* Adjust logo size */
    height: auto;
    transition: transform 0.3s;
    border-radius: 5px; /* Optional: Slightly rounded edges */
}

footer .social-icons a:hover img {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Responsible Gambling Logos */
footer .gambling-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

footer .gambling-logos a img {
    width: 60px;
    height: auto;
    transition: transform 0.3s;
}

footer .gambling-logos a:hover img {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    footer .footer-column {
        margin-bottom: 20px;
    }

    footer .social-icons {
        justify-content: center;
    }

    footer .gambling-logos {
        justify-content: center;
    }
}



/* Pros and Cons Blocks */
.pros-cons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.pros, .cons {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.pros {
    background: #b32d00; /* Green for pros */
}

.cons {
    background: #D9534F; /* Red for cons */
}

.pros h3, .cons h3 {
    margin-bottom: 10px;
    font-size: 1.4em;
    text-align: center;
}

.pros h3 {
    color: #fff;
}

.cons h3 {
     color: #fff;
}

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

.pros li, .cons li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1em;
}

.pros li::before {
    content: '✔'; /* Checkmark for pros */
    color: #00004d; /* Blue accent */
    font-weight: bold;
    margin-right: 8px;
}

.cons li::before {
    content: '✘'; /* Cross for cons */
    color: #8A0000; /* Darker red */
    font-weight: bold;
    margin-right: 8px;
}

/* Bullet List */
ul.bullet-list {
    padding: 20px;
    background: #f2f2f2; /* Light neutral background */
    border: 2px solid #b32d00; /* Green border */
    border-radius: 10px;
    color: #00004d; /* Text in dark blue */
    list-style-type: none;
    margin: 20px 0;
}

ul.bullet-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1em;
}

ul.bullet-list li::before {
    content: '•'; /* Custom bullet */
    position: absolute;
    left: 0;
    color: #b32d00; /* Green bullet */
    font-size: 1.4em;
    line-height: 1;
}

/* Numbered List */
ol.numbered-list {
    padding: 20px;
    background: #f2f2f2; /* Light neutral background */
    border: 2px solid #b32d00; /* Green border */
    border-radius: 10px;
    color: #00004d; /* Text in dark blue */
    counter-reset: custom-counter; /* Reset custom counter */
    list-style: none; /* Remove default numbers */
    margin: 20px 0;
}

ol.numbered-list li {
    counter-increment: custom-counter; /* Increment custom counter */
    position: relative;
    padding-left: 35px;
    margin-bottom: 10px;
    font-size: 1em;
}

ol.numbered-list li::before {
    content: counter(custom-counter) '.'; /* Custom numbering */
    position: absolute;
    left: 0;
    color: #b32d00; /* Green number */
    font-weight: bold;
    font-size: 1.2em;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .pros-cons-container {
        flex-direction: column; /* Stack blocks vertically */
    }

    header h1 {
        font-size: 1.5em;
    }

    ul.bullet-list, ol.numbered-list {
        padding: 15px;
    }

    ul.bullet-list li, ol.numbered-list li {
        font-size: 0.9em;
    }

    .pros, .cons {
        padding: 15px;
    }
}


p {
    margin: 15px 0;
    color: #00004d; /* Dark blue text */
    font-size: 1em;
    line-height: 1.8;
    max-width: 800px; /* Limit text width for readability */
}

/* Headings */
h2, h4, h5, h6 {
    color: #b32d00; /* Vibrant green for headings */
    font-weight: bold;
    line-height: 1.4;
    margin: 20px 0 10px; /* Spacing above and below headings */
}
h1 {
    color: #CC142B; /* Vibrant green for headings */
    font-weight: bold;
    line-height: 1.4;
    margin: 20px 0 10px; /* Spacing above and below headings */
}
h3 {
    color: #00247D; /* Vibrant green for headings */
    font-weight: bold;
    line-height: 1.4;
    margin: 20px 0 10px; /* Spacing above and below headings */
}

/* H1 (Main Heading) */
h1 {
    font-size: 2.5em; /* Large font size */
    text-align: center; /* Centered for main headings */
    border-bottom: 3px solid #b32d00; /* Green underline */
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* H2 */
h2 {
    font-size: 2em;
    border-bottom: 2px solid #b32d00; /* Subtle green underline */
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* H3 */
h3 {
    font-size: 1.5em;
}

/* H4 */
h4 {
    font-size: 1.2em;
    font-weight: normal; /* Slightly lighter */
    color: #0057A3; /* Lighter blue for subheadings */
}


.highlight {
    background: #b32d00; /* Green background */
    color: #ffffff; /* White text */
    padding: 2px 6px;
    border-radius: 5px;
}

/* Links */
a {
    color: #b32d00; /* Green links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

a:hover {
    color: #0057A3; /* Blue hover effect */
}

/* Buttons */
.button {
    display: inline-block;
    background: #b32d00;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.button:hover {
    background: #0057A3;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.4em;
    }

    p {
        font-size: 0.9em;
    }
}




/* Table Container */
.table-container {
    overflow-x: auto; /* Enable horizontal scrolling on small screens */
    margin: 20px 0;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff; /* White background for contrast */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Table Headers */
.table th {
    background: #b32d00; /* Vibrant green for headers */
    color: #ffffff; /* White text */
    font-weight: bold;
    text-align: left;
    padding: 15px;
    font-size: 1em;
}

/* Table Rows */
.table td {
    padding: 15px;
    text-align: left;
    color: #00004d; /* Dark blue text */
    font-size: 0.9em;
    border-bottom: 1px solid #f2f2f2; /* Subtle row separator */
}

.table tr:nth-child(even) {
    background: #f9f9f9; /* Light grey for alternating rows */
}

.table tr:hover {
    background: #e6ffe6; /* Soft green hover effect */
    transition: background 0.3s;
}

/* Highlighted Row (Optional) */
.table .highlighted {
    background: #e0f7fa; /* Light blue highlight */
    font-weight: bold;
}

/* Table Footer (Optional) */
.table tfoot td {
    background: #00004d; /* Dark blue footer */
    color: #ffffff; /* White text */
    font-weight: bold;
    text-align: right;
    padding: 15px;
}

/* Responsive Table */
@media (max-width: 768px) {
    .table td, .table th {
        padding: 10px; /* Adjust padding for smaller screens */
        font-size: 0.8em;
    }
}
