
/* OUR WORKS PAGE */

.works-page {
    padding-bottom: 50px;
}

.works-section {
    padding: 45px 0 60px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 90px;
}

.works-section-heading {
    margin-bottom: 28px;
}

.works-section-heading > span,
.work-info > span {
    color: var(--neon);
    font-size: 11px;
    letter-spacing: 2px;
}

.works-section-heading h2 {
    margin: 12px 0;
    font-size: clamp(32px, 5vw, 54px);
}

.works-section-heading h2 span {
    color: var(--neon);
}

.works-section-heading p {
    color: var(--muted);
    line-height: 1.7;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.video-card {
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color .25s, transform .25s;
}

.video-card:hover {
    border-color: var(--neon);
    transform: translateY(-4px);
}

.video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #05080e;
    object-fit: contain;
}

.work-info {
    padding: 18px;
}

.work-info h3 {
    margin: 10px 0 0;
    font-size: 18px;
}

.pdf-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.pdf-item {
    display: grid;
    grid-template-columns: 42px 48px minmax(0, 1fr) 25px;
    align-items: center;
    gap: 15px;
    padding: 22px 15px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
    transition: background .25s, padding .25s;
}

.pdf-item:hover {
    background: rgba(0, 170, 255, .06);
    padding-left: 22px;
}

.pdf-number {
    color: var(--muted);
    font-size: 12px;
}

.pdf-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 48px;
    border: 1px solid var(--neon);
    color: var(--neon);
    font-size: 11px;
    font-weight: 700;
}

.pdf-details {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.pdf-details strong {
    font-size: 15px;
}

.pdf-details small {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
}

.pdf-arrow {
    color: var(--neon);
    font-size: 20px;
}

.works-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 30px 0;
    border-top: 1px solid var(--line);
}

@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .pdf-item {
        grid-template-columns: 25px 40px minmax(0, 1fr) 18px;
        gap: 10px;
        padding: 18px 8px;
    }

    .pdf-icon {
        width: 36px;
        height: 42px;
    }

    .pdf-details strong {
        font-size: 13px;
    }

    .pdf-details small {
        font-size: 9px;
    }
}


/* NOVEL CARDS */

.novel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.novel-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color .3s, transform .3s;
}

.novel-card:hover {
    border-color: var(--neon);
    transform: translateY(-4px);
}

/* COVER */

.novel-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at center,
            rgba(0, 170, 255, .2),
            transparent 70%
        ),
        var(--bg);
    border: 1px solid var(--line);
}

.novel-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.novel-card:hover .novel-cover img {
    transform: scale(1.035);
}

/* NOVEL INFORMATION */

.novel-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 8px 0;
}

.novel-label {
    color: var(--neon);
    font-size: 11px;
    letter-spacing: 2px;
}

.novel-content h3 {
    margin: 16px 0 12px;
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.25;
}

.novel-description {
    max-width: 620px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.novel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: auto;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.3px;
}

/* LARGE PDF BUTTON */

.novel-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 17px 20px;
    border: 1px solid var(--neon);
    color: var(--neon);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition:
        background .25s,
        color .25s,
        box-shadow .25s;
}

.novel-button span {
    font-size: 20px;
}

.novel-button:hover {
    color: var(--bg);
    background: var(--neon);
    box-shadow: 0 0 24px rgba(0, 170, 255, .18);
}

/* MOBILE */

@media (max-width: 600px) {
    .novel-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 16px;
    }

    .novel-cover {
        width: min(100%, 280px);
        margin: 0 auto;
    }

    .novel-content {
        padding: 0;
    }

    .novel-content h3 {
        font-size: 25px;
    }

    .novel-description {
        font-size: 13px;
    }

    .novel-button {
        padding: 16px;
    }
}
