/*
 Theme Name:   Alano Star Games
 Theme URI:    https://alanostar.app
 Author:       Alano Star Team
 Author URI:   https://alanostar.app/about
 Description:  Custom theme for Alano Star – earning game APKs directory for Pakistan. Mobile-friendly, card grid, SEO-optimized.
 Version:      2.1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  alano-star
 Tags:         earning-games, gaming, apk-download, pakistan, mobile-friendly, seo-optimized
*/


/* Global Styles */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1C2526; /* Dark */
    --accent-color: #C41E3A; /* Red */
    --glow-color: rgba(255, 215, 0, 0.8);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--secondary-color);
    color: #fff;
    margin: 0;
    line-height: 1.6;
}

/* Header with Logo, Navigation, and Mobile Menu */
header.site-header {
    background: var(--secondary-color);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: slideDown 0.5s ease-in;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    flex: 0 0 auto;
}

.logo img,
.logo .custom-logo {
    max-width: 150px;
    height: auto;
}

.logo .custom-logo-link {
    display: inline-block;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1100;
}

.menu-toggle .hamburger,
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    display: block;
    transition: all 0.3s ease;
}

.menu-toggle .hamburger {
    position: relative;
}

.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-toggle .hamburger::before {
    top: -8px;
}

.menu-toggle .hamburger::after {
    top: 8px;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Navigation */
nav.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

nav ul.menu {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul.menu a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px;
    transition: color 0.3s, text-shadow 0.3s, background 0.3s;
}

nav ul.menu a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--glow-color);
    background: rgba(255, 215, 0, 0.1);
    border-radius: 5px;
}

/* Mobile Menu Styles - FIXED */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    /* Desktop nav should be hidden on mobile */
    nav.main-nav.desktop-nav {
        display: none;
    }
    
    /* Mobile nav styling */
    nav.main-nav.mobile-nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: var(--secondary-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        display: block; /* Ensure it uses block layout when visible */
    }

    nav.main-nav.mobile-nav.active {
        max-height: 500px; /* Adjust based on menu items */
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }

    nav.main-nav.mobile-nav ul.menu {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    nav.main-nav.mobile-nav ul.menu li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    nav.main-nav.mobile-nav ul.menu a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    /* Ensure desktop nav is hidden on mobile */
    .desktop-nav {
        display: none !important;
    }
    
    /* Show mobile nav when active */
    .mobile-nav.active {
        display: block !important;
    }
}

/* Desktop styles - ensure mobile nav is hidden on desktop */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
    
    .desktop-nav {
        display: flex !important;
    }
    
    .menu-toggle {
        display: none !important;
    }
}

/* Parallax Hero with Animated Banner */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3.5rem 1.25rem;
    min-height: 0;
    height: auto;
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    animation: fadeInText 1s ease-in;
}

.hero-section .cta-button {
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.hero-section .cta-button:hover {
    background-color: #a1172f;
    box-shadow: 0 0 15px var(--glow-color);
    transform: scale(1.1);
}

@keyframes fadeInText {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Button Wrapper for Centering */
.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Download Button */
.download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    animation: pulse 2s infinite ease-in-out;
}

.download-button:hover {
    background: linear-gradient(45deg, #a1172f, #e6b800);
    box-shadow: 0 0 20px var(--glow-color);
    transform: scale(1.05);
}

.download-button .download-icon {
    width: 20px;
    height: 20px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Responsive Download Button */
@media (max-width: 768px) {
    .download-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .download-button .download-icon {
        width: 16px;
        height: 16px;
    }
}

/* FAQ Section */
.faq {
    margin: 20px 0;
}
.faq h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.faq p {
    margin-bottom: 15px;
}

/* Download Section */
.download-section {
    background: linear-gradient(to bottom, #2C3E50, var(--secondary-color));
    padding: 40px 20px;
}

.download-section ol {
    max-width: 600px;
    margin: 20px auto;
    padding-left: 20px;
}

.download-section ol li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.download-section picture img {
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--glow-color);
}

/* Animated Banner */
.banner-section {
    background: #2C3E50;
    padding: 20px;
    text-align: center;
}

.banner-slider {
    display: flex;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-item {
    flex: 0 0 100%;
    animation: slideBanner 15s infinite;
}

.banner-item picture img {
    max-width: 100%;
    height: auto;
    max-height: 400px; /* Limit height for large screens */
    object-fit: cover; /* Ensure image scales without distortion */
    border-radius: 10px;
    loading: lazy;
}

/* Responsive styles for banner images on mobile */
@media (max-width: 768px) {
    .banner-item picture img {
        max-height: 200px; /* Smaller height for mobile */
        width: 100%;
        object-fit: cover;
    }
}

/* Adjust video container for mobile */
@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
        padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
    }
}

/* Download Banner Image */
.how-to-install picture img {
    max-width: 800px; /* Constrain width on desktop */
    max-height: 300px; /* Constrain height on desktop */
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image scales without distortion */
    border-radius: 10px;
    display: block;
    margin: 20px auto;
    loading: lazy;
}

/* Responsive styles for download banner on mobile */
@media (max-width: 768px) {
    .how-to-install picture img {
        max-width: 100%;
        max-height: 200px; /* Smaller height for mobile */
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

/* WebP Support for Images */
picture img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: #2C3E50;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--glow-color);
}

.feature-item picture img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    loading: lazy;
}

/* Game Previews */
.game-previews {
    padding: 40px 20px;
    background: linear-gradient(to bottom, #2C3E50, var(--secondary-color));
    text-align: center;
}

.preview-item {
    display: inline-block;
    margin: 20px;
    transition: transform 0.3s;
}

.preview-item:hover {
    transform: scale(1.1);
}

.preview-item picture img {
    max-width: 200px;
    border-radius: 10px;
    loading: lazy;
}

/* Blog Posts */
article {
    background: #2C3E50;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

article h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

article img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
}

article .cta-button {
    background: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

article .cta-button:hover {
    background: #a1172f;
}

/* Pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.nav-links a, .nav-links span {
    padding: 10px 15px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.nav-links a:hover {
    background: #a1172f;
}

.nav-links .current {
    background: #2C3E50;
}

/* Testimonials Slider */
.testimonials {
    padding: 40px 20px;
    text-align: center;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    transition: transform 0.5s ease;
}

.testimonial-item {
    flex: 0 0 33.33%;
    margin: 20px;
    font-style: italic;
    font-size: 1.1rem;
    color: #ccc;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.slider-controls {
    margin-top: 20px;
}

.slider-controls button {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 5px;
}

.slider-controls button:hover {
    background: #a1172f;
}

/* Content Section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Footer */
footer {
    background: var(--secondary-color);
    padding: 20px;
    text-align: center;
    color: #ccc;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.footer-trust-links {
    font-size: 0.85rem;
    color: #999;
    margin-top: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section { height: auto; padding: 2rem 1rem; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section .cta-button { font-size: 1rem; padding: 10px 20px; }
    .testimonial-slider { flex-direction: column; }
    .testimonial-item { flex: 1 1 100%; }
    .banner-item, .preview-item { flex: 1 1 100%; }
    .download-section picture img { width: 100%; height: auto; }
}

/* Desktop and Mobile Navigation Styling */
.desktop-nav {
    display: block;
}

.mobile-nav {
    display: none;
}

.footer-nav.desktop-footer {
    display: block;
}

.footer-nav.mobile-footer {
    display: none;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-nav {
        display: block;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: var(--secondary-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    .mobile-nav.active {
        max-height: 500px; /* Adjust based on menu items */
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }
    .footer-nav.desktop-footer {
        display: none;
    }
    .footer-nav.mobile-footer {
        display: block;
    }
}
.video-section {
    text-align: center; /* Centers the container horizontally */
    padding: 20px 0; /* Adds vertical spacing */
}

.video-container {
    position: relative;
    display: inline-block; /* Allows centering with text-align */
    width: 100%;
    max-width: 560px; /* Matches iframe default width */
    margin: 0 auto; /* Centers the container */
    overflow: hidden;
    padding-top: 25%; /* Even shorter height (10:4 aspect ratio) */
    max-height: 150px; /* Adjusted cap */
}

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

/* === CASINO GAMES STYLES === */

/* Games Archive */
.games-archive .hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
                var(--archive-hero-bg, none);
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 1.75rem 1.25rem !important;
    min-height: 0 !important;
    height: auto !important;
}

.games-archive .hero-section h1 {
    font-size: clamp(1.4rem, 3.5vw, 1.85rem);
    margin: 0 0 0.4rem;
    color: var(--primary-color);
}

.games-archive .hero-section p {
    margin: 0;
    font-size: 0.95rem;
    color: #cbd5e0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.game-card {
    background: #2C3E50;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.15);
}

.game-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.download-overlay-btn {
    background: var(--primary-color);
    color: #000;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.download-overlay-btn:hover {
    background: #ffc400;
    transform: scale(1.05);
}

.game-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.game-content h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.game-content h3 a:hover {
    color: var(--primary-color);
}

.game-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.game-date, .game-category {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.game-category {
    background: rgba(255, 215, 0, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    color: var(--primary-color);
}

.game-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.download-game-btn {
    background: var(--accent-color);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    transition: all 0.3s;
    text-align: center;
}

.download-game-btn:hover {
    background: #a1172f;
    transform: translateY(-2px);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
}

.game-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Pagination */
.games-pagination {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
}

.games-pagination .page-numbers {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.games-pagination a,
.games-pagination span {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.games-pagination a:hover,
.games-pagination .current {
    background: var(--primary-color);
    color: #000;
}

.no-games {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-games p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.games-archive-cta {
    background: rgba(255, 215, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.games-archive-cta h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Single Game Page */
.single-game .game-header-section {
    padding: 40px 0;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.game-header-left {
    flex: 1;
}

.game-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 10px 0 15px 0;
}

.game-meta-single {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.game-meta-single .game-category {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
}

.main-download-btn {
    background: var(--primary-color);
    color: #000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    transition: all 0.3s;
    min-width: 200px;
    justify-content: center;
}

.main-download-btn:hover {
    background: #ffc400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.game-content-single {
    max-width: 1000px;
    margin: 0 auto;
}

.game-featured-image {
    max-width: 400px;
    margin: 0 auto 30px;
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.game-description h2 {
    color: var(--primary-color);
    margin: 30px 0 20px 0;
    font-size: 2rem;
}

.game-description p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* Download Links Section */
.download-links-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 4px solid var(--primary-color);
}

.download-links-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.download-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.download-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    text-align: center;
}

.download-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.download-btn.primary {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--primary-color);
}

.download-btn.play-store {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.download-btn.app-store {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
}

.download-btn.direct {
    background: rgba(156, 39, 176, 0.2);
    border-color: #9C27B0;
}

.btn-icon {
    font-size: 2rem;
}

.btn-text {
    font-weight: bold;
}

/* Game Features */
.game-features {
    margin: 40px 0;
}

.game-features h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.features-list li {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    position: relative;
    padding-left: 40px;
}

.features-list li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 15px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* How to Install */
.how-to-install {
    margin: 40px 0;
}

.how-to-install h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-content h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Game Review */
.game-review {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
}

.game-review h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.pros, .cons {
    padding: 20px;
    border-radius: 8px;
}

.pros {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.cons {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.pros h4, .cons h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.pros h4 {
    color: #4CAF50;
}

.cons h4 {
    color: #f44336;
}

.pros ul, .cons ul {
    list-style: none;
    padding: 0;
}

.pros li, .cons li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.pros li:before {
    content: '✓';
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cons li:before {
    content: '✗';
    color: #f44336;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.final-verdict {
    padding: 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.final-verdict h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* Related Games */
.related-games {
    margin: 50px 0;
}

.related-games h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-game {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.related-game:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.related-game img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.related-game h4 {
    padding: 0 15px;
    margin-bottom: 15px;
}

.related-game h4 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.related-game h4 a:hover {
    color: var(--primary-color);
}

.small-download-btn {
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.small-download-btn:hover {
    background: #a1172f;
}

/* Games Preview on Page Template */
.games-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.preview-game {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
}

.preview-game img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    margin-bottom: 10px;
}

.preview-game h4 {
    padding: 0 10px;
    font-size: 1rem;
}

.preview-game h4 a {
    color: #fff;
    text-decoration: none;
}

.preview-game h4 a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-header {
        flex-direction: column;
    }
    
    .main-download-btn {
        width: 100%;
    }
    
    .download-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .install-steps {
        grid-template-columns: 1fr;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* === ENHANCED CASINO GAMES DESIGN === */

/* Breadcrumbs */
.breadcrumbs {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Enhanced Game Cards for Archive */
.game-card {
    background: linear-gradient(145deg, #2C3E50, #1C2526);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 215, 0, 0.1);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 2;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.15),
                0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.9));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding-bottom: 20px;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.download-overlay-btn {
    background: var(--primary-color);
    color: #000;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.download-overlay-btn:hover {
    background: #ffc400;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.game-content {
    padding: 20px;
    position: relative;
}

.game-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    line-height: 1.3;
}

.game-content h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.game-content h3 a:hover {
    color: var(--primary-color);
}

.game-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.game-date {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.game-date::before {
    content: '📅';
    font-size: 0.9rem;
}

.game-category {
    background: rgba(28, 37, 38, 0.8);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.game-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.download-game-btn {
    background: linear-gradient(45deg, var(--accent-color), #d32f2f);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.download-game-btn:hover {
    background: linear-gradient(45deg, #d32f2f, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.4);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 10px;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Enhanced Single Game Page */
.game-header-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
                url('https://alanostar.app/wp-content/uploads/2025/08/casino-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}

.game-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}

.game-header-left h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 10px 0 15px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.game-meta-single {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.game-meta-single span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
}

.main-download-btn {
    background: linear-gradient(45deg, var(--primary-color), #ffc400);
    color: #000;
    padding: 18px 35px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
}

.main-download-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
}

/* Enhanced Download Buttons Grid */
.download-links-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.download-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.download-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.download-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 25px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.download-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.download-btn:hover::before {
    transform: scaleX(1);
}

.download-btn.primary {
    border-color: var(--primary-color);
    background: rgba(255, 215, 0, 0.1);
}

.download-btn.play-store {
    border-color: #34A853;
    background: rgba(52, 168, 83, 0.1);
}

.download-btn.app-store {
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
}

.download-btn.direct {
    border-color: #9C27B0;
    background: rgba(156, 39, 176, 0.1);
}

.download-btn .btn-icon {
    font-size: 2.5rem;
    display: block;
}

.download-btn .btn-text {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Enhanced How to Install Steps */
.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.step {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    border: 2px solid rgba(255, 215, 0, 0.1);
    position: relative;
    padding-left: 100px;
    min-height: 150px;
    display: flex;
    align-items: center;
}

.step-number {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Enhanced Game Review */
.pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.pros {
    background: rgba(52, 168, 83, 0.1);
    border: 2px solid rgba(52, 168, 83, 0.3);
    padding: 25px;
    border-radius: 10px;
}

.cons {
    background: rgba(244, 67, 54, 0.1);
    border: 2px solid rgba(244, 67, 54, 0.3);
    padding: 25px;
    border-radius: 10px;
}

.final-verdict {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(196, 30, 58, 0.15));
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

/* Rating Stars */
.rating {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.rating span {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Responsive Design for Games Games */
@media (max-width: 768px) {
    .game-header {
        grid-template-columns: 1fr;
    }
    
    .game-header-left h1 {
        font-size: 2rem;
    }
    
    .main-download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .download-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        padding-left: 80px;
        min-height: 130px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        left: 20px;
        font-size: 1.5rem;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Game Card Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

/* Stagger animation for grid items */
.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.6s; }

/* === ENHANCED CASINO GAMES DESIGN === */

/* Breadcrumbs */
.breadcrumbs {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Enhanced Game Cards */
.game-card {
    background: linear-gradient(145deg, #2C3E50, #1C2526);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 215, 0, 0.1);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 2;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.15);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.9));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding-bottom: 20px;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.download-overlay-btn {
    background: var(--primary-color);
    color: #000;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.download-overlay-btn:hover {
    background: #ffc400;
    transform: translateY(-2px);
}

.game-content h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.game-content h3 a:hover {
    color: var(--primary-color);
}

.game-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.game-date {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.game-category {
    background: rgba(28, 37, 38, 0.8);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.download-game-btn {
    background: linear-gradient(45deg, var(--accent-color), #d32f2f);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
    font-weight: bold;
}

.download-game-btn:hover {
    background: linear-gradient(45deg, #d32f2f, var(--accent-color));
    transform: translateY(-2px);
}

/* Single Game Page Enhancements */
.game-header-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    padding: 60px 0;
}

.game-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}

.game-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 10px 0 15px 0;
    line-height: 1.2;
}

.game-meta-single {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.game-meta-single span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
}

.main-download-btn {
    background: linear-gradient(45deg, var(--primary-color), #ffc400);
    color: #000;
    padding: 18px 35px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.main-download-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
}

/* Download Buttons Grid */
.download-links-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.download-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.download-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.download-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 25px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    text-align: center;
}

.download-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.download-btn.primary {
    border-color: var(--primary-color);
    background: rgba(255, 215, 0, 0.1);
}

.download-btn.play-store {
    border-color: #34A853;
    background: rgba(52, 168, 83, 0.1);
}

.download-btn.app-store {
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
}

.download-btn.direct {
    border-color: #9C27B0;
    background: rgba(156, 39, 176, 0.1);
}

.download-btn .btn-icon {
    font-size: 2.5rem;
    display: block;
}

.download-btn .btn-text {
    font-weight: bold;
    font-size: 1.1rem;
}

/* How to Install Steps */
.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    border: 2px solid rgba(255, 215, 0, 0.1);
    position: relative;
    padding-left: 100px;
    min-height: 150px;
    display: flex;
    align-items: center;
}

.step-number {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Game Review */
.pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.pros {
    background: rgba(52, 168, 83, 0.1);
    border: 2px solid rgba(52, 168, 83, 0.3);
    padding: 25px;
    border-radius: 10px;
}

.cons {
    background: rgba(244, 67, 54, 0.1);
    border: 2px solid rgba(244, 67, 54, 0.3);
    padding: 25px;
    border-radius: 10px;
}

.final-verdict {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(196, 30, 58, 0.15));
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

/* Related Games */
.related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-game {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: all 0.3s;
}

.related-game:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.related-game img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.small-download-btn {
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.small-download-btn:hover {
    background: #a1172f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-header {
        grid-template-columns: 1fr;
    }
    
    .game-header h1 {
        font-size: 2rem;
    }
    
    .main-download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .download-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        padding-left: 80px;
        min-height: 130px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        left: 20px;
        font-size: 1.5rem;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ========== STRUCTURED DATA STYLES ========== */

.structured-data-section {
    margin: 40px 0;
}

.structured-data-section h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.structured-data-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.structured-data-box:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.structured-data-box h4 {
    color: #fff;
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.structured-data-box .star-icon {
    color: #FFD700;
    font-size: 1.5rem;
}

.structured-data-box .app-icon {
    color: #4CAF50;
    font-size: 1.5rem;
}

/* Review Snippet Styles */
.rating-data {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars .star {
    color: #FFD700;
    font-size: 1.8rem;
    position: relative;
}

.rating-stars .star.half:before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #FFD700;
}

.rating-stars .star.empty {
    color: rgba(255, 255, 255, 0.3);
}

.rating-value {
    margin-left: 15px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
}

.review-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Software Details Styles */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.detail-item strong {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

.game-features-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.game-features-list strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.game-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.game-features-list li {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 0.95rem;
}

.game-features-list li:before {
    content: '✓';
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* FIXED DOWNLOAD BUTTON SIZE */
.main-download-btn {
    background: linear-gradient(45deg, var(--primary-color), #ffc400);
    color: #000;
    padding: 18px 35px !important; /* Fixed padding */
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 1.1rem !important;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    width: auto !important; /* Remove full width */
    min-width: 220px !important; /* Fixed minimum width */
    max-width: 300px !important; /* Fixed maximum width */
    text-align: center;
    justify-content: center;
    margin: 0 !important; /* Remove any margins */
}

.game-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Responsive adjustments for download button */
@media (max-width: 768px) {
    .main-download-btn {
        min-width: 200px !important;
        padding: 16px 25px !important;
        font-size: 1rem !important;
    }
    
    .game-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .game-header-right {
        justify-content: center;
        width: 100%;
    }
}

/* Make structured data responsive */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .game-features-list ul {
        grid-template-columns: 1fr;
    }
    
    .structured-data-box {
        padding: 20px;
    }
}

/* Admin styles for meta boxes */
@media screen and (min-width: 1024px) {
    .structured-data-preview {
        max-width: 600px;
    }
}

/* Animation for structured data */
@keyframes fadeInStructuredData {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.structured-data-box {
    animation: fadeInStructuredData 0.6s ease-out;
}

.structured-data-box:nth-child(1) { animation-delay: 0.1s; }
.structured-data-box:nth-child(2) { animation-delay: 0.2s; }
/* === Games Archive: medium-sized, fully clickable cards === */
.games-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.game-image {
    height: 150px;
}

.game-card {
    position: relative;
}

/* Whole card is clickable (links to the game page), while the
   image link, title link, and download buttons remain independently
   clickable on top of it. */
.game-card-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.game-image,
.game-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.game-image a,
.game-content a,
.download-overlay-btn,
.download-game-btn,
.read-more {
    pointer-events: auto;
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .game-image {
        height: 120px;
    }

    .game-featured-image {
        max-width: 260px;
    }
}

/* === Games Archive: equal card heights + centered buttons === */
.games-grid {
    align-items: stretch;
}

.game-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-image img {
    object-position: center;
}

.game-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    flex-grow: 1;
}

.game-content h3 {
    /* Clamp title to 2 lines so uneven title lengths don't change card height */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.game-meta {
    justify-content: center;
}

.game-excerpt {
    /* Clamp excerpt to 3 lines so short/long descriptions don't change card height */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.8em;
}

.download-game-btn,
.read-more {
    align-self: center;
}

.download-game-btn {
    justify-content: center;
}

/* === Games Archive: square tile cards (no excerpt / read-more) === */
.game-card {
    display: flex;
    flex-direction: column;
}

.game-card-inner {
    flex: 1 1 auto;
    min-height: 0;
}

.game-image {
    aspect-ratio: 1 / 1;
    height: auto;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.game-content {
    flex: 0 0 auto;
    padding: 12px 16px;
    gap: 6px;
}

.game-content h3 {
    font-size: 1.05rem;
    min-height: 0;
    -webkit-line-clamp: 1;
}

.game-excerpt,
.read-more {
    display: none;
}

.download-game-btn {
    padding: 8px 16px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .game-content {
        padding: 8px 10px;
    }

    .game-content h3 {
        font-size: 0.9rem;
    }
}

/* === v2.1 button & layout safeguards === */
.main-download-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00c853, #00a844) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 28px !important;
    border-radius: 10px;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.35);
    transition: transform 0.15s ease, filter 0.2s ease;
}
.main-download-btn:hover {
    filter: brightness(1.08);
    transform: scale(1.03);
    color: #fff !important;
}
.download-game-btn,
.cta-button.download-game-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FFD700, #e6c200) !important;
    color: #111 !important;
    font-weight: 700;
    padding: 10px 18px !important;
    border-radius: 8px;
    text-decoration: none !important;
}
.download-game-btn:hover {
    filter: brightness(1.1);
    color: #111 !important;
}
.download-overlay-btn {
    display: inline-block;
    background: #00c853;
    color: #fff !important;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none !important;
}
.game-card .game-image {
    position: relative;
    overflow: hidden;
}
.game-card .game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.game-card:hover .game-overlay {
    opacity: 1;
}
.games-archive .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.game-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: #1a2332;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #FFD700;
    font-weight: 700;
}
.games-pagination {
    text-align: center;
    margin: 2rem 0;
}
.games-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border-radius: 6px;
    background: #1a2332;
    color: #fff;
    text-decoration: none;
}
.games-pagination .current,
.games-pagination a:hover {
    background: #FFD700;
    color: #111;
}
.games-archive-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #1a2332;
    border-radius: 12px;
}
.single-game .game-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.single-game .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
}
@media (max-width: 768px) {
    .single-game .game-header {
        flex-direction: column;
    }
    .main-download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Homepage games section = same as archive */
.games-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}
.games-showcase h2 {
    text-align: center;
    color: #FFD700;
    margin-bottom: 0.5rem;
}
.games-showcase .section-intro {
    text-align: center;
    color: #a0aec0;
    max-width: 560px;
    margin: 0 auto 2rem;
}
.games-showcase .games-grid,
.games-archive .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.games-showcase .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Search form ===== */
.alano-search-form { width: 100%; max-width: 520px; margin: 0 auto; }
.alano-search-wrap {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--primary-color, #FFD700);
    background: #1a2332;
}
.alano-search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    padding: 12px 16px;
    font-size: 1rem;
    outline: none;
}
.alano-search-input::placeholder { color: #a0aec0; }
.alano-search-submit {
    background: linear-gradient(135deg, #FFD700, #e6c200);
    color: #111;
    border: none;
    font-weight: 700;
    padding: 12px 20px;
    cursor: pointer;
}
.alano-search-submit:hover { filter: brightness(1.08); }
.search-hero-form { margin: 1.25rem auto 0; max-width: 520px; }
.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    border: 0;
}

/* Header search (optional slot) */
.site-header .alano-search-form { max-width: 280px; }
.site-header .alano-search-input { padding: 8px 12px; font-size: 0.9rem; }
.site-header .alano-search-submit { padding: 8px 14px; font-size: 0.85rem; }

/* ===== 404 ===== */
.error-404-hero .error-code {
    font-size: clamp(4rem, 15vw, 7rem);
    font-weight: 800;
    margin: 0;
    background: linear-gradient(90deg, #FFD700, #00c853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 1.5rem;
}
.error-404 .games-grid { margin-top: 1rem; }

/* Features grid (homepage) – ensure present */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}
.feature-item {
    background: #1a2332;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
}
.feature-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; margin-bottom: 0.75rem; }
.feature-item h2 { font-size: 1.15rem; margin: 0 0 0.5rem; color: var(--primary-color, #FFD700); }
.feature-item p { margin: 0; color: #a0aec0; font-size: 0.9rem; }
.header-search { flex: 0 1 260px; margin: 0 12px; }
@media (max-width: 900px) {
    .header-search { display: none; }
}


/* Compact archive/category heroes; homepage slightly taller */
body.home .hero-section,
body.page-template-front-page .hero-section,
body.front-page .hero-section {
    padding: 3.25rem 1.25rem;
}
body.post-type-archive-casino_games .hero-section,
body.tax-game_category .hero-section,
body.category .hero-section,
body.search .hero-section {
    padding: 1.5rem 1.25rem !important;
}
.games-archive .hero-section .container {
    padding-top: 0;
    padding-bottom: 0;
}

/* ===== Header layout: logo + search ===== */
.site-header .header-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
}
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}
.header-top .logo {
    flex: 0 0 auto;
}
.header-top .desktop-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}
.header-search {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    flex: none !important;
    display: block !important;
}
.header-search .alano-search-form {
    max-width: 100%;
    margin: 0 auto;
}
.header-search .alano-search-wrap {
    width: 100%;
}

/* Desktop: logo left, nav right, search centered below */
@media (min-width: 901px) {
    .site-header .header-container {
        flex-direction: column;
    }
    .header-top .menu-toggle {
        display: none;
    }
}

/* Mobile: logo centered, toggle on side, search full width below */
@media (max-width: 900px) {
    .header-search {
        display: block !important;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        order: 2;
    }
    .header-top {
        position: relative;
        justify-content: center;
        min-height: 48px;
    }
    .header-top .logo {
        margin: 0 auto;
        text-align: center;
    }
    .header-top .logo img,
    .header-top .logo a img {
        margin: 0 auto;
        display: block;
    }
    .header-top .custom-logo-link {
        display: inline-block;
    }
    .header-top .menu-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }
    .header-top .desktop-nav {
        display: none !important;
    }
    .site-header .header-container {
        gap: 0.65rem;
    }
}

/* Desktop search above breadcrumbs / hero top — mobile unchanged */
.desktop-search-bar {
    display: none;
    max-width: 480px;
    margin: 0 auto 1rem;
    width: 100%;
}
.desktop-search-only { display: none; }

@media (min-width: 901px) {
    .header-search-mobile-only {
        display: none !important;
    }
    .desktop-search-bar,
    .desktop-search-only {
        display: block;
    }
    .desktop-search-only .desktop-search-bar {
        margin: 0 auto 1.25rem;
    }
    body.home .hero-section .desktop-search-bar,
    .hero-section .desktop-search-only .desktop-search-bar {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 900px) {
    .desktop-search-bar,
    .desktop-search-only {
        display: none !important;
    }
    .header-search-mobile-only {
        display: block !important;
    }
}
