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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-gray: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --max-width: 1200px;
    --border-radius: 8px;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 15px 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Header */
header {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo:hover {
    text-decoration: none;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    text-decoration: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    padding: 0;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Warning Banner */
.warning-banner {
    background: var(--warning-color);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Bookmakers Grid */
.bookmakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.bookmaker-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bookmaker-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bookmaker-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    padding: 0;
}

.bookmaker-card .bonus {
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: inline-block;
    margin: 1rem 0;
    font-weight: 600;
}

.bookmaker-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Blog Posts */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.blog-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card h3 {
    margin-bottom: 0.5rem;
    padding: 0;
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-card .read-more {
    color: var(--primary-color);
    font-weight: 600;
}

/* Content Article */
.content-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.content-article img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.content-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.content-article th,
.content-article td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.content-article th {
    background: var(--bg-gray);
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-color);
    color: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

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

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .bookmakers-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons .btn {
        width: 100%;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   BLOG ARTICLE STYLES
   ============================================ */

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-color);
    font-weight: 500;
}

/* Article Sticky Header */
.article-sticky-header {
    position: fixed;
    top: 73px; /* Below main header */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    padding: 1rem 0;
}

.article-sticky-header.visible {
    transform: translateY(0);
}

.article-sticky-header .container {
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.article-sticky-header h1 {
    font-size: 1.125rem;
    margin: 0;
    padding: 0;
    font-weight: 600;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-sticky-header .btn {
    white-space: nowrap;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* Review Article */
.review-article {
    max-width: 900px;
    margin: 0 auto;
}

.review-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.review-title-section h1 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.review-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
}

.rating-number {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.125rem;
}

.license {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Bonus Box */
.review-bonus-box {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 250px;
}

.bonus-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.bonus-amount {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Quick Summary */
.quick-summary {
    background: var(--bg-gray);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.quick-summary h2 {
    margin-bottom: 1.5rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
}

.summary-item .label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.summary-item .value {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.125rem;
}

/* Pros and Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pros, .cons {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.pros {
    background: #f0fdf4;
    border-color: #86efac;
}

.cons {
    background: #fef2f2;
    border-color: #fca5a5;
}

.pros h3 {
    color: #16a34a;
    margin-bottom: 1rem;
}

.cons h3 {
    color: #dc2626;
    margin-bottom: 1rem;
}

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

.pros li, .cons li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pros li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.cons li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

/* Detailed Review */
.detailed-review {
    margin: 2rem 0;
}

.detailed-review h2 {
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.detailed-review h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.detailed-review ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.detailed-review li {
    margin-bottom: 0.5rem;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 3rem 0;
}

.final-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.cta-button-large {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.disclaimer {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Comparison Article */
.comparison-article h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-overview {
    margin: 2rem 0;
}

.vs-cards {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.bookmaker-card {
    text-align: center;
    padding: 2rem;
}

.bookmaker-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bookmaker-card .rating {
    justify-content: center;
    margin-bottom: 1rem;
}

.bookmaker-card .bonus {
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.vs-separator {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    padding: 1rem;
}

/* Comparison Table */
.comparison-table {
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

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

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

.comparison-table tr:nth-child(even) {
    background: var(--bg-gray);
}

.badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    display: inline-block;
}

/* Sport Guide */
.sport-guide h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.sport-guide .intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.top-bookmakers {
    margin: 3rem 0;
}

.bookmakers-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bookmaker-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.bookmaker-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.bookmaker-item .rank {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

.bookmaker-info h3 {
    margin-bottom: 0.5rem;
    padding: 0;
}

.bookmaker-info .rating {
    margin-bottom: 0.5rem;
}

.bookmaker-info .bonus {
    margin-bottom: 0.75rem;
}

.features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bookmaker-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    text-decoration: none;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--bg-gray);
    text-decoration: none;
}

/* Blog Sections */
.blog-section {
    margin: 3rem 0;
}

.blog-section h2 {
    color: var(--text-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.blog-stats {
    background: var(--bg-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 2rem 0;
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.back-link {
    margin-top: 2rem;
    text-align: center;
}

/* Responsive for Articles */
@media (max-width: 768px) {
    .review-header {
        grid-template-columns: 1fr;
    }

    .review-bonus-box {
        min-width: 100%;
    }

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

    .vs-cards {
        grid-template-columns: 1fr;
    }

    .vs-separator {
        transform: rotate(90deg);
    }

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

    .bookmaker-item .rank {
        font-size: 1.5rem;
    }

    .bookmaker-cta {
        width: 100%;
    }

    .article-sticky-header h1 {
        font-size: 0.875rem;
    }
}
