/* =========================
   AI FUTURITY - GLOBAL STYLE
   ADSENSE COMPLIANT
   ========================= */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
    background: #0d0d0d;
    color: #ffffff;
    line-height: 1.6;
}

/* HEADER */
header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    font-weight: 600;
}

header p {
    margin-top: 8px;
    opacity: 0.9;
}

/* NAVIGATION */
nav {
    margin-top: 20px;
}

nav a {
    color: #ffffff;
    margin: 0 12px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.8;
}

/* SECTIONS */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

/* BUTTONS (NOT USED FOR ADS) */
.btn,
button {
    background: #2575fc;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 6px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover,
button:hover {
    background: #6a11cb;
    transform: translateY(-2px);
}

/* FORMS */
form {
    max-width: 500px;
    margin: auto;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: none;
    margin-bottom: 15px;
    font-size: 1rem;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #2575fc;
}

/* CARDS */
.card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(37, 117, 252, 0.25);
}

.card h3 {
    color: #6ea8fe;
    margin-bottom: 12px;
}

/* SERVICES GRID */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* CTA SECTIONS */
.cta {
    background: #111;
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta p {
    opacity: 0.9;
}

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

/* =========================
   ADSENSE SAFE STYLES
   ========================= */

/* Ad container – clear separation from content */
.adsense-box {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px;
    margin: 40px auto;
    max-width: 1100px;
    text-align: center;
}

/* Optional ad label (recommended) */
.adsense-box .ad-label {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 10px;
}

.credits-box {
    background: #111;
    color: #0f0;
    padding: 20px;
    font-size: 32px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.credits-table {
    width: 100%;
    border-collapse: collapse;
}

.credits-table th,
.credits-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.plus { color: green; font-weight: bold; }
.minus { color: red; font-weight: bold; }

.credits-actions .btn {
    margin-right: 10px;
}

.earn-section {
    max-width: 800px;
    margin: auto;
}

.earn-box {
    background: #111;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.success-message {
    color: #0f0;
    font-weight: bold;
}

/* IMPORTANT:
   Do NOT disable pointer-events on ads
   (Google AdSense policy violation)
*/

/* FOOTER */
footer {
    background: #000000;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-legal {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-legal a {
    margin: 0 8px;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    nav a {
        display: inline-block;
        margin: 8px;
    }

    section {
        padding: 40px 15px;
    }
}