body {
    background-color: #F5F5F5;
    color: #000000;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    background-color: #000000;
    color: #FFFFFF;
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    border-bottom: 2px solid #FFD700;
    z-index: 1000;
}

.header a {
    color: #FFFFFF;
    margin: 0 10px;
    text-decoration: none;
}

.header a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tile {
    background: linear-gradient(145deg, #000000, #404142);
    color: #FFFFFF;
    margin: 10px;
    padding: 20px;
    width: 300px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tile img {
    max-width: 100%;
    height: 200px;
    margin-bottom: 10px;
    border-radius: 25px;
    border: 2px solid #FFFFFF; /* Pronounced gold border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.tile h2 {
    margin: 10px 0;
    font-size: 18px;
    color: #FFFFFF;
}

.tile p {
    text-align: justify;
    margin: 0;
    padding: 5px;
    font-size: 16px;
    flex-grow: 1;
}

.tile-button {
    background-color: #FFCA28; /* Light UCF Gold */
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease; /* Smooth transition for all changes */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.tile-button:hover {
    background-color: #D4A017; /* Darker, richer gold for pronounced effect */
    transform: translateY(-2px); /* Slight lift for a pressed effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
    color: #FFFFFF; /* Ensure text remains readable */
}

.footer-button {
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 20px auto;
    width: 200px;
    text-align: center;
}

.footer-button:hover {
    background-color: #404142;
}

@media (max-width: 768px) {
    .tiles {
        flex-direction: column;
        align-items: center;
    }
    .tile {
        width: 90%;
        max-width: 300px;
    }
}

.video-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.video-wrapper {
    max-width: 600px;
    margin: 0 auto 20px;
    text-align: center;
}

.video-wrapper h2 {
    margin-bottom: 10px;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    margin: 0 auto;
}

.video-text {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: justify;
}

.video-text p {
    margin: 0 0 30px;
}

@media (max-width: 768px) {
    .video-container {
        padding: 10px;
    }

    .video-wrapper {
        width: 100%;
        max-width: 600px;
        margin: 0 0 20px;
    }

    .video-text {
        width: 100%
        max-width: 600px;
        text-align: left;
    }
}

/* Library Styles */
.library-search {
    max-width: 400px;
    margin: 0 auto 20px;
}

.library-search input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #000000;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.library-search input:focus {
    border-color: #FFCA28;
    box-shadow: 0 0 10px rgba(255, 202, 40, 0.3);
}

.library-search input::placeholder {
    color: #999;
}

.library-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover {
    background-color: #404142;
}

.filter-btn.active {
    background-color: #FFCA28;
    border-color: #FFCA28;
    color: #000000;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    padding: 10px;
}

.book-card {
    background: linear-gradient(145deg, #000000, #404142);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.book-cover {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.book-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.book-badge.reading {
    background-color: #4CAF50;
    color: #FFFFFF;
}

.book-badge.to-read {
    background-color: #2196F3;
    color: #FFFFFF;
}

.book-info {
    padding: 15px;
    color: #FFFFFF;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.book-author {
    font-size: 12px;
    color: #CCCCCC;
    margin: 0 0 8px 0;
}

.book-meta {
    font-size: 11px;
    color: #999999;
    margin: 0 0 8px 0;
}

.book-rating {
    margin-top: auto;
}

.star {
    color: #444444;
    font-size: 14px;
}

.star.filled {
    color: #FFCA28;
}

@media (max-width: 768px) {
    .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .book-cover {
        height: 220px;
    }

    .book-title {
        font-size: 13px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
}