* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* Block text highlighting and element grabbing */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

/* Specific drag blocking for images to be extra safe */
img {
    -webkit-user-drag: none;
}

html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
}

section:not(.in-view) *:not(.flower):not(.s4-bl-flower):not(.s4-br-flower):not(.butterfly-container):not(.butterfly):not(.wing):not(.butterfly-body) {
    animation: none !important;
    opacity: 0 !important;
}

section.fade-out *:not(.flower):not(.s4-bl-flower):not(.s4-br-flower):not(.butterfly-container):not(.butterfly):not(.wing):not(.butterfly-body) {
    opacity: 0 !important;
    transition: opacity 0.5s ease-out !important;
}

.hero {
    width: 100%;
    height: 100vh;
    background-image: url('assets/hero_background_cube.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 4;
}

/* Animations */
@keyframes popIn {
    0% { transform: scale(0.8) rotate(var(--scroll-rot, 0deg)); opacity: 0; }
    100% { transform: scale(1) rotate(var(--scroll-rot, 0deg)); opacity: 1; }
}

@keyframes slideDown {
    0% { transform: translate(-50%, -50px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes slideLeftIn {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideRightIn {
    0% { transform: translateX(100px) scaleX(-1); opacity: 0; }
    100% { transform: translateX(0) scaleX(-1); opacity: 1; }
}

@keyframes slideUpLeft {
    0% { transform: translate(-100px, 100px) rotate(var(--scroll-rot, 0deg)); opacity: 0; }
    100% { transform: translate(0, 0) rotate(var(--scroll-rot, 0deg)); opacity: 1; }
}

@keyframes slideUpRight {
    0% { transform: translate(100px, 100px) rotate(var(--scroll-rot, 0deg)); opacity: 0; }
    100% { transform: translate(0, 0) rotate(var(--scroll-rot, 0deg)); opacity: 1; }
}

@keyframes slideUpContent {
    0% { transform: translateY(50px) rotate(var(--scroll-rot, 0deg)); opacity: 0; }
    100% { transform: translateY(0) rotate(var(--scroll-rot, 0deg)); opacity: 1; }
}

@keyframes smoothFadeInScale {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.white-patch {
    background-image: url('assets/white_background_patch.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 85%;
    max-width: 1200px;
    height: 80%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    /* Gentle, smooth fade in, slightly faster */
    animation: smoothFadeInScale 0.8s ease-out forwards;
    /* Smooth fade out when scrolling away, slightly faster */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.rainbow {
    position: absolute;
    width: 150px;
    top: 20px;
}

.left-rainbow {
    left: 20px;
    opacity: 0;
    animation: slideLeftIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards;
}

.right-rainbow {
    right: 20px;
    transform: scaleX(-1);
    opacity: 0;
    animation: slideRightIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards;
}

.bow {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    opacity: 0;
    animation: slideDown 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.8s forwards;
}

.squiggle {
    position: absolute;
    top: 40%;
    opacity: 0;
}

.left-squiggle {
    left: -20px;
    animation: slideLeftIn 0.8s ease-out 1s forwards;
}

.right-squiggle {
    right: -20px;
    animation: slideRightIn 0.8s ease-out 1s forwards;
}
.right-squiggle {
    /* override slideRightIn to avoid scaleX(-1) flipping */
    animation: slideLeftIn 0.8s ease-out 1s forwards;
    animation-name: slideRightInNoFlip;
}

@keyframes slideRightInNoFlip {
    0% { transform: translateX(100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}


.content {
    text-align: center;
    z-index: 3;
    opacity: 0;
    animation: slideUpContent 0.8s ease-out 0.3s forwards;
}

.content h1 {
    font-family: 'Chewy', cursive;
    font-size: 7rem;
    color: #8c624c;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px rgba(140, 98, 76, 0.2);
}

.content p {
    font-size: 2rem;
    color: #8c624c;
    font-weight: 600;
}

.flower {
    position: absolute;
    width: 250px;
    z-index: 4;
}

.left-flower {
    bottom: -50px;
    left: -50px;
    opacity: 0;
    animation: slideUpLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
}

.right-flower {
    bottom: -50px;
    right: -50px;
    opacity: 0;
    animation: slideUpRight 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .content h1 {
        font-size: 3rem;
    }
    .content p {
        font-size: 1.2rem;
    }
    .rainbow {
        width: 100px;
    }
    .bow {
        width: 60px;
    }
    .flower {
        width: 150px;
    }
}

/* Section 2 Styles */
.section-2 {
    width: 100%;
    height: 100vh;
    background-image: url('assets/hero_background_cube.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.s2-tl-rainbow {
    left: 20px;
    top: 20px;
}

.s2-tr-rainbow {
    right: 30px;
    top: 30px;
    z-index: 3;
    transform: scaleX(-1); /* mirror it like in the hero section */
}

.s2-tr-flower {
    right: -20px;
    top: -20px;
    width: 250px;
    position: absolute;
    z-index: 4;
}

.s2-br-rainbow {
    right: 20px;
    bottom: 20px;
}

.s2-bl-flower {
    bottom: -50px;
    left: -50px;
    z-index: 4;
}

.s2-left-squiggle {
    left: 10%;
    top: 40%;
}

.s2-right-squiggle {
    right: 5%;
    bottom: 30%;
    top: auto;
}

.s2-text-content {
    position: absolute;
    top: 15%;
    right: 15%;
    width: 45%;
    text-align: right;
    z-index: 3;
}

.s2-text-content p {
    font-size: 1.5rem;
    color: #8c624c;
    font-weight: 600;
    line-height: 1.5;
}

.s2-title {
    position: absolute;
    bottom: 15%;
    left: 15%;
    font-family: 'Chewy', cursive;
    font-size: 7rem;
    color: #8c624c;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(140, 98, 76, 0.2);
    z-index: 3;
}

/* Animations for Section 2 (using scroll-triggered or just same on load if it's a simple page) 
   Assuming they load instantly for now or rely on scroll later. Let's add simple animations. */

.s2-tl-rainbow { animation: slideLeftIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both; }
.s2-tr-rainbow { animation: slideRightIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both; }
.s2-tr-flower { animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s both; }
.s2-br-rainbow { animation: slideRightIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s both; }
.s2-bl-flower { animation: slideUpLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.8s both; }

.s2-left-squiggle { animation: popIn 0.8s ease-out 1s both; }
.s2-right-squiggle { animation: popIn 0.8s ease-out 1.2s both; }

.s2-text-content { animation: slideLeftIn 1s ease-out 0.5s both; animation-name: slideRightInNoFlip; }
.s2-title { animation: slideLeftIn 1s ease-out 0.7s both; }

@media (max-width: 768px) {
    .s2-title { font-size: 4rem; }
    .s2-text-content p { font-size: 1rem; }
    .s2-text-content { top: 10%; width: 70%; right: 10%; }
    .s2-tr-flower { width: 150px; }
}

/* Section 3 Styles */
.section-3, .section-4 {
    width: 100%;
    height: 100vh;
    background-image: url('assets/hero_background_cube.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.section-3 {
    z-index: 2;
}

.section-4 {
    z-index: 1;
}

.s3-tl-bow { left: 5%; top: 5%; transform: rotate(-20deg); }
.s3-tr-bow { left: auto; right: 5%; top: 5%; transform: rotate(20deg); }

.s3-left-squiggle { left: 3%; top: 40%; }
.s3-right-squiggle { right: 3%; top: 40%; }

.s3-title {
    position: absolute;
    top: 15%;
    font-family: 'Chewy', cursive;
    font-size: 7rem;
    color: #8c624c;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(140, 98, 76, 0.2);
    z-index: 3;
}

.s3-columns {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 80%;
    margin-top: 10%;
    z-index: 3;
}

.col {
    flex: 1;
    color: #8c624c;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: justify;
}

.s3-bl-flower { bottom: -50px; left: -50px; z-index: 4; width: 300px; }
.s3-br-flower { bottom: -50px; right: -50px; z-index: 4; width: 300px; }

/* Section 4 Styles */
.s4-tl-rainbow { left: 5%; top: 5%; transform: scale(0.8); }
.s4-tr-rainbow { right: 5%; top: 10%; transform: scale(1.5) scaleX(-1); }

.s4-title {
    position: absolute;
    top: 25%;
    left: 10%;
    font-family: 'Chewy', cursive;
    font-size: 6rem;
    color: #8c624c;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(140, 98, 76, 0.2);
    z-index: 3;
}

.s4-text-content {
    position: absolute;
    top: 50%;
    left: 35%;
    width: 55%;
    text-align: right;
    z-index: 3;
}

.s4-text-content p {
    font-size: 1.4rem;
    color: #8c624c;
    font-weight: 600;
    line-height: 1.6;
}

/* Simulate sky blue/mint green items using CSS filters */
.s4-light-item {
    position: absolute;
    /* Light brown / pastel orange filter */
    filter: brightness(0) saturate(100%) invert(86%) sepia(21%) saturate(934%) hue-rotate(334deg) brightness(98%) contrast(92%);
    z-index: 3;
}

.s4-bl-bow { bottom: 15%; left: 5%; width: 120px; transform: rotate(-15deg); }
.s4-bl-flower { bottom: 10%; left: 18%; width: 100px; }

.s4-br-flower { bottom: 5%; right: 25%; width: 120px; }
.s4-br-bow { bottom: 5%; right: 10%; width: 150px; transform: rotate(15deg); }

/* Animations for Section 3 and 4 */
.s3-title { animation: popIn 0.8s ease-out both; }
.s3-columns .col { animation: slideUpContent 0.8s ease-out 0.5s both; }
.s3-tl-bow, .s3-tr-bow { animation: slideDown 0.8s ease-out 0.3s both; }
.s3-left-squiggle, .s3-right-squiggle { animation: popIn 0.8s ease-out 0.8s both; }
.s3-bl-flower { animation: slideUpLeft 0.8s ease-out 0.6s both; }
.s3-br-flower { animation: slideUpRight 0.8s ease-out 0.6s both; }

.s4-title { animation: slideLeftIn 1s ease-out both; }
.s4-text-content { animation: slideRightInNoFlip 1s ease-out 0.5s both; }
.s4-tl-rainbow, .s4-tr-rainbow { animation: popIn 1s ease-out 0.8s both; }
.s4-light-item { animation: slideUpContent 1s ease-out 1s both; }

/* Global Mobile Responsiveness Update */
@media (max-width: 768px) {
    /* General Container Adjustments */
    .white-patch {
        width: 95%;
        height: 90%;
        max-height: 90vh;
    }

    /* Section 1 adjustments */
    .content h1 { font-size: 3.5rem; letter-spacing: 2px; }
    .content p { font-size: 1.2rem; }
    .rainbow { width: 80px; top: 10px; }
    .bow { width: 60px; top: 15px; }
    .flower { width: 120px; }
    .left-flower { left: -10px; bottom: -10px; }
    .right-flower { right: -10px; bottom: -10px; }
    
    /* Section 2 adjustments */
    .s2-title { font-size: 3.5rem; top: 12%; bottom: auto; left: 0; width: 100%; text-align: center; }
    .s2-text-content { top: 32%; right: auto; left: 5%; width: 90%; text-align: center; }
    .s2-text-content p { font-size: 1rem; }
    .s2-tr-flower { width: 120px; top: -10px; right: -10px; }
    .s2-bl-flower { width: 120px; left: -10px; bottom: -10px; }
    
    /* Section 3 adjustments */
    .s3-title { font-size: 3.5rem; top: 8%; }
    .s3-columns {
        flex-direction: column;
        gap: 15px;
        margin-top: 35%;
        width: 90%;
    }
    .col { font-size: 0.95rem; text-align: left; }
    .s3-tl-bow, .s3-tr-bow { width: 60px; top: 5%; }
    .s3-bl-flower, .s3-br-flower { width: 120px; bottom: -10px; }
    .s3-bl-flower { left: -10px; }
    .s3-br-flower { right: -10px; }

    /* Section 4 adjustments */
    .s4-title { font-size: 3.5rem; top: 15%; left: 0; width: 100%; text-align: center; }
    .s4-text-content { top: 35%; left: 5%; width: 90%; text-align: center; }
    .s4-text-content p { font-size: 1rem; }
    .s4-tl-rainbow { transform: scale(0.6); top: 5%; left: 0; }
    .s4-tr-rainbow { transform: scale(0.8) scaleX(-1); top: 5%; right: 0; }
    
    .s4-bl-bow, .s4-br-bow { width: 70px; }
    .s4-bl-flower, .s4-br-flower { width: 60px; }
    .s4-bl-bow { bottom: 5%; left: 5%; }
    .s4-br-bow { bottom: 5%; right: 5%; }
    .s4-bl-flower { bottom: 2%; left: 25%; }
    .s4-br-flower { bottom: 2%; right: 25%; }
    
    /* Squiggles - hide on very small screens to prevent clutter */
    .squiggle { display: none; }
}

/* --- Hamburger Menu Styles --- */
.hamburger-container {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 1000;
    cursor: pointer;
}

.hamburger {
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease;
}

.hamburger span {
    display: block;
    height: 6px;
    width: 100%;
    background-color: #8c624c;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hamburger Open State (X) */
.hamburger.open span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
    background-color: #f5e6d3;
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
    background-color: #f5e6d3;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(140, 98, 76, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.menu-overlay ul {
    list-style: none;
    text-align: center;
    padding: 0;
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-overlay.open ul {
    transform: scale(1);
}

.menu-overlay li {
    margin: 25px 0;
}

.menu-overlay a {
    text-decoration: none;
    font-family: 'Chewy', cursive;
    font-size: 4rem;
    color: #f5e6d3;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.menu-overlay a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15%;
    width: 130%;
    height: 80%;
    transform-origin: left center;
    transform: translateY(-50%) scaleX(0);
    background-color: rgba(210, 167, 131, 0.7);
    background-image: 
      linear-gradient(rgba(245, 230, 211, 0.4) 2px, transparent 2px),
      linear-gradient(90deg, rgba(245, 230, 211, 0.4) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: -1;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    clip-path: polygon(0% 0%, 100% 0%, 94% 10%, 100% 20%, 94% 30%, 100% 40%, 96% 50%, 100% 60%, 95% 70%, 100% 80%, 95% 90%, 100% 100%, 0% 100%, 3% 90%, 0% 80%, 2% 70%, 0% 60%, 6% 50%, 0% 40%, 2% 30%, 0% 20%, 6% 10%, 0% 0%);
}

.menu-overlay a:hover::before {
    transform: translateY(-50%) scaleX(1) rotate(2deg); /* Counter-rotate against the text's -5deg rotation for dynamic feel */
}

.menu-overlay a:hover {
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
}

@media (max-width: 768px) {
    .hamburger-container { top: 20px; right: 20px; }
    .menu-overlay ul { padding: 40px 50px; }
    .menu-overlay a { font-size: 3rem; }
}

/* --- Menu Overlay Cute Elements --- */
.menu-deco {
    position: absolute;
    opacity: 0;
    filter: brightness(0) saturate(100%) invert(86%) sepia(21%) saturate(934%) hue-rotate(334deg) brightness(98%) contrast(92%);
    transform: scale(0.5);
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}
.menu-overlay.open .menu-deco {
    opacity: 0.9;
}
.menu-bow-tl { top: 15%; left: 15%; width: 100px; }
.menu-overlay.open .menu-bow-tl { transform: scale(1) rotate(-20deg); }

.menu-flower-tr { top: 20%; right: 15%; width: 120px; }
.menu-overlay.open .menu-flower-tr { transform: scale(1) rotate(15deg); }

.menu-rainbow-bl { bottom: 20%; left: 15%; width: 150px; }
.menu-overlay.open .menu-rainbow-bl { transform: scale(1) rotate(-10deg); }

.menu-flower-br { bottom: 15%; right: 15%; width: 130px; }
.menu-overlay.open .menu-flower-br { transform: scale(1) rotate(-15deg); }

@media (max-width: 768px) {
    .menu-bow-tl { top: 5%; left: 5%; width: 70px; }
    .menu-flower-tr { top: 8%; right: 5%; width: 80px; }
    .menu-rainbow-bl { bottom: 10%; left: 5%; width: 100px; }
    .menu-flower-br { bottom: 5%; right: 5%; width: 90px; }
}

/* --- Music Toggle Icon & Custom Box --- */
.music-toggle {
    position: fixed;
    top: 20px;
    left: 40px;
    width: 44px;
    height: 44px;
    z-index: 1000;
    background-color: #f5e6d3;
    border: 3px solid #8c624c;
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 0px rgba(140, 98, 76, 0.4);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.music-toggle:hover {
    transform: scale(1.05);
}

.music-icon-btn {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.music-icon-btn:hover {
    transform: rotate(-10deg);
}

.music-icon-btn svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* The Popup Cube (Retro Vibe) */
.playlist-menu {
    position: absolute;
    top: 54px;
    left: 0;
    width: 200px;
    max-height: 140px;
    background-color: #d2a783 !important; /* Retro screen color */
    border: 3px solid #8c624c;
    border-radius: 10px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1), 2px 2px 0px rgba(140, 98, 76, 0.4);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease 2s, transform 0.3s ease 2s, visibility 0s linear 2.3s;
    overflow-y: auto;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.playlist-menu.force-hide {
    transition: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Bridge the physical gap between the circle and the box so hover doesn't break */
.playlist-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.playlist-menu::-webkit-scrollbar {
    width: 4px;
}
.playlist-menu::-webkit-scrollbar-track {
    background: transparent;
}
.playlist-menu::-webkit-scrollbar-thumb {
    background-color: #8c624c;
    border-radius: 2px;
}

.music-toggle:hover .playlist-menu,
.playlist-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.song-btn {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: #8c624c; /* Retro dark text */
    background-color: transparent;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    transition: background-color 0.1s, color 0.1s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    border-bottom: 1px dashed rgba(140, 98, 76, 0.2);
}

.song-btn:last-child {
    border-bottom: none;
}

.song-btn:hover {
    background-color: #8c624c;
    color: #d2a783; /* Inverted retro hover */
    transform: none; /* Removed sliding for retro feel */
}

/* iPod Artist Info */
.ipod-artist {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: #8c624c;
    margin-top: 5px;
    text-align: center;
    width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Highlight & Underline Styling */
mark {
    background-color: rgba(210, 167, 131, 0.9) !important;
    color: #fff !important;
    padding: 2px 8px;
    font-weight: 700;
    display: inline-block;
    background-image: 
      linear-gradient(rgba(245, 230, 211, 0.4) 2px, transparent 2px),
      linear-gradient(90deg, rgba(245, 230, 211, 0.4) 2px, transparent 2px);
    background-size: 15px 15px;
    clip-path: polygon(0% 0%, 100% 0%, 96% 15%, 100% 30%, 96% 45%, 100% 60%, 96% 75%, 100% 90%, 98% 100%, 0% 100%, 2% 85%, 0% 70%, 2% 55%, 0% 40%, 2% 25%, 0% 10%, 0% 0%);
    transform: rotate(-1deg);
    margin: 0 2px;
}

u {
    text-decoration: underline;
    text-decoration-color: #d2a783;
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
}

/* --- Social Links Styling --- */
.socials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8c624c;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    transition: color 0.2s, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link svg {
    width: 45px;
    height: 45px;
    margin-bottom: 10px;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    color: #d2a783;
}

.social-link:hover svg {
    transform: scale(1.15) rotate(5deg);
}

.social-link {
    position: relative;
}

.social-tooltip {
    position: absolute;
    bottom: 110%; /* Sit just above the link */
    background-color: #f5e6d3;
    border: 3px solid #8c624c;
    border-radius: 8px;
    padding: 6px 12px;
    color: #8c624c;
    font-size: 0.8rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 2px 2px 0px rgba(140, 98, 76, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.9);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

/* Add a cute little triangle pointer to the bottom of the tooltip */
.social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #8c624c transparent transparent transparent;
}

.social-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* --- Retro iPod UI --- */
.ipod-container {
    position: fixed;
    top: 50%;
    right: 40px;
    width: 220px;
    height: 340px;
    background-color: #f5e6d3; /* Light cream/brown body */
    border: 4px solid #8c624c;
    border-radius: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    box-shadow: 6px 6px 0px rgba(140, 98, 76, 0.2), inset -3px -3px 5px rgba(0,0,0,0.05);
    /* Hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.ipod-container.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.ipod-screen {
    width: 100%;
    height: 140px;
    background-color: #d2a783; /* Screen background */
    border: 3px solid #8c624c;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1);
}

#yt-player-container {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.ipod-status {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: #5c3a21;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ipod-track-info {
    font-family: 'Chewy', cursive;
    font-size: 1.2rem;
    color: #ffffff;
    text-align: center;
    padding: 0 10px;
    text-shadow: 1px 1px 0px rgba(140, 98, 76, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.ipod-wheel {
    width: 140px;
    height: 140px;
    background-color: #ffffff;
    border: 3px solid #8c624c;
    border-radius: 50%;
    position: relative;
    box-shadow: 2px 2px 0px rgba(140, 98, 76, 0.2);
}

.wheel-btn {
    position: absolute;
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    color: #8c624c;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s, transform 0.1s;
}

.wheel-btn:active {
    transform: scale(0.9);
}

.menu-btn { top: 12px; left: 50%; transform: translateX(-50%); }
.menu-btn:active { transform: translateX(-50%) scale(0.9); }

.play-btn { bottom: 12px; left: 50%; transform: translateX(-50%); }
.play-btn:active { transform: translateX(-50%) scale(0.9); }

.prev-btn { left: 12px; top: 50%; transform: translateY(-50%); }
.prev-btn:active { transform: translateY(-50%) scale(0.9); }

.next-btn { right: 12px; top: 50%; transform: translateY(-50%); }
.next-btn:active { transform: translateY(-50%) scale(0.9); }

.wheel-center {
    width: 50px;
    height: 50px;
    background-color: #f5e6d3;
    border: 3px solid #8c624c;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.1s;
}

.wheel-center:active {
    transform: translate(-50%, -50%) scale(0.9);
}

@media (max-width: 768px) {
    .music-toggle { left: 20px; top: 20px; }
    .ipod-container { left: 50%; right: auto; top: 50%; transform: translate(-50%, -50%) scale(0.9); }
    .ipod-container.open { transform: translate(-50%, -50%) scale(1); }
}

/* iPod Draggable Cursor Styles */
.ipod-container {
    cursor: grab;
}
.ipod-container:active {
    cursor: grabbing;
}

/* --- Additional Responsiveness Fixes --- */
@media (max-width: 1200px) {
    .white-patch {
        overflow-y: auto;
        overflow-x: hidden;
        /* Custom scrollbar for white patch */
        scrollbar-width: thin;
        scrollbar-color: #8c624c transparent;
    }
    .white-patch::-webkit-scrollbar {
        width: 6px;
    }
    .white-patch::-webkit-scrollbar-thumb {
        background-color: #8c624c;
        border-radius: 3px;
    }

    /* Section 2 tablet fixes */
    .s2-title { font-size: 4.5rem; top: 12%; bottom: auto; left: 0; width: 100%; text-align: center; }
    .s2-text-content { width: 90%; top: 32%; right: auto; left: 5%; text-align: center; }
    .s2-text-content p { font-size: 1.15rem; line-height: 1.6; }

    /* Section 3 tablet fixes */
    .s3-title { font-size: 5rem; top: 12%; }
    .s3-columns {
        width: 90%;
        gap: 25px;
        flex-direction: column;
        align-items: center;
        margin-top: 25%;
    }
    .col {
        font-size: 1.15rem;
        width: 90%;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .s3-columns {
        margin-top: 25%;
        gap: 10px;
    }
    .col {
        font-size: 0.85rem;
    }
    
    .socials-container {
        gap: 15px;
        margin-top: 15px;
    }
    
    .social-link svg {
        width: 35px;
        height: 35px;
    }
    .social-link span {
        font-size: 0.75rem;
    }
    .s2-text-content {
        top: 25%;
    }
    .s2-text-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .content h1 { font-size: 2.5rem; }
    .content p { font-size: 1rem; }
    
    .s2-title { font-size: 3rem; top: 12%; bottom: auto; }
    .s2-text-content { top: 30%; }
    .s2-text-content p { font-size: 0.85rem; line-height: 1.5; }
    
    .s3-title { font-size: 2.5rem; top: 5%; }
    .s3-columns { margin-top: 25%; gap: 8px; }
    .col p { font-size: 0.75rem; line-height: 1.3; margin: 5px 0; }
    
    .s4-title { font-size: 2.5rem; top: 10%; }
    .socials-container { gap: 10px; margin-top: 10%; }
    .social-link svg { width: 30px; height: 30px; }
    
    /* Shrink iPod */
    .ipod-container { transform: translate(-50%, -50%) scale(0.75); }
    .ipod-container.open { transform: translate(-50%, -50%) scale(0.85); }
    
    .music-toggle { width: 36px; height: 36px; }
}

/* iPod Background Overlay Text */
.ipod-screen.has-bg .ipod-status,
.ipod-screen.has-bg .ipod-track-info,
.ipod-screen.has-bg .ipod-artist {
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* --- Realistic Vintage Butterfly --- */
.butterfly-container {
    position: absolute;
    top: -45px;
    left: -75px;
    z-index: 9999;
    pointer-events: none;
    animation: flyAndLand 4s ease-out forwards;
}

.butterfly {
    position: relative;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: flutterFast 0.2s 20 alternate ease-in-out;
}

.wing {
    position: absolute;
    top: 0;
    width: 50px;
    height: 90px;
    opacity: 0.95;
}

.wing-left {
    left: 0;
    transform-origin: right center;
    animation: flapFastLeft 0.15s 27 alternate ease-in-out, flapRestLeft 5s infinite ease-in-out 4.05s forwards;
    background: radial-gradient(circle at 70% 30%, #f5e6d3 6px, transparent 7px),
                radial-gradient(circle at 40% 70%, #d2a783 8px, transparent 9px),
                linear-gradient(135deg, #8c624c 0%, #5c3a21 40%, #2a1a10 100%);
    clip-path: polygon(100% 20%, 40% 0%, 20% 5%, 5% 15%, 0% 25%, 5% 35%, 15% 45%, 35% 52%, 15% 58%, 5% 65%, 10% 80%, 25% 95%, 50% 100%, 75% 95%, 100% 80%);
    border-radius: 20%; /* Smooth out any remaining corners via composite */
}

.wing-right {
    left: 50px;
    transform-origin: left center;
    animation: flapFastRight 0.15s 27 alternate ease-in-out, flapRestRight 5s infinite ease-in-out 4.05s forwards;
    background: radial-gradient(circle at 30% 30%, #f5e6d3 6px, transparent 7px),
                radial-gradient(circle at 60% 70%, #d2a783 8px, transparent 9px),
                linear-gradient(-135deg, #8c624c 0%, #5c3a21 40%, #2a1a10 100%);
    clip-path: polygon(0% 20%, 60% 0%, 80% 5%, 95% 15%, 100% 25%, 95% 35%, 85% 45%, 65% 52%, 85% 58%, 95% 65%, 90% 80%, 75% 95%, 50% 100%, 25% 95%, 0% 80%);
    border-radius: 20%;
}

.butterfly-body {
    position: absolute;
    top: 10px;
    left: 47px;
    width: 6px;
    height: 60px;
    background: #2a1a10;
    border-radius: 50%;
    z-index: 10;
}

/* Antennae */
.butterfly-body::before, .butterfly-body::after {
    content: '';
    position: absolute;
    top: -22px;
    width: 2.5px;
    height: 26px;
    background: #2a1a10;
    border-radius: 2px;
}
.butterfly-body::before {
    left: -4px;
    transform: rotate(-30deg);
    box-shadow: 0 -3px 0 1.5px #2a1a10;
}
.butterfly-body::after {
    right: -4px;
    transform: rotate(30deg);
    box-shadow: 0 -3px 0 1.5px #2a1a10;
}

@keyframes flapFastLeft {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(70deg); }
}
@keyframes flapRestLeft {
    0% { transform: rotateY(15deg); }
    5% { transform: rotateY(70deg); }
    10% { transform: rotateY(15deg); }
    15% { transform: rotateY(70deg); }
    20% { transform: rotateY(15deg); }
    100% { transform: rotateY(15deg); }
}

@keyframes flapFastRight {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(-70deg); }
}
@keyframes flapRestRight {
    0% { transform: rotateY(-15deg); }
    5% { transform: rotateY(-70deg); }
    10% { transform: rotateY(-15deg); }
    15% { transform: rotateY(-70deg); }
    20% { transform: rotateY(-15deg); }
    100% { transform: rotateY(-15deg); }
}

@keyframes flutterFast {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-15px); }
}

@keyframes flyAndLand {
    0% {
        transform: translate(-60vw, 60vh) scale(0.2) rotate(60deg);
    }
    40% {
        transform: translate(-20vw, -10vh) scale(0.5) rotate(35deg);
    }
    75% {
        transform: translate(-5vw, 5vh) scale(0.6) rotate(25deg);
    }
    100% {
        transform: translate(0px, 0px) scale(0.4) rotate(15deg);
    }
}
