/* General Body Styles */
body {
    background-color: #FDF5E6;
    font-family: 'Poppins', sans-serif; /* Cleaner, rounded font */
    font-size: 18px;
    color: #795548; /* Richer brown for text */
    margin: 0;
    padding: 20px;
}

/* Main Container */
#container {
    position: relative;
    display: flex;
    width: 900px;
    margin: 0 auto;
    background-color: #FFFCF5;
    border: 8px solid #F5D76E;
    padding: 15px;
    box-shadow: 10px 10px 0px #F39C12;
    border-radius: 20px;
    min-height: 600px;
}

/* Links */
a {
    color: #E67E22;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #D35400;
}

/* --- Side Navigation Tabs --- */
#side-nav {
    position: absolute;
    left: -52px;
    top: 25px;
    width: 48px;
    z-index: 10;
}
#side-nav a {
    display: block;
    background-color: #FFFCF5;
    margin-bottom: 10px;
    padding: 20px 10px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    text-align: center;
    color: #BF360C;
    font-family: 'Righteous', cursive;
    font-size: 24px;
    text-decoration: none;
    border: 2px solid #F5D76E;
    border-left: none;
    box-shadow: 4px 0px 5px rgba(0,0,0,0.1);
}
#side-nav a:hover {
    background-color: #F9E79F;
    transform: rotate(180deg) translateX(-5px);
    transition: transform 0.2s, background-color 0.2s;
}

/* --- Logo Header --- */
.site-header {
    text-align: center;
    margin-bottom: 20px;
}
.site-logo {
    font-family: 'Righteous', cursive;
    font-size: 80px;
    color: #F39C12;
    text-shadow: 3px 3px 0 #4CAF50, 6px 6px 0 #E67E22;
    width: 900px;
    margin: auto;
}

/* Main Content Area */
#main-content {
    margin-left: 20px;
    flex-grow: 1;
}

  #snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Ensures the snowflakes do not interfere with other elements */
    z-index: 9999; /* Keeps snowflakes above other elements */
    overflow: hidden;
  }

  .snowflake {
    position: absolute;
    width: 20px; /* You can adjust the size of the snowflake here */
    height: 20px;
    background-image: url('https://applchu.art/wp-content/uploads/2024/11/ezgif-7-f2f35da51f.gif');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1; /* Base opacity for all snowflakes */
    animation: fall linear infinite; /* Basic fall animation */
	image-rendering: pixelated;
  }

  @keyframes fall {
    to {
      transform: translateY(100vh);
    }
  }

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
	transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Avatar Styling */
.avatar {
    width: 200px;
    height: 200px;
    float: left;
    margin-right: 20px;
    border-radius: 50%;
    object-fit: cover;
}

/* Intro Section */
#intro {
    background-color: #E8F5E9;
    padding: 20px;
    border: 2px solid #A5D6A7;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    align-items: center;
}
#intro h2 {
    margin-top: 0;
    font-family: 'Righteous', cursive;
    font-size: 26px;
    color: #2E7D32;
}

/* --- Social Links Section Styles --- */
#s-lnk {
    background-color: #FFCCBC;
    border: 2px solid #FF8A65;
    padding: 25px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 15px;
}
#s-lnk h3 {
    margin: 0 0 15px 0;
    font-family: 'Righteous', cursive;
    font-size: 24px;
    color: #BF360C;
}
.social-button {
    background-color: #FFF;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 3px 3px 0px #FF8A65;
    transition: all 0.1s ease-in-out;
    color: #BF360C;
    font-family: 'Righteous', cursive;
}
.social-button:hover {
    text-decoration: none;
    background-color: #FBE9E7;
    box-shadow: 1px 1px 0px #FF8A65;
    transform: translate(2px, 2px);
}

.site-logo img {
    max-width: 100%;
    height: auto; /* This maintains the aspect ratio */
}

/* Main Content Columns */
#content-columns {
    display: flex;
}
#left-column {
    width: 200px;
    flex-shrink: 0;
    display: flex;
}
#main-post-area {
    position: relative;
    flex-grow: 1;
    display: flex;
    background-color: #F1F8E9;
    border-top: 2px solid #C5E1A5;
    border-right: 2px solid #C5E1A5;
    border-bottom: 2px solid #C5E1A5;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Main Blog Post Styling */
.post-date {
    position: absolute;
    top: -10px;
    left: -15px;
    background-color: #F39C12;
    padding: 10px 15px;
    text-align: center;
    color: #fff;
    font-weight: 100;
    width: auto;
    border-radius: 5px;
    z-index: 5;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    font-family: 'Righteous', cursive;
}
.post-date::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    width: 12px;
    height: 12px;
    background: #FFFCF5;
    border: 2px solid #F39C12;
    border-radius: 50%;
    transform: translateY(-50%);
}
.post-content {
    padding: 15px;
    width: 100%;
    padding-left: 60px;
}
.post-content h2 {
    font-family: 'Righteous', cursive;
    color: #33691E;
    margin-bottom: 10px;
}

/* Widget Box Styling */
.widget-box {
    margin-bottom: 20px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
}
.widget-box h3 {
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 2px dotted #ccc;
    font-size: 20px;
    font-family: 'Righteous', cursive;
}

/* --- RECENT POSTS --- */
.recent-posts {
    background-color: #FFCCBC;
    border-color: #FF8A65;
    border-top: 2px solid #FF8A65;
    border-left: 2px solid #FF8A65;
    border-bottom: 2px solid #FF8A65;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    flex-grow: 1;
    margin-bottom: 0;
}


/* --- Skeuomorphic Post-it Notes --- */
.recent-notes {
    background-color: #C19A6B;
    border: 4px solid #8D6E63;
    border-radius: 10px;
    padding: 20px 15px;
}
.recent-notes h3 {
    color: #fff;
    text-shadow: 1px 1px 2px #5D4037;
    border-bottom-color: #A1887F;
}
.notes-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 10px;
    height: 160px;
}
.post-it-note {
    padding: 10px;
    font-family: 'Caveat', cursive;
    font-size: 11px;
    color: #333;
    background: #ffffa0;
    box-shadow: 5px 5px 7px rgba(33,33,33,.7);
    transition: transform 0.2s ease-in-out, font-size 0.2s ease-in-out;
}
.notes-grid .post-it-note {
    width: 30%;
    min-height: 120px;
    height: auto;
}
.notes-grid .post-it-note:nth-child(1) { transform: rotate(-3deg); }
.notes-grid .post-it-note:nth-child(2) { transform: rotate(2deg); background: #a0ffa0; }
.notes-grid .post-it-note:nth-child(3) { transform: rotate(4deg); background: #a0a0ff; }
.post-it-note:hover {
    transform: scale(1.25);
    font-size: 16px;
    z-index: 5;
}

/* --- Footer Widgets --- */
#footer-widgets {
    display: flex;
    margin-top: 20px;
}
#footer-widgets .widget-box {
    flex: 1;
    margin-bottom: 0;
}
#footer-widgets .recent-notes {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
#footer-widgets .recent-tracks {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-right: 20px;
    font-size: 14px;
}

/* --- Pomme Says Section --- */
#pomme-says {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #FFCCBC;
    border: 2px solid #FF8A65;
    padding: 20px;
    margin-top: 20px;
    border-radius: 15px;
}
.pomme-character {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 50%;
}
.quote-bubble {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #FF8A65;
    flex-grow: 1;
}
.quote-bubble::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 30px;
    border: 10px solid transparent;
    border-right-color: #FF8A65;
}
.quote-bubble p {
    margin: 0;
    font-size: 20px;
    font-style: italic;
}
.quote-author {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-weight: bold;
    font-family: 'Righteous', cursive;
    color: #BF360C;
}

/* Other minor elements */
.add-your-button, .hop-to-top a {
    font-family: 'Righteous', cursive;
}
.add-your-button {
    display: block;
    text-align: center;
    margin-top: 10px;
    background-color: #F9E79F;
    padding: 5px;
    border: 2px solid #F5D76E;
    font-weight: bold;
    color: #E67E22;
    border-radius: 10px;
}

.widget-box.affiliate-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    background: #fbe6e6;
    background-image: radial-gradient(#cbcbcb 1px, transparent 1px);
    background-size: 15px 15px;
}

.affiliate-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.css-placeholder.affiliate-button {
    display: inline-block;
    width: 88px;
    height: 31px;
    margin: 2px;
    background-color: #F9E79F;
    border: 2px solid #F5D76E;
    border-radius: 5px;
}
.post-meta span {
    margin-right: 15px;
}
.meta-category::before {
    content: '☆'; 
    margin-right: 5px;
}
.meta-comments::before {
    content: '💬';
    margin-right: 5px;
}
.post-body ul {
    list-style: none;
    padding-left: 0;
}
.post-body li {
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}
.post-body li::before {
    content: '🌼';
    position: absolute;
    left: 0;
    top: -2px;
}
.widget-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.widget-box ul li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}
.recent-posts li::before { content: '📄'; position: absolute; left: 0; top: 0; }
.recent-tracks li::before { content: '🎵'; position: absolute; left: 0; top: 0; }
.hop-to-top {
    text-align: center;
    margin-top: 20px;
}

/* --- Custom Carousel Gallery Section --- */
#gallery {
    background-color: #E8F5E9;
    border: 2px solid #A5D6A7;
    padding: 20px;
    margin-top: 20px;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 15px;
}
#gallery h3 {
    margin: 0 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 2px dotted #ccc;
    font-size: 24px;
    font-family: 'Righteous', cursive;
    text-align: center;
    color: #2E7D32;
}

/* Main Slider */
.gallery-main-view {
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    position: relative; /* Anchor for buttons */
}
.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}
.gallery-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}
.gallery-slide-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
}
.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Buttons */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 252, 245, 0.7);
    border: none;
    color: #BF360C;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    z-index: 15;
    transition: background-color 0.2s;
}
.gallery-btn:hover { background: rgba(255, 252, 245, 1); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

/* Slide Content Overlay */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
    text-align: left;
    z-index: 12;
}
.slide-content h4 {
    font-family: 'Righteous', cursive;
    margin: 0 0 5px 0;
    font-size: 20px;
}
.slide-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

/* --- Thumbnail Navigation --- */
.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.thumb-item {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-item.active {
    opacity: 1;
    border-color: #F39C12;
}


/* --- LATEST MEDIA & DISCOGRAPHY --- */
#latest-media {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.media-widget {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 15px;
}

.media-widget h3 {
    margin: 0 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 2px dotted #ccc;
    font-size: 24px;
    font-family: 'Righteous', cursive;
    text-align: center;
}

/* YouTube Widget */
.youtube-widget {
    background-color: #E8F5E9;
    border-color: #A5D6A7;
}
.youtube-widget h3 {
    color: #2E7D32;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 10px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Discography Widget */
.discography-widget {
    background-color: #F9E79F;
    border-color: #F5D76E;
}
.discography-widget h3 {
    color: #E67E22;
}
.discography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    justify-items: center;
}
.album-item {
    text-align: center;
    text-decoration: none;
    color: #8D6E63;
    font-weight: bold;
    transition: transform 0.2s;
}
.album-item:hover {
    transform: scale(1.05);
}
.album-cover-placeholder {
    width: 120px;
    height: 120px;
    border: 3px dotted #F5D76E;
    margin-bottom: 5px;
    border-radius: 10px;
    object-fit: cover;
}
.album-title {
    display: block;
    font-size: 16px;
}

/* --- Single Post Page Styles --- */
#main-post-area.single-post {
    display: block;
    border-radius: 0 10px 10px 0;
}

.single-post .post-content {
    width: auto;
    padding: 15px;
}

.post-separator {
    border: none;
    border-top: 2px dashed #F5D76E;
    margin: 20px 0;
}

.comments-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #F9E79F;
}

/* --- Site Footer --- */
.site-footer {
    text-align: center;
    margin-top: 30px;
    font-family: 'Josefin Sans', sans-serif;
    color: #a08a7e;
    font-size: 14px;
}
.site-footer p {
    margin: 5px 0;
}

/* --- Music Player Page Styles --- */
.music-player-container {
    background-color: #F1F8E9;
    border: 2px solid #C5E1A5;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 20px auto;
}
.track-title {
    font-family: 'Righteous', cursive;
    color: #33691E;
    font-size: 32px;
    margin-bottom: 20px;
}
.cd-player {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 0 15px rgba(0,0,0,0.3);
    margin-bottom: 30px;
    position: relative;
}
.cd-player::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: #f1f8e9;
    align-self: center;
    border-radius: 50%;
    border: 2px solid #ccc;
    z-index: 2;
}
.cd-cover {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    animation: spin 10s linear infinite;
    animation-play-state: paused;
}
.cd-player::after {
    content: " ";
    background: url('img/cd_overlay.svg');
    width: 100%;
    height: 100%;
    background-size: contain;
    position: absolute;
    filter: opacity(0.4);
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.player-controls {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #FFCCBC;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #FF8A65;
}
.control-button {
    font-family: 'Righteous', cursive;
    background-color: #fff;
    border: 2px solid #FF8A65;
    color: #BF360C;
    padding: 8px 15px;
    cursor: pointer;
}
.timeline-container {
    flex-grow: 1;
    background: #FBE9E7;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #FF8A65;
}
.timeline {
    background: #FFCCBC;
    height: 10px;
    border-radius: 5px;
    cursor: pointer;
}
.progress-bar {
    background: #BF360C;
    width: 0%;
    height: 100%;
    border-radius: 5px;
}
.time-display {
    font-family: 'VT323', monospace;
    font-size: 16px;
    white-space: nowrap;
}
.volume-container {
    display: flex;
    align-items: center;
    gap: 5px;
}
.volume-slider {
    -webkit-appearance: none;
    width: 80px;
    height: 8px;
    background: #FBE9E7;
    outline: none;
    border: 1px solid #FF8A65;
    border-radius: 4px;
}
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #BF360C;
    cursor: pointer;
    border-radius: 50%;
}

/* --- Single Track Page Layout --- */
#main-content.single-track-page {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.single-track-page .left-panel {
    flex: 2;
}
.single-track-page .right-panel {
    flex: 1;
    position: sticky;
    top: 20px;
}

/* Comments Widget */
.comments-widget {
    background-color: #F9E79F;
    border: 2px solid #F5D76E;
    border-radius: 15px;
    padding: 20px;
}
.comments-widget h3 {
    font-family: 'Righteous', cursive;
    color: #E67E22;
    text-align: center;
    margin: 0 0 15px 0;
    border-bottom: 2px dotted #F5D76E;
    padding-bottom: 5px;
    font-size: 24px;
}
.comments-widget p {
    text-align: center;
    font-style: italic;
    color: #a08a7e;
}

/* --- Reaction Meter Styles --- */
.reaction-widget {
    width: 100%;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #F5D76E;
}
.track-meta {
    margin-bottom: 20px;
}
.meter-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.reaction-btn {
    background: none;
    border: 2px dotted #FF8A65;
    color: #BF360C;
    cursor: pointer;
    padding: 5px 4px;
    font-size: 12px;
    min-width: 80px;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.2s;
}
.reaction-btn:hover {
    background-color: #FBE9E7;
}
.meter-track {
    position: relative;
    width: 100%;
    height: 10px;
    border: 2px solid #FF8A65;
    background: #FFCCBC;
    border-radius: 5px;
    transition: background 0.3s ease-out;
}
.meter-divider {
    position: absolute;
    top: -4px;
    bottom: -4px;
    width: 4px;
    background-color: #fff;
    border-left: 1px solid #FF8A65;
    border-right: 1px solid #FF8A65;
    transform: translateX(-50%);
    transition: left 0.3s ease-out;
}
.counts-text {
    text-align: center;
    font-size: 14px;
    color: #a08a7e;
    margin-top: 8px;
    font-family: 'Righteous', cursive;
}

/* --- Lyrics Section Styles --- */
.lyrics-section {
    width: 100%;
    max-height: 600px;
    overflow: auto;
    margin-top: 30px;
    background-color: #FFF;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #C5E1A5;
}
.lyrics-section h3 {
    font-family: 'Righteous', cursive;
    color: #33691E;
    text-align: center;
    margin: 0 0 15px 0;
}
.lyrics-content {
    text-align: center;
    line-height: 2.5;
}

/* --- Comments Widget & Form --- */
.comments-widget h3 {
    margin-bottom: 20px;
}
.comment-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}
.comment-item {
    background-color: #FFFCF5;
    border: 2px solid #F9E79F;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px dashed #F5D76E;
}
.comment-name {
    font-family: 'Righteous', cursive;
    color: #E67E22;
    font-weight: 100;
}
.comment-flag {
    width: 24px;
    height: auto;
}
.comment-date {
    margin-left: auto;
    font-size: 12px;
    color: #a08a7e;
}
.comment-body {
    line-height: 1.5;
    font-size: 14px;
}
.comment-form h4 {
    font-family: 'Righteous', cursive;
    color: #E67E22;
    margin-bottom: 10px;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 8px;
    border: 2px solid #F5D76E;
    border-radius: 5px;
    margin-bottom: 10px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    background-color: #FFFCF5;
    box-sizing: border-box;
}
.comment-form textarea {
    height: 80px;
    resize: vertical;
}
.comment-form button {
    font-family: 'Righteous', cursive;
    background-color: #fff;
    border: 2px solid #FF8A65;
    color: #BF360C;
    padding: 8px 15px;
    cursor: pointer;
}
#comment-message {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}
/* --- About Page Styles --- */
.about-page-container {
    background-color: #F1F8E9;
    border: 2px solid #C5E1A5;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}
.about-avatar {
    width: 400px;
    height: 400px;
    object-fit: contain;
}
.about-page-container h2 {
    font-family: 'Righteous', cursive;
    color: #33691E;
    font-size: 32px;
    margin-bottom: 20px;
}
.about-text {
    text-align: left;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 20px auto;
}
.favorites-section {
    margin-top: 20px;
}
.favorites-section h3 {
    font-family: 'Righteous', cursive;
    color: #E67E22;
}
.favorites-section.dislikes h3 {
    color: #BF360C;
}
.favorites-section ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}
.favorites-section ul li {
    display: inline-block;
    background-color: #FFFCF5;
    border: 2px dashed #F5D76E;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 5px;
}

/* --- Contact Page Styles --- */
.contact-container {
    background-color: #F1F8E9;
    border: 2px solid #C5E1A5;
    border-radius: 15px;
    padding: 30px;
    max-width: 700px;
    margin: 20px auto;
}
.contact-container h2 {
    font-family: 'Righteous', cursive;
    color: #33691E;
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
}
.contact-container p {
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Righteous', cursive;
    color: #E67E22;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #F5D76E;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #FEFDFB;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
}
.contact-form textarea {
    height: 150px;
    resize: vertical;
}
.contact-form button {
    font-family: 'Righteous', cursive;
    background-color: #FFCCBC;
    color: #BF360C;
    padding: 10px 20px;
    border: 2px solid #FF8A65;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 3px 3px 0px #FF8A65;
    transition: all 0.1s ease-in-out;
}
.contact-form button:hover {
    background-color: #FBE9E7;
    box-shadow: 1px 1px 0px #FF8A65;
    transform: translate(2px, 2px);
}
#form-message {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}
/* Honeypot field - hide it from users */
.honeypot-field {
    display: none;
}

/* --- Contact Form Captcha --- */
.captcha-group {
    background-color: #F9E79F;
    border: 2px dashed #F5D76E;
    padding: 10px;
    border-radius: 5px;
}
.captcha-group label {
    color: #8D6E63;
}
.captcha-group input {
    width: 80px; /* Make the input smaller */
}

/* --- Contact Form Disabled/Cooldown State --- */
.contact-form.disabled {
    opacity: 0.6;
    pointer-events: none; /* Prevents any interaction with the form */
}
.contact-form.disabled input,
.contact-form.disabled textarea,
.contact-form.disabled button {
    background-color: #e9e9e9 !important; /* Visually grey out the fields */
    cursor: not-allowed;
}
#form-message.cooldown-message {
    color: #BF360C;
    font-weight: bold;
    margin-top: 15px;
}

  #snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Ensures the snowflakes do not interfere with other elements */
    z-index: 9999; /* Keeps snowflakes above other elements */
    overflow: hidden;
  }

  .snowflake {
    position: absolute;
    width: 20px; /* You can adjust the size of the snowflake here */
    height: 20px;
    background-image: url('https://applchu.art/wp-content/uploads/2024/11/ezgif-7-f2f35da51f.gif');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1; /* Base opacity for all snowflakes */
    animation: fall linear infinite; /* Basic fall animation */
	image-rendering: pixelated;
  }

/* --- MOBILE RESPONSIVE STYLES --- */
@media (max-width: 950px) {
    body {
        padding: 10px 5px;
    }
    .site-header, .site-logo, #container {
        width: 100%;
        box-sizing: border-box;
    }
    .site-header {
        margin-bottom: 8px;
    }
    #container {
        flex-direction: column;
        padding: 10px;
        min-height: 0;
    }
    #side-nav {
        position: static;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    #side-nav a {
        writing-mode: initial;
        transform: none;
        padding: 8px 15px;
        border-radius: 8px;
        border: 2px solid #F5D76E;
        box-shadow: 2px 2px 0px #F39C12;
    }
     #side-nav a:hover {
        transform: none;
        background-color: #F9E79F;
    }
    #main-content {
        margin-left: 0;
    }
    .site-logo {
        font-size: 40px;
    }
    .site-logo img {
        width: 100%;
    }
    .about-avatar {
        width: 100%;
    }
    #intro {
        flex-direction: column;
        text-align: center;
    }
    .avatar {
        float: none;
        margin: 0 auto 15px auto;
        width: 150px;
        height: 150px;
    }
    #content-columns, #footer-widgets, #latest-media, #pomme-says {
        flex-direction: column;
        align-items: center;
    }
    #footer-widgets {
        gap: 10px;
    }
    #left-column {
        width: 100%;
    }
    #main-post-area {
        border-radius: 10px;
        border-left: 2px solid #C5E1A5;
    }
    .recent-posts {
        border-radius: 10px;
        border-right: 4px solid #8D6E63;
    }
    .widget-box.affiliate-buttons {
        justify-content: center;
        gap: 10px;
    }
    #footer-widgets .recent-notes, #footer-widgets .recent-tracks {
        border-radius: 10px;
        border: 4px solid #8D6E63;
        margin-right: 0;
    }
    .social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .music-player-container {
        padding: 15px;
    }
    .cd-player {
        width: 200px;
        height: 200px;
    }
    .player-controls {
        flex-wrap: wrap;
        justify-content: center;
        width: 95%;
    }
    .timeline-container {
        flex-basis: 100%;
        order: 1;
    }
    .volume-container {
        order: 2;
    }
    .time-display {
        order: 3;
    }
    .control-button {
        order: 4;
    }
    #main-content.single-track-page {
        flex-direction: column;
    }
    .single-track-page .right-panel {
        position: static;
        margin-top: 20px;
    }
}