
/* ============================================================== */
/* 01. GLOBAL STYLES */
/* ============================================================== */
* {
    box-sizing: border-box;
}
body {
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    background-color: #FFF8F2;
    color: #30272B;
    margin: 0;
}
span {
    font-weight: 800;
}

h1, h2, h3 {
    font-family: "Nunito", serif;
}

/* ============================================================== */
/* 02. HEADER GIFS */
/* ============================================================== */
.gifs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
}
.shinee-gif,
.core-gif,
.britney-gif {
    display: flex;
    align-content: center;
    width: 15%;
    max-width: 20%;
    height: auto;
    object-fit: cover;
    border: 1px solid #4A3530;
}

/* ============================================================== */
/* 03. NAVIGATION */
/* ============================================================== */
.profile-nav {
    border: 1px solid #4A3530;
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin: auto;
    background-color: #E8A0AE;
    width: 40%;
    height: 65px;
}
.profile-nav p {
    font-weight: bold;
    color:#4A3530;
    font-size: 18px;
    padding: 10px;
}
.nav-links {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin: 0;
    padding: 0px;
}
.nav-links li a {
    text-decoration: none;
    color: #4A3530;
}
.nav-links li a:hover {
    text-decoration: wavy underline;
    text-decoration-color:#4A3530;
}
.nav-links li a image{
    width: 30px;
    height: 30px;
}
.twitter-logo-link img{
    display: flex;
    align-items: center;
    width: 100%;
    height: 20px;
    object-fit: contain;

    margin: auto;
}
.twitter-logo-link img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* ============================================================== */
/* 04. PROFILE DETAILS & FOLLOW RULES */
/* ============================================================== */
.profile-content-container {
    border: 1px solid #4A3530;
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: center;
    width: 40%;
    margin: auto;
}
.byf {
    border: 1px solid #4A3530;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    padding: 8px;
    width: 40%;
    margin: auto;
    
}
.byf h2 {
    border: 1px solid #4A3530;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    margin: 0px;
    padding: 5px;
    margin-top: 1px;
    margin-bottom: 1px;
}
.byf p {
    font-size: 16px;
    color: #4A3530;
    font-size: 16px;
    color: #4A3530;
    margin-bottom: 1px;
    border-style:dashed ;
    border-width: 1px;
    padding: 5px;
}
.byf img {
    width: 25px;
    height: auto;
    vertical-align: middle;
}
.dnfi {
    border: 1px solid #4A3530;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    padding: 8px;
    width: 40%;
    margin: auto;
}
.dnfi h2 {
    font-size: 24px;
    padding: 5px;
    border: 1px solid #4A3530;
    margin-bottom: 1px;
    margin-top: 1px;
}
.dnfi p {
    font-size: 16px;
    color: #4A3530;
    margin-bottom: 1px;
    border-style:dashed ;
    border-width: 1px;
    padding: 5px;
}
.dnfi img {
    width: 55px;
    height: auto;
    vertical-align: middle;
}

/* ============================================================== */
/* 05. INTERESTS */
/* ============================================================== */
.interests-title {
    background-color: #88D8C0;
    color: #315B68;
    border: 1px solid #4A3530;
    text-align: center;
    padding: 12px;
    margin: 0 auto;
    width: 40%;
}

.music-interests {
    border: 1px solid #4A3530;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    padding: 8px;
    width: 40%;
    margin: auto;
}
.music-interests h3 {
    font-size: 16px;
    padding: 5px;
    border: 1px solid #4A3530;
    margin-bottom: 1px;
    margin-top: 1px;
}
.music-interests p {
    font-size: 16px;
    color: #4A3530;
    margin-bottom: 1px;
    border-style:dashed ;
    border-width: 1px;
    padding: 5px;
}
.music-interests span {
    font-weight: bold;
}
.music-interests .Britney.emote {
    width: 50px;
    height: auto;
    vertical-align: middle;
}
.music-interests .shinee.emote {
    width: 60px;
    height: auto;
    vertical-align: middle;
}
.streamer-youtube-interests {
    border: 1px solid #4A3530;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    padding: 8px;
    width: 40%;
    margin: auto;
}
.streamer-youtube-interests h3 {
    font-size: 16px;
    padding: 5px;
    border: 1px solid #4A3530;
    margin-bottom: 1px;
    margin-top: 1px;
}
.streamer-youtube-interests p {
    font-size: 16px;
    color: #4A3530;
    margin-bottom: 1px;
    border-style:dashed ;
    border-width: 1px;
    padding: 5px;
}
.streamer-youtube-interests span {
    font-weight: bold;
}
.streamer-youtube-interests img {
    width: 55px;
    height: auto;
    vertical-align: middle;
}
.game-interests {
    border: 1px solid #4A3530;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    padding: 8px;
    width: 40%;
    margin: auto;
}
.game-interests h3 {
    font-size: 16px;
    padding: 5px;
    border: 1px solid #4A3530;
    margin-bottom: 1px;
    margin-top: 1px;
}
.game-interests p {
    font-size: 16px;
    color: #4A3530;
    margin-bottom: 1px;
    border-style:dashed ;
    border-width: 1px;
    padding: 5px;
}
.game-interests span {
    font-weight: bold;
}
.game-interests img {
    width: 45px;
    height: auto;
    vertical-align: middle;
}

.movie-tv-interests {
    border: 1px solid #4A3530;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 8px;
    width: 40%;
    margin: auto;
}
.movie-tv-interests h3 {
    font-size: 16px;
    padding: 5px;
    border: 1px solid #4A3530;
    margin-bottom: 1px;
    margin-top: 1px;
}
.movie-tv-interests p {
    font-size: 16px;
    color: #4A3530;
    margin-bottom: 1px;
    border-style:dashed ;
    border-width: 1px;
    padding: 5px;
}
.movie-tv-interests span {
    font-weight: bold;
}
.movie-tv-interests .ironman.emote {
    width: 45px;
    height: auto;
    vertical-align: middle;
}
.movie-tv-interests .batman.emote {
    width: 50px;
    height: auto;
    vertical-align: middle;
}
.movie-tv-interests .henry.danger.emote {
    width: 55px;
    height: auto;
    vertical-align: middle;
}
.movie-tv-interests .minho.emote {
    width: 35%;
    height: auto;
    object-fit: cover;
}


/* ============================================================== */
/* 06. SOCIAL LINKS */
/* ============================================================== */
.logos-link {
    border: 1px solid #4A3530;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    align-items: center;
    padding: 8px;
    width: 40%;
    margin: auto;
    background-color: #FFF8F2;
    margin-bottom: 30px;
}
.Letterboxd-logo-link,
.Simkl-logo-link,
.Spotify-logo-link {
    width: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.Letterboxd-logo-link a,
.Simkl-logo-link a,
.Spotify-logo-link a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.Letterboxd-logo-link a img {
    width: 100%;
    height: auto;
    display: block;
}

.Simkl-logo-link a img {
    width: 100%;
    height: auto;
    display: block;
}

.Spotify-logo-link a img {
    width: 100%;
    height: auto;
    display: block;
}
.logos-link a img {
    transition: transform 0.3s ease;
}
.logos-link a img:hover {
    transform: scale(1.1);
}

/* ================================================================ */
/* 07. SECTION BACKGROUNDS & SHARED TEXT STYLES (original overrides) */
/* ================================================================ */
/* Profile information */
.profile-content-container {
    background-color: #DCE8D5;
}

/* Before you follow */
.byf {
    background-color: #F8DDE5;
}

/* Do not follow if */
.dnfi {
    background-color: #F8DDE5;
}

/* Music */
.music-interests {
    background-color: #E4F3ED;
}

/* Streamers / YouTube */
.streamer-youtube-interests {
    background-color: #F8DDE5;
}

/* Games */
.game-interests {
    background-color: #DCE8D5;
}

/* Movies / TV */
.movie-tv-interests {
    background-color: #E4F3ED;
}
.byf h2,
.dnfi h2,
.music-interests h2,
.music-interests h3,
.streamer-youtube-interests h3,
.game-interests h3,
.movie-tv-interests h3 {
    background-color: #FFF8F2;
    color: #315B68;
    font-size: 20px;
}
.byf p,
.dnfi p,
.music-interests p,
.streamer-youtube-interests p,
.game-interests p,
.movie-tv-interests p {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 5px;
    margin-bottom: 5px;
}


/* ============================================================== */
/* 08. FAVORITE SONGS HEADING */
/* ============================================================== */
.music-heading {
    padding: 1px;
    text-align: left;

    width: 90%;
    max-width: 900px;
    box-sizing: border-box;

    margin: 0 auto 12px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    display: flex;
    align-items: center;
}

.music-heading h2 {
    display: inline-block;
    width: fit-content;

    background-color: #FFF8F2;
    border: 1px solid #4A3530;
    color: #315B68;

    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 700;

    padding: 5px;
    margin: 0;
}


/* Music players */

/* ============================================================== */
/* 09. MUSIC PLAYER GRID */
/* ============================================================== */
.music-players {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;

    width: 90%;
    max-width: 900px;
    box-sizing: border-box;

    margin: 0;
    margin-left: auto;
    margin-right: auto;
}

/* Individual song player */
.song-player {
    width: 100%;
    padding: 10px;
    background-color: #F8DDE5;
    border: 1px solid #4A3530;
    font-family: 'Nunito', sans-serif;
    color: #4A3530;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

/* Album artwork */
.song-player img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Song information */
.song-player p {
    margin: 3px 0;
}

.song-player p:first-of-type {
    font-weight: 800;
}

/* Spotify link */
.song-player a {
    color: #315B68;
    font-size: 14px;
    text-decoration: none;
}

.song-player a:hover {
    text-decoration: underline;
}
.song-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.song-actions .play-btn {
    margin-top: 0;
}

.song-actions a {
    display: inline;
    margin-top: 0;
}
/* Song information sizing */
.song-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Later refinements: keep these after the original player styles */
.song-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.song-player img {
    width: 90px;
    height: 90px;
}
.song-info {
    flex: 1;
    min-width: 0;
}

.song-player {
    min-width: 0;
}
.song-actions {
    flex-wrap: wrap;
}
.music-players-container {
    position: relative;
    background-color: transparent;
    border: none;
    padding: 15px;

    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
    box-sizing: border-box;
    isolation: isolate;
}

.music-players-container::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    right: 30px;

    background-color: #FFF0D9;
    border: 1px solid #4A3530;
    z-index: -1;
}




/* ==============================================================
   10. RESPONSIVE DESIGN - TABLETS & MOBILE
   ============================================================== */

/* ------------------------------
   TABLETS (901px - 1200px)
   ------------------------------ */
@media (min-width: 901px) and (max-width: 1200px) {

    /* Main profile and interest sections */
    .profile-nav,
    .profile-content-container,
    .byf,
    .dnfi,
    .interests-title,
    .music-interests,
    .streamer-youtube-interests,
    .game-interests,
    .movie-tv-interests,
    .logos-link {
        width: 70%;
    }

    /* Navigation */
    .profile-nav {
        gap: 20px;
    }

    /* Music section */
    .music-players-container {
        width: 95%;
    }

    .music-players {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .song-player {
        gap: 10px;
        padding: 8px;
    }

    .song-player img {
        width: 75px;
        height: 75px;
    }
}


/* ------------------------------
   SMALL TABLETS (601px - 900px)
   ------------------------------ */
@media (min-width: 601px) and (max-width: 900px) {

    /* Header GIFs */
    .gifs {
        gap: 12px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .shinee-gif,
    .core-gif,
    .britney-gif {
        width: 25%;
        max-width: 25%;
    }

    /* Main sections */
    .profile-nav,
    .profile-content-container,
    .byf,
    .dnfi,
    .interests-title,
    .music-interests,
    .streamer-youtube-interests,
    .game-interests,
    .movie-tv-interests,
    .logos-link {
        width: 85%;
    }

    /* Navigation */
    .profile-nav {
        gap: 20px;
    }

    /* Profile information */
    .profile-content-container {
        flex-wrap: wrap;
        gap: 15px;
        padding: 10px;
    }

    /* Social links */
    .logos-link {
        gap: 25px;
    }

    /* Music section */
    .music-players-container {
        width: 95%;
    }

    .music-players-container::before {
        left: 15px;
        right: 15px;
    }

    .music-players {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 90%;
    }

    .song-player {
        gap: 12px;
        padding: 10px;
    }

    .song-player img {
        width: 80px;
        height: 80px;
    }
}


/* ------------------------------
   PHONES (600px and below)
   ------------------------------ */
@media (max-width: 600px) {

    /* Prevent oversized elements */
    body {
        width: 100%;
        overflow-x: hidden;
    }

    /* Header GIFs */
    .gifs {
        gap: 8px;
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .shinee-gif,
    .core-gif,
    .britney-gif {
        width: 30%;
        max-width: 30%;
        height: auto;
    }

    /* Navigation */
    .profile-nav {
        width: 94%;
        height: auto;
        min-height: 65px;
        gap: 10px;
        padding: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .profile-nav p {
        font-size: 15px;
        padding: 0;
        margin: 5px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links li a {
        font-size: 14px;
    }

    .twitter-logo-link img {
        height: 20px;
    }

    /* Profile details */
    .profile-content-container {
        width: 94%;
        flex-wrap: wrap;
        gap: 8px 15px;
        padding: 10px;
    }

    .profile-content-container p {
        font-size: 14px;
        margin: 4px 0;
    }

    /* Before You Follow / Do Not Follow If */
    .byf,
    .dnfi {
        width: 94%;
        padding: 10px;
    }

    .byf h2,
    .dnfi h2 {
        font-size: 18px;
        text-align: center;
    }

    .byf p,
    .dnfi p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Interests title */
    .interests-title {
        width: 94%;
        font-size: 22px;
        padding: 10px;
    }

    /* All interests sections */
    .music-interests,
    .streamer-youtube-interests,
    .game-interests,
    .movie-tv-interests {
        width: 94%;
        padding: 10px;
    }

    .music-interests h3,
    .streamer-youtube-interests h3,
    .game-interests h3,
    .movie-tv-interests h3 {
        font-size: 18px;
    }

    .music-interests p,
    .streamer-youtube-interests p,
    .game-interests p,
    .movie-tv-interests p {
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    /* Keep decorative emotes from becoming oversized */
    .movie-tv-interests .minho.emote {
        width: 100px;
        max-width: 35%;
    }

    /* Social media logos */
    .logos-link {
        width: 94%;
        gap: 15px;
        padding: 12px;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .Letterboxd-logo-link,
    .Simkl-logo-link,
    .Spotify-logo-link {
        width: 75px;
    }

    /* Yellow favorite songs container */
    .music-players-container {
        width: 100%;
        max-width: none;
        padding: 15px 0;
        margin: 15px auto;
    }

    .music-players-container::before {
        left: 10px;
        right: 10px;
    }

    /* Favorite songs heading */
    .music-heading {
        width: 90%;
        max-width: none;
        margin-bottom: 12px;
    }

    .music-heading h2 {
        font-size: 18px;
    }

    /* Stack song cards vertically */
    .music-players {
        grid-template-columns: 1fr;
        width: calc(100% - 50px);
        max-width: none;
        gap: 10px;
    }

    /* Individual song cards */
    .song-player {
        width: 100%;
        gap: 12px;
        padding: 10px;
    }

    .song-player img {
        width: 75px;
        height: 75px;
    }

    .song-info {
        min-width: 0;
        align-items: flex-start;
        text-align: left;
    }

    .song-player p {
        font-size: 14px;
    }

    .song-player a {
        font-size: 13px;
    }

    .song-actions {
        justify-content: flex-start;
    }
}


/* ------------------------------
   VERY SMALL PHONES (375px and below)
   ------------------------------ */
@media (max-width: 375px) {

    /* Navigation */
    .profile-nav {
        gap: 8px;
    }

    .profile-nav p {
        font-size: 14px;
    }

    .nav-links {
        gap: 10px;
    }

    /* Music cards */
    .song-player {
        gap: 8px;
        padding: 8px;
    }

    .song-player img {
        width: 65px;
        height: 65px;
    }

    .song-player a {
        font-size: 12px;
    }

    /* Social logos */
    .Letterboxd-logo-link,
    .Simkl-logo-link,
    .Spotify-logo-link {
        width: 65px;
    }
}
/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================
   SMOOTH SCROLL ANIMATIONS ♡
   ========================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cute hover effects for music cards */
.song-player {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

@media (hover: hover) {
  .song-player:hover {
    transform: translateY(-4px);
    box-shadow: 3px 4px 0 #E8A0AE;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .song-player {
    transition: none;
  }
}

/* ==========================================
   THE STORY BEHIND MY LAYOUT ♡
   ========================================== */

/* Main section */
.pfp-details {
    width: 40%;
    margin: 0 auto;
    background-color: #FFF0D9;
    border: 1px solid #4A3530;
    color: #4A3530;
    font-family: 'Nunito', sans-serif;
    text-align: center;
}

/* Expandable header */
.pfp-details summary {
    background-color: #FFF0D9;
    padding: 12px;
    cursor: pointer;
    font-weight: 400;
    list-style: none;
    transition: background-color 0.3s ease;
}

.pfp-details summary::-webkit-details-marker {
    display: none;
}

/* Hover color */
.pfp-details summary:hover {
    background-color: #F5D9A8;
}

/* Keep title and + together */
.pfp-details .summary-title {
    display: block;
}

/* Plus sign */
.pfp-details .toggle-icon::after {
    content: "+";
    font-size: 18px;
    font-weight: 400;
}

/* Minus sign when opened */
.pfp-details[open] .toggle-icon::after {
    content: "−";
}

/* Click to open underneath */
.pfp-details .click-hint {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #806B58;
    margin-top: 4px;
}

/* Change hint when expanded */
.pfp-details[open] .click-hint {
    font-size: 0;
}

.pfp-details[open] .click-hint::after {
    content: "click to close!";
    font-size: 12px;
}

/* Main content - same spacing as BYF/DNFI */
.pfp-inside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px;
    border-top: 1px dashed #4A3530;
}

/* Headings */
.pfp-inside h3 {
    background-color: #FFF8F2;
    color: #315B68;
    border: 1px solid #4A3530;
    font-size: 20px;
    font-weight: 700;
    padding: 5px;
    margin: 0;
}

/* Dashed description boxes */
.pfp-inside p {
    width: 100%;
    padding: 5px;
    border: 1px dashed #4A3530;
    color: #4A3530;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
    text-align: left;
    margin: 0;
    margin-bottom: 5px;
    margin-top: 5px;
}

/* Taemin video */
.pfp-inside video {
    display: block;
    width: 100%;
    max-width: 300px;
    max-height: 310px;
    object-fit: contain;
    margin: 5px auto;
    border: 1px solid #4A3530;
    background-color: #FFF8F2;
}

/* CORE banner */
.pfp-inside .core-banner {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 5px auto;
    border: 1px solid #4A3530;
}

/* Small emotes */
.pfp-inside .cat-emote {
    width: 55px;
    height: auto;
    vertical-align: middle;
}

.pfp-inside .ada-emote {
    width: 65px;
    height: auto;
    vertical-align: middle;
}

/* Tablets */
@media (max-width: 1200px) {
    .pfp-details {
        width: 70%;
    }
}

@media (max-width: 900px) {
    .pfp-details {
        width: 85%;
    }
}

/* Phones */
@media (max-width: 600px) {
    .pfp-details {
        width: 94%;
    }

    .pfp-inside {
        padding: 10px;
    }

    .pfp-inside p {
        font-size: 14px;
        line-height: 1.5;
    }
}
/* ==========================================
   SEND LOVE BUTTON ♡
   ========================================== */

.site-footer {
    text-align: center;
    font-family: 'Nunito', sans-serif;
    color: #4A3530;
    padding: 25px 15px;
    margin-top: -30px;
}

.site-footer p {
    font-size: 12px;
    margin: 8px 0;
}

#send-love {
    background-color: #F8DDE5;
    border: 1px solid #4A3530;
    border-radius: 20px;
    padding: 9px 20px;
    color: #4A3530;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease,
    transform 0.3s ease;
}

#send-love:hover {
    background-color: #E8A0AE;
    transform: scale(1.08);
}

#send-love:active {
    transform: scale(0.95);
}

#love-message {
    min-height: 18px;
    color: #315B68;
    font-size: 12px;
}
#love-total {
    color: #315B68;
    font-size: 13px;
    font-weight: 700;
    margin-top: 5px;
}