/* General Styles & Variables */
:root {
    --primary-purple: #6A0DAD;
    --secondary-purple: #8A2BE2;
    --dark-grey: #1A1A1A;
    --medium-grey: #333333;
    --light-grey: #CCCCCC;
    --text-color: #F0F0F0;
    --accent-color: #A020F0;
    --error-color: #FF4500;
    --border-color: #444444;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-grey);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--secondary-purple);
    text-decoration: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: background-color 0.2s ease;
}

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

.btn-primary:hover {
    color: var(--light-grey);
    background-color: var(--secondary-purple);
}

.btn-secondary {
    background-color: var(--medium-grey);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--dark-grey);
}

.section-block {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 2.5em;
    color: var(--secondary-purple);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* To make gradient apply only to text width */
    width: 100%; /* For centering */
}

/* Header / Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-grey) 0%, rgba(0, 0, 0, 0.7) 50%, var(--primary-purple) 100%), url('media/graphics/ireland-gaming-background.png') no-repeat center center/cover;
    background-blend-mode: multiply;
    color: var(--text-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.site-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.site-title {
    font-size: 3.8em;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-color);
}

.site-description {
    font-size: 1.4em;
    color: var(--light-grey);
    max-width: 800px;
    margin: 0 auto;
}

/* Comparison Section */
.comparison-section {
    background-color: var(--medium-grey);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.platform-card {
    background-color: var(--dark-grey);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: flex;
    flex-direction: column;
}

.platform-card .card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: var(--primary-purple);
    color: var(--text-color);
    border-bottom: 1px solid var(--secondary-purple);
}

.platform-card .platform-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-right: 15px;
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
}

.platform-card .platform-name {
    font-size: 1.8em;
    font-weight: 700;
    margin: 0;
}

.platform-card .card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.platform-card .rating {
    color: gold;
    font-size: 1.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.platform-card .rating i {
    margin-right: 3px;
}

.platform-card .offer {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.platform-card .features-list {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

.platform-card .features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    color: var(--light-grey);
}

.platform-card .features-list i {
    color: var(--secondary-purple);
    margin-right: 10px;
    font-size: 1.1em;
    margin-top: 2px;
}

.platform-card .card-actions {
    margin-top: auto;
    text-align: center;
}

.platform-card .card-actions .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1.1em;
}

/* User Reviews Section */
.reviews-section {
    background-color: var(--dark-grey);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-item {
    background-color: var(--medium-grey);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px var(--shadow-color);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-purple);
}

.review-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--text-color);
}

.review-rating {
    color: gold;
    font-size: 0.9em;
    margin-top: 5px;
}

.review-rating i {
    margin-right: 2px;
}

.review-date {
    font-size: 0.85em;
    color: var(--light-grey);
    margin-top: 5px;
}

.review-text {
    font-size: 1em;
    color: var(--light-grey);
    margin-bottom: 15px;
    flex-grow: 1;
}

.developer-reply {
    background-color: rgba(var(--primary-purple), 0.2);
    border-left: 4px solid var(--primary-purple);
    padding: 15px;
    border-radius: 0 5px 5px 0;
    margin-top: 15px;
}

.reply-header {
    font-weight: 600;
    color: var(--secondary-purple);
    margin-bottom: 5px;
}

.reply-text {
    font-size: 0.9em;
    color: var(--light-grey);
}

/* Rating Criteria Section */
.criteria-section {
    background-color: var(--medium-grey);
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.criteria-item {
    background-color: var(--dark-grey);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px var(--shadow-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.criteria-item h3 {
    font-size: 1.5em;
    color: var(--secondary-purple);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.criteria-item h3 i {
    margin-right: 10px;
    font-size: 1.2em;
    color: var(--accent-color);
}

.criteria-item p {
    font-size: 1em;
    color: var(--light-grey);
    line-height: 1.7;
}

/* Articles Block */
.articles-section {
    background-color: var(--dark-grey);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: var(--medium-grey);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: flex;
    flex-direction: column;
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.article-card h3 {
    font-size: 1.6em;
    color: var(--secondary-purple);
    padding: 20px 20px 10px;
    font-weight: 600;
}

.article-card p {
    font-size: 1em;
    color: var(--light-grey);
    padding: 0 20px 20px;
    flex-grow: 1;
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: var(--error-color);
    color: var(--text-color);
    padding: 40px 0;
    text-align: center;
    border-top: 5px solid var(--accent-color);
    border-bottom: 5px solid var(--accent-color);
    margin-top: 60px;
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.disclaimer-icon {
    font-size: 3em;
    color: var(--text-color);
    margin-bottom: 20px;
}

.disclaimer-text {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.8;
}

.disclaimer-age {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.disclaimer-help {
    font-size: 1.1em;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background-color: var(--dark-grey);
    color: var(--light-grey);
    padding: 40px 0 20px;
    font-size: 0.9em;
    text-align: center;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.site-logo-footer {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.footer-contact p {
    margin: 0;
    color: var(--light-grey);
}

.footer-contact a {
    color: var(--secondary-purple);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.footer-links a {
    color: var(--light-grey);
    font-weight: 400;
}

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

.footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 30px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.partner-logo-link, .partner-logo-18plus {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px; /* Standard height for logos */
}

.partner-logo {
    max-width: 120px; /* Adjusted max-width */
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-logo-18plus .partner-logo {
    width: 40px;
    height: 40px;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom p {
    margin-bottom: 8px;
    color: var(--light-grey);
}

.responsible-gaming-note {
    font-size: 0.85em;
    color: var(--light-grey);
}

/* Age Verification Pop-up */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--dark-grey);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
    max-width: 450px;
    width: 90%;
    border: 1px solid var(--primary-purple);
}

.modal-title {
    font-size: 1.8em;
    color: var(--secondary-purple);
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-title i {
    margin-right: 10px;
    color: var(--error-color);
}

.modal-content p {
    font-size: 1.1em;
    color: var(--light-grey);
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-actions .btn {
    padding: 12px 25px;
    font-size: 1em;
    flex-grow: 1;
    max-width: 180px;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--medium-grey);
    color: var(--text-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
    max-width: 350px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.cookie-banner.active {
    opacity: 1;
    visibility: visible;
}

.cookie-content p {
    font-size: 0.95em;
    margin-bottom: 15px;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--secondary-purple);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-actions .btn {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Cookie Configuration Modal (inherits .modal-overlay, .modal-content) */
.cookie-categories {
    text-align: left;
    margin-bottom: 25px;
}

.cookie-category-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--light-grey);
}

.cookie-category-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-purple);
}

.cookie-category-item span {
    font-size: 1em;
}

.cookie-category-item small {
    font-size: 0.8em;
    color: var(--light-grey);
    margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .site-title {
        font-size: 3em;
    }
    .site-description {
        font-size: 1.2em;
    }
    .section-title {
        font-size: 2em;
    }
    .comparison-grid, .reviews-grid, .criteria-grid, .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .footer-links, .footer-partners {
        gap: 15px;
    }
    .partner-logo {
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        min-height: 350px;
    }
    .site-title {
        font-size: 2.5em;
    }
    .site-description {
        font-size: 1em;
    }
    .section-block {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.8em;
    }
    .platform-card .card-header {
        flex-direction: column;
        text-align: center;
    }
    .platform-card .platform-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .review-item {
        padding: 20px;
    }
    .criteria-item, .article-card {
        padding: 20px;
    }
    .disclaimer-block {
        padding: 30px 0;
    }
    .disclaimer-icon {
        font-size: 2.5em;
    }
    .disclaimer-text, .disclaimer-age, .disclaimer-help {
        font-size: 1em;
    }
    .footer-top {
        flex-direction: column;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    .footer-partners {
        gap: 10px;
    }
    .partner-logo {
        max-width: 80px;
    }
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    .modal-content {
        padding: 30px;
    }
    .modal-actions .btn {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.7em;
    }
    .site-description {
        font-size: 0.9em;
    }
    .section-title {
        font-size: 1.5em;
    }
    .platform-card .platform-name {
        font-size: 1.5em;
    }
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .review-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .modal-actions {
        flex-direction: column;
    }
    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
/* Styling for content within policy, terms, or other text-heavy blocks */
.policyScopeWrap {
    padding: 60px 40px; /* Top/bottom and side padding for the content block */
    max-width: 900px; /* Maximum width for better readability of text content */
    margin: 0 auto; /* Center the content block on the page */
    background-color: var(--medium-grey); /* Slightly lighter background for the text area */
    border-radius: 10px; /* Rounded corners for the block */
    box-shadow: 0 5px 15px var(--shadow-color); /* Subtle shadow for depth */
    color: var(--light-grey); /* Default text color for this block */
    font-size: 1em; /* Base font size for this block */
    line-height: 1.7; /* Default line height for improved readability */
}

.policyScopeWrap h1 {
    font-size: 2.2em; /* Large heading size */
    font-weight: 700; /* Bold font weight */
    color: var(--secondary-purple); /* Heading color from the theme */
    margin-top: 1.8em; /* Space above the heading */
    margin-bottom: 0.8em; /* Space below the heading */
    line-height: 1.2; /* Tighter line height for headings */
}

.policyScopeWrap h2 {
    font-size: 1.8em; /* Medium-large heading size */
    font-weight: 700;
    color: var(--secondary-purple);
    margin-top: 1.6em;
    margin-bottom: 0.7em;
    line-height: 1.3;
}

.policyScopeWrap h3 {
    font-size: 1.5em; /* Medium heading size */
    font-weight: 600; /* Slightly less bold than h1/h2 */
    color: var(--text-color); /* General text color for sub-headings */
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    line-height: 1.4;
}

.policyScopeWrap h4 {
    font-size: 1.3em; /* Small-medium heading size */
    font-weight: 600;
    color: var(--text-color);
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.5;
}

.policyScopeWrap h5 {
    font-size: 1.1em; /* Smallest heading size */
    font-weight: 600;
    color: var(--text-color);
    margin-top: 1em;
    margin-bottom: 0.4em;
    line-height: 1.6;
}

.policyScopeWrap p {
    font-size: 1em; /* Standard paragraph font size */
    margin-bottom: 1em; /* Space below each paragraph */
    color: inherit; /* Inherit color from the parent .policyScopeWrap */
}

.policyScopeWrap ul {
    list-style-type: disc; /* Default bullet style for unordered lists */
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 2em; /* Indent for bullet points */
}

.policyScopeWrap li {
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.6; /* Line height for list items */
    color: inherit; /* Inherit color from the parent .policyScopeWrap */
}

/* Responsive adjustments for .policyScopeWrap content */
@media (max-width: 768px) {
    .policyScopeWrap {
        padding: 40px 20px; /* Reduced padding for smaller screens */
    }
    .policyScopeWrap h1 {
        font-size: 1.8em;
    }
    .policyScopeWrap h2 {
        font-size: 1.5em;
    }
    .policyScopeWrap h3 {
        font-size: 1.3em;
    }
    .policyScopeWrap h4 {
        font-size: 1.1em;
    }
    .policyScopeWrap h5 {
        font-size: 1em;
    }
    .policyScopeWrap ul {
        padding-left: 1.5em; /* Adjust indent for smaller screens */
    }
}

@media (max-width: 480px) {
    .policyScopeWrap {
        padding: 30px 15px; /* Further reduced padding for very small screens */
        border-radius: 0; /* No border-radius on very small screens for full width */
    }
    .policyScopeWrap h1 {
        font-size: 1.6em;
    }
    .policyScopeWrap h2 {
        font-size: 1.4em;
    }
    .policyScopeWrap h3 {
        font-size: 1.2em;
    }
}
