.comic-landing { min-height: 100vh; background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%); color: #fff; } .loading-container, .error-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; gap: 1.5rem; } .spinner { width: 50px; height: 50px; border: 4px solid rgba(255, 255, 255, 0.1); border-top-color: #667eea; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .error-icon { font-size: 4rem; } .error-container h2 { margin: 0; font-size: 2rem; } .error-container p { margin: 0; opacity: 0.7; } .error-container button { margin-top: 1rem; padding: 0.75rem 2rem; background: #667eea; border: none; border-radius: 8px; color: white; font-weight: 600; cursor: pointer; transition: all 0.3s; } .error-container button:hover { background: #5568d3; transform: translateY(-2px); } .auth-container { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 2rem; } .auth-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 3rem; max-width: 450px; width: 100%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); } .auth-header { text-align: center; margin-bottom: 2rem; } .lock-icon { font-size: 3rem; margin-bottom: 1rem; } .auth-header h2 { margin: 0 0 0.5rem 0; font-size: 1.75rem; } .auth-header p { margin: 0; opacity: 0.7; font-size: 0.95rem; } .auth-form { display: flex; flex-direction: column; gap: 1.5rem; } .input-group { position: relative; } .password-input { width: 100%; padding: 1rem; background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: white; font-size: 1rem; transition: all 0.3s; } .password-input:focus { outline: none; border-color: #667eea; background: rgba(255, 255, 255, 0.08); } .error-message { padding: 0.75rem; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: 8px; color: #fca5a5; font-size: 0.9rem; text-align: center; } .submit-btn { padding: 1rem; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; border-radius: 12px; color: white; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; } .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4); } .auth-footer { margin-top: 1.5rem; text-align: center; opacity: 0.6; font-size: 0.85rem; } .hero-section { position: relative; padding: 4rem 2rem; overflow: hidden; } .hero-backdrop { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; filter: blur(20px) brightness(0.3); transform: scale(1.1); } .hero-content { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; } .hero-thumbnail { position: relative; } .hero-thumbnail img { width: 100%; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); } .type-badge { position: absolute; top: 1rem; right: 1rem; padding: 0.5rem 1rem; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 8px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4); } .hero-info { padding-top: 1rem; } .comic-title { margin: 0 0 0.5rem 0; font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, #fff 0%, #667eea 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .comic-subtitle { margin: 0 0 1.5rem 0; font-size: 1.25rem; opacity: 0.7; font-weight: 400; } .meta-info { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; } .meta-item { display: flex; flex-direction: column; gap: 0.25rem; } .meta-label { font-size: 0.75rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.5px; } .meta-value { font-size: 1rem; font-weight: 600; } .status-ongoing { color: #10b981; } .status-completed { color: #667eea; } .genre-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; } .genre-tag { padding: 0.5rem 1rem; background: rgba(102, 126, 234, 0.2); border: 1px solid rgba(102, 126, 234, 0.3); border-radius: 20px; font-size: 0.85rem; font-weight: 500; } .synopsis { background: rgba(255, 255, 255, 0.05); padding: 1.5rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); } .synopsis h3 { margin: 0 0 1rem 0; font-size: 1.25rem; } .synopsis-content { position: relative; } .synopsis-content p { margin: 0 0 0.5rem 0; line-height: 1.7; opacity: 0.85; } .expand-btn { background: none; border: none; color: #667eea; font-size: 0.9rem; font-weight: 600; cursor: pointer; padding: 0.5rem 0; transition: all 0.2s ease; text-decoration: none; display: inline-block; } .expand-btn:hover { color: #5568d3; text-decoration: underline; } .expand-btn:active { color: #4451b8; } .chapters-section { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem; } .chapters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; } .chapters-header h2 { margin: 0; font-size: 2rem; } .chapters-controls { display: flex; gap: 1rem; align-items: center; } .search-box input { padding: 0.75rem 1rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; color: white; font-size: 0.95rem; width: 250px; transition: all 0.3s; } .search-box input:focus { outline: none; border-color: #667eea; background: rgba(255, 255, 255, 0.08); } .sort-btn { padding: 0.75rem 1.25rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; color: white; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s; white-space: nowrap; } .sort-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: #667eea; } .chapters-list-wrapper { position: relative; } .chapters-list { display: flex; flex-direction: column; gap: 0.75rem; position: relative; } .chapters-list.has-fade { position: relative; } .chapters-list.has-fade::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 180px; background: linear-gradient( to bottom, transparent 0%, rgba(15, 15, 30, 0.3) 20%, rgba(15, 15, 30, 0.6) 40%, rgba(15, 15, 30, 0.85) 60%, rgba(15, 15, 30, 0.95) 80%, #0f0f1e 100% ); pointer-events: none; z-index: 1; } .chapter-item { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; cursor: pointer; transition: all 0.3s; position: relative; z-index: 0; } .chapter-item:hover { background: rgba(255, 255, 255, 0.08); border-color: #667eea; transform: translateX(4px); z-index: 2; } .chapter-info { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; } .chapter-number { font-size: 1.1rem; font-weight: 600; } .chapter-meta { display: flex; gap: 1rem; font-size: 0.85rem; opacity: 0.6; } .chapter-action { display: flex; align-items: center; } .read-btn { font-weight: 600; color: #667eea; transition: all 0.3s; } .chapter-item:hover .read-btn { transform: translateX(4px); } .show-more-container { display: flex; justify-content: center; padding: 2rem 0 1rem; margin-top: -0.5rem; position: relative; z-index: 2; } .show-more-chapters { font-size: 1rem; padding: 0.75rem 1.5rem; background: rgba(102, 126, 234, 0.15); border: 1px solid rgba(102, 126, 234, 0.3); border-radius: 10px; transition: all 0.3s ease; color: #667eea; } .show-more-chapters:hover { background: rgba(102, 126, 234, 0.25); border-color: #667eea; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); } .show-more-chapters:active { transform: translateY(0); } .no-results { text-align: center; padding: 3rem; opacity: 0.5; } .loading-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); z-index: 9999; display: flex; align-items: center; justify-content: center; } .error-toast { position: fixed; top: 2rem; left: 50%; transform: translateX(-50%); padding: 1rem 2rem; background: rgba(239, 68, 68, 0.9); border: 1px solid rgba(239, 68, 68, 1); border-radius: 12px; color: white; font-weight: 500; z-index: 9999; animation: slideDown 0.3s ease-out; } @keyframes slideDown { from { transform: translateX(-50%) translateY(-100%); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } } @media (max-width: 768px) { .hero-content { grid-template-columns: 1fr; gap: 2rem; } .hero-thumbnail { max-width: 250px; margin: 0 auto; } .comic-title { font-size: 2rem; } .chapters-header { flex-direction: column; align-items: stretch; } .chapters-controls { flex-direction: column; } .search-box input { width: 100%; } .auth-card { padding: 2rem; } .chapters-list.has-fade::after { height: 150px; } .expand-btn { font-size: 0.85rem; } .show-more-chapters { font-size: 0.9rem; padding: 0.65rem 1.25rem; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }