/* ===== GLOBAL ===== */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    text-align: center;
}

h1 {
    margin-top: 40px;
    color: #1e293b;
}

/* ===== HEADER ===== */

header {
    background: #1e293b;
    padding: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

header a {
    color: white;
    margin: 5px 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

header a:hover {
    color: #38bdf8;
}

/* ===== AD SPACE ===== */

.ad-space {
    margin: 25px auto;
    width: 90%;
    max-width: 728px;
    height: 90px;
    background: #ddd;
    line-height: 90px;
    color: #555;
    font-size: 14px;
    border-radius: 6px;
}

/* ===== HOMEPAGE CARDS (BLUE STYLE) ===== */

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    width: 90%;
    max-width: 1000px;
}

.card {
    display: block;
    width: 200px;
    padding: 20px;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    transition: 0.3s ease;
}

.card:hover {
    background: #0056b3;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.4);
}

/* ===== TOOL PAGE CONTAINER ===== */

.tool-container {
    margin: 40px auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===== INPUTS ===== */

input {
    padding: 10px;
    margin: 8px 0;
    width: 90%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* ===== BUTTONS ===== */

button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    background: #007BFF;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.2s;
}

button:hover {
    background: #0056b3;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 600px) {
    .card {
        width: 90%;
    }

    .tool-container {
        width: 95%;
    }
}
