html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #0b0f1a;
    color: #dbe6ff;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif; 
    background-image: radial-gradient(circle at top, #1c2333 0%, #0b0f1a 60%);
    margin: 0;
}

.layout {
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    height: 100vh;
    overflow: hidden;
    scrollbar-width: thin;
    scrollbar-color: #8faee0 #0b0f1a;
}

.main {
    flex: 1;
    padding-left: 30px;
    width: 900px;
    height: 100%;
    background-color: rgba(20, 30, 50, 0.75);
    border: 1px solid #8faee0;
    box-shadow: 0 0 20px rgba(143, 174, 224, 0.2);
    backdrop-filter: blur(4px);
    overflow-y: auto;
    padding-right: 10px;
}

.header {
    text-align: center;
    padding: 20px;
    font-size: 28px;
    letter-spacing: 2px;
    color: #e8f0ff;
    text-shadow: 0 0 8px #8faee0;
}

.container {
    display: flex;
}

.sidebar {
    height: 100%;
    width: 200px;
    padding: 15px;
    background: rgba(15, 22, 40, 0.8);
    border-right: 1px solid #2a3a5f;
    font-size: 14px;
    overflow-y: auto;
}

.content {
    flex: 1;
    padding: 20px;
    line-height: 1.6;
}

a {
    color: #8faee0;
    text-decoration: none;
}

a:hover {
    color: #dbe6ff;
    text-shadow: 0 0 5px #8faee0;
}

.box {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #3a4f7a;
    background: rgba(10, 15, 30, 0.6);
}

.button-box {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #3a4f7a;
    background: rgba(10, 15, 30, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.player {
    padding: 10px;
    border: 1px solid #8faee0;
    background: rgba(5, 10, 25, 0.8);
    text-align: center;
    font-size: 13px;
}

hr {
    border: none;
    border-top: 1px dashed #8faee0;
    opacity: 0.5;
}

body {
    cursor: url('cursor.png'), default;
}

a, button, #copy-button {
    cursor: url('cursor-pointer.png'), pointer;
}

.now-playing {
    font-size: 13px;
    color: #dbe6ff;
    text-align: center;
}

#lastfm-widget {
    margin-top: 8px;
    text-align: center;
}

#lastfm-cover {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 1px solid #8faee0;
    box-shadow: 0 0 10px rgba(143, 174, 224, 0.4);
    margin-bottom: 6px;
    background-color: #0b0f1a;
}

#lastfm-text {
    font-size: 12px;
    color: #dbe6ff;
    line-height: 1.4;
    text-shadow: 0 0 4px rgba(143, 174 224, 0.4);
}

#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #dbe6ff;
    font-size: 10px;
    opacity: 0.7;
    user-select: none;
    animation-name: fall;
    animation-timing-function: linear;
}

@keyframes fall {
    0% {
        transform: translateY(0px);
    } 100% {
        transform: translateY(110vh);
    }
}

.player {
    text-align: center;
    margin-bottom: 1em;
}

.player-title {
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 1px;
    color: #8faee0;
    text-shadow: 0 0 6px rgba(143, 174, 224, 0.6);
}

.controls button {
    background: rgba(15, 25, 45, 0.8);
    border: 1px solid #8faee0;
    color: #dbe6ff;
    font-size: 14px;
    padding: 6px 12px;
    margin: 0 4px;
    box-shadow: 0 0 8px rgba(143, 174, 224, 0.3);
}

.controls button:hover {
    background: #1c2333;
}

.track-info {
    margin-top: 8px;
    font-size: 12px;
    color: #cfe1ff;
    line-height: 1.4;
    text-shadow: 0 0 4px rgba(143, 174, 224, 0.4);
}

.review {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #8faee0;
    background: rgba(5, 10, 15, 0.85);
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.review h3 {
    color: #8faee0;
    margin-bottom: 5px;
}

.review p {
    color: #dbe6ff;
    line-height: 1.5;
}

.review iframe {
    margin-top: 10px;
    border-radius: 8px;
}

.review-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.pagination {
    margin-top: 15px;
    text-align: center;
}

.pagination button {
    margin: 0 3px;
    background: rgba(15, 25, 45, 0.8);
    border: 1px solid #8faee0;
    color: #dbe6ff;
    padding: 5px 10px;
    border-radius: 4px;
}

.pagination button:hover {
    background: #1c2333;
}

.pagination button:disabled {
    background: #0b0f1a;
    color: #8faee0;
}

.site-button {
    transition: all 0.3s ease;
}

.site-button:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px #ffffff)
            drop-shadow(0 0 8px #ffccff)
            drop-shadow(0 0 12px #ff99ff)
}

.nav-box {
    background: #111;
    border: 2px solid #ffb6ff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 182, 255, 0.4);
}

.nav-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-size: 14px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 8px 0;
}

.nav-links a {
    display: block;
    text-decoration: none;
    color: white;
    background: #1a1a1a;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    background: #ffb6ff;
    color: black;
    transform: translateX(4px);
    box-shadow: 0 0 8px #ffb6ff;
}

.nav-links li:not(:last-child) {
    border-bottom: 1px dashed #444;
    padding-bottom: 6px;
}

.layout::-webkit-scrollbar {
    width: 10px;
}

.layout::-webkit-scrollbar-track {
    background: #0b0f1a;
    border-left: 1px solid #2a3a5f;
}

.layout::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #8faee0,
        #5f7fb8
    );
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(143, 174, 224, 0.6);
}

.layout::-webkit-scrollbar-thumb:hover {
    background: #dbe6ff;
}

.links-box {
    margin-top: 15px;
    padding: 14px;
    background: linear-gradient(
        180deg,
        rgba(20, 15, 35, 0.9),
        rgba(10, 10, 15, 0.9)
    );
    border: 1px solid #8faee0;
    border-radius: 12px;
    box-shadow: 
        0 0 12px rgba(143, 174, 224, 0.25),
        inset 0 0 10px rgba(143, 174, 224, 0.1);
}

.links-title {
    text-align: center;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #cfe1ff;
    text-shadow: 0 0 6px rgba(143, 174, 224, 0.6);
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    margin: 6px 0;
}

.links-list a {
    display: flex;
    padding: 6px 8px;
    text-decoration: none;
    color: #dbe6ff;
    background: rgba(15, 25, 45, 0.6);
    border: 1px solid #2a3a5f;
    border-radius: 6px;
    transition: all 0.25s ease;
    align-items: center;
    gap: 6px;
}

.links-list a:hover {
    background: #1c2333;
    color: #ffffff;
    transform: translateX(3px);
    box-shadow: 0 0 8px rgba(143, 174, 224, 0.5);
}

.link-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    image-rendering: pixelated;
    transition: all 0.2s ease;
}

.links-list a:hover .link-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 4px #8faee0)
            drop-shadow(0 0 8px #ffb6ff);
}

#topBtn {
    position: fixed;
    bottom: 15px;
    right: 25px;
    background: #1c2333;
    border: 1px solid #8faee0;
    color: #dbe6ff;
    padding: 6px 10px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(143, 174, 224, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#topBtn.visible {
    opacity: 1;
    pointer-events: auto;
}

#topBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(143, 174, 224, 0.6);
    background: #0b0f1a;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.welcome-box {
    background: rgba(15, 22, 40, 0.85);
    border: 1px solid #8faee0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(143, 174, 224, 0.2);
}

.music-genres {
    list-style: none;
    padding: 0;
    margin: 0;
}

.music-genres li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 28px;
    font-size: 14px;
    line-height: 1.6;
    color: #dbe6ff;
}

.music-genres li::before {
    content: "♪";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    color: #ff99ff;
}

.favorite-media {
    list-style: none;
    padding: 0;
}

.favorite-media li {
    padding-left: 25px;
    margin: 6px 0;
    position: relative;
}

.favorite-media li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: #ffb6ff;
    font-size: 17px;
    text-shadow: 0 0 6px #ffb6ff;
}

.updates-box {
    margin-top: 15px;
    padding: 12px;
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid #8faee0;
    border-radius: 10px;
    box-shadow: 
        0 0 12px rgba(143, 174, 224, 0.25),
        inset 0 0 8px rgba(143, 174, 224, 0.1);
}

.updates-title {
    text-align: center;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #cfe1ff;
    text-shadow: 0 0 6px rgba(143, 174, 224, 0.6);
}

.update-entry {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #3a4f7a;
}

.update-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.update-date {
    font-size: 12px;
    color: #8faee0;
    margin-bottom: 3px;
}

.update-text {
    font-size: 13px;
    color: #dbe6ff;
    line-height: 1.4;
}

.update-archive {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2 ease;
}

.update-archive:hover {
    opacity: 1;
    transform: translateX(3px);
    text-decoration: underline;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 25px;
}

.music-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
    background: #0a0a0f;
    border: 2px solid #ff9de6;
    border-radius: 12px;
    box-shadow: 
        0 0 6px #ff9de6,
        0 0 12px rgba(255,157, 230, 0.4);
    transition: all 0.25s ease;
    background: linear-gradient(
        280deg,
        rgba(255, 255, 255, 0.05),
        rgba(0, 0, 0, 0.2)
    );
}

.music-button:nth-child(even) {
    border-color: #8fdfff;
    box-shadow: 
        0 0 6px #8fdfff,
        0 0 12px rgba(143, 223, 255, 0.4);
}

.music-button:hover {
    transform: translateY(-0.4px) scale(1.02);
    box-shadow: 
        0 0 12px currentColor,
        0 0 25px currentColor;
    background: #12121a;
}

.helpful-links-box {
    background: rgba(10, 15, 30, 0.85);
    border: 1px solid #8faee0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
}

.helpful-links-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.helpful-links-box li {
    margin-bottom: 8px;
}

.helpful-links-box a {
    color: #8faee0;
    text-decoration: none;
}

.helpful-links-box a:hover {
    text-shadow: 0 0 5px #8faee0;
    color: #dbe6ff;
}

.scrolling-buttons-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #8faee0;
    border-radius: 12px;
    background-color: rgba(10, 15, 30, 0.85);
    padding: 0 10px;
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
}

.scrolling-buttons {
    display: flex;
    gap: 15px;
    position: relative;
    white-space: nowrap;
    will-change: transform;
}

.scrolling-buttons img {
    display: block;
    border: 1px solid #8faee0;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scrolling-buttons img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 8px #ffb6ff, 0 0 12px #8fdfff;
}

.actual-guestbook-box {
    background: rgba(10, 15, 30, 0.85);
    border: 1px solid #8faee0;
    border-radius: 10px;
    padding: 15px;
    margin-top: 5px;
    margin-bottom: 25px;
    box-shadow: 0 0 12px rgba(143, 174 224, 0.25);
}

.guestbook-box h2 {
    text-align: center;
    color: #cfe1ff;
    margin-bottom: 10px;
    text-shadow: 0 0 6px rgba(143, 174, 224, 0.6);
    letter-spacing: 2px;
}

.guestbook-box p {
    text-align: center;
    font-size: 11px;
}

#guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

#guestbook-form input, #guestbook-form textarea {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #8faee0;
    background: #0a0a0f;
    color: #dbe6ff;
    resize: vertical;
}

#guestbook-form button:hover {
    background: #0b0f1a;
    box-shadow: 0 0 8px #8faee0;
}

#guestbook-entries {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}

.guestbook-entry {
    padding: 8px;
    background: rgba(15, 22, 40, 0.7);
    border: 1px dashed #8faee0;
    border-radius: 6px;
}

.guestbook-entry .entry-name {
    font-weight: bold;
    color: #ffb6ff;
}

.guestbook-entry .entry-date {
    font-size: 12px;
    color: #8faee0;
}

#copy-button {
    padding: 8px;
}

.music-entry {
    background: rgba(12, 2, 35, 0.85);
    border: 1px solid #8faee0;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 18px;
    margin-top: 12px;
    box-shadow: 0 0 12px rgba(143, 174, 224, 0.15);
}

.music-entry::after {
    content: "";
    display: block;
    margin-top: 14px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(143, 174, 224, 0.5),
        transparent
    );
}

.entry-date {
    font-size: 12px;
    letter-spacing: 1px;
    color: #8faee0;
    opacity: 0.85;
    margin-bottom: 6px;
}

.entry-title {
    margin: 3px 0 12px 0;
    font-size: 20px;
    color: #dbe6ff;
    text-shadow: 0 0 6px rgba(143, 174, 224, 0.6);
    letter-spacing: 1px;
}

.entry-body {
    font-size: 14px;
    line-height: 1.6;
    color: #cfd9ff;
}

#reviews-pagination, #playlists-pagination, #highlights-pagination, #collection-pagination, #song-reviews-pagination, #my-music-pagination {
    margin-top: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#reviews-pagination button, #playlists-pagination button, #highlights-pagination button, #collection-pagination button, #song-reviews-pagination button, #my-music-pagination button {
    background: rgba(20, 28, 50, 0.9);
    border: 1px solid #8faee0;
    color: #cfd9ff;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

#reviews-pagination button:hover, #playlists-pagination button:hover, #highlights-pagination button:hover, #collection-pagination button:hover, #song-reviews-pagination button:hover, #my-music-pagination button:hover {
    background: #0b0f1a;
    box-shadow: 0 0 8px #8faee0;
}

.active-page {
    background: #8faee0 !important;
    color: #0a0f1a !important;
    font-weight: bold;
}

.journal-main {
    font-family: 'Indie Flower', cursive;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 20px;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
    z-index: 1;
}

.journal-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.journal-entry {
    background-image: url('paper-texture.png');
    background-repeat: repeat;
    background-size: auto;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #2c2c2c;
    text-shadow: 0.5px 0.5px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.journal-entry h2 {
    margin-top: 0;
}

.arrow {
    cursor: url('cursor-pointer.png'), pointer;
    height: 80px;
    width: auto;
    transition: transform 0.2s ease;
    display: flex;
    align-self: flex-start;
}

.arrow.inactive {
    cursor: url('cursor.png'), default;
}

.arrow:hover {
    transform: scale(1.2);
}

#lastfm-widget iframe {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-height: 20px;
    border: none;
    background: transparent;
    overflow: hidden;
    display: block;
}

.song-lyrics {
    font-style: italic;
    margin-left: 20px;
}

.nav-links img {
    transform: translateY(2px);
}