@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

html{
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    background-color: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --bg-primary: #0f1325;
    --bg-primary-light: #717897;
    --bg-secundary: #764ba2;
    --bg-secundary-light: #bc8deb;
    --text-dark: #2c3e50;
    --text-light: #4c6885;

    --part-color-blue: #5754ff4d;
    --part-color-pink: #7c2e7833;
    --part-color-altblue: #524fff33;
}

::selection{
    background-color: white;
    color:rgb(255, 0, 140);
}
:focus{
    background-color: white;
    color:rgb(255, 0, 140);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secundary);
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--bg-secundary-light);
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--bg-primary-light);
}

body {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secundary) 100%);
    min-height: 100vh;
    font-family: Poppins, sans-serif;
    color: var(--text-light);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, var(--part-color-blue) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--part-color-pink) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, var(--part-color-altblue) 0%, transparent 50%);
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.new{
    text-align: center;
    background-color: #00d5ff27;
    color: #00d5ff;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    overflow: hidden;
    border-style: solid;
    border-color:  #00d5ff;
    border-width: 1px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* // Actual Page Elements // */
.container {
    margin: 0;
    padding: 5% 10%;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 20px 30px;
    border: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0);
}

.header h1 {
    font-size: 2.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .subtitle {
    font-style: italic;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.stats {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    border-color:rgba(236, 92, 255, 0.375) ;
    padding: 12px 15px;
    border-radius: 15px;
    font-weight: 500;
    color: white;
    backdrop-filter: blur(10px);
}

.stats .number {
    background-color: rgba(236, 92, 255, 0.375);
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 600;
    text-shadow: none;
}

.content-area {
    background: rgba(0, 0, 0, 0.26);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 124, 237, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 600px;
    color: white;
}

.book-collection {
    padding: 40px;
}

.collection-item {
    margin-bottom: 50px;
    padding-bottom: 40px;
    width: 100%;
}

.collection-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.collection-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    width: 100%;
}

.collection-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--bg-primary), var(--bg-secundary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    border-color:#764ba2;
    border-style: solid;
    border-width: 1px;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

.collection-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #cb8cff;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 5%;
    width: 100%;
    user-select: text;
    -moz-user-select: text;
}

.collection-title .new {
    flex-direction: column;
}

.collection-description {
    font-style: italic;
    color: #c2c2c2;
    margin-top: 5px;
    font-size: 0.95rem;
    user-select: text;
    -moz-user-select: text;
}

.episodes-grid {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.episode-card {
    background:#0f1325c1;
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.episode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(17, 0, 255, 0.057), transparent);
    transition: left 0.5s ease;
}

.episode-card:hover::before {
    left: 100%;
}

.episode-card:hover {
    border-color: var(--part-color-pink);
    box-shadow: 0 15px 35px var(--part-color-pink);
    background:#181e3a72;
}

.episode-number {
    background-color: #272e5127;
    color: rgb(195, 173, 227);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    border-style: solid; border-color:  #576190; border-width: 1px;
}

.episode-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #afa8f2;
    margin-bottom: 12px;
    line-height: 1.4;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    padding: 1% 0px;
    user-select: text;
    -moz-user-select: text;
}

.episode-excerpt {
    color: #5e809e;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    user-select: text;
    -moz-user-select: text;
}

.episode-meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    font-size: 0.85rem;
    color: #868e96;
}

.episode-language {
    background-color: #272e5127;
    color: rgb(195, 173, 227);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    border-style: solid; border-color:  #576190; border-width: 1px;
}

.read-arrow {
    opacity:1;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #d0eeff;
    font-weight: 200;
    margin-bottom: 5px;
    padding: 0px 2%;
}

.read-arrow:hover {
    opacity:1;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: underline;
}

.origin-note {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.origin-note .icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.origin-note .text {
    color: #856404;
    font-style: italic;
    font-weight: 500;
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: floatRandom 15s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    font-size: 2rem;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
    font-size: 1.5rem;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
    font-size: 1.8rem;
}