/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

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

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    color: #4A90E2;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4A90E2;
}

.nav-link.active {
    color: #4A90E2;
    font-weight: 600;
    border-bottom: 2px solid #4A90E2;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger-line {
    width: 24px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    padding: 20px;
    z-index: 1000;
    overflow-y: auto;
}

.mobile-nav.active {
    display: flex;
}

.close-menu {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    width: 32px;
    height: 32px;
}

.close-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
}

.close-line:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-line:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-link {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-link:hover {
    color: #4A90E2;
}

.mobile-nav-link.active {
    color: #4A90E2;
    font-weight: 600;
    background-color: #e8f0fe;
    padding-left: 25px;
}

/* Hero Block */
.hero {
    background-color: #e8f0fe;
    padding: 80px 0;
    color: #333;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: #555;
}

.hero-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #4A90E2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

/* Main Content */
.main {
    padding: 30px 0px 0px 0px;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

/* Casino Cards */
.casino-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 30px;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.casino-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.casino-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.casino-logo img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: contain;
    background-color: #2c3e50;
    padding: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.casino-info {
    flex: 1;
}

.casino-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

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

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

.rating-number {
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

.casino-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feature {
    background-color: #e8f0fe;
    color: #4A90E2;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.casino-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    align-items: stretch;
}

.casino-bonus {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bonus-badge {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
}

.bonus-amount {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-top: 4px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: #4A90E2;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #357ABD;
}

.btn-play {
    background-color: #2E8B57;
    color: #ffffff;
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
}

.btn-play:hover {
    background-color: #228B22;
}

/* Text Block Sections */
.intro-section,
.after-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.text-block {
    max-width: 1200px;
    margin: 0 auto;
}

.text-block p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.text-block p:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
    background-color: #f5f7fa;
}

.faq-block {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 0;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 22px;
    color: #4A90E2;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
}

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

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo a {
    display: inline-block;
}

.footer-logo-image {
    height: 35px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0.9);
}

.footer-logo p {
    margin: 0;
}

.footer-logo-text {
    color: #4A90E2;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
    text-transform: lowercase;
}

.footer-text {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-title {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4A90E2;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 14px;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .casino-card {
        flex-direction: column;
        text-align: center;
    }

    .casino-actions {
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .bonus-amount {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .casino-actions {
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .logo {
        flex-shrink: 0;
    }

    .logo-image {
        height: 35px;
        max-width: 150px;
    }

    /* Article Content Tablet */
    .main-content {
        padding: 30px 20px;
    }

    .main-content h1 {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .main-content h2 {
        font-size: 24px;
        margin-top: 28px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .main-content h3 {
        font-size: 20px;
        margin-top: 22px;
        margin-bottom: 14px;
    }

    .main-content p {
        font-size: 16px;
    }
}

/* Article Content Styles */
.main-content {
    background-color: #ffffff;
    padding: 40px 30px;
    line-height: 1.8;
    color: #333;
    border-radius: 12px;
    margin: 30px 0;
}

.main-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
}

.main-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 35px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 3px solid #4A90E2;
}

.main-content h2:first-of-type {
    margin-top: 20px;
}

.main-content h2.section-title {
    margin-top: 0;
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
}

.main-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #34495e;
    margin-top: 28px;
    margin-bottom: 16px;
}

.main-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.main-content p:last-child {
    margin-bottom: 0;
}

.main-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Lists Styles */
.main-content ul {
    margin: 16px 0;
    padding-left: 25px;
    list-style: none;
}

.main-content ul li {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.main-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-weight: bold;
    font-size: 18px;
}

.main-content ul li strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Table Styles */
.table-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.table-section h2 {
    margin-bottom: 30px;
}

.table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background-color: #ffffff;
}

.comparison-table,
.bonus-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background-color: #ffffff;
}

.comparison-table thead,
.bonus-table thead {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #ffffff;
}

.comparison-table th,
.bonus-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 3px solid #357ABD;
}

.comparison-table td,
.bonus-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    font-size: 15px;
}

.comparison-table tbody tr:hover,
.bonus-table tbody tr:hover {
    background-color: #f8f9fa;
}

.comparison-table tbody tr:last-child td,
.bonus-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table td strong,
.bonus-table td strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Tables inside main-content */
.main-content .table-wrapper {
    margin: 40px 0;
}

.main-content table {
    margin: 30px 0;
}

.main-content .table-wrapper table {
    margin: 0;
}

/* Content Spacing */
.main-content h1 + p {
    margin-top: 12px;
}

.main-content h2 + p {
    margin-top: 8px;
}

.main-content h3 + p {
    margin-top: 8px;
}

.main-content p + h1 {
    margin-top: 32px;
}

.main-content p + h2 {
    margin-top: 32px;
}

.main-content p + h3 {
    margin-top: 26px;
}

.main-content ul + p {
    margin-top: 12px;
}

.main-content h2 + ul {
    margin-top: 8px;
}

.main-content h3 + ul {
    margin-top: 8px;
}

/* Table Section Spacing */
.table-section + .main-content {
    margin-top: 30px;
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .casino-logo img {
        width: 120px;
        height: 120px;
        padding: 10px;
    }

    .casino-name {
        font-size: 20px;
    }

    .casino-bonus {
        padding: 10px 12px;
    }

    .bonus-badge {
        font-size: 11px;
    }

    .bonus-amount {
        font-size: 18px;
        margin-top: 3px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .btn-play {
        padding: 6px 14px;
        font-size: 13px;
    }

    .stars {
        font-size: 16px;
    }

    .rating-number {
        font-size: 14px;
    }

    /* Article Content Mobile */
    .main-content {
        padding: 20px 15px;
    }

    .main-content h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .main-content h2 {
        font-size: 22px;
        margin-top: 24px;
        margin-bottom: 14px;
        padding-bottom: 8px;
    }

    .main-content h2.section-title {
        font-size: 22px;
    }

    .main-content h3 {
        font-size: 19px;
        margin-top: 20px;
        margin-bottom: 12px;
    }

    .main-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .main-content ul {
        margin: 14px 0;
        padding-left: 20px;
    }

    .main-content ul li {
        font-size: 16px;
        padding-left: 16px;
        margin-bottom: 8px;
    }

    .comparison-table th,
    .bonus-table th,
    .comparison-table td,
    .bonus-table td {
        font-size: 13px;
        padding: 10px 8px;
    }

    .main-content .table-wrapper {
        margin: 20px 0;
    }

    .main-content h1 + p {
        margin-top: 10px;
    }

    .main-content h2 + p {
        margin-top: 6px;
    }

    .main-content h3 + p {
        margin-top: 6px;
    }

    .main-content p + h1 {
        margin-top: 26px;
    }

    .main-content p + h2 {
        margin-top: 26px;
    }

    .main-content p + h3 {
        margin-top: 20px;
    }

    /* FAQ Mobile */
    .faq-section {
        padding: 30px 0;
    }

    .faq-item {
        padding: 15px;
        margin-bottom: 12px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 14px;
    }

    .faq-item.active .faq-answer {
        margin-top: 8px;
    }

    /* Lists Mobile Spacing */
    .main-content ul + p {
        margin-top: 10px;
    }

    .main-content h2 + ul {
        margin-top: 6px;
    }

    .main-content h3 + ul {
        margin-top: 6px;
    }
}

/* Internal Links Styles */
.main-content a {
    color: #4A90E2;
    text-decoration: none;
    border-bottom: 2px solid rgba(74, 144, 226, 0.2);
    padding-bottom: 2px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.main-content a:hover {
    color: #357ABD;
    border-bottom-color: #357ABD;
    background: linear-gradient(to bottom, transparent 0%, transparent 85%, rgba(74, 144, 226, 0.1) 85%, rgba(74, 144, 226, 0.15) 100%);
}

.main-content a:visited {
    color: #5B9BD5;
    border-bottom-color: rgba(91, 155, 213, 0.2);
}

/* Mobile adjustments for links */
@media (max-width: 768px) {
    .main-content a {
        font-size: 16px;
        border-bottom-width: 2px;
        padding-bottom: 2px;
    }
}

@media (max-width: 480px) {
    .main-content a {
        font-size: 16px;
        border-bottom-width: 1.5px;
        padding-bottom: 1px;
    }
}

