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

body {
    font-family: 'Arial', sans-serif;
    background-color: #faf3e0; /* Classic ivory background */
    color: #2c3e50; /* Dark gray text for readability */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    text-align: left; /* Text alignment remains left but centered content */
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2 {
    color: #34495e;
    font-weight: bold;
}

h3 {
    color: #a19316;
}

/* Header Styles */
header {
    background-color: #2c3e50; /* Dark blue background */
    color: #f0e68c; /* Soft gold text color */
    padding: 15px 30px;
    position: relative;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

header .logo img {
    height: 50px;
}

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

.navbar ul {
    list-style: none;
    display: flex;
    margin-left: 30px;
}

.navbar ul li {
    margin: 0 20px;
    position: relative;
}

.navbar ul li a {
    color: #f0e68c;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

.navbar ul li a:hover {
    background-color: #34495e;
    border-radius: 5px;
}

.navbar .dropdown:hover .dropdown-content {
    display: block;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #34495e;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a {
    color: #f0e68c;
    padding: 10px 20px;
    display: block;
}

.dropdown-content a:hover {
    background-color: #2c3e50;
}

/* Search Bar */
.search-container input {
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    outline: none;
}

/* Call to Action Button */
.cta-button a {
    padding: 10px 20px;
    background-color: #f0e68c;
    color: #2c3e50;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.cta-button a:hover {
    background-color: #d4b83b;
}

/* Main Content Styles */
main {
    padding: 30px;
    max-width: 1200px; /* Set a maximum width */
    margin: 0 auto; /* Center the content horizontally */
}

.review h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.review p {
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Casino Table Styles */
.casino-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.casino-table th, .casino-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.casino-table th {
    background-color: #2c3e50;
    color: #f0e68c;
}

/* Pros and Cons Section */
.pros-cons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adds space between pros and cons */
    margin-bottom: 10px; /* Reduced the space between pros and cons for desktop */
}

.pros, .cons {
    width: 48%;
    margin-bottom: 10px; /* Reduced the bottom margin to bring the sections closer */
}

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

.pros li, .cons li {
    margin: 5px 0;
}

.pros-cons ul li:before {
    content: "✓";
    margin-right: 10px;
    color: #27ae60; /* Green for positive items */
}

.cons ul li:before {
    content: "✘"; /* Red 'X' for negative cons */
    margin-right: 10px;
    color: #e74c3c; /* Red for cons */
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: #f0e68c;
    padding: 30px;
    text-align: center;
}

footer .footer-links,
footer .responsible-links {
    margin-bottom: 20px;
}

footer .footer-links a,
footer .responsible-links a {
    margin: 0 15px;
    color: #f0e68c;
}

footer .responsible-links a {
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar {
        display: none;
        width: 100%;
    }

    .navbar.active {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .burger-menu {
        display: block;
        font-size: 30px;
        cursor: pointer;
    }

    .search-container input {
        width: 100%;
        margin-top: 15px;
    }

    .cta-button a {
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }

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

    .pros-cons {
        flex-direction: column;
        margin-top: 10px; /* Reduced space between pros and cons on mobile */
    }

    .pros, .cons {
        width: 100%;
        margin-bottom: 10px; /* Reduced margin between pros and cons on mobile */
    }

    .casino-table table {
        width: 100%;
    }
}

/* Prevent horizontal scrolling */
body, html {
    width: 100%;
    overflow-x: hidden; /* Ensure no horizontal scrolling */
}



/* Numbered List Styles */
.numbered-list-block {
    background-color: #ecf0f1; /* Light gray background for the block */
    padding: 20px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px; /* Constrained max-width for consistency */
    margin: 30px auto;
    text-align: left; /* Ensure text is left-aligned */
}

.numbered-list-block h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #34495e;
    font-weight: bold;
}

.numbered-list-block ol {
    list-style-type: none; /* Remove default numbers */
    padding-left: 0; /* Remove padding on the left */
    counter-reset: list-counter; /* Start custom numbering */
}

.numbered-list-block ol li {
    position: relative;
    padding-left: 40px; /* Space for the numbers */
    margin-bottom: 10px;
    line-height: 1.8; /* Increase line height for readability */
}

.numbered-list-block ol li::before {
    content: counter(list-counter); /* Display the number */
    counter-increment: list-counter; /* Increment number for each item */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #f39c12; /* Viking gold color for numbers */
    background-color: #2c3e50; /* Dark blue background for numbers */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px; /* Center the number */
}

.numbered-list-block ol li p {
    margin-left: 45px; /* Space between the number and the text */
    font-size: 1rem;
    color: #2c3e50; /* Dark gray text color */
}

/* Numbered List Item Hover Effect */
.numbered-list-block ol li:hover {
    background-color: #ecf0f1; /* Light hover effect */
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .numbered-list-block h2 {
        font-size: 1.5rem; /* Reduce heading size on mobile */
    }

    .numbered-list-block ol li {
        padding-left: 35px; /* Reduce space for numbers on mobile */
    }

    .numbered-list-block ol li::before {
        font-size: 1.3rem; /* Reduce number size on mobile */
        width: 25px;
        height: 25px;
        line-height: 25px;
    }

    .numbered-list-block ol li p {
        font-size: 0.9rem; /* Slightly smaller text for mobile */
        margin-left: 40px; /* Adjust text alignment for mobile */
    }
}



/* Bonuses Block */
/* Bonuses Block */
.bonuses-block {
    background-color: #ecf0f1; /* Light gray background for the block */
    padding: 40px;
    margin: 30px auto;
    max-width: 1200px; /* Constrained max-width for consistency */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left; /* Align text and content to the left */
}

.bonuses-block h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: bold;
}

.bonuses-block .bonus-card-container {
    display: flex;
    flex-direction: column; /* Stack the cards vertically */
    gap: 20px;
    align-items: flex-start; /* Align the cards to the left */
}

.bonus-card {
    background-color: #34495e; /* Dark blue background for the card */
    color: #f0e68c; /* Soft gold text for the title */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%; /* Full width for each card */
    text-align: left; /* Ensure text is aligned to the left */
    transition: transform 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-5px); /* Hover effect with slight lift */
}

.bonus-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.bonus-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.bonus-card .bonus-details {
    font-size: 0.9rem;
    color: #bdc3c7; /* Lighter color for the bonus details */
}

/* Responsive Design */
@media (max-width: 768px) {
    .bonuses-block {
        padding: 20px;
    }

    .bonuses-block h2 {
        font-size: 1.5rem; /* Reduce heading size on mobile */
    }

    .bonus-card-container {
        align-items: flex-start; /* Ensure cards are left-aligned */
    }

    .bonus-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .bonus-card h3 {
        font-size: 1.4rem;
    }

    .bonus-card p {
        font-size: 0.9rem;
    }
}


/* Enkel generell tabellstil */
table {
  width: 100%;               /* Fyller hele tilgjengelige bredde */
  border-collapse: collapse; /* Fjerner doble grenser mellom celler */
  margin: 2rem 0;            /* Litt luft over og under tabellen */
  font-family: Arial, sans-serif;
  background-color: #F8F5E1; /* Lys bakgrunn for å matche siden */
}

th, td {
  border: 1px solid #DDD;    /* Tynne grenser mellom celler */
  padding: 0.75rem;          /* Passelig mellomrom i cellene */
  text-align: left;          /* Venstrejusterer teksten */
}

th {
  background-color: #E6DCC2; /* Svak kontrast for overskriftene */
  color: #333333;            /* Mørk tekstfarge for god lesbarhet */
  font-weight: 600;          /* Fetere tekst for overskrifter */
}

tr:nth-child(even) {
  background-color: #F9F4E7; /* Gir annenhver rad en litt mørkere nyanse */
}

tr:hover {
  background-color: #ECE7D9; /* Uthev rad ved hover */
  transition: background-color 0.3s;
}

/* Gjør tabellen litt mer responsiv */
@media (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block;          /* Hver rad og celle blir en blokkelement på smale skjermer */
    width: 100%;             /* Fyller bredden av foreldreelementet */
  }
  
  th {
    position: relative;
    padding-top: 1rem;
  }
  
  tr {
    margin-bottom: 1rem;     /* Litt luft mellom radene */
  }
  
  td {
    padding: 0.5rem 0;       /* Mindre padding for mobilvisning */
    border: none;            /* Fjern de fleste border for enklere mobiloppsett */
    border-bottom: 1px solid #DDD; 
  }
  
  td:before {
    content: attr(data-label);
    font-weight: bold;
    display: inline-block;
    width: 100%;
  }
}

