body { color: #e0e0e0; /* Light text color */ } /* Container for the genre page */ .genre-page { max-width: 100dvw; margin: 0 auto; padding: 20px; background-color: #0a0b19; /* Slightly lighter dark background */ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } .genre-title-section { display: flex; justify-content: center; align-items: center; } /* Section styling */ .section { margin-bottom: 40px; } @media (orientation: landscape) { .section { margin-left: 25px; margin-right: 25px; } } .section h2 { font-size: 1.8rem; color: #cccccc; /* Lighter gray for section titles */ } /* Horizontal scrolling container */ .genre-items-grid { display: flex; overflow-x: auto; padding: 10px 0; gap: 20px; } .genre-items-grid::-webkit-scrollbar { height: 8px; } .genre-items-grid::-webkit-scrollbar-thumb { background-color: #3c23cf; border-radius: 4px; } .genre-items-grid::-webkit-scrollbar-track { background-color: #2c2c2c; } /* Card for each item */ .genre-item-card { background-color: #1d1f2d; /* Dark card background */ border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); transition: transform 0.3s, box-shadow 0.3s; flex: 0 0 200px; /* Fixed width for horizontal scrolling */ } .genre-item-card:hover { transform: scale(1.03); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7); } /* Styling for item link */ .genre-item-link { display: block; text-decoration: none; color: inherit; } .genre-item-image { width: 100%; height: 100px; /* Fixed height for consistency */ object-fit: cover; /* Maintain aspect ratio and fill container */ display: block; } /* Item information */ .genre-item-info { padding: 5px; } .genre-item-title { font-size: 1rem; font-weight: bold; margin: 0; color: #ffffff; /* Light color for item titles */ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; /* Handle overflow with ellipsis */ } .genre-item-description { font-size: 0.9rem; color: #b0b0b0; /* Lighter gray for descriptions */ margin: 5px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; /* Handle overflow with ellipsis */ } /* Loading and error messages */ .error { font-size: 1.2rem; text-align: center; margin-top: 50px; } .loading { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); justify-content: center; align-items: center; z-index: 100; } /* No items available message */ .no-items { font-size: 1.2rem; color: #888888; /* Light gray for no items message */ text-align: center; margin-top: 20px; } /* Load More Button container */ .load-more-container { text-align: center; margin: 10px 0; } /* Load More Button styling */ .load-more-button { background-color: #1a1c3f; /* Accent color */ color: #ffffff; border: 1px solid #4339ff; border-radius: 4px; padding: 10px 20px; margin-left: 15px; font-size: 1rem; cursor: pointer; transition: background-color 0.3s, transform 0.3s; } .load-more-button:hover { background-color: #3700b3; /* Darker shade for hover */ transform: scale(1.05); } .load-more-button:focus { outline: none; } .genre-section-controls { display: flex; align-items: center; text-align: center; justify-content: space-between; } .genre-scroll-controls button { margin-left: 10px; margin-right: 10px; } .genre-filter-button { margin-right: 10px; } .genre-bubbles-scroll-section{ display: flex; overflow-x: auto; width: 100%; } .genre-bubbles-scroll-section::-webkit-scrollbar { height: 8px; } .genre-bubbles-scroll-section::-webkit-scrollbar-thumb { background-color: #3c23cf; border-radius: 4px; } .genre-bubbles-scroll-section::-webkit-scrollbar-track { background-color: #2c2c2c; } .genre-bubbles { text-align: center; color: #ffffff; /* Light color for the title */ width: 92dvw; display: flex; } .bubbles { display: inline-block; margin: 0 5px; padding: 5px 10px; border-radius: 20px; background-color: #1d233e; font-size: 14px; color: white; white-space: nowrap; border: 1px solid #4339ff; } .genre-bubble-close-button { font-size: 15px; cursor: pointer; padding: 2px; color: #716ffc; } .bubble-close-button:hover { color: red; /* Optional: Change color on hover */ }