/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #48bb78;
    --warning-color: #ed8936;
    --danger-color: #e53e3e;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --gold: #d69e2e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo span {
    color: var(--accent-color);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

nav a:hover {
    color: var(--accent-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Meta Box */
.meta-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-box .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.meta-box .meta-info {
    flex: 1;
}

.meta-box .author-name {
    font-weight: 600;
    color: var(--primary-color);
}

.meta-box .author-role {
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-box .meta-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.content-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.content-section h3 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
}

.content-section p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.content-section ul, .content-section ol {
    margin: 15px 0;
    padding-left: 25px;
}

.content-section li {
    margin-bottom: 8px;
}

/* Casino Comparison Table */
.casino-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.casino-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.casino-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.casino-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.casino-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.casino-table tbody tr {
    cursor: pointer;
    transition: all 0.3s ease;
}

.casino-table tbody tr:hover {
    background-color: #edf2f7;
    transform: scale(1.01);
}

.casino-table tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}

.casino-table tbody tr:nth-child(even):hover {
    background-color: #e2e8f0;
}

.casino-table .rank {
    font-weight: bold;
    color: var(--gold);
    font-size: 1.1rem;
}

.casino-table .casino-name {
    font-weight: 600;
    color: var(--primary-color);
}

.casino-table .bonus {
    color: var(--accent-color);
    font-weight: 500;
}

.casino-table .badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-new {
    background: var(--accent-color);
    color: white;
}

.badge-top {
    background: var(--gold);
    color: white;
}

.casino-table .cta-btn {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.casino-table .cta-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
}

/* Mobile Casino Cards */
.casino-cards {
    display: none;
}

.casino-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

.casino-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.casino-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.casino-card-rank {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
}

.casino-card-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.casino-card-bonus {
    background: linear-gradient(135deg, var(--accent-color) 0%, #38a169 100%);
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.casino-card-cta {
    display: block;
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
}

/* Review Cards */
.review-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent-color);
}

.review-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-card .rating {
    color: var(--gold);
    font-size: 1.1rem;
}

.review-card .bonus-highlight {
    background: linear-gradient(135deg, var(--accent-color) 0%, #38a169 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-block;
    margin: 10px 0;
    font-weight: 600;
}

.review-card .pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.review-card .pros h4 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.review-card .cons h4 {
    color: var(--danger-color);
    margin-bottom: 10px;
}

.review-card .pros li, .review-card .cons li {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.review-card .cta-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.review-card .cta-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Author Bios */
.author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.author-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.author-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.author-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-card .role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.author-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Form & Info */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item .details h4 {
    color: var(--primary-color);
    margin-bottom: 3px;
}

.contact-item .details p, .contact-item .details a {
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsible Gaming Banner */
.responsible-gaming {
    background: var(--warning-color);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 500;
}

.responsible-gaming a {
    color: white;
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.8);
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
}

.responsible-links {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.responsible-links h4 {
    margin-bottom: 15px;
}

.responsible-links .links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.responsible-links a {
    color: rgba(255,255,255,0.8);
    padding: 5px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 0.9rem;
}

.responsible-links a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.age-badge {
    display: inline-block;
    background: var(--danger-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin: 10px 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
}

/* Privacy Policy Styles */
.policy-content h3 {
    margin-top: 25px;
    color: var(--primary-color);
}

.policy-content p, .policy-content ul {
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 20px;
        gap: 15px;
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    header .container {
        position: relative;
    }

    /* Hide table, show cards */
    .casino-table-wrapper {
        display: none;
    }

    .casino-cards {
        display: block;
    }

    .review-card .pros-cons {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 20px;
    }

    .meta-box {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .responsible-links .links {
        justify-content: center;
    }
}

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

    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .author-grid {
        grid-template-columns: 1fr;
    }
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    color: #856404;
}

.warning-box strong {
    display: block;
    margin-bottom: 5px;
}

/* Info Box */
.info-box {
    background: #e7f3ff;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    color: #0d47a1;
}

/* Highlight Number */
.highlight-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}
