body {
    font-family: 'Arial', sans-serif;
    background-color: #0d0d0d;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

header .logo {
    width: 150px;
    display: block;
    margin: 20px auto;
}

header nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}

header nav a {
    color: #e62429;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}

header nav a:hover {
    color: #ffffff;
}

h1 {
    font-size: 2em;
    color: #e62429;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

#searchBar {
    width: 80%;
    padding: 10px;
    font-size: 1em;
    margin-bottom: 20px;
    border: 2px solid #e62429;
    border-radius: 25px;
    outline: none;
    background-color: #1c1c1c;
    color: #fff;
    transition: all 0.3s ease;
}

#searchBar:focus {
    border-color: #ffffff;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.card {
    background-color: #1c1c1c;
    border-radius: 10px;
    overflow: hidden;
    width: 325px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.card-content {
    padding: 10px;
}

.card h2 {
    font-size: 1.5em;
    color: #e62429;
    margin-top: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.card p {
    font-size: 0.9em;
    color: #aaaaaa;
    margin-bottom: 10px;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    background-color: #e62429;
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 5px;
}

.tab-button.active,
.tab-button:hover {
    background-color: #ffffff;
    color: #e62429;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.empty-section {
    font-size: 1em;
    color: #aaaaaa;
    margin-top: 10px;
    text-align: center;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #e62429;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-message {
    font-size: 1.5em;
    color: #e62429;
    margin: 20px auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.card-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-content a {
    margin-top: 10px;
    text-decoration: none;
    color: #1e90ff;
    font-weight: bold;
    transition: color 0.3s;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.card-content a:hover {
    color: #e62429;
}

.favorite-btn {
    background-color: #e62429;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 200px;
    text-align: center;
}

.favorite-btn:hover {
    background-color: #ffffff;
    color: #e62429;
}
