Files
ohm_streaming/static/css/style.css
T
root 69e14afedf
CI / Test (Python 3.11) (push) Has been cancelled
CI / Test (Python 3.12) (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Type Check (push) Has been cancelled
CI / Summary (push) Has been cancelled
fix: restore and stabilize tab navigation with Alpine.js
- Fixed navigation blockage by moving Alpine state to body scope
- Resolved CSS display conflicts between legacy .active class and x-show
- Synchronized legacy auth logic with Alpine global state
- Redirected legacy switchTab calls to Alpine events
- Removed obsolete tabs.js and updated home section initialization
- Added E2E navigation test placeholder
2026-03-24 12:19:57 +00:00

1639 lines
39 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
min-height: 100vh;
color: #eee;
padding: 20px;
}
.container {
max-width: 900px;
margin: 0 auto;
}
h1 {
text-align: center;
margin-bottom: 10px;
font-size: 2.5em;
background: linear-gradient(45deg, #00d9ff, #00ff88);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.subtitle {
text-align: center;
color: #888;
margin-bottom: 30px;
font-size: 0.9em;
}
.url-form {
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 25px;
margin-bottom: 30px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.input-group {
display: flex;
gap: 10px;
margin-bottom: 15px;
}
input[type="text"] {
flex: 1;
padding: 12px 15px;
border: 2px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
background: rgba(0, 0, 0, 0.3);
color: #fff;
font-size: 14px;
transition: all 0.3s;
}
input[type="text"]:focus {
outline: none;
border-color: #00d9ff;
box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}
button {
padding: 12px 25px;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
text-transform: uppercase;
letter-spacing: 0.5px;
display: inline-flex;
align-items: center;
gap: 6px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
button svg {
width: 16px;
height: 16px;
}
.btn-small svg {
width: 14px;
height: 14px;
}
.btn-primary {
background: linear-gradient(45deg, #00d9ff, #00ff88);
color: #000;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
}
.btn-small {
padding: 6px 12px;
font-size: 11px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.btn-pause {
background: #ffa500;
color: #000;
}
.btn-resume {
background: #00ff88;
color: #000;
}
.btn-cancel {
background: #ff4444;
color: #fff;
}
.btn-download {
background: #00d9ff;
color: #000;
}
.btn-secondary {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.2);
}
/* Tabs */
.tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.tab {
padding: 10px 20px;
background: transparent;
color: #888;
border: none;
border-bottom: 2px solid transparent;
cursor: pointer;
font-size: 14px;
font-weight: 600;
transition: all 0.3s;
text-transform: none;
letter-spacing: 0;
}
.tab:hover {
color: #00d9ff;
}
.tab.active {
color: #00d9ff;
border-bottom-color: #00d9ff;
}
.tab-content {
/* Managed by Alpine.js x-show */
}
.tab-content.active {
display: block;
}
select {
padding: 12px 15px;
border: 2px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
background: rgba(0, 0, 0, 0.3);
color: #fff;
font-size: 14px;
transition: all 0.3s;
cursor: pointer;
}
select:focus {
outline: none;
border-color: #00d9ff;
}
.search-results {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 15px;
margin-top: 20px;
}
.anime-card {
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 20px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s;
cursor: pointer;
}
.anime-card:hover {
background: rgba(255, 255, 255, 0.08);
border-color: rgba(0, 217, 255, 0.3);
transform: translateY(-2px);
}
.anime-card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.anime-card-title {
font-size: 16px;
font-weight: 600;
color: #fff;
}
.anime-card-provider {
font-size: 12px;
padding: 4px 8px;
border-radius: 6px;
background: rgba(0, 217, 255, 0.2);
color: #00d9ff;
}
.anime-card-actions {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 15px;
}
.anime-card-actions select {
width: 100%;
padding: 8px;
border: 2px solid rgba(255, 255, 255, 0.1);
border-radius: 6px;
background: rgba(0, 0, 0, 0.3);
color: #fff;
font-size: 13px;
box-sizing: border-box;
}
.anime-card-actions button {
width: 100%;
padding: 8px 12px;
font-size: 12px;
}
.anime-metadata {
font-size: 12px;
color: #aaa;
margin-bottom: 10px;
padding: 8px 12px;
background: rgba(0, 0, 0, 0.2);
border-radius: 6px;
line-height: 1.6;
}
.anime-synopsis {
margin-bottom: 10px;
padding: 10px 12px;
background: rgba(0, 217, 255, 0.05);
border-left: 3px solid #00d9ff;
border-radius: 6px;
}
.anime-synopsis summary {
cursor: pointer;
font-size: 13px;
font-weight: 600;
color: #00d9ff;
margin-bottom: 8px;
user-select: none;
}
.anime-synopsis summary:hover {
color: #00ff88;
}
.anime-synopsis p {
font-size: 12px;
color: #ccc;
line-height: 1.5;
margin: 0;
max-height: 200px;
overflow-y: auto;
}
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
margin-top: 40px;
gap: 15px;
flex-wrap: wrap;
}
.section-header h2 {
font-size: 1.8em;
margin: 0;
background: linear-gradient(45deg, #00d9ff, #00ff88);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
flex: 1;
min-width: 0;
}
.downloads-stats {
display: flex;
gap: 15px;
font-size: 0.85em;
}
.stat-item {
background: rgba(255, 255, 255, 0.05);
padding: 5px 12px;
border-radius: 15px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-count {
font-weight: bold;
color: #00d9ff;
}
.downloads-controls {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 20px;
background: rgba(255, 255, 255, 0.03);
padding: 15px;
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.08);
overflow-x: auto;
}
.filter-group {
display: flex;
align-items: center;
gap: 8px;
}
.filter-group label {
font-size: 0.85em;
color: #aaa;
white-space: nowrap;
}
.filter-group select,
.filter-group input {
padding: 8px 12px;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 6px;
background: rgba(0, 0, 0, 0.3);
color: #fff;
font-size: 13px;
min-width: 100px;
max-width: 200px;
}
.filter-group select:focus,
.filter-group input:focus {
outline: none;
border-color: #00d9ff;
}
.search-group input {
min-width: 150px;
width: 150px;
}
.actions-group {
margin-left: auto;
}
.downloads-list {
display: flex;
flex-direction: column;
gap: 15px;
}
.downloads-group {
margin-bottom: 20px;
}
.downloads-group-header {
background: rgba(255, 255, 255, 0.08);
padding: 12px 18px;
border-radius: 8px;
margin-bottom: 12px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
user-select: none;
transition: all 0.3s;
position: relative;
}
.downloads-group-header:hover {
background: rgba(255, 255, 255, 0.12);
}
.downloads-group-header::before {
content: '▼';
position: absolute;
right: 18px;
font-size: 0.8em;
transition: transform 0.3s;
}
.downloads-group-header.collapsed::before {
transform: rotate(-90deg);
}
.downloads-group-title {
font-weight: 600;
font-size: 1.05em;
color: #00d9ff;
padding-right: 30px;
}
.downloads-group-count {
background: rgba(0, 217, 255, 0.2);
padding: 4px 10px;
border-radius: 12px;
font-size: 0.85em;
color: #00d9ff;
}
.downloads-group-items {
display: flex;
flex-direction: column;
gap: 12px;
}
.download-item {
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
padding: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.download-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.filename {
font-weight: 600;
color: #00d9ff;
font-size: 16px;
}
.status {
padding: 4px 12px;
border-radius: 20px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
}
.status-pending { background: #666; }
.status-downloading { background: #00d9ff; color: #000; }
.status-paused { background: #ffa500; color: #000; }
.status-completed { background: #00ff88; color: #000; }
.status-failed { background: #ff4444; }
.status-cancelled { background: #999; }
.progress-bar {
width: 100%;
height: 8px;
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
overflow: hidden;
margin-bottom: 10px;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #00d9ff, #00ff88);
transition: width 0.3s;
border-radius: 4px;
}
.download-info {
display: flex;
justify-content: space-between;
font-size: 12px;
color: #888;
margin-bottom: 10px;
}
.download-actions {
display: flex;
gap: 8px;
}
.url-display {
font-size: 11px;
color: #666;
word-break: break-all;
margin-top: 8px;
}
.error-message {
color: #ff4444;
font-size: 12px;
margin-top: 8px;
}
.empty-state {
text-align: center;
padding: 60px 20px;
color: #666;
}
.empty-state svg {
width: 80px;
height: 80px;
margin-bottom: 20px;
opacity: 0.5;
}
.supported-hosts {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 15px;
justify-content: center;
}
.host-badge {
background: rgba(255, 255, 255, 0.1);
padding: 6px 12px;
border-radius: 20px;
font-size: 11px;
color: #888;
}
.loading-spinner {
text-align: center;
padding: 40px;
color: #888;
}
.loading-spinner::after {
content: "";
display: inline-block;
width: 30px;
height: 30px;
border: 3px solid rgba(0, 217, 255, 0.3);
border-top-color: #00d9ff;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-left: 10px;
vertical-align: middle;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.no-results {
text-align: center;
padding: 40px;
color: #888;
}
/* Mobile Responsive */
@media (max-width: 768px) {
body {
padding: 10px;
}
h1 {
font-size: 1.8em;
}
.container {
max-width: 100%;
}
.url-form {
padding: 15px;
}
.input-group {
flex-direction: column;
gap: 10px;
}
.btn-primary {
width: 100%;
justify-content: center;
}
.download-item {
padding: 15px;
}
.filename {
font-size: 14px;
word-break: break-word;
}
.download-header {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.status {
align-self: flex-start;
}
.download-actions {
flex-wrap: wrap;
gap: 6px;
}
.btn-small {
padding: 8px 10px;
font-size: 10px;
flex: 1 1 auto;
min-width: 80px;
justify-content: center;
}
.download-info {
flex-direction: column;
gap: 4px;
}
.supported-hosts {
gap: 6px;
}
/* Responsive filters */
.downloads-controls {
flex-direction: column;
gap: 10px;
}
.filter-group {
width: 100%;
}
.filter-group select,
.filter-group input {
width: 100%;
min-width: unset;
max-width: unset;
}
.search-group input {
width: 100%;
min-width: unset;
}
.actions-group {
margin-left: 0;
width: 100%;
}
.actions-group button {
width: 100%;
}
/* Responsive horizontal cards */
.anime-card-horizontal {
width: 180px;
max-width: 85vw;
}
.anime-card-horizontal .anime-card-actions {
flex-direction: column;
}
.anime-card-horizontal .anime-card-actions button {
width: 100%;
}
}
@media (max-width: 480px) {
h1 {
font-size: 1.5em;
}
.btn-small {
min-width: 70px;
padding: 6px 8px;
font-size: 9px;
}
.btn-small svg {
width: 12px;
height: 12px;
}
/* Even smaller horizontal cards */
.anime-card-horizontal {
width: 160px;
max-width: 80vw;
}
.anime-card-horizontal .anime-card-title {
font-size: 12px;
}
/* Responsive tabs */
.tab {
padding: 8px 12px;
font-size: 12px;
}
/* Section header responsive */
.section-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.section-header h2 {
font-size: 1.4em;
}
/* Search results grid */
.search-results {
grid-template-columns: 1fr;
}
}
/* Recommendations & Releases Cards */
.anime-card-image {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 8px;
margin-bottom: 10px;
background: rgba(0, 0, 0, 0.3);
}
.anime-card-rating {
padding: 4px 10px;
border-radius: 12px;
font-size: 12px;
font-weight: bold;
color: #000;
background: linear-gradient(45deg, #ffd700, #ffed4e);
}
.recommendation-card {
border: 2px solid rgba(0, 217, 255, 0.2);
}
.recommendation-card:hover {
border-color: rgba(0, 217, 255, 0.4);
box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}
.release-card {
border: 2px solid rgba(255, 107, 107, 0.2);
}
.release-card:hover {
border-color: rgba(255, 107, 107, 0.4);
box-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
}
.recommendation-reason {
background: rgba(0, 217, 255, 0.1);
border-left: 3px solid #00d9ff;
padding: 8px 12px;
margin-bottom: 10px;
font-size: 12px;
color: #00d9ff;
border-radius: 4px;
}
.release-badge {
background: rgba(255, 107, 107, 0.1);
border-left: 3px solid #ff6b6b;
padding: 8px 12px;
margin-bottom: 10px;
font-size: 12px;
color: #ff6b6b;
border-radius: 4px;
}
/* Mobile responsive for cards */
@media (max-width: 768px) {
.search-results {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 10px;
}
.anime-card-image {
height: 150px;
}
.anime-card-title {
font-size: 13px !important;
}
.anime-card-actions {
flex-direction: column;
}
.anime-card-actions button {
width: 100%;
}
}
/* Horizontal Carousel Layout for Recommendations & Releases */
.recommendations-carousel,
.releases-carousel {
display: flex;
gap: 15px;
overflow-x: auto;
overflow-y: hidden;
padding: 10px 5px;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
}
/* Custom scrollbar */
.recommendations-carousel::-webkit-scrollbar,
.releases-carousel::-webkit-scrollbar {
height: 8px;
}
.recommendations-carousel::-webkit-scrollbar-track,
.releases-carousel::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
border-radius: 4px;
}
.recommendations-carousel::-webkit-scrollbar-thumb,
.releases-carousel::-webkit-scrollbar-thumb {
background: rgba(0, 217, 255, 0.3);
border-radius: 4px;
}
.recommendations-carousel::-webkit-scrollbar-thumb:hover,
.releases-carousel::-webkit-scrollbar-thumb:hover {
background: rgba(0, 217, 255, 0.5);
}
.anime-card-horizontal {
flex: 0 0 auto;
width: 220px;
max-width: 90vw;
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
padding: 12px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s;
cursor: pointer;
overflow: hidden;
}
.recommendation-card {
border: 2px solid rgba(0, 217, 255, 0.2);
}
.recommendation-card:hover {
border-color: rgba(0, 217, 255, 0.4);
transform: translateY(-2px);
box-shadow: 0 5px 20px rgba(0, 217, 255, 0.2);
}
.release-card {
border: 2px solid rgba(255, 107, 107, 0.2);
}
.release-card:hover {
border-color: rgba(255, 107, 107, 0.4);
transform: translateY(-2px);
box-shadow: 0 5px 20px rgba(255, 107, 107, 0.2);
}
.anime-card-horizontal .anime-card-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 8px;
gap: 8px;
}
.anime-card-horizontal .anime-card-title {
font-size: 14px;
font-weight: 600;
color: #fff;
flex: 1;
line-height: 1.3;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.anime-card-horizontal .anime-card-rating {
padding: 3px 8px;
border-radius: 10px;
font-size: 11px;
font-weight: bold;
color: #000;
background: linear-gradient(45deg, #ffd700, #ffed4e);
flex-shrink: 0;
}
.anime-card-horizontal .anime-card-content {
display: flex;
gap: 12px;
margin-bottom: 10px;
}
.anime-card-horizontal .anime-card-image {
width: 80px;
height: 110px;
object-fit: cover;
border-radius: 6px;
flex-shrink: 0;
background: rgba(0, 0, 0, 0.3);
}
.anime-card-horizontal .anime-card-info {
flex: 1;
min-width: 0;
}
.anime-card-horizontal .anime-genres {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin-bottom: 6px;
}
.anime-card-horizontal .anime-genre-tag {
background: rgba(0, 217, 255, 0.15);
padding: 2px 6px;
border-radius: 4px;
font-size: 10px;
color: #00d9ff;
}
.anime-card-horizontal .anime-card-meta {
font-size: 11px;
color: #888;
}
.anime-card-horizontal .recommendation-badge,
.anime-card-horizontal .release-badge {
background: rgba(0, 217, 255, 0.1);
border-left: 3px solid #00d9ff;
padding: 6px 10px;
margin-bottom: 8px;
font-size: 11px;
color: #00d9ff;
border-radius: 4px;
display: flex;
align-items: center;
gap: 5px;
}
.anime-card-horizontal .release-badge {
background: rgba(255, 107, 107, 0.1);
border-left-color: #ff6b6b;
color: #ff6b6b;
}
.anime-card-horizontal .anime-card-actions {
display: flex;
gap: 6px;
}
.anime-card-horizontal .anime-card-actions button {
flex: 1;
padding: 6px 8px;
font-size: 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
}
.anime-card-horizontal .anime-synopsis {
margin-bottom: 8px;
max-height: 60px;
overflow: hidden;
}
.anime-card-horizontal .anime-synopsis summary {
cursor: pointer;
font-size: 11px;
font-weight: 600;
color: #00d9ff;
}
.anime-card-horizontal .anime-synopsis p {
font-size: 11px;
color: #ccc;
line-height: 1.4;
margin: 0;
}
/* Anime Details Card */
.anime-details-card {
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
padding: 30px;
margin-top: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
}
.anime-details-header {
display: flex;
gap: 25px;
margin-bottom: 25px;
}
.anime-details-poster {
width: 200px;
height: 280px;
object-fit: cover;
border-radius: 12px;
flex-shrink: 0;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
background: rgba(0, 0, 0, 0.3);
}
.anime-details-info {
flex: 1;
min-width: 0;
}
.anime-details-title {
font-size: 2em;
font-weight: 700;
color: #fff;
margin-bottom: 8px;
line-height: 1.2;
background: linear-gradient(45deg, #00d9ff, #00ff88);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.anime-details-subtitle {
font-size: 1.1em;
color: #888;
margin-bottom: 15px;
font-style: italic;
}
.anime-details-meta {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 15px;
}
.anime-details-rating {
padding: 6px 14px;
border-radius: 20px;
font-size: 14px;
font-weight: bold;
color: #000;
background: linear-gradient(45deg, #ffd700, #ffed4e);
}
.anime-details-rank,
.anime-details-popularity {
padding: 6px 14px;
border-radius: 20px;
font-size: 13px;
background: rgba(0, 217, 255, 0.15);
color: #00d9ff;
border: 1px solid rgba(0, 217, 255, 0.3);
}
.anime-details-stats {
display: flex;
gap: 15px;
flex-wrap: wrap;
margin-bottom: 15px;
font-size: 13px;
color: #aaa;
}
.anime-details-stats span {
padding: 4px 10px;
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
}
.anime-details-studios {
font-size: 13px;
color: #888;
margin-bottom: 20px;
}
.anime-details-actions {
display: flex;
gap: 10px;
}
.anime-details-tags {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 20px;
}
.anime-details-tag {
padding: 6px 12px;
border-radius: 8px;
font-size: 12px;
font-weight: 500;
}
.anime-details-tag.genre {
background: rgba(0, 217, 255, 0.15);
color: #00d9ff;
border: 1px solid rgba(0, 217, 255, 0.3);
}
.anime-details-tag.theme {
background: rgba(255, 107, 107, 0.15);
color: #ff6b6b;
border: 1px solid rgba(255, 107, 107, 0.3);
}
.anime-details-section {
margin-bottom: 25px;
padding-bottom: 25px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.anime-details-section:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.anime-details-section h3 {
font-size: 1.3em;
margin-bottom: 15px;
color: #00d9ff;
}
.anime-details-synopsis,
.anime-details-background {
font-size: 14px;
color: #ccc;
line-height: 1.6;
max-width: 900px;
}
/* Related Anime List */
.anime-related-list {
display: flex;
flex-direction: column;
gap: 15px;
}
.anime-related-group {
background: rgba(255, 255, 255, 0.03);
border-radius: 10px;
padding: 15px;
border: 1px solid rgba(255, 255, 255, 0.08);
}
.anime-related-type {
font-size: 13px;
font-weight: 600;
color: #00d9ff;
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.anime-related-items {
display: flex;
flex-direction: column;
gap: 6px;
}
.anime-related-item {
padding: 8px 12px;
background: rgba(0, 0, 0, 0.2);
border-radius: 6px;
font-size: 13px;
color: #ccc;
transition: all 0.2s;
}
.anime-related-item:hover {
background: rgba(0, 217, 255, 0.1);
color: #00d9ff;
transform: translateX(5px);
}
/* Streaming Results */
.streaming-results-header {
margin-top: 30px;
margin-bottom: 20px;
}
.streaming-results-header h3 {
font-size: 1.5em;
background: linear-gradient(45deg, #ff6b6b, #ffa500);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.streaming-results-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 15px;
}
.streaming-result-card {
background: rgba(255, 107, 107, 0.05);
border: 1px solid rgba(255, 107, 107, 0.2);
border-radius: 12px;
padding: 20px;
transition: all 0.3s;
}
.streaming-result-card:hover {
background: rgba(255, 107, 107, 0.1);
border-color: rgba(255, 107, 107, 0.4);
transform: translateY(-2px);
}
.streaming-result-header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
}
.streaming-result-icon {
font-size: 20px;
}
.streaming-result-name {
flex: 1;
font-weight: 600;
color: #fff;
}
.streaming-result-count {
padding: 4px 10px;
background: rgba(255, 107, 107, 0.2);
border-radius: 12px;
font-size: 12px;
color: #ff6b6b;
}
.streaming-result-episodes {
display: flex;
gap: 10px;
margin-bottom: 15px;
}
.streaming-episode-select {
flex: 1;
padding: 10px 12px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
background: rgba(0, 0, 0, 0.3);
color: #fff;
font-size: 13px;
}
.streaming-result-link {
display: block;
text-align: center;
padding: 8px 12px;
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
font-size: 13px;
color: #ff6b6b;
text-decoration: none;
transition: all 0.2s;
}
.streaming-result-link:hover {
background: rgba(255, 107, 107, 0.15);
color: #fff;
}
/* Mobile responsive for anime details */
@media (max-width: 768px) {
.anime-details-header {
flex-direction: column;
align-items: center;
text-align: center;
}
.anime-details-poster {
width: 180px;
height: 252px;
}
.anime-details-title {
font-size: 1.5em;
}
.anime-details-meta {
justify-content: center;
}
.anime-details-stats {
justify-content: center;
}
.anime-details-actions {
flex-direction: column;
width: 100%;
}
.anime-details-actions button,
.anime-details-actions a {
width: 100%;
}
.streaming-results-grid {
grid-template-columns: 1fr;
}
}
/* Large screens optimization */
@media (min-width: 1400px) {
.container {
max-width: 1200px;
}
.recommendations-carousel,
.releases-carousel {
justify-content: flex-start;
}
}
/* ===================================
Watchlist Page Styles
=================================== */
.watchlist-body {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
min-height: 100vh;
color: #e0e0e0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.watchlist-header {
background: rgba(217, 255, 0.1);
border: 1px solid rgba(0, 217, 255, 0.3);
border-radius: 12px;
padding: 30px;
margin-bottom: 30px;
text-align: center;
}
.watchlist-header h1 {
color: #00d9ff;
margin: 0 0 10px 0;
font-size: 28px;
font-weight: 600;
}
.watchlist-header p {
color: #999;
margin: 0;
font-size: 14px;
}
.watchlist-controls {
display: flex;
gap: 15px;
justify-content: center;
margin-bottom: 30px;
flex-wrap: wrap;
}
.watchlist-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px 40px;
}
.scheduler-status {
background: rgba(0, 217, 255, 0.05);
border: 1px solid rgba(0, 217, 255, 0.2);
border-radius: 10px;
padding: 20px;
margin-bottom: 30px;
}
.scheduler-status-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.scheduler-status h3 {
margin: 0;
color: #00d9ff;
font-size: 18px;
}
.scheduler-controls {
display: flex;
gap: 10px;
}
.status-indicator {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 5px 12px;
border-radius: 12px;
font-size: 13px;
}
.status-indicator.running {
background: rgba(76, 175, 80, 0.2);
color: #4caf50;
}
.status-indicator.stopped {
background: rgba(244, 67, 54, 0.2);
color: #f44;
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
}
.status-dot.running {
background: #4caf50;
animation: watchlist-pulse 2s infinite;
}
.status-dot.stopped {
background: #f44;
}
@keyframes watchlist-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.next-run-info {
font-size: 13px;
color: #999;
margin-top: 10px;
}
.filter-tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
justify-content: center;
}
.filter-tab {
padding: 8px 16px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
color: #ccc;
cursor: pointer;
transition: all 0.2s;
}
.filter-tab:hover {
background: rgba(255, 255, 255, 0.1);
}
.filter-tab.active {
background: rgba(0, 217, 255, 0.2);
border-color: rgba(0, 217, 255, 0.5);
color: #00d9ff;
}
.watchlist-loading {
text-align: center;
padding: 60px;
color: #999;
}
.empty-watchlist {
text-align: center;
padding: 80px 20px;
}
.watchlist-error-message {
text-align: center;
padding: 40px;
color: #f44;
}
.watchlist-item {
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 20px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s;
margin-bottom: 15px;
}
.watchlist-item:hover {
background: rgba(255, 255, 255, 0.08);
border-color: rgba(0, 217, 255, 0.3);
transform: translateY(-2px);
}
.watchlist-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 15px;
margin-bottom: 30px;
}
.stat-card {
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 20px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
text-align: center;
}
.stat-card.total { background: rgba(0, 217, 255, 0.1); border-color: rgba(0, 217, 255, 0.3); }
.stat-card.active { background: rgba(76, 175, 80, 0.1); border-color: rgba(76, 175, 80, 0.3); }
.stat-card.paused { background: rgba(255, 152, 0, 0.1); border-color: rgba(255, 152, 0, 0.3); }
.stat-card.completed { background: rgba(158, 158, 158, 0.1); border-color: rgba(158, 158, 158, 0.3); }
.stat-value {
font-size: 32px;
font-weight: bold;
color: #fff;
}
.stat-card.total .stat-value { color: #00d9ff; }
.stat-card.active .stat-value { color: #4caf50; }
.stat-card.paused .stat-value { color: #ff9800; }
.stat-card.completed .stat-value { color: #9e9e9e; }
.stat-label {
font-size: 12px;
color: #999;
text-transform: uppercase;
margin-top: 5px;
}
.empty-watchlist {
text-align: center;
padding: 60px 20px;
}
.empty-watchlist svg {
width: 80px;
height: 80px;
margin: 0 auto 20px;
opacity: 0.3;
}
.empty-watchlist h3 {
color: #fff;
margin-bottom: 10px;
}
.empty-watchlist p {
color: #999;
}
.error-message {
text-align: center;
padding: 40px;
color: #f44;
background: rgba(244, 68, 68, 0.1);
border-radius: 12px;
border: 1px solid rgba(244, 68, 68, 0.3);
}
transition: all 0.3s ease;
}
.watchlist-item:hover {
background: rgba(255, 255, 255, 0.08);
transform: translateY(-2px);
}
.watchlist-btn-small {
padding: 6px 12px;
font-size: 12px;
}
.watchlist-header-back-btn {
margin-top: 15px;
}
.watchlist-modal-action-btn {
flex: 1;
padding: 12px;
font-size: 14px;
cursor: pointer;
}