/* --- GLOBAL RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; }
body { background-color: #f4f4f4; color: #333; line-height: 1.5; }

/* --- HEADER (Dono Pages ke liye same) --- */
.main-header { background: #d30000; color: white; }
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; background: #990000; }
.logo-text { font-size: 18px; font-weight: 900; letter-spacing: 1px; }
.menu-btn { background: #000; padding: 6px 12px; border-radius: 4px; font-size: 12px; cursor: pointer; color: white; border: none; }

.hero-banner { padding: 30px 15px; text-align: center; background: radial-gradient(#8b0000, #1a0000); }
.hero-logo { width: 80px; border-radius: 15px; border: 2px solid #ffd700; margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero-content h2 { font-size: 30px; margin-bottom: 5px; text-shadow: 2px 2px 4px #000; }
.site-url { color: #ffd700; font-weight: bold; font-size: 14px; }
.tg-box { background: rgba(0,0,0,0.5); padding: 10px; border-radius: 50px; margin-top: 15px; display: inline-block; }
.tg-box a { color: white; text-decoration: none; font-size: 14px; }

/* --- TABS & SIDEBAR (Home Page) --- */
.sidebar { position: fixed; left: -260px; top: 0; width: 250px; height: 100%; background: #2b3a9e; color: white; transition: 0.4s ease; z-index: 2000; }
.sidebar.active { left: 0; }
.close-btn { font-size: 35px; padding: 10px 20px; cursor: pointer; text-align: right; }
.side-nav { list-style: none; padding: 20px; }
.side-nav a { color: white; text-decoration: none; font-weight: bold; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }

.tabs-bar { display: flex; background: white; border-bottom: 2px solid #ddd; position: sticky; top: 0; z-index: 1000; }
.tab-item { flex: 1; padding: 15px; border: none; font-weight: bold; background: #eee; cursor: pointer; }
.tab-item.active { background: #d30000; color: white; }

/* --- APP LIST CARDS (Common) --- */
.app-container { padding: 5px; }
.app-card { display: flex; justify-content: space-between; align-items: center; background: white; padding: 12px 15px; border-bottom: 1px solid #eee; }
.card-left { display: flex; align-items: center; gap: 12px; }
.rank { font-weight: bold; color: #888; width: 25px; font-size: 14px; }
.app-icon { width: 60px; height: 60px; border-radius: 12px; border: 1px solid #ddd; }
.meta h3 { font-size: 16px; color: #000; margin: 0; }
.bonus-tag { color: #d30000; font-size: 12px; font-weight: bold; }
.withdraw-tag { color: #008000; font-size: 11px; }
.download-btn { background: linear-gradient(#d30000, #990000); color: white; padding: 8px 15px; text-decoration: none; border-radius: 6px; font-weight: bold; font-size: 12px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }

/* --- DETAILS PAGE SPECIFIC (Centered Content) --- */
.joy-details-wrapper { padding: 20px 15px; background: #fff; }
.joy-details-card {
    border: 1px solid #eee; padding: 30px 15px; border-radius: 15px; text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); background: #ffffff;
    display: flex; flex-direction: column; align-items: center;
}
.joy-big-icon { width: 100px; height: 100px; border-radius: 22px; margin-bottom: 15px; border: 1px solid #f0f0f0; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.joy-title-area h1 { font-size: 26px; color: #000; margin-bottom: 5px; }
.joy-sub-blue { color: #2b4da1; font-weight: bold; font-size: 15px; margin-bottom: 15px; display: block; }

.joy-stats-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.joy-stats-row span { background: #f8f9fa; padding: 6px 12px; border-radius: 5px; font-size: 13px; font-weight: bold; color: #444; border: 1px solid #eee; }
.joy-stats-row span i { color: #2b4da1; margin-right: 5px; }

.joy-main-dl-btn {
    display: block; background: linear-gradient(180deg, #d30000 0%, #a00000 100%); color: white;
    text-decoration: none; padding: 15px; border-radius: 50px; font-weight: 900; font-size: 18px;
    width: 100%; max-width: 320px; box-shadow: 0 4px 0 #700; margin-bottom: 10px;
}
.joy-tg-outline-btn { display: inline-block; border: 2px solid #d30000; color: #d30000; text-decoration: none; padding: 10px 25px; border-radius: 50px; font-size: 14px; font-weight: bold; }

/* --- FAQ & DESCRIPTION --- */
.joy-info-section { padding: 25px 20px; background: #ffffff; border-top: 8px solid #f4f4f4; text-align: left; }
.joy-info-section h3 { font-size: 18px; color: #333; margin-bottom: 15px; font-weight: 800; border-left: 5px solid #d30000; padding-left: 12px; }
.joy-info-section p { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 20px; }
.joy-faq-item { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.joy-faq-item b { display: block; font-size: 15px; color: #000; margin-bottom: 5px; }

/* --- COMMON FOOTER & NOTICE (Fixed Clashes) --- */
.disclaimer-area { padding: 20px; background: white; text-align: center; border-top: 1px solid #eee; }
.notice-card { border: 1px solid #ffcccc; background: #fff5f5; padding: 15px; border-radius: 10px; font-size: 13px; color: #555; }
.notice-card h3 { color: #d30000; margin-bottom: 10px; font-size: 15px; }
.alert-txt { font-weight: bold; margin-top: 10px; display: block; }
.thanks-txt { color: green; margin: 20px 0; font-style: italic; display: block; }

.share-actions { display: flex; gap: 10px; padding: 15px; background: #fff; border-top: 1px solid #eee; }
.share-btn { flex: 1; text-align: center; padding: 12px; border-radius: 5px; font-weight: bold; font-size: 13px; }
.green-border { border: 1px solid green; color: green; }
.green-bg { background: #008000; color: white; }

.footer-dark { background: #d30000; color: white; text-align: center; padding: 30px 15px; }
.footer-dark a { color: white; text-decoration: none; font-size: 12px; margin: 0 10px; }
.copy-txt { margin-top: 20px; font-size: 10px; opacity: 0.7; }

/* Red Divider for Related Apps */
.red-divider-bar { background: #d30000; color: #fff; padding: 15px; text-align: center; font-weight: bold; font-size: 16px; text-transform: uppercase; margin-top: 10px; letter-spacing: 1px; }

@media (max-width: 480px) {
    .logo-text { font-size: 15px; }
    .hero-content h2 { font-size: 24px; }
}

.main-footer {
    background: #1a1a1a; /* Dark Background */
    color: #ffffff;
    padding: 30px 10px;
    text-align: center;
    border-top: 3px solid #ffcc00; /* Golden Top Border */
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ffcc00; /* Golden Links */
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.copyright-text {
    font-size: 14px;
    color: #bbbbbb;
    margin-top: 10px;
}

/* Container for the entire page */
.joy-page-container {
    padding: 20px;
}

/* Base styles for all sections */
.joy-info-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Standard Shadow Effect */
.shadow-card {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Card Header Stylings */
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

.card-header h2 {
    font-size: 22px;
    margin: 0 0 0 10px;
    color: #333;
}

/* Card Content Text */
.card-content-text {
    line-height: 1.6;
    font-size: 16px;
}

.card-content-text p {
    margin-bottom: 15px;
}

/* Feature & Steps Lists */
.features-list, .steps-list, .faq-container {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li, .steps-list li {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.features-list li i, .steps-list li i {
    color: #2e7d32; /* Green Color for icons */
    margin-right: 12px;
    font-size: 18px;
}

/* Custom Highlight colors */
.bonus-highlight {
    color: #2e7d32;
    background-color: #c8e6c9;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

.hindi-section .card-header i { color: #d32f2f; } /* Red color for install icon */
.security-section .card-header i { color: #2e7d32; } /* Green color for shield icon */
.faq-section .card-header i { color: #0277bd; } /* Blue color for FAQ icon */

/* FAQ styling */
.faq-item {
    margin-bottom: 15px;
}
.faq-item h5 {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

/* Joy Rummy Page ke liye Special List Styling */
.joy-page-container .steps-list {
    list-style-type: decimal !important; /* Numbers dikhane ke liye */
    padding-left: 25px !important;       /* Left se space taaki numbers chipke na */
    margin-top: 15px;
}

.joy-page-container .steps-list li {
    margin-bottom: 12px;                 /* Har line ke beech gap */
    line-height: 1.6;                    /* Padhne mein asani */
    color: #333;
    display: list-item !important;       /* Ye bullet/number ko wapas lata hai */
}

.joy-page-container .features-list {
    list-style-type: disc !important;    /* Gol bullets ke liye */
    padding-left: 25px !important;
}

.hero-seo-text h2 {
    font-size: 1.4rem;
    color: #ffd700; /* Golden color for premium look */
    margin: 10px 0;
    text-transform: uppercase;
}
.hero-seo-text p {
    font-size: 1.1rem;
    color: #ffffff;
    margin: 5px 0;
}
.trust-line {
    font-size: 0.9rem !important;
    opacity: 0.9;
    color: #00e676 !important; /* Green for trust/security */
}
/* --- Mast FAQ Custom Styling --- */
.faq-custom-style {
    background: #ffffff;
    border-radius: 15px;
    margin-top: 30px;
}

.faq-main-heading {
    background: linear-gradient(90deg, #d30000 0%, #2b3a9e 100%);
    color: white !important;
    padding: 15px 20px;
    font-size: 22px !important;
    border-radius: 8px;
    margin-bottom: 25px !important;
    text-align: center;
    border-left: none !important; /* Purani border hatane ke liye */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-main-heading i {
    margin-right: 10px;
    color: #ffd700; /* Gold Icon */
}

.joy-faq-item h3 {
    font-size: 16px !important;
    color: #1a237e !important; /* Professional Blue */
    margin-bottom: 8px;
    border-left: 4px solid #d30000; /* Red Accent */
    padding-left: 10px;
    background: #f9f9f9;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 0 5px 5px 0;
}

.joy-faq-item p {
    padding-left: 15px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.joy-faq-item p b {
    color: #d30000; /* Ans: Red color */
}

/* Hover effect for Qna */
.joy-faq-item:hover h3 {
    background: #f0f0f0;
    transition: 0.3s;
}