:root {
    --primary-red: #E74C3C;
    --dark-red: #C0392B;
    --light-grey: #F8F9FA;
    --dark-grey: #343A40;
    --white: #FFFFFF;
    --text-color-default: #495057; /* Standard text color */
    --text-color-light: #F8F9FA;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color-default);
    background-color: var(--light-grey);
    overflow-x: hidden; /* Prevent horizontal scroll from AOS animations */
}

/* Header Styles */
.header {
    background-color: rgba(52, 58, 64, 0.9); /* Slightly transparent dark background */
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

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

.header .company-name {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
}

.header .developer-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('assets/graphics/word-solitaire-scapes-hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-section p.lead {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Custom Buttons */
.custom-btn {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.btn-outline-primary {
    color: var(--primary-red);
    border-color: var(--primary-red);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-grey);
    position: relative;
    padding-bottom: 15px;
}

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

/* Custom Headings for content blocks */
h3.custom-heading {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-grey);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary-red);
    padding-left: 15px;
    width: fit-content;
}

/* Game Details Section */
#game-details-page {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--light-grey);
}

#game-details-page .game-features li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

#game-details-page .game-features i {
    font-size: 1.2rem;
    color: var(--primary-red);
}

/* Screenshots Carousel */
.custom-carousel-screenshots .carousel-item img {
    max-height: 500px;
    object-fit: cover;
}

.custom-carousel-screenshots .carousel-control-prev-icon, 
.custom-carousel-screenshots .carousel-control-next-icon {
    background-color: rgba(231, 76, 60, 0.7);
    border-radius: 50%;
    padding: 15px;
}

/* Achievement Cards */
.achievement-card {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.achievement-card i {
    color: var(--primary-red);
}

/* Player Testimonials */
.testimonial-card {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid var(--primary-red);
}

.testimonial-card .text-warning {
    color: #FFC107 !important; /* Bootstrap's warning color for stars */
}

/* Featured Games Carousel (More Games from DreamCore) */
.bg-red-gradient {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
}

#featured-games .section-title {
    color: var(--white);
}

#featured-games .section-title::after {
    background-color: var(--white);
}

.custom-carousel-games .game-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-carousel-games .game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.custom-carousel-games .game-card img {
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
}

.custom-carousel-games .carousel-control-prev-icon, 
.custom-carousel-games .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    padding: 15px;
}

.custom-carousel-games .carousel-control-prev-icon:hover, 
.custom-carousel-games .carousel-control-next-icon:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Game Categories */
.category-card {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--light-grey);
}

.category-card i {
    color: var(--primary-red);
}

/* Footer Styles */
.footer {
    background-color: var(--dark-grey);
    color: rgba(255, 255, 255, 0.7);
}

.footer .logo-footer {
    height: 50px;
    width: auto;
}

.footer .list-inline-item a {
    color: rgba(255, 255, 255, 0.7);
}

.footer .list-inline-item a:hover {
    color: var(--primary-red);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {

    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1.1rem;
    }
    .custom-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    h3.custom-heading {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {

    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .header .navbar-brand .logo {
        height: 35px;
    }
    .header .company-name {
        font-size: 1.3rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    h3.custom-heading {
        font-size: 1.5rem;
        padding-left: 10px;
    }
    .testimonial-card .avatar {
        width: 50px;
        height: 50px;
    }
    .custom-carousel-games .game-card img {
        height: 150px;
    }
    .carousel-item .row > div {
        flex: 0 0 100%; /* Ensure only one item per row on small screens */
        max-width: 100%;
    }
}/* Parent wrapper for content */
.regShieldWrap {
    padding-top: 60px; /* Top padding for the wrapper */
    padding-bottom: 60px; /* Bottom padding for the wrapper */
    padding-left: 20px; /* Left padding for the wrapper */
    padding-right: 20px; /* Right padding for the wrapper */
    max-width: 1200px; /* Max width for content to keep it readable */
    margin-left: auto; /* Center the wrapper horizontally */
    margin-right: auto; /* Center the wrapper horizontally */
}

/* Heading 1 styles within regShieldWrap */
.regShieldWrap h1 {
    font-size: 2.2rem; /* Moderate font size for main headings */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Line height for readability */
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 1.5rem; /* Bottom margin for spacing */
    color: var(--dark-grey); /* Heading color */
}

/* Heading 2 styles within regShieldWrap */
.regShieldWrap h2 {
    font-size: 1.8rem; /* Font size for sub-headings */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.3; /* Line height for readability */
    margin-top: 1.5rem; /* Top margin for spacing */
    margin-bottom: 1.2rem; /* Bottom margin for spacing */
    color: var(--dark-grey); /* Heading color */
}

/* Heading 3 styles within regShieldWrap */
.regShieldWrap h3 {
    font-size: 1.5rem; /* Font size for smaller headings */
    font-weight: 500; /* Medium font weight */
    line-height: 1.4; /* Line height for readability */
    margin-top: 1.2rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    color: var(--dark-grey); /* Heading color */
}

/* Heading 4 styles within regShieldWrap */
.regShieldWrap h4 {
    font-size: 1.25rem; /* Font size for minor headings */
    font-weight: 500; /* Medium font weight */
    line-height: 1.5; /* Line height for readability */
    margin-top: 1rem; /* Top margin for spacing */
    margin-bottom: 0.8rem; /* Bottom margin for spacing */
    color: var(--dark-grey); /* Heading color */
}

/* Heading 5 styles within regShieldWrap */
.regShieldWrap h5 {
    font-size: 1rem; /* Smallest heading font size */
    font-weight: 500; /* Medium font weight */
    line-height: 1.6; /* Line height for readability */
    margin-top: 0.8rem; /* Top margin for spacing */
    margin-bottom: 0.6rem; /* Bottom margin for spacing */
    color: var(--dark-grey); /* Heading color */
}

/* Paragraph styles within regShieldWrap */
.regShieldWrap p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.6; /* Line height for readability */
    margin-bottom: 1rem; /* Bottom margin for paragraph spacing */
    color: var(--text-color-default); /* Default text color */
}

/* Unordered list styles within regShieldWrap */
.regShieldWrap ul {
    list-style-type: disc; /* Default disc bullet points */
    padding-left: 25px; /* Indent list items */
    margin-top: 1rem; /* Top margin for list spacing */
    margin-bottom: 1rem; /* Bottom margin for list spacing */
    color: var(--text-color-default); /* Default text color */
}

/* List item styles within regShieldWrap */
.regShieldWrap li {
    font-size: 1rem; /* Standard list item font size */
    line-height: 1.6; /* Line height for readability */
    margin-bottom: 0.5rem; /* Bottom margin for spacing between list items */
    color: var(--text-color-default); /* Default text color */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .regShieldWrap {
        padding-top: 40px; /* Adjust top padding on small screens */
        padding-bottom: 40px; /* Adjust bottom padding on small screens */
        padding-left: 15px; /* Smaller side padding on small screens */
        padding-right: 15px; /* Smaller side padding on small screens */
    }

    .regShieldWrap h1 {
        font-size: 1.8rem; /* Smaller H1 on small screens */
        margin-bottom: 1rem;
    }

    .regShieldWrap h2 {
        font-size: 1.5rem; /* Smaller H2 on small screens */
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .regShieldWrap h3 {
        font-size: 1.3rem; /* Smaller H3 on small screens */
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .regShieldWrap h4 {
        font-size: 1.1rem; /* Smaller H4 on small screens */
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .regShieldWrap h5 {
        font-size: 0.95rem; /* Smaller H5 on small screens */
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .regShieldWrap p,
    .regShieldWrap ul,
    .regShieldWrap li {
        font-size: 0.95rem; /* Slightly smaller base font size on small screens */
        line-height: 1.5;
    }
}

.hero-section{
    padding-top: 160px;
    padding-bottom: 70px;
}