:root {
    --primary-color: #0B2A3A;
    --accent-color: #2ED8B6;
    --text-color: #e0e0e0;
    --bg-color: #020609;
    --header-bg: #0B2A3A;
    --footer-bg: #000000;
    --input-bg: #0d1f2b;
    --input-border: #1a3d52;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

header {
    background: var(--header-bg);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

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

.hero {
    background: linear-gradient(rgba(11, 42, 58, 1), rgba(2, 6, 9, 0.7)), url('/assets/images/outside-800x600.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid var(--primary-color);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin: 20px 0;
}

.content-section {
    padding: 60px 0;
    text-align: center;
}

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

.info-section {
    background: linear-gradient(135deg, var(--primary-color), #081f2b);
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

#legal-sections {
    padding: 40px 0;
}

footer {
    background: var(--footer-bg);
    padding: 60px 0 20px;
    border-top: 1px solid var(--primary-color);
}

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

.footer-col h3 {
    color: var(--accent-color);
    margin-top: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.2s;
}

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

.helpline-section {
    text-align: center;
    padding: 20px 0;
    background: var(--primary-color);
    margin-bottom: 20px;
    border-radius: 8px;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* Form Styles */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--accent-color);
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--input-border);
    border-radius: 4px;
    background-color: var(--input-bg);
    color: #fff;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

button {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}

button:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Contact Section Layout */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color), #081f2b);
    color: #fff;
    padding: 40px 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .contact-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }

    .map-container {
        flex: 1;
        margin-bottom: 0 !important;
        height: 100%;
        min-height: 450px;
    }

    .contact-form {
        flex: 1;
        margin: 0 !important;
        max-width: none;
    }
}

/* Responsible Gaming Logos */
.responsible-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    /* Gap doubled as requested */
    align-items: center;
    margin-top: 20px;
    justify-content: center;
}

.responsible-logos img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%) opacity(0.8);
    transition: filter 0.3s ease;
}


.responsible-logos img:hover {
    filter: grayscale(0%) opacity(1);
}

/* Legal Accordion Styles */
.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    /* Slight tint for contrast */
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    background: var(--primary-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.accordion-header h3 {
    margin: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.accordion-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.accordion-content {
    padding: 0 20px 20px 20px;
}

/* The first paragraph is always visible */
.accordion-content>p:first-child {
    margin-top: 15px;
    margin-bottom: 0;
    color: #fff;
}

.accordion-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 0.8;
}

.accordion-item.active .accordion-details {
    margin-top: 15px;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(180deg);
    /* Or just change +/- text */
}

/* Styling inside the detailed content */
.accordion-details h4 {
    color: var(--accent-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.accordion-details ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

/* Feature Images */
.feature-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}