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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
}

/* Main Content Section */
main {
    max-width: 900px; /* Restrict the width for better readability */
    margin: 2em auto; /* Center align and add spacing */
    padding: 1.5em; /* Add padding around the content */
    font-family: 'Arial', sans-serif;
    color: #333; /* Neutral text color */
    line-height: 1.8; /* Comfortable line spacing */
}

/* Headings */
main h1 {
    font-size: 2.5rem;
    color: #012169; /* Union Jack dark blue for primary headings */
    text-transform: uppercase;
    margin-bottom: 1em;
    text-align: center;
    border-bottom: 3px solid #C8102E; /* Union Jack red underline */
    padding-bottom: 0.5em;
}

main h2 {
    font-size: 2rem;
    color: #C8102E; /* Union Jack red for secondary headings */
    margin-top: 2em;
    margin-bottom: 0.8em;
    text-transform: capitalize;
    border-left: 5px solid #012169; /* Union Jack blue accent line */
    padding-left: 0.8em;
}

main h3 {
    font-size: 1.6rem;
    color: #012169; /* Union Jack blue */
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    text-transform: capitalize;
}

/* Paragraphs */
main p {
    margin-bottom: 1.5em;
    text-align: justify; /* Align text evenly for a clean look */
}

/* Lists */
main ul {
    list-style: none; /* Remove default bullets */
    margin: 1.5em 0;
    padding-left: 1.5em;
}

main ul li {
    margin-bottom: 0.8em;
    position: relative;
    padding-left: 1.8em;
}

main ul li::before {
    content: "✔"; /* Custom bullet */
    position: absolute;
    left: 0;
    color: #C8102E; /* Union Jack red bullet color */
    font-weight: bold;
    font-size: 1.2rem;
}

/* Blockquote */
main blockquote {
    margin: 2em 0;
    padding: 1em;
    background: #f9f9f9; /* Light background for emphasis */
    border-left: 5px solid #C8102E; /* Union Jack red accent line */
    font-style: italic;
    color: #666;
    quotes: """ """;
}

main blockquote:before {
    content: open-quote;
    font-size: 2rem;
    color: #C8102E;
    vertical-align: bottom;
    margin-right: 0.3em;
}

main blockquote:after {
    content: close-quote;
    font-size: 2rem;
    color: #C8102E;
    vertical-align: top;
    margin-left: 0.3em;
}

/* Tables */
main table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

main table th,
main table td {
    border: 1px solid #ddd;
    padding: 1em;
    text-align: left;
}

main table th {
    background: #012169; /* Union Jack blue background */
    color: #FFFFFF; /* White text for headers */
    font-weight: bold;
    text-transform: uppercase;
}

main table tr:nth-child(even) {
    background: #f9f9f9; /* Alternate row background */
}

main table tr:hover {
    background: rgba(200, 16, 46, 0.1); /* Light red hover effect */
}

/* Header */
header {
    background: #012169; /* Union Jack dark blue background */
    color: #FFFFFF; /* White text */
    padding: 1.5em 0;
    border-bottom: 5px solid #C8102E; /* Union Jack red for the bottom border */
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

/* Logo */
header .logo h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #FFFFFF; /* White for the logo */
    margin: 0;
}

/* Navigation */
header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5em;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    color: #FFFFFF; /* White for links */
    text-decoration: none;
    font-weight: bold;
    padding: 0.5em 1em;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover {
    background: #C8102E; /* Union Jack red for hover background */
    color: #FFFFFF; /* Keep white text on hover */
}

/* Mobile Styles */
@media (max-width: 768px) {
    header {
        padding: 1em 0;
    }

    header .container {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li a {
        padding: 1em;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(45deg, #012169, #C8102E, #FFFFFF); /* Union Jack colors gradient */
    color: #FFFFFF; /* White text */
    text-align: center;
    padding: 4em 2em;
}

/* H1 in Hero Section */
.hero h1 {
    font-size: 3rem; /* Large font size for prominence */
    font-weight: bold;
    color: #FFFFFF; /* White for contrast */
    text-transform: uppercase;
    letter-spacing: 2px; /* Extra spacing for a modern look */
    margin-bottom: 1em; /* Space below the heading */
    text-shadow: 2px 2px 4px rgba(1, 33, 105, 0.8); /* Blue shadow for depth */
}

.hero h1 span {
    color: #C8102E; /* Union Jack red highlight for key words */
    display: inline-block;
    transform: rotate(-2deg); /* Subtle rotation for emphasis */
}

/* Hero Paragraph */
.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px; /* Restrict width for readability */
    margin: 0 auto 2em; /* Center align and add spacing below */
    color: #FFFFFF; /* White for secondary text */
}

/* Call-to-Action Button */
.hero .cta-button {
    display: inline-block;
    background: #C8102E; /* Union Jack red button */
    color: #FFFFFF; /* White text */
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.8em 1.5em;
    border-radius: 5px;
    text-decoration: none;
    border: 2px solid #FFFFFF; /* White border */
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero .cta-button:hover {
    background: #FFFFFF; /* White background on hover */
    color: #C8102E; /* Red text on hover */
    transform: scale(1.05); /* Subtle zoom effect */
}

/* Casino List */
.casino-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin-top: 2em;
}

.casino-item {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 1.5em;
    border-radius: 8px;
    border: 3px solid #C8102E; /* Union Jack red border */
    text-align: center;
}

.casino-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5em;
    color: #012169; /* Union Jack blue */
}

/* Footer */
footer {
    background: #012169; /* Union Jack blue background */
    color: #FFFFFF; /* White text */
    padding: 2em 0;
    border-top: 5px solid #C8102E; /* Union Jack red top border */
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2em; /* Add spacing between columns */
}

/* Footer Columns */
.footer-column {
    flex: 1;
    min-width: 250px; /* Ensure columns don't shrink too much */
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 1em;
    color: #FFFFFF; /* White color for headings */
    border-bottom: 3px solid #C8102E; /* Union Jack red underline for headings */
    display: inline-block;
    padding-bottom: 0.3em;
}

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

.footer-column ul li {
    margin-bottom: 0.5em;
}

.footer-column ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    padding: 0.3em 0;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #C8102E; /* Union Jack red on hover */
}

/* Social Media Icons */
.footer-column img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

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

/* Center Text for Small Screens */
@media (max-width: 768px) {
    footer .container {
        flex-direction: column; /* Stack columns vertically */
        align-items: center; /* Center align content */
        text-align: center;
    }

    .footer-column {
        margin-bottom: 1.5em; /* Add spacing between stacked columns */
    }
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 2em auto;
    padding: 1.5em;
    font-family: 'Arial', sans-serif;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    font-size: 2rem;
    color: #012169; /* Union Jack blue */
    text-align: center;
    margin-bottom: 1.5em;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #C8102E; /* Union Jack red */
    display: inline-block;
    padding-bottom: 0.5em;
}

.faq {
    margin: 1em 0;
    border-bottom: 1px solid #ddd;
    padding: 1em 0;
}

.faq h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq h3:hover {
    color: #012169; /* Union Jack blue */
}

.faq h3::after {
    content: "+";
    font-size: 1.5rem;
    color: #333;
    transition: transform 0.3s ease;
}

.faq.open h3::after {
    content: "-";
    transform: rotate(180deg);
    color: #012169; /* Union Jack blue */
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-top: 0.5em;
    padding-left: 1.5em;
    border-left: 3px solid #C8102E; /* Union Jack red */
}
/* 🔝 Топ Казино - стиль для темного хедера */
.crypto-casino-section {
    background: linear-gradient(145deg, #1c1c1c, #121212); /* Темний градієнт */
    color: #f5f5f5;
    padding: 40px 20px;
    text-align: center;
}

.crypto-casino-section .section-title {
    font-size: 32px;
    color: #f1c40f; /* Золотистий акцент */
    margin-bottom: 35px;
    text-align: center;
    font-weight: 700;
}

/* Центрування карток */
.casino-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Одна картка */
.casino-card {
    background: #2b2b2b;
    color: #ffffff;
    width: 220px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}