* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f0f0f; /* Modern Dark Background */
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* --- Ad Containers --- */
.ad-container-top {
    width: 100%; max-width: 728px; height: 90px; margin-bottom: 30px;
    display: flex; justify-content: center; align-items: center;
}

.layout-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.ad-sidebar {
    width: 160px; height: 600px; /* Standard Skyscraper Ad */
    display: none; /* JS isko PC pe enable karega */
}

/* --- ORIGINAL MAIN CARD (No changes to UI) --- */
.main-card {
    background-color: #ffffff;
    color: #333;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    max-width: 500px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

h1 { margin-bottom: 5px; color: #111; }
.subtitle { color: #666; margin-bottom: 25px; font-size: 0.9em; }
.input-group { margin-bottom: 20px; text-align: left; }
.input-group small { display: block; margin-top: 5px; color: #777; font-size: 0.8em; }
.dimension-group { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
.input-box { flex: 1; text-align: left; }
label { display: block; font-size: 0.85em; font-weight: bold; margin-bottom: 5px; color: #444;}
input[type="number"], input[type="file"] {
    width: 100%; padding: 10px; border: 1.5px solid #ddd; 
    border-radius: 6px; font-size: 1em; outline: none; transition: 0.3s;
}
input[type="number"]:focus { border-color: #007bff; }
button {
    width: 100%; padding: 14px; background-color: #007bff; color: white;
    border: none; border-radius: 6px; font-size: 1.1em; font-weight: bold;
    cursor: pointer; transition: 0.3s;
}
button:hover { background-color: #0056b3; box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4); }
#statusMessage { margin-top: 15px; font-weight: bold; font-size: 0.9em; }

/* --- Footer & SEO Section --- */
footer {
    margin-top: 60px;
    width: 100%;
    max-width: 800px;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 30px;
    padding-bottom: 20px;
}

.seo-section h2 { font-size: 1.2em; color: #ccc; margin-bottom: 10px; }
.seo-section p { color: #888; font-size: 0.9em; line-height: 1.5; margin-bottom: 20px; }

.footer-links { margin-bottom: 15px; }
.footer-links a {
    color: #007bff; text-decoration: none; margin: 0 10px; font-size: 0.9em;
}
.footer-links a:hover { text-decoration: underline; }
.copyright { color: #555; font-size: 0.8em; }

/* --- SEO Article & FAQ Styling --- */
.seo-article {
    width: 100%;
    max-width: 900px;
    margin: 50px auto 20px auto;
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    color: #ddd;
    text-align: left;
    line-height: 1.7;
}

.seo-article h2 { color: #fff; font-size: 1.8em; margin-bottom: 20px; border-bottom: 2px solid #333; padding-bottom: 10px; }
.seo-article h3 { color: #007bff; font-size: 1.3em; margin-top: 30px; margin-bottom: 15px; }
.seo-article p { margin-bottom: 15px; font-size: 1.05em; }
.seo-article ul { margin-left: 20px; margin-bottom: 20px; }
.seo-article li { margin-bottom: 10px; }

.faq-item { background: #222; padding: 20px; border-radius: 8px; margin-bottom: 15px; border-left: 4px solid #007bff; }
.faq-item h4 { color: #fff; margin-bottom: 10px; font-size: 1.1em; }
.faq-item p { margin-bottom: 0; font-size: 0.95em; color: #bbb; }

footer { margin-top: 30px; width: 100%; text-align: center; border-top: 1px solid #333; padding: 30px 0; }
.footer-links { margin-bottom: 15px; }
.footer-links a { color: #007bff; text-decoration: none; margin: 0 15px; font-size: 0.95em; font-weight: bold; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.copyright { color: #666; font-size: 0.85em; }