/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #130a21; /* Dark primary background */
    color: #e0e0e0; /* Standard light grey text */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

/* Custom Colors */
:root {
    --primary-bg: #130a21;
    --secondary-bg: #1f1430;
    --accent-color: #00e6e6;
    --text-light-grey: #e0e0e0;
    --text-muted: #a0a0a0;
    --card-bg: #2a1f3c;
    --overlay-dark: rgba(0, 0, 0, 0.6);
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 600;
}

p {
    color: var(--text-light-grey);
}

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

a:hover {
    color: #00c2c2;
}

/* Header Styles */
header {
    background-color: var(--primary-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1030;
}

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

.navbar-brand span {
    color: #ffffff;
}

.search-input {
    background-color: var(--secondary-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light-grey);
    border-radius: 0.5rem;
    padding-left: 1rem;
    padding-right: 0;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 0.5rem 1rem;
}

.search-btn:hover {
    background-color: #00c2c2;
}

.navbar-nav .nav-link {
    color: var(--text-light-grey);
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding-top: 80px; /* Offset for sticky header */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    z-index: 0;
}

.hero-section .container {
    z-index: 1;
}

.hero-game-img {
    max-width: 100%;
    height: auto;
    border: 5px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.hero-game-img:hover {
    transform: scale(1.02);
}

.play-button {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-bg);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.play-button:hover {
    background-color: #00c2c2;
    border-color: #00c2c2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 230, 230, 0.4);
}

/* Game Detail Section */
.game-detail-section {
    background-color: var(--primary-bg);
    color: var(--text-light-grey);
}

.game-info-card,
.review-card {
    background-color: var(--card-bg);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-info-card:hover,
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.play-button-detail {
    background-color: #28a745; /* Green for success button */
    border-color: #28a745;
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.play-button-detail:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.game-section h3 {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 25px;
    display: inline-block;
}

.carousel-item img {
    border-radius: 0.5rem;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 1rem;
}

.leaderboard-table {
    background-color: var(--secondary-bg);
    border-radius: 0.5rem;
    overflow: hidden;
}

.leaderboard-table th, .leaderboard-table td {
    border-color: rgba(255, 255, 255, 0.1);
}

.review-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

/* Featured Games Slider */
.featured-games-slider {
    background-color: var(--secondary-bg);
}

.game-card {
    background-color: var(--card-bg);
    border: none;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.game-card img {
    height: 150px;
    object-fit: cover;
    width: 100%;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev-icon::before { content: '\F284'; font-family: 'bootstrap-icons'; }
.carousel-control-next-icon::before { content: '\F285'; font-family: 'bootstrap-icons'; }

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    opacity: 1;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--accent-color);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
}

/* Footer Styles */
.footer {
    background-color: var(--primary-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-link {
    color: var(--text-light-grey);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

.footer-social-icon {
    font-size: 1.8rem;
    color: var(--text-light-grey);
    transition: color 0.3s ease;
}

.footer-social-icon:hover {
    color: var(--accent-color);
}

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

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }

    .hero-game-img {
        margin-top: 2rem;
    }

    .navbar-collapse {
        background-color: var(--primary-bg);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding-left: 0.5rem;
    }

    .search-input {
        width: 100%;
    }

    .carousel-item .row > div {
        margin-bottom: 1.5rem;
    }

    .game-detail-section .col-md-4, .game-detail-section .col-md-8 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}
/* Styles for the content wrapper */
.secureTermsHub {
    padding: 3rem 1.5rem; /* Top/bottom padding, and side padding */
    margin-top: 2rem; /* Margin from the top section */
    background-color: var(--secondary-bg); /* Background for the content area */
    border-radius: 0.75rem; /* Slightly rounded corners */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); /* Subtle shadow for depth */
    max-width: 1200px; /* Max width to keep content readable */
    margin-left: auto; /* Center the block */
    margin-right: auto; /* Center the block */
}

/* Heading 1 styles */
.secureTermsHub h1 {
    font-size: 2.2rem; /* Moderate size for main section title */
    margin-top: 2.5rem; /* Spacing above the heading */
    margin-bottom: 1.2rem; /* Spacing below the heading */
    color: #ffffff; /* White color for headings */
    line-height: 1.2; /* Tighter line height for headings */
}

/* Heading 2 styles */
.secureTermsHub h2 {
    font-size: 1.8rem; /* Slightly smaller than h1 */
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.3;
}

/* Heading 3 styles */
.secureTermsHub h3 {
    font-size: 1.5rem; /* Standard heading size */
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
    color: #ffffff;
    line-height: 1.4;
}

/* Heading 4 styles */
.secureTermsHub h4 {
    font-size: 1.3rem; /* Smaller heading for sub-sections */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
    line-height: 1.5;
}

/* Heading 5 styles */
.secureTermsHub h5 {
    font-size: 1.1rem; /* Smallest heading, useful for labels */
    margin-top: 1.2rem;
    margin-bottom: 0.7rem;
    color: #ffffff;
    line-height: 1.6;
}

/* Paragraph styles */
.secureTermsHub p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.7; /* Good line height for readability */
    margin-bottom: 1rem; /* Spacing between paragraphs */
    color: var(--text-light-grey); /* Light grey text color */
}

/* Unordered list styles */
.secureTermsHub ul {
    list-style: disc; /* Default disc bullet */
    margin-top: 1rem; /* Spacing above the list */
    margin-bottom: 1rem; /* Spacing below the list */
    padding-left: 1.8rem; /* Indentation for list items */
    color: var(--text-light-grey); /* Inherit text color */
}

/* List item styles */
.secureTermsHub li {
    font-size: 1rem; /* Same font size as paragraphs */
    line-height: 1.6; /* Good line height for list items */
    margin-bottom: 0.5rem; /* Spacing between list items */
    color: var(--text-light-grey); /* Light grey text color */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .secureTermsHub {
        padding: 2rem 1rem; /* Reduce padding on smaller screens */
    }

    .secureTermsHub h1 {
        font-size: 1.8rem; /* Adjust h1 for mobile */
    }

    .secureTermsHub h2 {
        font-size: 1.5rem; /* Adjust h2 for mobile */
    }

    .secureTermsHub h3 {
        font-size: 1.3rem; /* Adjust h3 for mobile */
    }

    .secureTermsHub h4 {
        font-size: 1.1rem; /* Adjust h4 for mobile */
    }

    .secureTermsHub h5 {
        font-size: 1rem; /* Adjust h5 for mobile */
    }

    .secureTermsHub p,
    .secureTermsHub li {
        font-size: 0.95rem; /* Slightly smaller text for better fit on small screens */
    }

    .secureTermsHub ul {
        padding-left: 1.5rem; /* Adjust list indentation */
    }
}
