/* Custom styles for the page */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a; /* Dark background for the main body */
    color: #f0f0f0; /* Light text color */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Styling for section titles with a green accent */
.section-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    border-left: 4px solid #10b981; /* Green accent */
    padding-left: 1rem;
}

/* Game card styling with transitions */
.game-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #262626; /* Darker card background */
}
.game-card:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Promo card styling with transitions */
.promo-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promo-card:hover {
     transform: scale(1.03); /* Scale effect on hover */
}

/* Footer link styling with hover effect */
.footer-link {
    color: #a3a3a3;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: #10b981; /* Green accent on hover */
}

/* FAQ Accordion styles */
.faq-item details > summary {
    list-style: none; /* Remove default marker */
}
.faq-item details > summary::-webkit-details-marker {
    display: none; /* Remove default marker for Chrome/Safari */
}
.faq-item details > summary .icon {
    transition: transform 0.3s;
}
.faq-item details[open] > summary .icon {
    transform: rotate(45deg);
}

/* Blog Section Styles */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Content Image Styles */
#blog-body img,
.blog-content img,
.prose img,
.blog-content figure img,
.prose figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background-color: #2d3748;
    padding: 4px;
}

#blog-body figure,
.blog-content figure,
.prose figure {
    margin: 2rem 0;
    text-align: center;
    display: block;
}

#blog-body figure img,
.blog-content figure img,
.prose figure img {
    margin: 0 auto 0.5rem auto;
    display: block;
    width: 100%;
    max-width: 100%;
}

#blog-body figcaption,
.blog-content figcaption,
.prose figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
    font-style: italic;
    text-align: center;
    display: block;
}

#blog-body .image,
.blog-content .image,
.prose .image {
    margin: 2rem 0;
    display: block;
}

#blog-body .image img,
.blog-content .image img,
.prose .image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Ensure all images in blog content are visible */
#blog-body img[src],
.blog-content img[src] {
    opacity: 1;
    visibility: visible;
}

