/* ========== RESET & BASE ========== */
:root {
--bg-deep: #08041a;
--bg-surface: #0f0824;
--bg-card: #13092e;
--primary: #8b5cf6;
--primary-light: #a78bfa;
--primary-bright: #c4b5fd;
--primary-glow: rgba(139, 92, 246, 0.5);
--accent-pink: #ec4899;
--accent-cyan: #06b6d4;
--accent-pink-glow: rgba(236, 72, 153, 0.4);
--glass: rgba(255, 255, 255, 0.04);
--glass-hover: rgba(255, 255, 255, 0.08);
--border: rgba(139, 92, 246, 0.18);
--border-hover: rgba(139, 92, 246, 0.4);
--text: #f5f3ff;
--text-muted: #c4b5fd;
--text-dim: #7c6db5;
--shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.6);
--shadow-glow: 0 0 60px rgba(139, 92, 246, 0.35);
--radius-sm: 12px;
--radius-md: 18px;
--radius-lg: 24px;
--radius-xl: 32px;
--ok: #10b981;
--ok-bg: rgba(16, 185, 129, 0.12);
--ok-border: rgba(16, 185, 129, 0.3);
--warn: #f59e0b;
--warn-bg: rgba(245, 158, 11, 0.12);
--warn-border: rgba(245, 158, 11, 0.25);
--danger: #ef4444;
--danger-bg: rgba(220, 38, 38, 0.08);
--transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
--transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
--transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg-deep); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
font-family: 'Vazir', system-ui, -apple-system, sans-serif;
background-color: var(--bg-deep);
color: var(--text);
overflow-x: hidden;
-webkit-tap-highlight-color: transparent;
font-size: 15px;
line-height: 1.7;
min-height: 100vh;
display: flex;
flex-direction: column;
position: relative;
}
/* ========== MESH GRADIENT BACKGROUND ========== */
body::before {
content: "";
position: fixed;
inset: 0;
z-index: -3;
background:
radial-gradient(ellipse 80% 60% at 10% 0%, rgba(139, 92, 246, 0.25), transparent 50%),
radial-gradient(ellipse 60% 80% at 90% 20%, rgba(236, 72, 153, 0.18), transparent 50%),
radial-gradient(ellipse 70% 70% at 50% 100%, rgba(6, 182, 212, 0.12), transparent 50%),
radial-gradient(ellipse 90% 90% at 80% 80%, rgba(139, 92, 246, 0.2), transparent 60%);
animation: meshShift 20s ease-in-out infinite;
}
@keyframes meshShift {
0%, 100% { filter: hue-rotate(0deg); }
50% { filter: hue-rotate(15deg); }
}
body::after {
content: "";
position: fixed;
inset: 0;
z-index: -2;
background-image:
linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
background-size: 50px 50px;
mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
pointer-events: none;
}
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
/* ========== CUSTOM CURSOR GLOW ========== */
.cursor-glow {
position: fixed;
width: 500px;
height: 500px;
border-radius: 50%;
background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 60%);
pointer-events: none;
z-index: 1;
transform: translate(-50%, -50%);
transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
mix-blend-mode: screen;
opacity: 0;
}
.cursor-glow.active { opacity: 1; }
.cursor-glow.hover {
width: 300px;
height: 300px;
background: radial-gradient(circle, rgba(236, 72, 153, 0.2), transparent 60%);
}
/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
position: fixed;
top: 0;
left: 0;
width: 0%;
height: 3px;
background: linear-gradient(90deg, var(--primary), var(--accent-pink), var(--accent-cyan));
z-index: 1000;
box-shadow: 0 0 10px var(--primary-glow);
transition: width 0.1s ease-out;
}
/* ========== UTILITIES ========== */
.sr-only {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.mention { color: #c4b5fd; font-weight: 800; }
.gradient-text {
background: linear-gradient(135deg, #fff 0%, var(--primary-bright) 50%, var(--accent-pink) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 200% 200%;
animation: gradientMove 5s ease infinite;
}
@keyframes gradientMove {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
/* ========== SCROLLBAR (GLOBAL & PROFESSIONAL) ========== */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: rgba(8, 4, 26, 0.8); border-radius: 10px; }
::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, var(--primary), var(--accent-pink));
border-radius: 10px;
border: 3px solid rgba(8, 4, 26, 0.8);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--primary-bright), var(--accent-pink)); }
* {
scrollbar-width: thin;
scrollbar-color: var(--primary) rgba(8, 4, 26, 0.8);
}
.nice-scroll::-webkit-scrollbar { height: 10px; width: 10px; }
.nice-scroll::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, var(--primary), var(--accent-pink));
border-radius: 999px;
}
.nice-scroll::-webkit-scrollbar-track { background: rgba(139, 92, 246, 0.05); }
/* ========== SKELETON ========== */
.skeleton {
background: rgba(139, 92, 246, 0.08);
border: 1px solid rgba(139, 92, 246, 0.12);
border-radius: var(--radius-md);
overflow: hidden;
position: relative;
}
.skeleton::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.15), transparent);
transform: translateX(-100%);
animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
/* ========== FLOATING PARTICLES ========== */
.particles {
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
overflow: hidden;
}
.particle {
position: absolute;
width: 4px;
height: 4px;
background: var(--primary-bright);
border-radius: 50%;
box-shadow: 0 0 10px var(--primary-glow);
animation: floatParticle linear infinite;
}
@keyframes floatParticle {
0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
10% { opacity: 1; transform: translateY(90vh) translateX(10px) scale(1); }
90% { opacity: 1; }
100% { transform: translateY(-10vh) translateX(-10px) scale(0); opacity: 0; }
}
/* ========== BACKGROUND ORBS ========== */
.bg-orb { position: fixed; border-radius: 50%; filter: blur(120px); z-index: -1; pointer-events: none; opacity: 0.9; }
.bg-orb--purple {
width: 800px;
height: 800px;
top: -300px;
right: -200px;
background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
animation: orbFloat1 25s ease-in-out infinite;
}
.bg-orb--pink {
width: 700px;
height: 700px;
bottom: -250px;
left: -200px;
background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
animation: orbFloat2 30s ease-in-out infinite;
}
.bg-orb--cyan {
width: 600px;
height: 600px;
top: 40%;
left: 30%;
background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
animation: orbFloat3 35s ease-in-out infinite;
}
@keyframes orbFloat1 {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(-100px, 100px) scale(1.1); }
66% { transform: translate(50px, -50px) scale(0.9); }
}
@keyframes orbFloat2 {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(100px, -100px) scale(1.15); }
66% { transform: translate(-50px, 50px) scale(0.95); }
}
@keyframes orbFloat3 {
0%, 100% { transform: translate(0, 0) scale(1); }
50% { transform: translate(-100px, -100px) scale(1.2); }
}
/* ========== HEADER / NAV ========== */
.site-nav {
position: sticky;
top: 0;
z-index: 50;
height: 72px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 24px;
background: rgba(8, 4, 26, 0.85);
border-bottom: 1px solid rgba(139, 92, 246, 0.15);
transform: translateZ(0);
}
.nav-back {
display: flex;
align-items: center;
gap: 8px;
color: var(--text-muted);
transition: all var(--transition);
padding: 8px 16px;
border-radius: var(--radius-sm);
position: relative;
overflow: hidden;
}
.nav-back::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
opacity: 0;
transition: opacity var(--transition);
}
.nav-back:hover { color: var(--text); transform: translateX(4px); }
.nav-back:hover::before { opacity: 1; }
.nav-back-text { font-size: 13px; font-weight: 800; position: relative; z-index: 1; }
.nav-back > i { position: relative; z-index: 1; }
.nav-logo { font-weight: 900; font-size: 20px; letter-spacing: -0.5px; color: var(--text); position: relative; }
.nav-logo-accent {
background: linear-gradient(135deg, var(--primary-light), var(--accent-pink));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}
.user-area { min-width: 48px; display: flex; justify-content: flex-end; align-items: center; }

/* ========== HERO / HEADER ========== */
.hero { position: relative; width: 100%; padding: 40px 0 50px; }
.hero-bg {
position: absolute;
inset: 0;
height: 85%;
overflow: hidden;
z-index: -1;
mask-image: linear-gradient(to bottom, black 60%, transparent);
-webkit-mask-image: linear-gradient(to bottom, black 60%, transparent);
}
.hero-bg img {
width: 100%;
height: 100%;
object-fit: cover;
filter: blur(80px) saturate(1.3);
opacity: 0.35;
transform: scale(1.3);
animation: heroBgShift 20s ease-in-out infinite;
}
@keyframes heroBgShift {
0%, 100% { transform: scale(1.3) translate(0, 0); }
50% { transform: scale(1.4) translate(-2%, -2%); }
}
.hero-bg::after {
content: "";
position: absolute;
inset: 0;
background:
radial-gradient(ellipse at center, rgba(8, 4, 26, 0.4) 0%, var(--bg-deep) 80%),
linear-gradient(to bottom, rgba(8, 4, 26, 0.3), rgba(8, 4, 26, 0.9), var(--bg-deep));
}
.hero-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 24px;
display: flex;
flex-direction: column;
gap: 40px;
align-items: flex-start;
position: relative;
}
/* ========== COVER ========== */
.cover-wrapper {
position: relative;
width: 200px;
aspect-ratio: 2/3;
margin: 0 auto;
flex-shrink: 0;
perspective: 1000px;
}
.cover-ring {
position: absolute;
inset: -6px;
border-radius: 28px;
background: linear-gradient(135deg, var(--primary), var(--accent-pink), var(--accent-cyan), var(--primary));
background-size: 300% 300%;
animation: gradientShift 6s ease infinite;
z-index: 1;
filter: blur(12px);
opacity: 0.6;
pointer-events: none;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.cover-inner {
position: relative;
z-index: 2;
width: 100%;
height: 100%;
border-radius: 24px;
overflow: hidden;
background: var(--bg-deep);
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
transform-style: preserve-3d;
}
.cover-wrapper:hover .cover-inner { transform: rotateY(-5deg) rotateX(5deg) scale(1.02); }
.cover-inner img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease, filter 0.5s ease;
}
.cover-wrapper:hover .cover-inner img { transform: scale(1.08); filter: brightness(1.1) saturate(1.2); }
.cover-badge {
position: absolute;
top: 12px;
right: 12px;
background: linear-gradient(135deg, var(--primary), var(--accent-pink));
color: #fff;
font-size: 11px;
font-weight: 900;
padding: 6px 12px;
border-radius: 10px;
box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5);
z-index: 3;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.cover-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(8, 4, 26, 0.8), transparent 60%);
opacity: 0;
transition: opacity var(--transition);
z-index: 2;
}
.cover-wrapper:hover .cover-overlay { opacity: 1; }
.cover-shine {
position: absolute;
inset: 0;
z-index: 3;
pointer-events: none;
border-radius: 24px;
background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.15) 45%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.15) 55%, transparent 60%);
transform: translateX(-100%);
transition: transform 0.8s ease;
}
.cover-wrapper:hover .cover-shine { transform: translateX(100%); }

/* ========== INFO CARD - FIXED: NO SCROLL, FULL CONTENT ========== */
.info-section {
flex: 1;
width: 100%;
text-align: center;
overflow: visible !important;
max-height: none !important;
height: auto !important;
}
.info-card {
border-radius: var(--radius-xl);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(139, 92, 246, 0.02));
border: 1px solid rgba(139, 92, 246, 0.2);
box-shadow: var(--shadow-lg), 0 0 60px rgba(139, 92, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
overflow: visible !important;
position: relative;
padding: 28px;
max-height: none !important;
height: auto !important;
scrollbar-width: none !important;
}
.info-card::-webkit-scrollbar { display: none !important; }
.info-card::before {
content: "";
position: absolute;
inset: -2px;
background:
radial-gradient(800px 320px at 30% 10%, rgba(139, 92, 246, 0.3), transparent 55%),
radial-gradient(800px 320px at 90% 80%, rgba(236, 72, 153, 0.2), transparent 55%);
opacity: 0.7;
pointer-events: none;
animation: cardGlow 8s ease-in-out infinite;
}
@keyframes cardGlow { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.8; } }
.info-card::after {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
pointer-events: none;
}
.info-card:hover::after { animation: shineSweep 1.2s ease; }
@keyframes shineSweep { 0% { left: -100%; } 100% { left: 100%; } }
.info-card > * { position: relative; z-index: 1; }
.info-title {
font-size: 32px;
font-weight: 900;
background: linear-gradient(135deg, #fff 0%, var(--primary-bright) 60%, var(--accent-pink) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 10px;
line-height: 1.3;
letter-spacing: -0.5px;
}
.info-subtitle {
font-size: 16px;
color: var(--text-muted);
font-weight: 700;
text-transform: capitalize;
letter-spacing: 0.5px;
opacity: 0.9;
}
/* ========== META CHIPS ========== */
.meta-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-top: 24px;
}
.meta-chip {
display: flex;
gap: 10px;
align-items: center;
padding: 12px;
border-radius: var(--radius-md);
background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.04));
border: 1px solid rgba(139, 92, 246, 0.2);
width: 100%;
transition: all var(--transition);
position: relative;
overflow: visible;
}
.meta-chip::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
opacity: 0;
transition: opacity var(--transition);
}
.meta-chip:hover {
border-color: var(--border-hover);
transform: translateY(-3px) scale(1.02);
box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
}
.meta-chip:hover::before { opacity: 1; }
.meta-chip > * { position: relative; z-index: 1; }
.meta-chip-icon {
width: 36px;
height: 36px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: transform var(--transition-spring);
}
.meta-chip:hover .meta-chip-icon { transform: scale(1.1) rotate(-5deg); }
.meta-chip-icon--ok {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08));
border: 1px solid rgba(16, 185, 129, 0.3);
color: #6ee7b7;
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.meta-chip-icon--default {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
border: 1px solid rgba(255, 255, 255, 0.15);
color: #e4e4e7;
}
.meta-chip-icon--primary {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.15));
border: 1px solid rgba(139, 92, 246, 0.35);
color: var(--primary-bright);
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.meta-chip-label {
font-size: 10px;
color: rgba(196, 181, 253, 0.8);
font-weight: 800;
line-height: 1;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.meta-chip-value {
font-size: 13px;
color: #fff;
font-weight: 900;
line-height: 1.2;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-top: 3px;
}
.meta-chip-value--ok { color: #6ee7b7; }
/* ========== ACTION BUTTONS ========== */
.actions-row {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 14px;
margin-top: 24px;
}
.actions-group {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 12px;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 14px 22px;
border-radius: var(--radius-md);
font-size: 14px;
font-weight: 900;
transition: all var(--transition);
white-space: nowrap;
border: 1px solid transparent;
backface-visibility: hidden;
transform: translateZ(0);
position: relative;
overflow: hidden;
isolation: isolate;
}
.btn::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.15), transparent 40%);
opacity: 0;
transition: opacity 0.3s;
z-index: -1;
}
.btn:hover::before { opacity: 1; }
.btn--ghost {
background: rgba(255, 255, 255, 0.04);
border-color: rgba(139, 92, 246, 0.25);
color: #e4e4e7;
}
.btn--ghost:hover {
border-color: var(--primary);
color: var(--primary-bright);
background: rgba(139, 92, 246, 0.12);
box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
transform: translateY(-2px);
}
.btn--primary {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(236, 72, 153, 0.7));
border-color: rgba(255, 255, 255, 0.2);
color: #fff;
box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn--primary::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
opacity: 0;
transition: opacity var(--transition);
z-index: -1;
}
.btn--primary:hover {
box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
transform: translateY(-3px);
border-color: rgba(255, 255, 255, 0.3);
}
.btn--primary:hover::after { opacity: 1; }
.btn--solid {
background: linear-gradient(135deg, #fff, #e4e4e7);
color: #0f0824;
box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}
.btn--solid:hover {
background: linear-gradient(135deg, #f5f3ff, #c4b5fd);
transform: translateY(-2px);
}
.btn--fav-active {
color: #fb7185 !important;
border-color: rgba(244, 63, 94, 0.45) !important;
background: rgba(244, 63, 94, 0.12) !important;
}
.btn--donate {
background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(239, 68, 68, 0.7));
border-color: rgba(255, 255, 255, 0.2);
color: #fff;
box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn--donate::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
opacity: 0;
transition: opacity var(--transition);
z-index: -1;
}
.btn--donate:hover {
box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
transform: translateY(-3px);
border-color: rgba(255, 255, 255, 0.3);
}
.btn--donate:hover::after { opacity: 1; }
.genre-tags {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
}
.genre-tag {
padding: 8px 16px;
border-radius: var(--radius-sm);
background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.04));
border: 1px solid rgba(139, 92, 246, 0.2);
font-size: 12px;
font-weight: 700;
color: var(--text-muted);
transition: all var(--transition);
position: relative;
overflow: hidden;
}
.genre-tag::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
opacity: 0;
transition: opacity var(--transition);
}
.genre-tag:hover {
border-color: var(--primary);
color: var(--primary-bright);
transform: translateY(-2px) scale(1.05);
box-shadow: 0 6px 16px rgba(139, 92, 246, 0.25);
}
.genre-tag:hover::before { opacity: 1; }
.genre-tag > * { position: relative; z-index: 1; }
/* ========== LAST READ PANEL ========== */
.last-read-panel {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 18px 24px;
border-radius: var(--radius-lg);
background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.08));
border: 1px solid rgba(139, 92, 246, 0.35);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
.last-read-panel::before {
content: "";
position: absolute;
top: -50%;
right: -10%;
width: 250px;
height: 250px;
background: radial-gradient(circle, rgba(236, 72, 153, 0.2), transparent 70%);
pointer-events: none;
}
.last-read-panel > div:first-child { position: relative; z-index: 1; }
.last-read-title {
font-size: 15px;
font-weight: 900;
color: #fff;
margin-bottom: 6px;
display: flex;
align-items: center;
gap: 8px;
}
.last-read-title::before {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--accent-pink);
box-shadow: 0 0 12px var(--accent-pink);
animation: pulseGlow 2s infinite;
}
.last-read-sub {
font-size: 13px;
color: var(--text-muted);
font-weight: 700;
}
.last-read-sub span {
color: var(--primary-bright);
font-weight: 900;
font-size: 15px;
}
@keyframes pulseGlow {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.3); }
}
/* ========== SUMMARY ========== */
.summary-box {
font-size: 14px;
color: #e4e4e7;
line-height: 2.1;
max-width: 800px;
margin: 28px auto 0;
text-align: justify;
background: linear-gradient(180deg, rgba(139, 92, 246, 0.05), rgba(255, 255, 255, 0.02));
padding: 22px;
border-radius: var(--radius-lg);
border: 1px solid rgba(139, 92, 246, 0.15);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
/* ========== SEARCH & TOGGLE ========== */
.search-input {
width: 220px;
padding: 12px 18px;
border-radius: var(--radius-md);
background: rgba(139, 92, 246, 0.06);
border: 1px solid rgba(139, 92, 246, 0.2);
font-size: 14px;
color: #fff;
outline: none;
transition: all var(--transition);
}
.search-input::placeholder { color: var(--text-dim); }
.search-input:focus {
border-color: var(--primary);
background: rgba(139, 92, 246, 0.1);
box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}
.toggle-group {
display: flex;
align-items: center;
gap: 2px;
background: rgba(139, 92, 246, 0.06);
border: 1px solid rgba(139, 92, 246, 0.2);
border-radius: var(--radius-md);
padding: 4px;
}
.toggle-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 10px 14px;
border-radius: 12px;
font-size: 12px;
font-weight: 900;
color: var(--text-muted);
transition: all var(--transition);
}
.toggle-btn:hover { color: var(--text); }
.toggle-btn.active {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.15));
color: #fff;
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}
.sort-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 16px;
border-radius: var(--radius-md);
background: rgba(139, 92, 246, 0.06);
border: 1px solid rgba(139, 92, 246, 0.2);
font-size: 12px;
font-weight: 900;
color: #e4e4e7;
transition: all var(--transition);
}
.sort-btn:hover {
border-color: var(--primary);
background: rgba(139, 92, 246, 0.1);
transform: translateY(-1px);
}
/* ========== MAIN CONTENT ========== */
.main-content {
max-width: 1400px;
margin: 0 auto;
padding: 0 24px 80px;
width: 100%;
}
/* ========== CHAPTER LIST ========== */
.chapters-list {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 28px;
overflow-y: auto;
overflow-x: hidden;
max-height: none;
padding-bottom: 20px;
}
.chapter-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 18px 20px;
border-radius: var(--radius-md);
background: linear-gradient(135deg, rgba(19, 9, 46, 0.75), rgba(15, 8, 36, 0.95));
border: 1px solid rgba(139, 92, 246, 0.25);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
cursor: pointer;
transition: all var(--transition);
backface-visibility: hidden;
position: relative;
overflow: visible;
min-height: 72px;
width: 100%;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.chapter-row::before {
content: "";
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 3px;
background: linear-gradient(180deg, var(--primary), var(--accent-pink));
opacity: 0;
transition: opacity var(--transition);
}
.chapter-row:hover {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(236, 72, 153, 0.12));
border-color: var(--border-hover);
box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25), 0 0 20px rgba(139, 92, 246, 0.15);
transform: translateY(-3px);
}
.chapter-row:hover::before { opacity: 1; }
.chapter-row:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
.chapter-row-left {
display: flex;
align-items: center;
gap: 16px;
flex: 1;
min-width: 0;
}
.chapter-num-badge {
width: 48px;
height: 48px;
border-radius: var(--radius-sm);
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
border: 1px solid rgba(139, 92, 246, 0.25);
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 900;
color: var(--primary-bright);
transition: all var(--transition);
flex-shrink: 0;
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}
.chapter-row:hover .chapter-num-badge {
background: linear-gradient(135deg, var(--primary), var(--accent-pink));
color: #fff;
transform: scale(1.05) rotate(-3deg);
}
.chapter-row-title {
font-size: 16px;
font-weight: 900;
color: #e4e4e7;
transition: color var(--transition);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.chapter-row:hover .chapter-row-title { color: #fff; }
.chapter-row-right {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
justify-content: flex-end;
flex-shrink: 0;
}
.chapter-state-stack {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
justify-content: flex-end;
}
.chapter-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 999px;
font-size: 11px;
font-weight: 900;
white-space: nowrap;
}
.chapter-badge--read {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
border: 1px solid rgba(16, 185, 129, 0.3);
color: #6ee7b7;
}
.chapter-badge--last {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
border: 1px solid rgba(139, 92, 246, 0.35);
color: #ddd6fe;
}
.chapter-badge--progress {
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
border: 1px solid rgba(245, 158, 11, 0.25);
color: #fcd34d;
}
.chapter-status-icon {
width: 40px;
height: 40px;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
transition: all var(--transition);
}
.chapter-status-icon--locked {
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
color: var(--text-muted);
}
.chapter-status-icon--read {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
border: 1px solid rgba(16, 185, 129, 0.3);
color: #6ee7b7;
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}
.chapter-status-icon--last {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
border: 1px solid rgba(139, 92, 246, 0.35);
color: var(--primary-bright);
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
animation: pulseGlowIcon 2s ease-in-out infinite;
}
@keyframes pulseGlowIcon {
0%, 100% { box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25); }
50% { box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5); }
}
.chapter-status-icon--available {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.06));
border: 1px solid rgba(139, 92, 246, 0.25);
color: var(--primary-light);
}
.chapter-row.is-locked {
opacity: 0.6;
cursor: not-allowed;
filter: grayscale(0.5);
}
.chapter-row.is-locked:hover {
opacity: 0.85;
background: var(--danger-bg);
border-color: rgba(239, 68, 68, 0.25);
transform: none;
filter: grayscale(0);
}
.chapter-row.is-read {
border-color: rgba(16, 185, 129, 0.25);
background: linear-gradient(180deg, rgba(16, 185, 129, 0.06), rgba(255, 255, 255, 0.02));
}
.chapter-row.is-last-read {
border-color: rgba(139, 92, 246, 0.4);
box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.2), 0 0 30px rgba(139, 92, 246, 0.15);
}
/* ========== CHAPTER GRID ========== */
.grid-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 16px;
flex-wrap: wrap;
}
.grid-header-info {
font-size: 14px;
font-weight: 900;
color: #e4e4e7;
}
.grid-header-info small {
font-size: 11px;
font-weight: 700;
color: var(--text-dim);
margin-right: 8px;
}
.grid-nav {
display: flex;
align-items: center;
gap: 10px;
}
.grid-nav-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 10px 16px;
border-radius: var(--radius-sm);
background: rgba(139, 92, 246, 0.06);
border: 1px solid rgba(139, 92, 246, 0.2);
font-size: 12px;
font-weight: 900;
color: #e4e4e7;
transition: all var(--transition);
}
.grid-nav-btn:hover:not(:disabled) {
border-color: var(--primary);
background: rgba(139, 92, 246, 0.12);
transform: translateY(-1px);
}
.grid-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.grid-nav-info {
font-size: 11px;
font-weight: 700;
color: var(--text-dim);
}
.chapters-grid {
display: grid;
gap: 12px;
grid-template-columns: repeat(2, 1fr);
overflow-y: visible;
}
.chapter-card {
position: relative;
border: 1px solid rgba(139, 92, 246, 0.2);
background:
linear-gradient(180deg, rgba(139, 92, 246, 0.06), rgba(255, 255, 255, 0.02)),
radial-gradient(180px 90px at 100% 0%, rgba(139, 92, 246, 0.15), transparent 70%);
border-radius: var(--radius-md);
padding: 16px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 12px;
min-height: 140px;
cursor: pointer;
user-select: none;
overflow: hidden;
transition: all var(--transition);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
backface-visibility: hidden;
transform-style: preserve-3d;
}
.chapter-card::before {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: conic-gradient(from 0deg, transparent, rgba(139, 92, 246, 0.1), transparent 30%);
animation: rotateCardBg 6s linear infinite;
opacity: 0;
transition: opacity var(--transition);
}
.chapter-card::after {
content: "";
position: absolute;
inset: 1px;
background: linear-gradient(180deg, rgba(15, 8, 36, 0.95), rgba(15, 8, 36, 0.85));
border-radius: calc(var(--radius-md) - 1px);
z-index: 0;
}
.chapter-card:hover::before { opacity: 1; }
.chapter-card:hover {
transform: translateY(-6px) scale(1.02);
border-color: var(--border-hover);
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.3);
}
@keyframes rotateCardBg {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.chapter-card > * { position: relative; z-index: 1; }
.chapter-card:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
.chapter-card.is-locked {
opacity: 0.55;
cursor: not-allowed;
filter: grayscale(0.6);
}
.chapter-card.is-locked:hover {
transform: none;
background: var(--danger-bg);
border-color: rgba(239, 68, 68, 0.25);
box-shadow: none;
}
.chapter-card.is-read {
border-color: rgba(16, 185, 129, 0.3);
background:
linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(255, 255, 255, 0.02)),
radial-gradient(180px 90px at 100% 0%, rgba(16, 185, 129, 0.15), transparent 70%);
}
.chapter-card.is-last-read {
border-color: rgba(139, 92, 246, 0.5);
box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.25), 0 20px 50px rgba(139, 92, 246, 0.2);
}
.card-corner-check {
position: absolute;
top: 10px;
left: 10px;
width: 32px;
height: 32px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08));
border: 1px solid rgba(16, 185, 129, 0.35);
color: #34d399;
z-index: 2;
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.card-corner-last {
position: absolute;
bottom: 10px;
left: 10px;
padding: 5px 10px;
border-radius: 999px;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.15));
border: 1px solid rgba(139, 92, 246, 0.4);
color: #ede9fe;
font-size: 10px;
font-weight: 900;
z-index: 2;
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}
.card-top-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.card-label {
font-size: 12px;
font-weight: 900;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.card-icon {
width: 40px;
height: 40px;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
transition: transform var(--transition-spring);
}
.chapter-card:hover .card-icon { transform: scale(1.1) rotate(-5deg); }
.card-icon--locked {
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
color: var(--text-muted);
}
.card-icon--read {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
border: 1px solid rgba(16, 185, 129, 0.3);
color: #34d399;
}
.card-icon--last {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
border: 1px solid rgba(139, 92, 246, 0.35);
color: var(--primary-bright);
}
.card-icon--available {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.08));
border: 1px solid rgba(139, 92, 246, 0.3);
color: var(--primary-light);
}
.card-center { text-align: center; padding: 10px 0; }
.card-number {
font-size: 28px;
font-weight: 900;
background: linear-gradient(135deg, #fff, var(--primary-bright));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
line-height: 1;
letter-spacing: -0.5px;
}
.card-sublabel {
font-size: 10px;
font-weight: 700;
color: var(--text-dim);
margin-top: 6px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.card-hint {
font-size: 10px;
font-weight: 700;
color: var(--text-dim);
text-align: center;
}
/* ========== REVIEWS SECTION ========== */
.rating-shell {
border-radius: var(--radius-xl);
overflow: hidden;
position: relative;
background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), rgba(255, 255, 255, 0.02));
border: 1px solid rgba(139, 92, 246, 0.2);
box-shadow: var(--shadow-lg), 0 0 60px rgba(139, 92, 246, 0.15);
padding: 28px;
}
.rating-shell::before {
content: "";
position: absolute;
inset: -1px;
background:
radial-gradient(800px 260px at 15% 10%, rgba(139, 92, 246, 0.2), transparent 55%),
radial-gradient(800px 260px at 85% 90%, rgba(236, 72, 153, 0.15), transparent 55%);
pointer-events: none;
opacity: 0.85;
}
.rating-shell > * { position: relative; z-index: 1; }
.rating-layout { display: flex; flex-direction: column; gap: 24px; }
.rating-panel {
background: linear-gradient(180deg, rgba(139, 92, 246, 0.05), rgba(0, 0, 0, 0.15));
border: 1px solid rgba(139, 92, 246, 0.18);
border-radius: var(--radius-lg);
padding: 22px;
}
.rating-summary {
display: flex;
align-items: center;
gap: 24px;
justify-content: center;
}
.rating-ring-wrap { position: relative; width: 110px; height: 110px; flex-shrink: 0; }
.rating-ring {
--p: 0;
width: 100%;
height: 100%;
border-radius: 50%;
background: conic-gradient(var(--primary) calc(var(--p) * 1turn), rgba(139, 92, 246, 0.15) 0);
padding: 4px;
transition: --p 0.6s ease;
box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}
.rating-ring-inner {
width: 100%;
height: 100%;
border-radius: 50%;
background: linear-gradient(180deg, rgba(15, 8, 36, 0.95), rgba(8, 4, 26, 0.95));
border: 1px solid rgba(139, 92, 246, 0.25);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
flex-direction: column;
}
.rating-ring-score {
font-size: 32px;
font-weight: 900;
background: linear-gradient(135deg, #fff, var(--primary-bright));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
line-height: 1;
}
.rating-ring-label {
font-size: 11px;
font-weight: 700;
color: var(--text-dim);
margin-top: 4px;
}
.rating-summary-text { font-size: 18px; font-weight: 900; color: #fff; }
.rating-summary-text small {
font-size: 12px;
font-weight: 700;
color: var(--text-dim);
margin-right: 8px;
}
.rating-summary-note {
font-size: 12px;
color: var(--text-muted);
font-weight: 700;
margin-top: 10px;
line-height: 1.6;
}
.rating-input-section { display: flex; flex-direction: column; gap: 18px; }
.rating-input-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.rating-input-label { font-size: 15px; font-weight: 900; color: #f5f3ff; }
.rating-input-value {
font-size: 13px;
font-weight: 700;
color: var(--text-dim);
margin-top: 4px;
}
.rating-input-hint {
font-size: 11px;
font-weight: 700;
color: var(--text-dim);
}
.rating-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.stars {
display: inline-flex;
gap: 8px;
align-items: center;
direction: ltr;
}
.star-btn {
width: 42px;
height: 42px;
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 12px;
padding: 6px;
transition: all var(--transition-spring);
color: rgba(255, 255, 255, 0.35);
background: rgba(139, 92, 246, 0.05);
border: 1px solid rgba(139, 92, 246, 0.1);
}
.star-btn:hover {
background: rgba(139, 92, 246, 0.15);
border-color: var(--primary);
transform: translateY(-3px) scale(1.1);
box-shadow: 0 10px 25px rgba(139, 92, 246, 0.25);
}
.star-btn:active { transform: translateY(0) scale(1); }
.star-btn .base,
.star-btn .fill {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
}
.star-btn .base > * {
color: rgba(255, 255, 255, 0.2);
stroke: rgba(255, 255, 255, 0.5);
fill: transparent;
}
.star-btn .fill {
width: calc(var(--fill, 0) * 1%);
overflow: hidden;
border-radius: 10px;
}
.star-btn .fill > * {
color: #facc15;
stroke: #facc15;
fill: #facc15;
filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.5));
}
.avg-stars {
display: inline-flex;
align-items: center;
gap: 3px;
direction: ltr;
}
.avg-star {
position: relative;
width: 20px;
height: 20px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.avg-star .base,
.avg-star .fill {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.avg-star .base > * {
color: rgba(255, 255, 255, 0.2);
stroke: rgba(255, 255, 255, 0.4);
fill: transparent;
}
.avg-star .fill > * {
color: #facc15;
stroke: #facc15;
fill: #facc15;
filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.5));
}
.avg-star .fill { width: calc(var(--fill, 0) * 1%); }
.slider-wrap {
background: linear-gradient(180deg, rgba(139, 92, 246, 0.05), rgba(255, 255, 255, 0.02));
border: 1px solid rgba(139, 92, 246, 0.15);
border-radius: var(--radius-lg);
padding: 18px;
margin-top: 18px;
}
.slider-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.slider-title { font-size: 13px; font-weight: 900; color: #f5f3ff; }
.slider-sub {
font-size: 11px;
font-weight: 700;
color: var(--text-dim);
margin-top: 4px;
}
.slider-val {
font-size: 16px;
font-weight: 900;
background: linear-gradient(135deg, var(--primary-light), var(--accent-pink));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.slider-input {
width: 100%;
margin-top: 16px;
accent-color: var(--primary);
height: 6px;
}
.dist-panel-title {
font-size: 15px;
font-weight: 900;
color: #f5f3ff;
margin-bottom: 16px;
}
.dist-rows { display: flex; flex-direction: column; gap: 10px; }
.dist-row { display: flex; align-items: center; gap: 12px; }
.dist-label {
width: 28px;
font-size: 13px;
font-weight: 900;
color: #e4e4e7;
}
.dist-bar {
flex: 1;
height: 12px;
border-radius: 999px;
background: rgba(139, 92, 246, 0.08);
border: 1px solid rgba(139, 92, 246, 0.12);
overflow: hidden;
}
.dist-bar-fill {
height: 100%;
background: linear-gradient(90deg, var(--primary), var(--accent-pink));
border-radius: 999px;
transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
width: 0;
box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}
.dist-bar-fill--5 { opacity: 1; }
.dist-bar-fill--4 { opacity: 0.9; }
.dist-bar-fill--3 { opacity: 0.75; }
.dist-bar-fill--2 { opacity: 0.6; }
.dist-bar-fill--1 { opacity: 0.45; }
.dist-count {
width: 40px;
font-size: 12px;
font-weight: 700;
color: var(--text-dim);
text-align: left;
}
/* ========== DONATE SECTION ========== */
.donate-panel {
background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.08));
border: 1px solid rgba(245, 158, 11, 0.3);
border-radius: var(--radius-lg);
padding: 24px;
margin-top: 24px;
text-align: center;
position: relative;
overflow: hidden;
}
.donate-panel::before {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 70%);
animation: donateGlow 8s ease-in-out infinite;
}
@keyframes donateGlow {
0%, 100% { transform: rotate(0deg); }
50% { transform: rotate(180deg); }
}
.donate-panel > * { position: relative; z-index: 1; }
.donate-title {
font-size: 18px;
font-weight: 900;
color: #fff;
margin-bottom: 12px;
}
.donate-desc {
font-size: 13px;
color: #fcd34d;
line-height: 1.8;
margin-bottom: 18px;
}
.donate-btn {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 14px 28px;
border-radius: var(--radius-md);
background: linear-gradient(135deg, #f59e0b, #ef4444);
color: #fff;
font-weight: 900;
font-size: 14px;
transition: all var(--transition);
box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35);
}
.donate-btn:hover {
transform: translateY(-3px) scale(1.05);
box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
}
/* ========== COMMENTS ========== */
.comments-section {
margin-top: 24px;
background: rgba(15, 8, 36, 0.75);
border: 1px solid rgba(139, 92, 246, 0.15);
border-radius: 24px;
padding: 24px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.comments-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.comments-title {
font-size: 22px;
font-weight: 900;
color: #fff;
display: flex;
align-items: center;
gap: 12px;
}
.comments-title i {
color: var(--primary-bright);
filter: drop-shadow(0 0 10px var(--primary-glow));
}
.comments-controls {
display: flex;
align-items: center;
gap: 10px;
}
.comments-select {
padding: 12px 16px;
border-radius: var(--radius-md);
background: rgba(139, 92, 246, 0.06);
border: 1px solid rgba(139, 92, 246, 0.2);
font-size: 14px;
font-weight: 900;
color: #f5f3ff;
outline: none;
}
.refresh-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 16px;
border-radius: var(--radius-md);
background: rgba(139, 92, 246, 0.06);
border: 1px solid rgba(139, 92, 246, 0.2);
font-size: 14px;
font-weight: 900;
color: #e4e4e7;
transition: all var(--transition);
}
.refresh-btn:hover {
border-color: var(--primary);
background: rgba(139, 92, 246, 0.12);
transform: translateY(-1px);
}
.refresh-btn:hover i { animation: spin 0.6s ease; }
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.comment-input-wrap {
margin-top: 20px;
background: rgba(0, 0, 0, 0.25);
border: 1px solid rgba(139, 92, 246, 0.2);
border-radius: 16px;
padding: 20px;
}
.comment-input-body { width: 100%; }
.comment-textarea {
width: 100%;
background: transparent;
border: none;
outline: none;
font-size: 15px;
color: #fff;
resize: none;
line-height: 2;
min-height: 90px;
}
.comment-textarea::placeholder { color: var(--text-dim); }
.comment-input-footer {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 14px;
gap: 10px;
flex-wrap: wrap;
}
.comments-list {
margin-top: 24px;
display: flex;
flex-direction: column;
gap: 14px;
}
.comment-card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 16px;
padding: 16px;
transition: border-color 0.2s ease, background 0.2s ease;
}
.comment-card:hover {
border-color: rgba(139, 92, 246, 0.3);
background: rgba(139, 92, 246, 0.04);
}
.comment-main-row { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    position: relative;
}
/* FIXED: Avatar behind username */
.comment-user-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
    min-width: 0;
    padding-right: 50px; /* Space for the absolute avatar */
    min-height: 44px;
}
.comment-avatar {
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    z-index: 0; /* Behind the text */
    opacity: 0.15; /* Subtle background effect */
    box-shadow: none;
}
.comment-avatar i,
.comment-avatar svg {
    width: 22px;
    height: 22px;
}
.comment-user-link, .comment-time {
    position: relative;
    z-index: 1; /* Ensure text is above the avatar */
}
.comment-main-content { min-width: 0; flex: 1; }
.comment-meta-line {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
margin-right: 8px;
}
.comment-user-link {
color: #fff;
font-weight: 900;
transition: color var(--transition);
max-width: 100%;
overflow-wrap: anywhere;
word-break: break-word;
font-size: 14px;
}
.comment-user-link:hover { color: var(--primary-bright); }
.comment-time {
font-size: 11px;
font-weight: 700;
color: var(--text-dim);
}
.comment-text {
color: #e4e4e7;
font-size: 14px;
line-height: 2.15;
margin-top: 10px;
white-space: pre-wrap;
overflow-wrap: anywhere;
word-break: break-word;
text-align: right;
}
.comment-actions-row {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
margin-top: 14px;
}
.comment-vote-group {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.vote-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 8px;
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.08);
font-size: 13px;
font-weight: 700;
color: var(--text-muted);
transition: all 0.2s ease;
}
.vote-btn:hover {
background: rgba(139, 92, 246, 0.1);
border-color: rgba(139, 92, 246, 0.3);
color: var(--primary-bright);
}
.comment-action-btn {
padding: 6px 12px;
border-radius: 8px;
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.08);
font-size: 13px;
font-weight: 700;
color: var(--text-muted);
transition: all 0.2s ease;
}
.comment-action-btn:hover {
background: rgba(139, 92, 246, 0.1);
border-color: rgba(139, 92, 246, 0.3);
color: var(--primary-bright);
}
.comment-action-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.comment-buttons-group {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.reply-box {
margin-top: 14px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(139, 92, 246, 0.15);
border-radius: 12px;
padding: 16px;
}
.reply-textarea {
width: 100%;
background: transparent;
border: none;
outline: none;
font-size: 15px;
color: #fff;
resize: none;
line-height: 2;
min-height: 70px;
}
.reply-textarea::placeholder { color: var(--text-dim); }
.reply-footer {
display: flex;
justify-content: flex-end;
margin-top: 12px;
}
.replies-wrap {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 14px;
}
.reply-thread {
position: relative;
padding-right: 20px;
}
.reply-thread::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 2px;
background: linear-gradient(180deg, var(--primary), var(--accent-pink), transparent);
border-radius: 2px;
box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}
.pagination {
margin-top: 24px;
display: flex;
align-items: center;
justify-content: space-between;
}
.pagination-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 12px 16px;
border-radius: var(--radius-md);
background: rgba(139, 92, 246, 0.06);
border: 1px solid rgba(139, 92, 246, 0.2);
font-size: 14px;
font-weight: 900;
color: #e4e4e7;
transition: all var(--transition);
}
.pagination-btn:hover:not(:disabled) {
border-color: var(--primary);
background: rgba(139, 92, 246, 0.12);
transform: translateY(-1px);
}
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination-info {
font-size: 12px;
font-weight: 700;
color: var(--text-dim);
}
/* ========== PREMIUM RESTRICTION CARD ========== */
.premium-restriction {
background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(139, 92, 246, 0.08));
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: 16px;
padding: 20px;
margin-top: 14px;
display: flex;
align-items: center;
gap: 14px;
animation: shakeError 0.5s ease-in-out;
}
@keyframes shakeError {
0%, 100% { transform: translateX(0); }
10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
20%, 40%, 60%, 80% { transform: translateX(8px); }
}
.premium-restriction i { color: #ef4444; flex-shrink: 0; }
.premium-restriction-text { flex: 1; }
.premium-restriction-title {
font-size: 14px;
font-weight: 900;
color: #fca5a5;
margin-bottom: 4px;
}
.premium-restriction-desc {
font-size: 12px;
color: var(--text-muted);
line-height: 1.6;
}
/* ========== MODAL ========== */
.modal-overlay {
position: fixed;
inset: 0;
z-index: 100;
background: rgba(8, 4, 26, 0.9);
display: none;
align-items: center;
justify-content: center;
padding: 16px;
}
.modal-overlay.visible { display: flex; }
.modal-content {
background: linear-gradient(180deg, rgba(19, 9, 46, 0.98), rgba(15, 8, 36, 0.98));
border: 1px solid rgba(139, 92, 246, 0.3);
width: 100%;
max-width: 440px;
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 80px rgba(139, 92, 246, 0.3);
transform: scale(0.95) translateY(20px);
opacity: 0;
transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
position: relative;
}
.modal-content::before {
content: "";
position: absolute;
inset: -2px;
background: conic-gradient(from 0deg, var(--primary), var(--accent-pink), var(--accent-cyan), var(--primary));
border-radius: var(--radius-xl);
z-index: -1;
animation: rotateConic 4s linear infinite;
opacity: 0.6;
}
@keyframes rotateConic {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.modal-overlay.visible .modal-content {
transform: scale(1) translateY(0);
opacity: 1;
}
.modal-header {
height: 150px;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.modal-header::before {
content: "";
position: absolute;
inset: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4"/></filter><rect width="200" height="200" filter="url(%23n)" opacity="0.15"/></svg>');
opacity: 0.3;
}
.modal-header::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle at center, rgba(139, 92, 246, 0.2), transparent 70%);
}
.modal-header i {
position: relative;
z-index: 1;
color: #fff;
margin-bottom: 10px;
filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.5));
animation: crownFloat 3s ease-in-out infinite;
}
@keyframes crownFloat {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-8px) rotate(-5deg); }
}
.modal-badge {
position: relative;
z-index: 1;
color: #fff;
font-size: 11px;
font-weight: 900;
letter-spacing: 1.5px;
text-transform: uppercase;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
padding: 6px 14px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.modal-body { padding: 36px; text-align: center; }
.modal-title {
font-size: 22px;
font-weight: 900;
background: linear-gradient(135deg, #fff, var(--primary-bright));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 16px;
}
.modal-desc {
font-size: 14px;
color: var(--text-muted);
margin-bottom: 28px;
line-height: 1.9;
}
.modal-desc .highlight {
color: var(--accent-pink);
font-weight: 700;
background: linear-gradient(135deg, var(--accent-pink), var(--primary-bright));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.modal-note {
font-size: 10px;
opacity: 0.7;
margin-top: 8px;
display: block;
}
.modal-actions { display: flex; flex-direction: column; gap: 14px; }
.modal-cta {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
width: 100%;
padding: 16px;
background: linear-gradient(135deg, #fff, #e4e4e7);
color: #0f0824;
font-weight: 900;
border-radius: var(--radius-md);
transition: all var(--transition);
box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
font-size: 15px;
}
.modal-cta:hover {
background: linear-gradient(135deg, #f5f3ff, var(--primary-bright));
transform: translateY(-2px);
box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}
.modal-dismiss {
width: 100%;
padding: 12px;
color: var(--text-dim);
font-weight: 700;
font-size: 13px;
transition: color var(--transition);
}
.modal-dismiss:hover { color: #fff; }
/* ========== HIDDEN UTILITY ========== */
.hidden { display: none !important; }

/* ========== RESPONSIVE ========== */
@media (min-width: 640px) {
.chapters-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
.site-nav { padding: 0 40px; }
.hero-container {
flex-direction: row;
gap: 50px;
padding: 0 40px;
}
.cover-wrapper { width: 280px; margin: 0; }
.info-section { text-align: right; }
.info-title { font-size: 44px; }
.meta-grid { grid-template-columns: repeat(2, 1fr); }
.actions-row {
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
}
.actions-group { justify-content: flex-start; }
.summary-box { margin: 28px 0 0; }
.toolbar-inner { padding: 12px 40px; }
.main-content { padding: 0 40px 80px; }
.chapters-grid { grid-template-columns: repeat(6, 1fr); }
.rating-layout {
flex-direction: row;
gap: 28px;
}
.rating-panel--summary { width: 300px; flex-shrink: 0; }
.rating-panel--dist { width: 300px; flex-shrink: 0; }
.rating-panel--input { flex: 1; }
}
@media (min-width: 1024px) {
.chapters-grid { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 767px) {
.hero-container {
padding-left: 16px;
padding-right: 16px;
align-items: center;
}
.info-card {
margin-left: 0;
margin-right: 0;
border-radius: var(--radius-xl);
padding: 16px !important;
overflow-x: hidden !important;
box-sizing: border-box;
width: 100%;
}
.summary-box {
margin-left: 0;
margin-right: 0;
border-radius: var(--radius-lg);
padding: 16px;
box-sizing: border-box;
width: 100%;
}
.meta-grid {
gap: 8px;
}
.meta-chip {
padding: 10px;
}
.info-title {
font-size: 24px;
word-break: break-word;
line-height: 1.4;
}
.actions-row {
gap: 10px;
}
.btn {
padding: 12px 16px;
font-size: 13px;
}
.search-input { width: 100%; }
.main-content {
padding-left: 16px;
padding-right: 16px;
}
}
@media (max-width: 520px) {
.chapter-row {
flex-direction: column;
align-items: flex-start;
gap: 14px;
}
.chapter-row-right {
width: 100%;
justify-content: space-between;
}
.chapter-row:hover { transform: none; }
.comment-vote-group { width: 100%; }
.comment-actions-row {
flex-direction: column;
align-items: stretch;
}
.comment-buttons-group { width: 100%; }
.comment-buttons-group > * { flex: 1; }
}
.main-content {
padding-left: 16px;
padding-right: 16px;
}
.meta-chip-status   { order: 0; }
.meta-chip-rating   { order: 1; }
.meta-chip-chapters { order: 2; }
.meta-chip-author   { order: 3; }
/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
:focus-visible {
outline: 2px solid var(--primary-bright);
outline-offset: 2px;
}
/* ========== TABS BAR ========== */
.tabs-bar {
position: sticky;
top: 72px;
z-index: 45;
background: rgba(8, 4, 26, 0.85);
border-bottom: 1px solid rgba(139, 92, 246, 0.15);
padding: 10px 16px;
transform: translateZ(0);
}
.tabs-bar-inner {
max-width: 1400px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 8px;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(236, 72, 153, 0.03));
border: 1px solid rgba(139, 92, 246, 0.2);
border-radius: 20px;
padding: 6px;
overflow-x: auto;
flex-wrap: nowrap;
}
.tabs-bar-inner::-webkit-scrollbar { display: none; }
.tab-pill {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 22px;
border-radius: 16px;
font-size: 13px;
font-weight: 800;
color: var(--text-muted);
background: transparent;
transition: all 0.3s ease;
white-space: nowrap;
border: 1px solid transparent;
cursor: pointer;
position: relative;
flex-shrink: 0;
}
.tab-pill::before {
content: "";
position: absolute;
inset: 0;
border-radius: 16px;
padding: 1px;
background: linear-gradient(135deg, var(--primary), var(--accent-pink));
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
opacity: 0;
transition: opacity var(--transition);
}
.tab-pill:hover {
color: var(--text);
background: rgba(139, 92, 246, 0.08);
}
.tab-pill.active {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.15));
color: #fff;
box-shadow: 0 0 20px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.tab-pill.active::before { opacity: 1; }
@media (max-width: 600px) {
.tabs-bar { padding: 6px 10px; }
.tab-pill {
padding: 10px 16px;
font-size: 12px;
gap: 6px;
}
}
.tabs-bar-inner {
scrollbar-width: thin;
scrollbar-color: rgba(139, 92, 246, 0.4) rgba(255, 255, 255, 0.02);
}
.tabs-bar-inner::-webkit-scrollbar { height: 6px; }
.tabs-bar-inner::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.02);
border-radius: 6px;
}
.tabs-bar-inner::-webkit-scrollbar-thumb {
background: linear-gradient(90deg, var(--primary), var(--accent-pink));
border-radius: 6px;
}
.tabs-bar-inner::-webkit-scrollbar-thumb:hover {
background: linear-gradient(90deg, var(--primary-bright), var(--accent-pink));
}
/* ========== COVER COLUMN + GENRE BOX ========== */
.cover-col {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
flex-shrink: 0;
}
.genre-box {
width: 100%;
max-width: 320px;
background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(255, 255, 255, 0.02));
border: 1px solid rgba(139, 92, 246, 0.2);
border-radius: var(--radius-lg);
padding: 18px;
box-shadow: var(--shadow-lg), 0 0 40px rgba(139, 92, 246, 0.1);
position: relative;
overflow: hidden;
}
.genre-box::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
transition: left 0.8s ease;
}
.genre-box:hover::before { left: 100%; }
.genre-box-title {
font-size: 13px;
font-weight: 800;
color: var(--text-muted);
margin-bottom: 12px;
text-align: center;
text-transform: uppercase;
letter-spacing: 1px;
}
.genre-box .genre-tags {
justify-content: center;
flex-wrap: wrap;
gap: 8px;
}
.genre-box .genre-tag {
padding: 7px 14px;
font-size: 11px;
}
html, body {
overflow-x: hidden;
width: 100%;
}
/* ========== MAGNETIC BUTTON EFFECT ========== */
.btn--magnetic {
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* ========== RIPPLE ========== */
.ripple {
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.4);
transform: scale(0);
animation: rippleAnim 0.6s linear;
pointer-events: none;
}
@keyframes rippleAnim {
to {
transform: scale(4);
opacity: 0;
}
}
/* ========== ANIMATED COUNTER ========== */
.count-up { display: inline-block; }
/* ========== USER AVATAR BUTTON ========== */
.user-avatar-btn {
width: 44px;
height: 44px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary), var(--accent-pink));
display: flex;
align-items: center;
justify-content: center;
color: #fff;
box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
transition: all var(--transition);
border: 2px solid rgba(255, 255, 255, 0.2);
}
.user-avatar-btn:hover {
transform: scale(1.1) rotate(-5deg);
box-shadow: 0 12px 30px rgba(139, 92, 246, 0.6);
border-color: rgba(255, 255, 255, 0.4);
}
.user-avatar-btn img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
}