/* DanmarkSpins.com - Final Refined Template Styles */

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

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

/* Global Layout Constraints - 1200px max width, centered */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation Block - Sticky with enhanced active/hover effects */
.navigation {
    background-color: #951f1f;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    /* Removed margin-bottom to make flush with hero */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.nav-logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: white;
    color: #951f1f;
}

/* Hero Block - Refined with transparent background assets */
.hero {
    background-color: #951f1f;
    min-height: 300px;
    display: flex;
    align-items: center;
    margin-bottom: 32px; /* Spacing after hero */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-image {
    flex-shrink: 0;
}

.hero-image img {
    width: 300px;
    height: 300px;
    object-fit: contain; /* Changed to contain for transparent backgrounds */
}

.hero-content {
    flex: 1;
    color: white;
}

.hero-content h1 {
    font-size: 1.8rem; /* Slightly reduced */
    font-weight: 700;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.hero-content h2 {
    font-size: 1.1rem; /* Slightly reduced */
    font-weight: 400;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 0.9rem; /* Slightly reduced */
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem; /* Slightly reduced */
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.feature-badge::before {
    content: "☑";
    margin-right: 0.5rem;
    color: #90EE90;
}

/* Main Content - Centered with proper spacing */
.main-content {
    background-color: #ffffff;
    padding: 48px 0;
    margin-bottom: 32px; /* Spacing before footer */
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.content-container p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.content-container ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-container li {
    margin-bottom: 0.5rem;
}

/* Footer Block - Enhanced with refined styling */
.footer {
    background-color: #951f1f;
    color: white;
    padding: 2rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer-links {
    margin-bottom: 2rem;
    /* Removed border-bottom divider */
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px; /* Updated to 12px as requested */
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Apply same active/hover styling as navigation */
.footer-links a:hover,
.footer-links a.active {
    background-color: white;
    color: #951f1f;
}

.separator {
    margin: 0 1rem;
    opacity: 0.7;
}

/* Legal Section with Table Layout */
.footer-legal {
    margin-bottom: 1rem;
}

.disclaimer-section {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
}

.legal-table td {
    vertical-align: top;
    padding: 0.5rem;
}

.legal-icon {
    width: 30px;
    font-size: 16px;
    text-align: center;
}

.legal-label {
    width: 200px;
    font-weight: 700;
    font-size: 12px;
    color: white;
}

.legal-text {
    font-size: 12px;
    color: white;
    line-height: 1.4;
}

/* Removed legal-divider class as dividers are no longer needed */

.copyright {
    font-size: 10px;
    color: #CCCCCC; /* Silver/grey as requested */
    font-weight: normal;
    line-height: 1.4;
    /* Removed border-top as dividers are removed */
}

/* Age Verification Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: #333;
}

.modal-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-confirm,
.btn-exit {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-confirm {
    background-color: #951f1f;
    color: white;
}

.btn-confirm:hover {
    background-color: #7a1919;
}

.btn-exit {
    background-color: #ccc;
    color: #333;
}

.btn-exit:hover {
    background-color: #bbb;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-image img {
        width: 250px;
        height: 250px;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
        white-space: normal;
    }
    
    .hero-content h2 {
        font-size: 1rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .feature-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .btn-confirm,
    .btn-exit {
        width: 100%;
    }
    
    .legal-table {
        font-size: 11px;
    }
    
    .legal-label {
        width: 150px;
        font-size: 11px;
    }
    
    .legal-text {
        font-size: 11px;
    }
    
    .copyright {
        font-size: 9px;
    }
    
    .container,
    .nav-container,
    .hero-container,
    .content-container,
    .footer-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Additional breakpoints for smaller devices */
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.2rem;
    }
    
    .hero-image img {
        width: 200px;
        height: 200px;
    }
    
    .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .footer-links a {
        font-size: 11px;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.1rem;
    }
    
    .hero-image img {
        width: 180px;
        height: 180px;
    }
    
    .container,
    .nav-container,
    .hero-container,
    .content-container,
    .footer-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}



/* Landing Page Content Styles */

/* Feature Cards Block */
.feature-cards {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.feature-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #951f1f;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Casino Table Block */
.casino-table-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.casino-table-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.casino-table-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.casino-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.casino-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr 200px;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #eee;
    gap: 2rem;
}

.casino-row:last-child {
    border-bottom: none;
}

.casino-logo {
    text-align: center;
}

.casino-logo img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

.casino-bonus h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #951f1f;
    margin-bottom: 0.5rem;
}

.casino-conditions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.casino-conditions li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
    padding-left: 1rem;
    position: relative;
}

.casino-conditions li::before {
    content: "•";
    color: #951f1f;
    position: absolute;
    left: 0;
}

.casino-cta {
    text-align: center;
}

.casino-btn {
    background-color: #951f1f;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    margin-bottom: 0.5rem;
}

.casino-btn:hover {
    background-color: #7a1919;
}

.casino-url {
    font-size: 0.9rem;
    color: #666;
}

.casino-disclaimer {
    background-color: rgba(149, 31, 31, 0.1);
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    border-top: 1px solid #eee;
}

.table-disclaimer {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Features & Education Block */
.education-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.education-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.education-header {
    text-align: center;
    margin-bottom: 3rem;
}

.education-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.education-header .subtitle {
    font-size: 1.3rem;
    color: #951f1f;
    font-weight: 600;
    margin-bottom: 1rem;
}

.education-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.steps-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 3rem 0 2rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.step-image {
    margin-bottom: 1.5rem;
}

.step-image img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
}

.step-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #951f1f;
    margin-bottom: 1rem;
}

.step-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Informational Block */
.info-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.info-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

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

.info-block.reverse {
    direction: rtl;
}

.info-block.reverse > * {
    direction: ltr;
}

.info-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.info-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

.info-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Responsible Gambling Block */
.responsible-gambling {
    padding: 4rem 0;
    background: linear-gradient(135deg, #951f1f 0%, #7a1919 100%);
    color: white;
}

.responsible-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.responsible-gambling h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.responsible-gambling p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.responsible-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.responsible-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 240px;
    height: 100%;
}

.responsible-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.responsible-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: white;
    line-height: 1.2;
}

.responsible-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    flex-grow: 1;
}

/* Responsible Gambling Badges Section */
.responsible-badges-section {
    padding: 3rem 0;
    background: white;
}

.responsible-badges-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: nowrap;
}

.badge-link {
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.badge-link:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.badge-link img,
.badge-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.badge-item {
    opacity: 0.8;
}

/* Responsive Design */
/* Tablet breakpoint */
@media (max-width: 1024px) {
    .feature-cards-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .responsible-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .responsible-badges-container {
        gap: 2rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .casino-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .info-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-block.reverse {
        direction: ltr;
    }
    
    .feature-cards-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .responsible-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .responsible-card {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .responsible-badges-container {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .badge-link img {
        height: 50px;
    }
    
    .education-header h2,
    .casino-table-title,
    .responsible-gambling h2 {
        font-size: 2rem;
    }
    
    .info-text h3 {
        font-size: 1.5rem;
    }
}



/* About Page Specific Styles */
.content-section {
    margin: 4rem 0;
}

.section-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-image {
    flex: 1;
}

.section-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-text {
    flex: 1;
}

.section-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #951f1f;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* Alternating Layout */
.image-right .section-content {
    flex-direction: row-reverse;
}

.image-left .section-content {
    flex-direction: row;
}

/* Contact Methods Table */
.contact-methods {
    margin: 4rem 0;
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 12px;
}

.contact-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-column {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-column h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #951f1f;
    margin-bottom: 1rem;
}

.contact-column p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

.contact-column p:last-child {
    margin-bottom: 0;
}

.contact-column a {
    color: #951f1f;
    text-decoration: none;
    font-weight: 600;
}

.contact-column a:hover {
    text-decoration: underline;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .section-content {
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
    }
    
    .section-text h2 {
        font-size: 1.8rem;
    }
    
    .section-text p {
        font-size: 1rem;
    }
    
    .contact-table {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-column {
        height: auto;
    }
    
    .contact-methods {
        padding: 2rem 1rem;
    }
    
    .content-section {
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .section-text h2 {
        font-size: 1.5rem;
    }
    
    .contact-column {
        padding: 1.5rem;
    }
}


/* Smooth Scrolling for Anchor Links */
html {
    scroll-behavior: smooth;
}

/* Offset for fixed navigation when scrolling to anchors */
#kontakt {
    scroll-margin-top: 100px;
}


/* Responsible Gambling Policy Styles */
.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #951f1f;
}

.policy-header h2 {
    color: #951f1f;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.last-updated {
    color: #666;
    font-style: italic;
    font-size: 1.1rem;
}

.policy-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-left: 4px solid #951f1f;
    border-radius: 8px;
}

.policy-intro h3 {
    color: #951f1f;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.table-of-contents {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table-of-contents h3 {
    color: #951f1f;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.table-of-contents ol {
    list-style: decimal;
    padding-left: 2rem;
}

.table-of-contents li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.table-of-contents a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #951f1f;
    text-decoration: underline;
}

.policy-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h3 {
    color: #951f1f;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.policy-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #333;
}

.policy-section ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.policy-section li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.policy-section a {
    color: #951f1f;
    text-decoration: none;
    font-weight: 500;
}

.policy-section a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for policy page */
@media (max-width: 768px) {
    .policy-header h2 {
        font-size: 2rem;
    }
    
    .policy-intro,
    .table-of-contents {
        padding: 1.5rem;
    }
    
    .policy-section {
        padding: 1.5rem 0;
    }
    
    .policy-section h3 {
        font-size: 1.4rem;
    }
}


/* Cookie and Browser Help Table Styling */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table,
.browser-help-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cookie-table thead,
.browser-help-table thead {
    background-color: #951f1f;
    color: white;
}

.cookie-table th,
.browser-help-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

.cookie-table td,
.browser-help-table td {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.cookie-table tr:nth-child(even),
.browser-help-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.cookie-table tr:hover,
.browser-help-table tr:hover {
    background-color: #f5f5f5;
}

.cookie-table td:first-child {
    font-weight: 600;
    color: #951f1f;
    width: 30%;
}

.browser-help-table td:first-child {
    font-weight: 600;
    color: #951f1f;
    width: 25%;
}

.browser-help-table a {
    color: #951f1f;
    text-decoration: none;
    word-break: break-all;
}

.browser-help-table a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness for tables */
@media (max-width: 768px) {
    .cookie-table,
    .browser-help-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td,
    .browser-help-table th,
    .browser-help-table td {
        padding: 0.75rem 0.5rem;
    }
}


/* Comprehensive Link Styling for Legal Pages Only */
.policy-header a,
.policy-intro a,
.policy-section a,
.table-of-contents a,
.document-intro a,
.legal-document a,
.terms-content a,
.privacy-content a,
.cookies-content a {
    color: #951f1f !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.policy-header a:hover,
.policy-intro a:hover,
.policy-section a:hover,
.table-of-contents a:hover,
.document-intro a:hover,
.legal-document a:hover,
.terms-content a:hover,
.privacy-content a:hover,
.cookies-content a:hover {
    text-decoration: underline !important;
    color: #7a1919 !important;
}

/* Ensure email and external links in legal pages are properly styled */
.policy-section a[href^="mailto:"],
.policy-section a[href^="http://"],
.policy-section a[href^="https://"],
.policy-section a[href^="www."],
.policy-intro a[href^="mailto:"],
.policy-intro a[href^="http://"],
.policy-intro a[href^="https://"],
.policy-intro a[href^="www."] {
    color: #951f1f !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.policy-section a[href^="mailto:"]:hover,
.policy-section a[href^="http://"]:hover,
.policy-section a[href^="https://"]:hover,
.policy-section a[href^="www."]:hover,
.policy-intro a[href^="mailto:"]:hover,
.policy-intro a[href^="http://"]:hover,
.policy-intro a[href^="https://"]:hover,
.policy-intro a[href^="www."]:hover {
    text-decoration: underline !important;
    color: #7a1919 !important;
}


/* Additional broader rules to catch all links on legal pages */
.main-content-container a,
.content-wrapper a,
main a,
article a {
    color: #951f1f !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.main-content-container a:hover,
.content-wrapper a:hover,
main a:hover,
article a:hover {
    text-decoration: underline !important;
    color: #7a1919 !important;
}

/* Specific targeting for legal pages by URL pattern */
body[data-page="vilkar"] a,
body[data-page="privatliv"] a,
body[data-page="cookies"] a {
    color: #951f1f !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

body[data-page="vilkar"] a:hover,
body[data-page="privatliv"] a:hover,
body[data-page="cookies"] a:hover {
    text-decoration: underline !important;
    color: #7a1919 !important;
}

/* Override for main page casino buttons to ensure they stay white */
.casino-card a,
.casino-button a,
.cta-button a,
.main-page .casino-link a {
    color: white !important;
    background-color: inherit !important;
}


/* Section headings styling for legal pages */
.policy-section h3,
.main-content-container h3,
.content-wrapper h3,
main h3,
article h3,
.policy-intro h3,
.document-intro h3,
.legal-document h3,
.terms-content h3,
.privacy-content h3,
.cookies-content h3 {
    color: #951f1f !important;
    font-weight: 600 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

/* Ensure all headings on legal pages are consistently styled */
body[data-page="vilkar"] h3,
body[data-page="privatliv"] h3,
body[data-page="cookies"] h3 {
    color: #951f1f !important;
    font-weight: 600 !important;
}

/* Also style h2 headings if they exist on legal pages */
.policy-section h2,
.main-content-container h2,
.content-wrapper h2,
main h2,
article h2 {
    color: #951f1f !important;
    font-weight: 600 !important;
}

body[data-page="vilkar"] h2,
body[data-page="privatliv"] h2,
body[data-page="cookies"] h2 {
    color: #951f1f !important;
    font-weight: 600 !important;
}

