:root {
    --primary-color: #007bff; /* Blue */
    --secondary-color: #6c757d; /* Grey */
    --accent-color-blue: #00bcd4; /* Cyan */
    --accent-color-purple: #8a2be2; /* BlueViolet */
    --dark-bg: #1a1a2e; /* Darker blue-purple */
    --darker-bg: #16213e; /* Even darker */
    --text-color-light: #e0e0e0; /* Light grey for general text */
    --text-color-white: #ffffff; /* White */
    --gradient-primary: linear-gradient(90deg, #007bff, #00bcd4);
    --gradient-secondary: linear-gradient(90deg, #8a2be2, #007bff);
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #0f0c29 100%);
    --disclaimer-bg: #330000; /* Dark red for disclaimer */
    --disclaimer-border: #ff0000; /* Red border */
    --form-bg: #2a2a4a;
    --form-border: #4a4a6a;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color-white);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent-color-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.btn {
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-color-white);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
    transform: translateY(-2px);
    color: var(--text-color-white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border: none;
    color: var(--text-color-white);
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: var(--text-color-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, var(--accent-color-purple), var(--accent-color-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Pre-header Age Banner */
.age-banner {
    background-color: #dc3545; /* Red */
    color: var(--text-color-white);
    font-size: 0.85rem;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1050; /* Above navbar */
}

/* Age Verification Modal */
#ageVerificationModal .modal-content {
    background-color: var(--darker-bg);
    border: 1px solid var(--accent-color-blue);
    color: var(--text-color-light);
    border-radius: 1rem;
}

#ageVerificationModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#ageVerificationModal .modal-title {
    color: var(--text-color-white);
}

#ageVerificationModal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.flag-bar {
  
    width: 100%;
  height: 36px;                 /* aceeași înălțime pentru ambele bare */
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  z-index: 9999;
}

/* Yellow centered "Advertorial" */
.flag-bar.advertorial {
  background: #f5c400;          /* galben */
  color: #111;                  /* text închis pentru contrast */
  justify-content: center;      /* text exact pe centru */
}

/* Red age warning aligned to the right (keeps original style) */
.flag-bar.age-warning {
  background: #d6454b;          /* roșu (ajustează dacă e alt cod) */
  color: #fff;
  justify-content: flex-end;    /* text la dreapta */
  padding-right: 20px;          /* ușoară margine din dreapta */
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .flag-bar { height: 32px; font-size: 13px; }
  .flag-bar.advertorial { padding: 0 12px; }
  .flag-bar.age-warning { padding-right: 12px; }
}
/* Header */
.main-header {
    background-color: var(--darker-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 2rem; /* Below the age banner */
    z-index: 1040;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .site-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color-white);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler .material-symbols-outlined {
    color: var(--text-color-white);
}

.navbar-nav .nav-link {
    color: var(--text-color-light);
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color-blue);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    background: var(--gradient-hero);
    background-image: url('pictures/media/space-nebula-background_3.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding-top: 100px; /* Adjust for fixed header */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-color-white);
}

.hero-section .rotating-keywords {
    background: linear-gradient(90deg, var(--accent-color-blue), var(--accent-color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    min-width: 200px; /* Ensure space for rotation */
}

.hero-section p.lead {
    font-size: 1.3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light);
}

.hero-btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

.game-cards-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.game-card {
    position: absolute;
    width: 150px;
    opacity: 0.1;
    filter: blur(2px);
}

.game-card.card-1 { top: 10%; left: -10%; animation: slideCard1 15s infinite linear; }
.game-card.card-2 { top: 40%; right: -10%; animation: slideCard2 18s infinite linear; }
.game-card.card-3 { bottom: 15%; left: -15%; animation: slideCard3 20s infinite linear; }

@keyframes slideCard1 {
    0% { transform: translateX(0) translateY(0) rotate(0deg); opacity: 0.1; }
    50% { transform: translateX(120vw) translateY(50vh) rotate(180deg); opacity: 0.2; }
    100% { transform: translateX(0) translateY(0) rotate(360deg); opacity: 0.1; }
}
@keyframes slideCard2 {
    0% { transform: translateX(0) translateY(0) rotate(0deg); opacity: 0.1; }
    50% { transform: translateX(-120vw) translateY(30vh) rotate(-180deg); opacity: 0.2; }
    100% { transform: translateX(0) translateY(0) rotate(-360deg); opacity: 0.1; }
}
@keyframes slideCard3 {
    0% { transform: translateX(0) translateY(0) rotate(0deg); opacity: 0.1; }
    50% { transform: translateX(100vw) translateY(-40vh) rotate(270deg); opacity: 0.2; }
    100% { transform: translateX(0) translateY(0) rotate(540deg); opacity: 0.1; }
}


/* Game Iframe Section */
.game-iframe-section {
    background-color: var(--darker-bg);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.game-display-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    min-height: 80vh;
    overflow: hidden;
    background-color: #000;
    border-radius: 1rem;
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
}

.game-poster, .game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.5s ease;
    border-radius: 1rem;
}

.game-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.game-title {
    font-size: 3rem;
    background: linear-gradient(90deg, #ff6b6b, #ffe66d); /* Fiery gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.game-description {
    max-width: 700px;
    font-size: 1.1rem;
    color: var(--text-color-light);
}

.btn-play-game {
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    border: none;
    font-size: 1.5rem;
    padding: 1rem 3rem;
    border-radius: 2rem;
    box-shadow: 0 5px 20px rgba(255, 65, 108, 0.4);
}

.btn-play-game:hover {
    background: linear-gradient(90deg, #ff4b2b, #ff416c);
    box-shadow: 0 8px 25px rgba(255, 65, 108, 0.6);
    transform: translateY(-3px) scale(1.02);
}

/* About Game Section */
.about-game {
    background-color: var(--dark-bg);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    background-color: var(--form-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--form-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

.stat-icon {
    font-size: 3.5rem;
    color: var(--accent-color-blue);
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-color-purple);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-color-light);
}

/* How To Play Section */
.how-to-play {
    background-color: var(--darker-bg);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.accordion-item {
    background-color: var(--form-bg);
    border: 1px solid var(--form-border);
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--form-bg);
    color: var(--text-color-white);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-color-purple);
    color: var(--text-color-white);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    padding: 1.5rem;
    border-top: 1px solid var(--form-border);
}

.accordion-button::after {
    filter: invert(1); /* Make the arrow white */
}

/* Leaderboards Section */
.leaderboards-section {
    background-color: var(--dark-bg);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.leaderboard-table-wrapper {
    max-height: 500px;
    overflow-y: auto;
    background-color: var(--form-bg);
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--form-border);
}

.leaderboard-item {
    display: grid;
    grid-template-columns: 0.5fr 3fr 1.5fr 1fr;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease;
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-item.header-row {
    background-color: var(--accent-color-purple);
    font-weight: 700;
    color: var(--text-color-white);
    position: sticky;
    top: 0;
    z-index: 1;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.leaderboard-item:not(.header-row):hover {
    background-color: rgba(0, 191, 255, 0.1);
}

.leaderboard-item.user-row {
    background-color: var(--accent-color-blue);
    color: var(--text-color-white);
    font-weight: 600;
    position: sticky;
    bottom: 0;
    z-index: 1;
    box-shadow: 0 -5px 15px rgba(0, 191, 255, 0.3);
}

.leaderboard-item div {
    padding: 0.5rem 0;
}

.leaderboard-item .rank {
    font-weight: 700;
    color: var(--accent-color-blue);
}

.leaderboard-item.user-row .rank {
    color: var(--text-color-white);
}

.player-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.75rem;
    border: 2px solid var(--accent-color-blue);
}

.leaderboard-item.user-row .player-avatar {
    border-color: var(--text-color-white);
}

@media (max-width: 768px) {
    .leaderboard-item {
        grid-template-columns: 0.5fr 2.5fr 1.5fr;
    }
    .leaderboard-item .status {
        display: none;
    }
}

/* Achievements Section */
.achievements-section {
    background-color: var(--darker-bg);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.achievements-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.achievements-carousel {
    display: flex;
    overflow-x: hidden; /* Controlled by JS */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 2rem; /* Spacing between cards */
    padding: 1rem;
    justify-content: flex-start; /* Align items to start */
}

.achievements-carousel .carousel-item {
    flex: 0 0 auto; /* Don't grow, don't shrink, base on content */
    width: calc(33.333% - 1.333rem); /* 3 items per row with gap */
    max-width: 300px; /* Max width for each card */
    margin-right: 2rem; /* Gap for JS controlled scroll */
}

@media (max-width: 992px) {
    .achievements-carousel .carousel-item {
        width: calc(50% - 1rem); /* 2 items per row */
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .achievements-carousel .carousel-item {
        width: 100%; /* 1 item per row */
        max-width: none;
    }
}


.achievement-card {
    background-color: var(--form-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--form-border);
    text-align: center;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.trophy-icon {
    font-size: 4rem;
    color: var(--accent-color-purple);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.achievement-card:hover .trophy-icon {
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.8);
}

.achievement-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--text-color-white);
}

.achievement-card p {
    font-size: 1rem;
    color: var(--text-color-light);
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-white);
    opacity: 0.7;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    z-index: 2;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: var(--accent-color-blue);
}

.carousel-control-prev {
    left: -50px;
}

.carousel-control-next {
    right: -50px;
}

@media (max-width: 768px) {
    .carousel-control-prev { left: 0; }
    .carousel-control-next { right: 0; }
}

/* FAQ Section */
.faq-section {
    background-color: var(--dark-bg);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.faq-search-input {
    background-color: var(--form-bg);
    border: 1px solid var(--form-border);
    color: var(--text-color-light);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    display: block;
}

.faq-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.faq-search-input:focus {
    background-color: var(--darker-bg);
    border-color: var(--accent-color-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 191, 255, 0.25);
    color: var(--text-color-white);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--darker-bg);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

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

.testimonial-card {
    background-color: var(--form-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--form-border);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color-blue);
}

.testimonial-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    color: var(--text-color-white);
}

.badge-reviewer {
    background: var(--gradient-secondary);
    color: var(--text-color-white);
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-icon {
    font-size: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color-light);
    margin-top: 1rem;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--dark-bg);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.contact-form, .contact-info-block {
    background-color: var(--form-bg);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--form-border);
}

.contact-form .form-label {
    color: var(--text-color-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    background-color: var(--darker-bg);
    border: 1px solid var(--form-border);
    color: var(--text-color-white);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-control:focus {
    background-color: #20203a;
    border-color: var(--accent-color-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 191, 255, 0.25);
    color: var(--text-color-white);
}

.contact-form .invalid-feedback {
    color: #ff6b6b;
}

.submit-btn {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
}

.contact-info-block h3 {
    color: var(--text-color-white);
    font-size: 1.8rem;
    background: linear-gradient(90deg, var(--accent-color-blue), var(--accent-color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info-block p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color-light);
}

.contact-info-block p .material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--accent-color-blue);
}

.contact-info-block a {
    color: var(--text-color-light);
}

.contact-info-block a:hover {
    color: var(--accent-color-blue);
}

/* Disclaimer Block */
.disclaimer-block {
    background-color: var(--disclaimer-bg);
    border-top: 3px solid var(--disclaimer-border);
    border-bottom: 3px solid var(--disclaimer-border);
    padding: 3rem 0;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.disclaimer-block::before, .disclaimer-block::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 0, 0, 0.05),
        rgba(255, 0, 0, 0.05) 10px,
        transparent 10px,
        transparent 20px
    );
    top: 0;
    left: 0;
    opacity: 0.1;
    z-index: 0;
}

.disclaimer-block .container {
    position: relative;
    z-index: 1;
}

.disclaimer-icon {
    font-size: 3rem;
    color: var(--disclaimer-border);
    margin-bottom: 1rem;
    display: block;
}

.disclaimer-title {
    color: var(--disclaimer-border);
    font-size: 2rem;
    font-weight: 700;
}

.disclaimer-block p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-color-light);
}

/* Footer */
.main-footer {
    background-color: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-brand .logo-img {
    height: 35px;
    width: auto;
}

.footer-brand .site-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color-white);
}

.footer-description {
    font-size: 0.95rem;
    margin-top: 1rem;
    max-width: 300px;
}

.main-footer h5 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color-white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-links li a {
    color: var(--text-color-light);
    padding: 0.25rem 0;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent-color-blue);
    transform: translateX(5px);
}

.newsletter-form .form-control {
    background-color: var(--dark-bg);
    border: 1px solid var(--form-border);
    color: var(--text-color-white);
    border-radius: 0.5rem 0 0 0.5rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    border-color: var(--accent-color-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 191, 255, 0.25);
}

.newsletter-form .btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    color: var(--text-color-white);
}

.newsletter-form .btn:hover {
    background: var(--gradient-secondary);
}

.community-messages-carousel {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.community-message {
    margin: 0;
    font-style: italic;
    color: var(--text-color-light);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    font-size: 0.9rem;
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-partner-logo {
    max-width: 120px; /* Adjusted to 120px, between 100-150px */
    height: auto;
    object-fit: contain;
    filter: brightness(0.8) contrast(1.2); /* Slight filter for dark theme integration */
    transition: filter 0.3s ease;
}

.footer-partner-logo:hover {
    filter: brightness(1) contrast(1.5); /* No grayscale, just slight enhancement */
}

.age-icon {
    max-width: 50px;
    filter: none; /* Ensure 18+ icon stays red/original color */
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .game-title {
        text-align: center;
        font-size: 2rem;
    }
    .btn-play-game {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-block {
        margin-top: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom p {
        margin-bottom: 1rem;
    }
    .footer-logos {
        margin-top: 1rem;
    }
    .carousel-control-prev, .carousel-control-next {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .navbar-brand .site-name{
        font-size: 1.1rem;
    }
    .carousel-control-prev { left: 5px; }
    .carousel-control-next { right: 5px; }
}/* Parent container styling for top and side spacing */
.securePolicyGrid {
    padding: 60px 30px; /* Top/bottom and left/right padding for the content area */
    /* Optional: Add max-width and auto margins for better content readability on large screens */
    /* max-width: 960px; */
    /* margin: 0 auto; */
}

/* Heading styles within .securePolicyGrid */
.securePolicyGrid h1 {
    font-size: 2.2em; /* Moderate font size for H1 */
    margin-top: 40px; /* Top margin for separation from preceding content */
    margin-bottom: 20px; /* Bottom margin for separation from following content */
    line-height: 1.2; /* Improved readability for headings */
    font-weight: bold; /* Ensure it's bold, common for H1 */
}

.securePolicyGrid h2 {
    font-size: 1.8em; /* Moderate font size for H2 */
    margin-top: 35px;
    margin-bottom: 18px;
    line-height: 1.2;
    font-weight: bold;
}

.securePolicyGrid h3 {
    font-size: 1.5em; /* Moderate font size for H3 */
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: bold;
}

.securePolicyGrid h4 {
    font-size: 1.2em; /* Moderate font size for H4 */
    margin-top: 25px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: bold;
}

.securePolicyGrid h5 {
    font-size: 1.1em; /* Moderate font size for H5 */
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: bold;
}

/* Paragraph styles within .securePolicyGrid */
.securePolicyGrid p {
    font-size: 1em; /* Standard paragraph font size */
    margin-bottom: 1em; /* Space between paragraphs */
    line-height: 1.6; /* Optimal line height for paragraph readability */
}

/* Unordered list styles within .securePolicyGrid */
.securePolicyGrid ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1em; /* Top margin for the list */
    margin-bottom: 1em; /* Bottom margin for the list */
    padding-left: 25px; /* Indentation for bullet points */
}

/* List item styles within .securePolicyGrid */
.securePolicyGrid li {
    margin-bottom: 0.5em; /* Space between individual list items */
    line-height: 1.6; /* Optimal line height for list item readability */
}
