/* General Styling & Dark Theme */
:root {
    --primary-bg: #1a1a2e; /* Deep dark blue/purple */
    --secondary-bg: #2a2a4a; /* Slightly lighter dark blue/purple for blocks */
    --text-color: #e0e0e0; /* Off-white for general text */
    --heading-color: #ffffff; /* Pure white for headings */
    --accent-color-1: rgb(0, 191, 255); /* Deep Sky Blue - Mermaid theme */
    --accent-color-2: rgb(255, 105, 180); /* Hot Pink - Mermaid theme */
    --button-bg: linear-gradient(90deg, var(--accent-color-1) 0%, var(--accent-color-2) 100%);
    --button-hover-bg: linear-gradient(90deg, var(--accent-color-2) 0%, var(--accent-color-1) 100%);
    --border-color: rgba(255, 255, 255, 0.1); /* Light border for dark theme */
    --shadow-color: rgba(0, 0, 0, 0.3);
    --form-bg: #3a3a5a; /* Darker background for form */
    --input-bg: #2a2a4a; /* Input background */
    --input-border: rgba(255, 255, 255, 0.2);
    --placeholder-color: rgba(255, 255, 255, 0.5);
    --error-color: #ff6b6b; /* Red for errors */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

.text-muted{
    color: unset !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--button-bg);
    border-radius: 2px;
}

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

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

.btn-primary {
    background: var(--button-bg);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--heading-color);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.btn-primary:hover {
    background: var(--button-hover-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.bg-dark-custom {
    background-color: var(--secondary-bg) !important;
}

.section-padding {
    padding: 80px 0;
}

/* Navbar */
.navbar {
    background-color: var(--secondary-bg) !important;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    color: var(--heading-color) !important;
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

/* Hero Section */
#hero {
    background: url(images/uploads/underwater-bg.png) no-repeat center center/cover;
    position: relative;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

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

#hero .game-image-wrapper {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    backdrop-filter: blur(5px);
}

#hero .game-image-wrapper img {
    border-radius: 15px;
    max-height: 500px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.rating .fa-star {
    color: gold;
    margin-right: 2px;
}

/* Game Media Slider */
#game-media {
    background-color: var(--primary-bg);
}

#game-media .carousel-item img {
    max-height: 550px; /* Adapted for horizontal photos */
    object-fit: contain; /* Ensure full image is visible */
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

#game-media .carousel-control-prev,
#game-media .carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#game-media .carousel-control-prev:hover,
#game-media .carousel-control-next:hover {
    opacity: 1;
}

#game-media .carousel-control-prev-icon,
#game-media .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}

#game-media .carousel-indicators button {
    background-color: var(--accent-color-1);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

#game-media .carousel-indicators button.active {
    opacity: 1;
}

/* About Game Description */
#about-game p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Game Features */
#game-features .feature-item {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#game-features .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

#game-features .feature-item i {
    font-size: 3rem;
    color: var(--accent-color-1);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

#game-features .feature-item:hover i {
    transform: scale(1.1);
}

#game-features .feature-item h5 {
    color: var(--heading-color);
    margin-bottom: 10px;
}

#game-features .feature-item p {
    color: var(--text-color);
}

/* Rating and Reviews Summary */
#reviews-summary {
    background-color: var(--secondary-bg);
}

#reviews-summary .rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#reviews-summary .rating-display .overall-rating {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color-1);
    margin-right: 15px;
}

#reviews-summary .rating-display .stars i {
    font-size: 2rem;
    color: gold;
}

#reviews-summary .review-count {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* User Reviews */
#user-reviews .review-card {
    height: 100%;
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
}

#user-reviews .review-card .reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#user-reviews .review-card .reviewer-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--accent-color-1);
}

#user-reviews .review-card .reviewer-info .name {
    font-weight: 600;
    color: var(--heading-color);
    font-size: 1.1rem;
}

#user-reviews .review-card .reviewer-info .date {
    font-size: 0.9rem;
    color: var(--text-color);
}

#user-reviews .review-card .stars i {
    color: gold;
    font-size: 1rem;
    margin-bottom: 10px;
}

#user-reviews .review-card .review-text {
    font-size: 1rem;
    color: var(--text-color);
}

/* Contact Form */
#contact-form {
    background-color: var(--form-bg);
    padding: 60px 0;
}

#contact-form .form-control {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-color);
    padding: 12px 20px;
    border-radius: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-form .form-control:focus {
    border-color: var(--accent-color-1);
    box-shadow: 0 0 0 0.25rem rgba(0, 191, 255, 0.25);
    background-color: var(--input-bg); /* Keep background consistent */
    color: var(--text-color);
}

#contact-form .form-control::placeholder {
    color: var(--placeholder-color);
}

#contact-form .form-label {
    color: var(--heading-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--secondary-bg) ;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

footer .footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

footer .footer-links a {
    color: var(--text-color);
    margin: 0 15px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

footer p {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

#cookie-banner p {
    margin: 0;
    flex-grow: 1;
    max-width: 60%;
}

#cookie-banner .cookie-buttons {
    display: flex;
    gap: 10px;
}

#cookie-banner .btn {
    white-space: nowrap;
}

#cookie-banner .btn-secondary {
    background-color: transparent;
    border: 1px solid var(--accent-color-1);
    color: var(--accent-color-1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

#cookie-banner .btn-secondary:hover {
    background-color: var(--accent-color-1);
    color: var(--heading-color);
}

/* Cookie Modal */
#cookieSettingsModal .modal-content {
    background-color: var(--secondary-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

#cookieSettingsModal .modal-header {
    border-bottom: 1px solid var(--border-color);
    color: var(--heading-color);
}

#cookieSettingsModal .modal-footer {
    border-top: 1px solid var(--border-color);
}

#cookieSettingsModal .form-check-label {
    color: var(--text-color);
}

#cookieSettingsModal .form-check-input:checked {
    background-color: var(--accent-color-1);
    border-color: var(--accent-color-1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2rem;
    }
    #hero {
        padding: 80px 0;
    }
    #hero .game-image-wrapper img {
        max-height: 400px;
    }
    #game-media .carousel-item img {
        max-height: 400px;
    }
    #cookie-banner p {
        max-width: 100%;
        text-align: center;
    }
    #cookie-banner .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .section-padding {
        padding: 60px 0;
    }
    #hero .game-image-wrapper {
        margin-top: 40px;
    }
    #game-media .carousel-item img {
        max-height: 300px;
    }
    #game-features .feature-item {
        margin-bottom: 20px;
    }
    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    #hero .game-image-wrapper img {
        max-height: 300px;
    }
    #game-media .carousel-item img {
        max-height: 250px;
    }
    .navbar-brand img {
        height: 30px;
    }
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    footer .footer-links a {
        display: block;
        margin: 5px 0;
    }
}/* New styles for content within .regShieldWrap */

/* Wrapper for standard content blocks */
.regShieldWrap {
    padding-top: 60px; /* Top padding for the content block */
    padding-bottom: 60px; /* Bottom padding for the content block */
    padding-left: 20px; /* Left padding for the content block */
    padding-right: 20px; /* Right padding for the content block */
    /* Optional: Add max-width and margin: auto if this wrapper should center its content */
    /* max-width: 960px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading 1 styling within the wrapper */
.regShieldWrap h1 {
    font-size: 2rem; /* Moderate font size for main headings within a content block */
    margin-top: 30px; /* Top margin for spacing */
    margin-bottom: 20px; /* Bottom margin for spacing */
    line-height: 1.3; /* Standard line height */
    color: var(--heading-color); /* Inherit heading color from theme */
}

/* Heading 2 styling within the wrapper */
.regShieldWrap h2 {
    font-size: 1.75rem; /* Slightly smaller heading */
    margin-top: 25px; /* Top margin for spacing */
    margin-bottom: 18px; /* Bottom margin for spacing */
    line-height: 1.3; /* Standard line height */
    color: var(--heading-color); /* Inherit heading color from theme */
}

/* Heading 3 styling within the wrapper */
.regShieldWrap h3 {
    font-size: 1.5rem; /* Sub-heading size */
    margin-top: 20px; /* Top margin for spacing */
    margin-bottom: 15px; /* Bottom margin for spacing */
    line-height: 1.4; /* Standard line height */
    color: var(--heading-color); /* Inherit heading color from theme */
}

/* Heading 4 styling within the wrapper */
.regShieldWrap h4 {
    font-size: 1.25rem; /* Smaller heading for sections */
    margin-top: 18px; /* Top margin for spacing */
    margin-bottom: 12px; /* Bottom margin for spacing */
    line-height: 1.4; /* Standard line height */
    color: var(--heading-color); /* Inherit heading color from theme */
}

/* Heading 5 styling within the wrapper */
.regShieldWrap h5 {
    font-size: 1.1rem; /* Smallest heading, often for minor details or sub-sub-sections */
    margin-top: 15px; /* Top margin for spacing */
    margin-bottom: 10px; /* Bottom margin for spacing */
    line-height: 1.5; /* Standard line height */
    color: var(--heading-color); /* Inherit heading color from theme */
}

/* Paragraph styling within the wrapper */
.regShieldWrap p {
    font-size: 1rem; /* Standard body text size */
    margin-bottom: 1rem; /* Bottom margin for paragraph separation */
    line-height: 1.6; /* Comfortable line height for readability */
    color: var(--text-color); /* Inherit general text color from theme */
}

/* Unordered list styling within the wrapper */
.regShieldWrap ul {
    list-style: disc; /* Default bullet style */
    margin-left: 20px; /* Indent for bullet points */
    margin-bottom: 1rem; /* Bottom margin for list separation */
    padding-left: 0; /* Reset default padding if any */
    color: var(--text-color); /* Inherit general text color from theme */
}

/* List item styling within the wrapper */
.regShieldWrap li {
    font-size: 1rem; /* Standard text size for list items */
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6; /* Comfortable line height for readability */
    color: var(--text-color); /* Inherit general text color from theme */
}

/* Responsive adjustments for the wrapper padding */
@media (max-width: 768px) {
    .regShieldWrap {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .regShieldWrap h1 { font-size: 1.8rem; }
    .regShieldWrap h2 { font-size: 1.6rem; }
    .regShieldWrap h3 { font-size: 1.4rem; }
    .regShieldWrap h4 { font-size: 1.1rem; }
    .regShieldWrap h5 { font-size: 1rem; }
    .regShieldWrap p, .regShieldWrap li { font-size: 0.95rem; }
}

@media (max-width: 576px) {
    .regShieldWrap {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .regShieldWrap h1 { font-size: 1.6rem; }
    .regShieldWrap h2 { font-size: 1.4rem; }
    .regShieldWrap h3 { font-size: 1.2rem; }
    .regShieldWrap h4 { font-size: 1rem; }
    .regShieldWrap h5 { font-size: 0.9rem; }
    .regShieldWrap p, .regShieldWrap li { font-size: 0.9rem; }
}
