/* style.css */

body {
    background-color: #0f1113; /* Deep dark background */
    color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Grid Layout */
#content {
    width: 95%;
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

#content h1 {
    grid-column: 1 / -1;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    border-bottom: 2px solid #343a40;
    padding-bottom: 10px;
}

/* Link Box Base Styling */
.link-box {
    box-sizing: border-box;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    padding: 24px;
    min-height: 16rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Interaction: Lift and Glow */
a:hover .link-box {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: #444;
}

/* Link styling */
a {
    text-decoration: none !important;
    color: #dee2e6;
}

/* The New "Odd" and "Even" Dark Tones */
#even-box {
    background: linear-gradient(145deg, #1e2124, #16191c);
}

#odd-box {
    background: linear-gradient(145deg, #23272b, #1d2124);
}

.link-box h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00b7ff; /* Keeping a hint of your original blue as an accent */
}

#odd-box h2 {
    color: #12ffc6; /* Keeping a hint of your original mint as an accent */
}

/* Accessibility: Text should be light, not black */
.link-box {
    color: #adb5bd;
    line-height: 1.6;
}