/* General Styles */
:root {
    --color-dark-bg: #1a1a1a;
    --color-medium-dark-bg: #2a2a2a;
    --color-light-text: #f0f0f0;
    --color-gold: #FFD700;
    --color-orange: #FFA500;
    --color-brown-accent: #8B4513;
    --color-grey-border: #444444;
    --color-error: #dc3545;
    --padding-section: 80px 0;
    --container-width: 1200px;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--color-dark-bg);
    color: var(--color-light-text);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from full-width elements */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-block {
    padding: var(--padding-section);
    text-align: center;
    background-color: var(--color-medium-dark-bg);
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.section-block:nth-child(even) {
    background-color: var(--color-dark-bg);
}

.block-title {
    font-size: 2.8em;
    color: var(--color-gold);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.block-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-orange);
    border-radius: 2px;
}

.block-description {
    font-size: 1.2em;
    color: var(--color-light-text);
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    transition: background-color 0.1s ease, color 0.1s ease;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-dark-bg);
}

.btn-primary:hover {
    background-color: var(--color-gold);
    color: var(--color-dark-bg);
}

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

.btn-secondary:hover {
    background-color: var(--color-dark-bg);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.scroll-link {
    text-decoration: none;
}

/* Header */
.header {
    background-color: var(--color-dark-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--color-grey-border);
}

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

.header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-light-text);
    font-size: 1.8em;
    font-weight: 700;
}

.header .logo img {
    height: 40px;
    margin-right: 10px;
}

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

.main-nav a {
    color: var(--color-light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    position: relative;
    text-decoration: none;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: var(--color-gold);
    transition: width 0.1s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('uploads/media/twisted-city-hero-bg_2.jpg') no-repeat center center/cover;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    border-radius: 0;
    margin-bottom: 0; /* No margin for full-width hero */
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5em;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content .slogan {
    font-size: 1.6em;
    color: var(--color-light-text);
    margin-bottom: 40px;
}

.hero-image-wrapper {
    margin-top: 40px;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Game Iframe Block */
.game-iframe-block {
    background-color: var(--color-dark-bg);
    padding: 60px 0;
    border-radius: 0;
    margin-bottom: 0;
}

.game-iframe-header {
    margin-bottom: 40px;
}

.game-iframe-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px; /* Fixed height for the iframe container */
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.game-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.game-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay-text {
    position: relative;
    z-index: 3;
    color: var(--color-light-text);
    padding: 20px;
}

.overlay-text h3 {
    font-size: 3em;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.overlay-text p {
    font-size: 1.3em;
    max-width: 600px;
    margin: 0 auto 30px auto;
    filter: drop-shadow(3px 4px 6px black);
    color: #444444;
}

.btn-play-now {
    background-color: var(--color-orange);
    color: var(--color-dark-bg);
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 10px;
}

.btn-play-now:hover {
    background-color: var(--color-gold);
}

#gameIframe {
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
    z-index: 1;
}

/* About Game Block */
.about-game-block .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content {
    display: flex;
    gap: 50px;
    text-align: left;
    align-items: flex-start;
}

.about-text {
    flex: 2;
}

.about-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 1.8em;
    color: var(--color-gold);
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-text ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    position: relative;
    padding-left: 25px;
}

.about-text ul li::before {
    content: '\f058'; /* Font Awesome check-circle icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-orange);
    position: absolute;
    left: 0;
    top: 0;
}

.about-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-game-image {
    width: 100%;
    height: auto;
    display: block;
}

/* App Details Block */
.app-details-block .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.detail-item {
    background-color: var(--color-dark-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px; /* Ensure consistent height */
}

.detail-item i {
    font-size: 3em;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.detail-item dt {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--color-orange);
    margin-bottom: 5px;
}

.detail-item dd {
    margin: 0;
    font-size: 1.1em;
    color: var(--color-light-text);
}

/* Game Modes Block */
.game-modes-block .modes-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    gap: 30px;
    text-align: left;
}

.game-mode-item {
    flex: 1 0 calc(33.33333% - 80px);
    background-color: var(--color-dark-bg);
    padding: 10px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-grey-border);
    min-height: 70px; /* Consistent height for summary part */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-mode-item[open] {
    min-height: auto; /* Allow height to expand when open */
}

.game-mode-toggle {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--color-gold);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
}

.game-mode-toggle i {
    transition: transform 0.1s ease;
}

.game-mode-item[open] .game-mode-toggle i {
    transform: rotate(180deg);
}

.game-mode-description {
    font-size: 1em;
    color: var(--color-light-text);
    margin-top: 15px;
    padding-left: 10px;
    border-left: 3px solid var(--color-orange);
}

/* Game Reviews Block */
.game-reviews-block .reviews-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
}

.review-item {
    flex: 1 0 calc(45% - 80px);
    background-color: var(--color-dark-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px; /* Consistent height for review cards */
}

.star-rating {
    color: var(--color-gold);
    font-size: 1.2em;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    flex-grow: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--color-orange);
    font-size: 0.9em;
}

.review-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-dark-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.form-subtitle {
    font-size: 2em;
    color: var(--color-gold);
    margin-bottom: 30px;
    text-align: center;
}

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

.review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-orange);
}

.review-form input[type="text"],
.review-form textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid var(--color-grey-border);
    border-radius: 6px;
    background-color: var(--color-medium-dark-bg);
    color: var(--color-light-text);
    font-size: 1em;
}

.review-form input[type="text"]::placeholder,
.review-form textarea::placeholder {
    color: #999;
}

.review-form input[type="text"]:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.review-form textarea {
    resize: vertical;
}

.rating-input {
    display: inline-block;
    direction: rtl;
    unicode-bidi: bidi-override;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 1.8em;
    color: #ccc;
    cursor: pointer;
    margin-right: 5px;
    display: inline-block; /* Ensure stars are on one line */
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: var(--color-gold);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    margin-top: 20px;
}

.error-message {
    color: var(--color-error);
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

/* Game Stats Block */
.game-stats-block .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-stats-block .stat-item {
    background-color: var(--color-dark-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    min-height: 150px; /* Consistent height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-chart-container {
    width: 80%;
    height: 20px;
    background-color: var(--color-grey-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.stat-chart-bar {
    height: 100%;
    border-radius: 10px;
    text-align: right;
    padding-right: 10px;
    color: var(--color-dark-bg);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.game-stats-block .stat-label {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-light-text);
}

/* Download & Growth Stats Block */
.download-growth-stats-block .growth-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-item-growth {
    background-color: var(--color-dark-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px; /* Consistent height */
    position: relative;
}

.stat-item-growth i {
    font-size: 3.5em;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.stat-item-growth .stat-value {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 10px;
}

.stat-item-growth .stat-label {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--color-light-text);
    position: relative;
    cursor: help;
}

.tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--color-dark-bg);
    color: var(--color-light-text);
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 10;
    bottom: 125%; /* Position above the label */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none; /* Allow clicks through tooltip */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 0.9em;
    white-space: normal; /* Allow text wrapping */
}

.stat-item-growth .stat-label:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Bug Report Block */
.bug-report-block .bug-report-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-dark-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
}

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

.bug-report-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-orange);
}

.bug-report-form input[type="text"],
.bug-report-form input[type="email"],
.bug-report-form select,
.bug-report-form textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid var(--color-grey-border);
    border-radius: 6px;
    background-color: var(--color-medium-dark-bg);
    color: var(--color-light-text);
    font-size: 1em;
}

.bug-report-form input::placeholder,
.bug-report-form textarea::placeholder {
    color: #999;
}

.bug-report-form input:focus,
.bug-report-form select:focus,
.bug-report-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.bug-report-form textarea {
    resize: vertical;
}

.btn-submit-bug {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    margin-top: 20px;
}

/* Ratings Distribution Block */
.ratings-distribution-block .rating-bars {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.rating-bar-item .rating-label {
    width: 80px;
    font-weight: 600;
    color: var(--color-orange);
    flex-shrink: 0;
}

.ratings-distribution-block .rating-bar-container {
    flex-grow: 1;
    height: 25px;
    background-color: var(--color-grey-border);
    border-radius: 12px;
    margin: 0 15px;
    overflow: visible; /* Allow tooltip to overflow */
    position: relative;
}

.ratings-distribution-block .rating-bar {
    height: 100%;
    background-color: var(--color-gold);
    border-radius: 12px;
    position: relative;
}

.ratings-distribution-block .rating-bar::after {
    content: attr(data-tooltip);
    visibility: hidden;
    width: 250px;
    background-color: var(--color-dark-bg);
    color: var(--color-light-text);
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    left: calc(100% + 15px); /* Position to the right of the bar */
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 0.9em;
    white-space: normal;
}

.ratings-distribution-block .rating-bar:hover::after {
    visibility: visible;
    opacity: 1;
}

.rating-percentage {
    width: 50px;
    font-weight: 600;
    color: var(--color-light-text);
    flex-shrink: 0;
    text-align: right;
}

/* Footer */
.footer {
    background-color: var(--color-dark-bg);
    padding: 40px 0;
    border-top: 1px solid var(--color-grey-border);
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo .logo {
    font-size: 1.5em;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--color-light-text);
    text-decoration: none;
    font-size: 0.95em;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width 0.1s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    font-size: 0.9em;
    color: #aaa;
    margin-top: 10px;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-medium-dark-bg);
    border: 1px solid var(--color-grey-border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding: 20px;
    max-width: 350px;
    z-index: 1000;
    display: none; /* Hidden by default, shown by JS */
    text-align: left;
}

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

.cookie-banner-content a {
    color: var(--color-gold);
    text-decoration: none;
}

.cookie-banner-content a:hover {
    text-decoration: underline;
}

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

.cookie-banner-buttons .btn {
    padding: 10px 18px;
    font-size: 0.9em;
}

/* Cookie Consent Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    visibility: hidden; /* Hidden by default, shown by JS */
    opacity: 0;
}

.cookie-modal-content {
    background-color: var(--color-medium-dark-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: left;
}

.cookie-modal-content h3 {
    color: var(--color-gold);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2em;
}

.cookie-modal-content p {
    font-size: 1em;
    margin-bottom: 20px;
}

.cookie-category {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

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

.cookie-category label {
    font-weight: 600;
    color: var(--color-light-text);
    font-size: 1.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.cookie-category label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid var(--color-grey-border);
    border-radius: 3px;
    margin-right: 10px;
    background-color: var(--color-dark-bg);
}

.cookie-category input[type="checkbox"]:checked + label::before {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
}

.cookie-category input[type="checkbox"]:checked + label::after {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-dark-bg);
    font-size: 12px;
    position: absolute;
    left: 40px; /* Adjust based on checkbox size and margin */
    transform: translateY(-2px);
}

.cookie-category input[type="checkbox"]:disabled + label {
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-category .category-description {
    font-size: 0.9em;
    color: #bbb;
    margin-left: 28px; /* Align with label text */
    margin-top: 5px;
    margin-bottom: 0;
}

.cookie-modal-content .btn-primary {
    width: auto;
    margin-top: 25px;
    float: right;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2em;
    color: var(--color-grey-border);
    cursor: pointer;
}

.close-button:hover {
    color: var(--color-light-text);
}

/* Responsive Design */
@media (max-width: 992px) {
    .block-title {
        font-size: 2.2em;
    }

    .hero-content h1 {
        font-size: 3.5em;
    }

    .hero-content .slogan {
        font-size: 1.3em;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-image-wrapper {
        margin-top: 40px;
        max-width: 600px;
    }

    .game-iframe-content {
        height: 500px;
    }

    .overlay-text h3 {
        font-size: 2.5em;
    }

    .overlay-text p {
        font-size: 1.1em;
    }

    .btn-play-now {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .ratings-distribution-block .rating-bar::after {
        left: 50%;
        top: auto;
        bottom: 120%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        gap: 20px;
    }


    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0px;
    }

    .section-block {
        padding: 60px 0;
    }

    .block-title {
        font-size: 1.8em;
    }

    .hero-section {
        padding: 80px 0;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-content .slogan {
        font-size: 1.1em;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .game-iframe-content {
        height: 400px;
    }

    .overlay-text h3 {
        font-size: 2em;
    }

    .overlay-text p {
        font-size: 1em;
    }

    .btn-play-now {
        padding: 12px 25px;
        font-size: 1em;
    }

    .detail-item, .review-item, .game-mode-item, .stat-item, .stat-item-growth {
        min-height: auto; /* Allow items to adjust height */
    }

    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-banner {
        bottom: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }

    .cookie-modal-content {
        width: 95%;
        padding: 20px;
    }

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

    .cookie-category .category-description {
        margin-left: 25px;
    }
}

@media (max-width: 480px) {
    .header .logo span {
        margin-left: 10px;
        /* display: none; */
    }
    .header .logo img {
        margin-right: 0;
    }
    .main-nav ul {
        gap: 0px;
    }
    .main-nav a {
        font-size: 0.9em;
    }
    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-content .slogan {
        font-size: 0.9em;
    }
    .game-iframe-content {
        height: 300px;
    }
    .overlay-text h3 {
        font-size: 1.5em;
    }
    .overlay-text p {
        font-size: 0.9em;
    }
    .btn-play-now {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .about-text ul li {
        font-size: 1em;
    }
    .review-form-wrapper, .bug-report-form {
        padding: 25px;
    }
    .review-form label, .bug-report-form label {
        font-size: 0.9em;
    }
    .review-form input, .review-form textarea, .bug-report-form input, .bug-report-form select, .bug-report-form textarea {
        font-size: 0.9em;
    }
    .rating-input label {
        font-size: 1.5em;
    }
    .ratings-distribution-block .rating-bar-item {
        flex-wrap: wrap;
        justify-content: center;
    }
    .ratings-distribution-block .rating-label, .rating-percentage {
        width: auto;
        margin: 0 5px;
    }
    .ratings-distribution-block .rating-bar-container {
        flex-basis: 100%;
        margin-top: 10px;
    }
    .ratings-distribution-block .rating-bar::after {
        width: calc(100% - 20px);
        left: 50%;
        transform: translateX(-50%);
        bottom: 110%;
    }
    .footer-links ul {
        gap: 8px;
    }
    .footer-links a {
        font-size: 0.85em;
    }
}/* New styles for content within .dataTrustFrame */
.dataTrustFrame {
    /* Padding for the overall frame, top and sides */
    padding: 40px 30px; 
    /* Optional: Add background or border if this frame is a distinct content block */
    /* background-color: var(--color-medium-dark-bg); */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
    /* margin-bottom: 20px; */
}

.dataTrustFrame h1 {
    /* Heading 1 styles - moderate size for content */
    font-size: 2.2em;
    color: var(--color-gold);
    margin-top: 0; /* Remove default top margin for first element in frame */
    margin-bottom: 0.8em;
    line-height: 1.2;
}

.dataTrustFrame h2 {
    /* Heading 2 styles */
    font-size: 1.8em;
    color: var(--color-orange);
    margin-top: 1.5em;
    margin-bottom: 0.7em;
    line-height: 1.3;
}

.dataTrustFrame h3 {
    /* Heading 3 styles */
    font-size: 1.5em;
    color: var(--color-light-text);
    margin-top: 1.2em;
    margin-bottom: 0.6em;
    line-height: 1.4;
}

.dataTrustFrame h4 {
    /* Heading 4 styles */
    font-size: 1.3em;
    color: var(--color-light-text);
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.5;
}

.dataTrustFrame h5 {
    /* Heading 5 styles */
    font-size: 1.1em;
    color: var(--color-light-text);
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    line-height: 1.6;
}

.dataTrustFrame p {
    /* Paragraph styles */
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 1em;
    line-height: 1.7;
    color: var(--color-light-text);
}

.dataTrustFrame ul {
    /* Unordered list styles */
    list-style: disc; /* Default disc style */
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 25px; /* Indent list items */
    color: var(--color-light-text);
}

.dataTrustFrame ul li {
    /* List item styles */
    font-size: 1em;
    margin-bottom: 0.5em;
    line-height: 1.6;
}

/* Optional: For ordered lists if needed */
.dataTrustFrame ol {
    list-style: decimal;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 25px;
    color: var(--color-light-text);
}

.dataTrustFrame ol li {
    font-size: 1em;
    margin-bottom: 0.5em;
    line-height: 1.6;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .dataTrustFrame {
        padding: 30px 20px;
    }

    .dataTrustFrame h1 {
        font-size: 1.8em;
    }

    .dataTrustFrame h2 {
        font-size: 1.5em;
    }

    .dataTrustFrame h3 {
        font-size: 1.3em;
    }

    .dataTrustFrame h4 {
        font-size: 1.1em;
    }

    .dataTrustFrame h5 {
        font-size: 1em;
    }

    .dataTrustFrame p,
    .dataTrustFrame ul li,
    .dataTrustFrame ol li {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .dataTrustFrame {
        padding: 20px 15px;
    }

    .dataTrustFrame h1 {
        font-size: 1.6em;
    }

    .dataTrustFrame h2 {
        font-size: 1.3em;
    }
}

@media screen and (max-width: 768px) {
    .about-image-wrapper {
        min-width: 300px;
    }

    .review-item {
        flex: 1 0 calc(100% - 80px);
    }
}
@media screen and (min-width: 768px) {
    .about-image-wrapper {
        min-width: 500px;
    }
}

@media screen and (min-width: 1024px) {
    .about-image-wrapper {
        min-width: 500px;
    }
}



@media screen and (min-width: 768px) {
    .about-image-wrapper {
        min-width: 500px;
    }
}

.footer-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: var(--color-gold);
    }

    img {
        max-width: 60px;
        height: 60px;
    }
}


.header {
    position: relative;
}


.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;

    a {
        text-decoration: none;
        color: #fff;

        &:hover {
            color: var(--color-gold);
        }
    } 
}
.menu > li {
  margin: 0 1rem;
  overflow: hidden;


  
}
.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#menu-toggle {
  display: none;
}
.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}
.menu-button::before {
  content: '';
  margin-top: -8px;
}
.menu-button::after {
  content: '';
  margin-top: 8px;
}
#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}
#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}
#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}
@media (max-width: 768px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 80px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;

   
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    align-items: center;
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}