/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #212529; /* Standard dark text color */
}

p {
    color: #495057; /* Slightly lighter than headings for readability */
}

a {
    color: #007bff; /* Standard link color */
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Custom Colors */
:root {
    --primary-color: #7209B7; /* Purple */
    --secondary-color: #4361EE; /* Blue */
    --accent-color: #F72585; /* Pink */
    --dark-bg: #1A0F2C; /* Darker purple/blue for backgrounds */
    --light-bg: #F0F2F5; /* Light grey for sections */
    --text-dark: #212529;
    --text-light: #f8f9fa;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #5a0792; /* Slightly darker purple */
    border-color: #5a0792;
    transform: translateY(-2px);
}

.btn-outline-light {
    color: var(--text-light);
    border-color: var(--text-light);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.bg-light {
    background-color: var(--light-bg) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-warning {
    color: #FFC107 !important; /* Standard Bootstrap yellow for stars */
}

/* Header */
header {
    z-index: 1030; /* Bootstrap fixed-top z-index */
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 70px; /* Adjust for fixed header */
}

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

.hero-section h1 {
    font-size: 4.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: #fff !important;
}

.hero-section p.lead {
    font-size: 1.75rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: #fff !important;
}

/* App Details / Game Overview */
#fullGameDescription {
    transition: height 0.3s ease-in-out;
}

/* Game Modes Carousel */
.carousel-item {
    padding: 40px 20px;
    min-height: 400px; /* Ensure consistent height */
    display: flex;
    align-items: center;
}

.carousel-item img {
    max-height: 300px;
    object-fit: contain;
    margin: 0 auto;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.8));
}

/* Gameplay Screenshots */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Online Play (Iframe) */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Game Reviews */
.review-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.toggle-review-btn {
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.toggle-review-btn:hover {
    color: #5a0792;
}

.toggle-review-btn i {
    transition: transform 0.3s ease;
}

.toggle-review-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Contact Us Section */
.contact-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

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

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

/* Footer */
.footer {
    background-color: #110A1D !important; /* Even darker for footer */
}

.footer .logo-img {
    height: 30px;
}

.footer .list-inline-item a {
    transition: color 0.3s ease;
}

.footer .list-inline-item a:hover {
    color: var(--accent-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 1.7rem;
    }

    .hero-section p.lead {
        font-size: 1.25rem;
    }

    .carousel-item {
        flex-direction: column;
        text-align: center;
    }

    .carousel-item .col-md-6 {
        order: unset !important;
    }

    .carousel-item img {
        max-height: 200px;
        margin-bottom: 20px;
    }

    .footer .text-md-start, .footer .text-md-end {
        text-align: center !important;
    }
}
/* Styles for content within termsCaveBox */
.termsCaveBox {
    /* Top padding for the section */
    padding-top: 60px; 
    /* Horizontal padding for the section, adjusts on smaller screens */
    padding-left: 20px;
    padding-right: 20px;
    /* Max width to prevent text lines from being too long */
    max-width: 900px; 
    /* Center the box */
    margin-left: auto;
    margin-right: auto;
    /* Bottom padding for the section */
    padding-bottom: 60px;
}

.termsCaveBox h1 {
    /* Font size for main headings within the box */
    font-size: 2.2rem;
    /* Margin below the heading */
    margin-bottom: 1.2em;
    /* Margin above the heading */
    margin-top: 1.5em;
    /* Line height for better readability */
    line-height: 1.2;
}

.termsCaveBox h2 {
    /* Font size for secondary headings */
    font-size: 1.8rem;
    /* Margin below the heading */
    margin-bottom: 1em;
    /* Margin above the heading */
    margin-top: 1.3em;
    /* Line height for better readability */
    line-height: 1.3;
}

.termsCaveBox h3 {
    /* Font size for tertiary headings */
    font-size: 1.5rem;
    /* Margin below the heading */
    margin-bottom: 0.8em;
    /* Margin above the heading */
    margin-top: 1em;
    /* Line height for better readability */
    line-height: 1.4;
}

.termsCaveBox h4 {
    /* Font size for quaternary headings */
    font-size: 1.3rem;
    /* Margin below the heading */
    margin-bottom: 0.7em;
    /* Margin above the heading */
    margin-top: 0.8em;
    /* Line height for better readability */
    line-height: 1.5;
}

.termsCaveBox h5 {
    /* Font size for quinary headings */
    font-size: 1.1rem;
    /* Margin below the heading */
    margin-bottom: 0.6em;
    /* Margin above the heading */
    margin-top: 0.7em;
    /* Line height for better readability */
    line-height: 1.6;
}

.termsCaveBox p {
    /* Base font size for paragraphs */
    font-size: 1.1rem;
    /* Margin below each paragraph for separation */
    margin-bottom: 1em;
    /* Line height for optimal text readability */
    line-height: 1.7;
}

.termsCaveBox ul {
    /* Removes default list bullet styles */
    list-style: disc; 
    /* Margin above the list */
    margin-top: 1em;
    /* Margin below the list */
    margin-bottom: 1em;
    /* Indentation for list items */
    padding-left: 25px;
}

.termsCaveBox li {
    /* Font size for list items */
    font-size: 1.1rem;
    /* Margin below each list item for spacing */
    margin-bottom: 0.5em;
    /* Line height for readability within list items */
    line-height: 1.6;
}

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

    .termsCaveBox h1 {
        font-size: 1.8rem;
    }
    .termsCaveBox h2 {
        font-size: 1.5rem;
    }
    .termsCaveBox h3 {
        font-size: 1.3rem;
    }
    .termsCaveBox h4 {
        font-size: 1.1rem;
    }
    .termsCaveBox h5,
    .termsCaveBox p,
    .termsCaveBox li {
        font-size: 1rem;
    }
    .termsCaveBox ul {
        padding-left: 20px;
    }

    .navbar-brand{
        flex-wrap: wrap;
        gap: 10px;
    }
}

.termsCaveBox li, #contact-information p, .contact-item a{
    word-break: break-all !important;
}

