/* 1. Global Variables & Reset */
:root {
    --gold: #FFD700;
    --red: #d32f2f;
    --dark: #0f0f0f;
    --gray: #f4f4f4;
    --accent: #27ae60;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Roboto', sans-serif; 
    color: #333; 
    line-height: 1.6; 
    background: #fff; 
    scroll-behavior: smooth; 
    padding-bottom: 70px; 
    overflow-x: hidden; 
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
    width: 95%; 
}

/* 2. Header & Sticky Nav */
.header { 
    background: var(--dark); 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.3); 
}

.flex-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    font-family: 'Oswald', sans-serif; 
    font-size: 24px; 
    font-weight: bold; 
    color: white; 
}

.logo .gold { 
    color: var(--gold); 
}

.desktop-nav { 
    display: flex; 
    gap: 20px; 
    align-items: center; 
}

.desktop-nav a { 
    color: white; 
    text-decoration: none; 
    font-size: 14px; 
    opacity: 0.9; 
    transition: 0.3s;
}

.desktop-nav a:hover {
    color: var(--gold);
}

/* 3. Hero Section */
.hero { 
    background: #1a1a1a; 
    color: white; 
    padding: 60px 0; 
    border-bottom: 5px solid var(--gold); 
}

.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr 350px; 
    gap: 40px; 
    align-items: center; 
}

.hero-text h1 { 
    font-family: 'Oswald', sans-serif; 
    font-size: 3rem; 
    line-height: 1.1; 
    margin: 15px 0; 
    color: var(--gold); 
}

.badge { 
    background: var(--red); 
    padding: 4px 10px; 
    border-radius: 3px; 
    font-size: 12px; 
    font-weight: bold; 
}

.main-download { 
    display: inline-block; 
    background: var(--gold); 
    color: black; 
    padding: 18px 40px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 1.3rem; 
    margin: 25px 0; 
    box-shadow: 0 0 20px rgba(255,215,0,0.4); 
    transition: 0.3s; 
    text-align: center;
}

.main-download:hover { 
    transform: scale(1.05); 
}

.hero-img img { 
    width: 100%; 
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.3)); 
}

/* 4. Table & Specs */
.details { padding: 40px 0; background: var(--gray); }
.table-wrapper { overflow-x: auto; margin-top: 20px; }
.spec-table { width: 100%; border-collapse: collapse; background: white; border-radius: 10px; overflow: hidden; min-width: 400px; }
.spec-table td { padding: 15px; border: 1px solid #ddd; }
.spec-table tr td:first-child { background: #eee; font-weight: bold; width: 40%; }

/* 5. Blog & Games Grid */
.blog-section { padding: 60px 0; background: #fdfdfd; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); border: 1px solid #eee; transition: 0.3s; }
.blog-card:hover { transform: translateY(-5px); }
.blog-card-content { padding: 20px; }
.blog-card-title { font-family: 'Oswald', sans-serif; font-size: 1.3rem; text-decoration: none; color: #222; display: block; margin-bottom: 10px; }

/* 6. Sticky Footer & Toast */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}
.footer-flex { display: flex; justify-content: space-between; align-items: center; }
.btn-footer { background: var(--red); color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; }

.toast { position: fixed; bottom: 80px; left: 20px; background: white; padding: 12px 20px; border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 15px; transform: translateX(-150%); transition: 0.5s ease; z-index: 999; border-left: 5px solid var(--accent); }
.toast.active { transform: translateX(0); }

/* 7. Real Footer */
.real-footer { background: #000; color: white; padding: 50px 0; text-align: center; border-top: 4px solid var(--gold); }
.real-footer a { color: #bbb; text-decoration: none; margin: 0 10px; font-size: 14px; }

/* 8. Mobile Menu & Responsive */
.menu-icon {
    display: none;
    cursor: pointer;
    z-index: 1001;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

/* --- Typography Upgrade for Authority Look --- */

/* H2 Styling: Bold, Red, and Oswald Font */
h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--red); /* #d32f2f */
    font-size: 2.2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee; /* Niche ek patli line jo premium dikhti hai */
    padding-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* H3 Styling: Dark, Clean, and Professional */
h3 {
    font-family: 'Oswald', sans-serif;
    color: #1a1a1a;
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

/* H3 ke aage ek chhoti red line (Design Element) */
h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--red);
    border-radius: 2px;
}

/* Mobile Responsive adjustment for Headings */
@media (max-width: 768px) {
    h2 { font-size: 1.8rem; margin-top: 30px; }
    h3 { font-size: 1.4rem; }
}

/* Mobile Responsive Menu*/
@media (max-width: 768px) {
    .menu-icon { display: block; }

    .desktop-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 2px solid var(--gold);
    }

    .desktop-nav.active { display: flex; }

    .desktop-nav a {
        padding: 15px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #222;
    }

    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-img { display: none; }
    .hero-text h1 { font-size: 2.2rem; }
    .main-download { width: 100%; }
}

/* --- Game Category Cards (Image Style) --- */

/* 1. Grid Container */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive boxes */
    gap: 20px;
    margin: 30px 0;
}

/* 2. Common Box Styling */
.game-category-box {
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.game-category-box:hover {
    transform: translateY(-5px);
}

/* 3. Specific Colors (Jaise aapki image mein hai) */
.trending { background-color: #fff9e6; border-bottom: 5px solid #ffa500; } /* Yellowish */
.classics { background-color: #f0f7ff; border-bottom: 5px solid #007bff; } /* Bluish */
.new-games { background-color: #f2fff5; border-bottom: 5px solid #28a745; } /* Greenish */

/* 4. Text Styling inside Box */
.game-category-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: none; /* H3 ki default underline yahan hatayi gayi hai */
    padding-bottom: 0;
}

.game-category-box ul {
    list-style: none; /* Dots hatane ke liye */
    padding: 0;
}

.game-category-box li {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #333;
}

.game-category-box li strong {
    color: #000;
}

/* --- Ultra Attractive Blog Section --- */
.blog-section {
    padding: 60px 0;
    background: #fdfdfd;
}

/* Heading for Latest Blog */
.blog-section h2 {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 40px;
    border-bottom: none; /* Section title ke niche line nahi chahiye */
}

/* Grid setup jaise aapki photo mein hai */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Individual Blog Card Design */
.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06); /* Soft shadow like your image */
    transition: 0.3s ease-in-out;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px); /* Hover par card upar jayega */
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.blog-card-content {
    padding: 25px;
    flex-grow: 1;
}

/* Category Label (e.g., GAME GUIDE) */
.blog-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #692803; /* Dark gold color for professionalism */
    margin-bottom: 12px;
    display: block;
    letter-spacing: 1px;
}

/* Title Styling */
.blog-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 15px;
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
}

/* Small description text */
.blog-card-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Read Full Guide link with arrow */
.read-more {
    font-weight: 800;
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.read-more:after {
    content: ' →';
    margin-left: 5px;
    font-size: 1.2rem;
    transition: 0.2s;
}

.read-more:hover:after {
    margin-left: 10px;
}


@media (max-width: 768px) {
    /* 1. Logo aur Menu Icon Alignment */
    .menu-icon { 
        display: block; 
    }

    .flex-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
    }

    /* 2. Blog Grid & Game Grid Alignment */
    .blog-grid, .game-grid {
        display: flex; /* Grid ki jagah Flex use karenge center ke liye */
        flex-direction: column;
        align-items: center; /* Sabhi items ko center karega */
        gap: 25px;
        width: 100%;
    }

    /* 3. Blog Card aur Game Box ki width fix */
    .blog-card, .game-category-box {
        width: 100% !important;
        max-width: 340px; /* Card screen ke hisab se perfect size mein rahega */
        margin: 0 auto !important; /* Force center alignment */
        display: block;
    }

    /* 4. Desktop Nav (Mobile Menu) Styling */
    .desktop-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 2px solid var(--gold);
        z-index: 999;
    }

    .desktop-nav.active { 
        display: flex; 
    }

    .desktop-nav a {
        padding: 15px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #222;
        opacity: 1; /* Clearly visible on mobile */
    }

    /* 5. Hero Section Fix */
    .hero-grid { 
        display: flex;
        flex-direction: column;
        text-align: center; 
        padding: 0 15px;
    }

    .hero-img { 
        display: none; 
    }

    .hero-text h1 { 
        font-size: 2.2rem; 
    }

    .main-download { 
        width: 100%; 
        max-width: 300px; 
    }
}

/* --- Download Page Restoration CSS --- */

/* 1. Main Download Card (Timer area) */
.download-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border-top: 5px solid var(--gold); /* Top gold bar as seen in ss */
}

/* 2. Installation Steps Card (with red left border) */
.steps-container {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--red); /* Red vertical accent from ss1 */
}

.steps-container h3 {
    font-family: 'Oswald', sans-serif;
    color: #333;
    margin-bottom: 15px;
}

/* 3. Review & Rating Box */
.review-section {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.rating-summary {
    background: #fffdf2; /* Light yellow tint from ss1 */
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
}

/* 4. Individual Review Cards */
.user-review {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.user-review:last-child {
    border-bottom: none;
}

.user-review strong {
    display: block;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.user-review p {
    color: #666;
    font-style: italic;
    line-height: 1.5;
}

/* 5. Star Colors */
.stars {
    color: #ffb400; /* Gold color for stars */
    font-size: 1.2rem;
}

/* --- Blog Page Specific Layout --- */
.blog-wrapper {
    max-width: 900px; /* Blog post ki width control karne ke liye */
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.7;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.blog-main-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Tip Cards (Red/Green Boxes) */
.blog-tip-card {
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.border-red { border-left: 6px solid #ff4757; background: #fffafa; }
.border-green { border-left: 6px solid #2ecc71; background: #f9fffb; }

.text-red-bold { color: #d63031; font-family: 'Oswald'; margin-top: 0; }
.text-green-bold { color: #27ae60; font-family: 'Oswald'; margin-top: 0; }

/* Table Styling */
.white-theme-table {
    width: 100%;
    margin: 25px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.white-theme-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

/* Download Box in Blog */
.download-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    margin-top: 50px;
}

.download-box h2 { color: #FFD700; font-family: 'Oswald'; }

.btn-download {
    display: inline-block;
    padding: 18px 40px;
    background: #FFD700;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-download:hover { transform: scale(1.05); background: #fff; }

/* Mobile Responsive Fix */
@media (max-width: 768px) {
    .blog-main-title { font-size: 1.8rem; }
    .blog-wrapper { padding: 0 15px; margin: 20px auto; }
}