/* novel.css */

/* 匯入字型 */
@import url('./css/fonts.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC&family=Noto+Serif+TC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

/* 定義小說頁面樣式 */
body {
    padding: 20px;
    line-height: 2;
    font-size: 18px;
    cursor: url('../images/Moi-Cursor-1.png'), auto;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    color: #a5a5a5;
    background:
        linear-gradient(
        135deg,
        #0a0b0d,
        #121418,
        #08090b
        );
    font-family: '源起明體 月', 'Noto Serif TC', 'Times New Roman', serif;
    font-weight: 400;
    font-size: 18px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 4px 4px;
    opacity: .25;
}

main {
    padding-bottom: 80px;
    line-height: 2;
    letter-spacing: 0.08em;
}

header {
    text-align: center;
    max-width: 800px;
    margin: 80px auto;
    background: rgba(20, 20, 30, .35);
    backdrop-filter: blur(12px);
    padding: 50px;
    border-radius: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

header h1 {
    color: #d8d8d8;
    text-shadow: 0 0 10px rgba(255, 255, 255, .08);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

header i {
    color: #999;
    font-size: 14px;
    opacity: .6;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

/* 手機版專用 */
@media(max-width:768px) {
    main {
      padding: 0 20px 140px;
    }
}

@media (max-width:768px) {
    header {
      padding: 25px;
    }
}

@media (max-width: 768px) {
    html {
      font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
      font-size: 13px;
    }
}

a {
    color: #FFF;
    text-decoration: none;
    transition-duration: 0.6s;
    -o-transition-duration: 0.6s;
    -moz-transition-duration: 0.6s;
    -webkit-transition-duration: 0.6s;
}

a:hover {
    color: #a59bbb;
    text-decoration: none;
    cursor: url('../images/Moi-Cursor-2.png'), auto;
    transition-duration: 0.6s;
    -o-transition-duration: 0.6s;
    -moz-transition-duration: 0.6s;
    -webkit-transition-duration: 0.6s;
}

p.center {
    text-align: center;
}

html {
    scrollbar-face-color: #121418;
    scrollbar-3dlight-color: #121418;
    scrollbar-track-color: #121418;
    scrollbar-darkshadow-color: #121418;
    scrollbar-highlight-color: #000000;
    scrollbar-shadow-color: #000000;
    scrollbar-arrow-color: #000000; 
}

::-webkit-scrollbar {width: 5px; height: 0px;}
::-webkit-scrollbar-track, 
::-webkit-scrollbar-button, 
::-webkit-scrollbar-corner {background-color: #121418;}
::-webkit-scrollbar-button, 
::-webkit-scrollbar-corner {height: 0px;}
::-webkit-scrollbar-thumb {background-color: #a59bbb; border-radius: 10px 0 0 10px;}
::-webkit-scrollbar-thumb:hover {background-color: #FFF;}