body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(90deg, #f8eaed 0%, #A1C4FD 100%);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1 0 auto;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff5722;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    box-sizing: border-box; /* Fix for overflow */
}

.btn:hover {
    background-color: #e64a19;
}

form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input, form select, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Base button styles to prevent going out of div */
.btn-submit, .btn-cancel {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box; /* Crucial fix for keeping it inside parent div */
}
.btn-submit {
    background-color: #e65100;
    color: white;
    margin-top: 20px;
}
.btn-submit:hover {
    background-color: #d54500;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-cancel {
    background-color: #f1f1f1;
    color: #555;
    margin-top: 10px;
    font-size: 1.1em;
}
.btn-cancel:hover {
    background-color: #e0e0e0;
}

/* Board Grid */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.post-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post-card h3 {
    margin-top: 0;
}

.post-card img {
    max-width: 100%;
    border-radius: 4px;
    margin-top: 10px;
}

/* Footer Styles */
footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 30px 20px;
    margin-top: 40px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    position: relative; /* Needed for positioning the watermark */
    overflow: hidden; /* Prevent watermark from breaking layout */
}

/* Watermark Style */
.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    font-size: 8em;
    color: rgba(255, 255, 255, 0.03); /* Very faint white */
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none; /* Make sure it doesn't block clicks on links */
    user-select: none;
    z-index: 0;
    font-family: 'Poppins', 'Arial Black', sans-serif;
}

/* Ensure footer content sits above the watermark */
.footer-links, .footer-copyright {
    position: relative;
    z-index: 1;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #f8f9fa;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffc107;
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.9em;
    color: #adb5bd;
}