body {
    font-family: 'Comfortaa', cursive; /* Soft, friendly font */
    background: #333333; /* Dark grey background, softer tone */
    color: #E0E0E0; /* Light grey for text */
    margin: 0;
    padding: 0;
}

/* Header with pastel dark grey and orange */
header {
    background: #4A4A4A; /* Dark pastel grey */
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5em;
    margin: 0;
    color: #FF8C00; /* Soft pastel orange */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

header p {
    font-size: 1.2em;
    margin: 10px 0 0;
    color: #BDBDBD; /* Medium pastel grey */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#filters {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    background: #555555; /* Slightly lighter dark grey */
    padding: 10px;
    border-radius: 20px; /* Softer corners */
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.filter-btn {
    background: #616161; /* Soft dark grey for buttons */
    border: 2px solid #FF8C00; /* Soft orange border */
    color: #FF8C00; /* Soft orange text */
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: normal;
    border-radius: 15px;
}

.filter-btn:hover, .filter-btn.selected {
    background: #FF8C00; /* Soft pastel orange on hover and selection */
    color: #333333; /* Dark grey text for contrast */
    box-shadow: 0 0 10px rgba(255, 204, 128, 0.3);
}

#directory {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    padding-bottom: 5%;
}

.site-card {
    background: #4A4A4A; /* Dark pastel grey for cards */
    border-radius: 20px; /* Soft, rounded corners */
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.site-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(rgba(255, 204, 128, 0.2), transparent);
    transform: rotate(15deg);
    z-index: 0;
}

.site-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 204, 128, 0.2);
}

.site-card h3 {
    margin-top: 0;
    z-index: 1;
    position: relative;
    color: #FF8C00; /* Soft orange for titles */
}

.site-card a {
    color: #FF8C00; /* Soft orange links */
    text-decoration: none;
    font-weight: bold;
}

.site-card a:hover {
    text-decoration: underline;
}

.site-card p {
    color: #E0E0E0; /* Light grey for descriptions */
    z-index: 1;
    position: relative;
}

footer {
    background-color: #FF8C00; /* Dark blue for footer */
    color: white;
    text-align: center;
    margin-top: 100px;
    position: fixed;
    bottom: 0%;
    width: 100%;
    z-index: 4;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}