/* --- Basic Reset and Setup --- */
:root {
    --bg-color: #fcefee;
    --text-color: #333;
    --card-bg: rgba(255, 0, 140, 0.178);
    --blur-effect: blur(5px);
    --border-radius-main: 24px;
    --border-radius-inner: 18px;
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

@font-face {
    font-family: 'MyCustomFont'; 
    src: url('PeachDays.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    cursor: url("cursor.png") 30 15, default;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: url('background3.jpeg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

#start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.7s ease;
}
.start-box { text-align: center; color: white; }
.start-box h1 { font-size: 3rem; font-weight: 700; letter-spacing: 2px; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
#start-overlay.hidden { opacity: 0; pointer-events: none; }

#particle-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.main-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    gap: 1rem;
}

.card-slider {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    width: 100%;
    height: 70vh;
    gap: 5vh;
    padding: 5vh 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.card-slider::-webkit-scrollbar { display: none; }

.profile-card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border-radius: var(--border-radius-main);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem;
    text-align: center;
    width: 90vw;
    max-width: 380px;
    margin: 0 auto;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.profile-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.profile-card .bio,
.profile-card .location,
.about-me-list li {
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.4);
}
.bio,
.location,
.about-me-list li span {
    color: #000000;
}
.about-me-list li {
    font-weight: 500;
}

.about-me-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.about-me-list li {
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 1.1rem;
}
.about-me-list i {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #f03071;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.75rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.gallery-icon {
    width: 30%;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.7));
}
.slideshow-container {
    width: 100%;
    aspect-ratio: 1 / 1.2;
    border-radius: var(--border-radius-inner);
    overflow: hidden;
    margin-top: 1rem;
    box-shadow: 0 0 15px 20px rgba(255, 255, 255, 0.7);
}
.slideshow-track { display: flex; height: 100%; transition: transform 1s ease-in-out; }
.slideshow-track.no-transition { transition: none; }
.slide-image { height: 100%; object-fit: cover; }
#main-card { order: -1; }
.view-counter { position: absolute; bottom: 15px; left: 20px; font-size: 1.2rem; color: rgba(0, 0, 0, 0.7); opacity: 1.0; }
.top-animation-container { position: relative; width: 150px; height: 150px; margin: 0 auto; margin-top: -30px; margin-bottom: 0.5rem; }
.top-animation { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.animation-subject { z-index: 1; filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.7));}
.animation-frame { z-index: 2; }

h1 {
    font-family: 'MyCustomFont', 'Pacifico', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fc5982;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 1);
}
.bio {
  font-family: "Sirivennela", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  font-weight: 700;
}
.bio, .location {
    padding-bottom: 10px;
}
.profile-card h2 {
    text-shadow: 1px 1px 10px rgb(255, 0, 212);
}
.location i { margin-right: 5px; }
.profile-link { background: rgba(255, 255, 255, 0.5); border-radius: var(--border-radius-inner); padding: 10px; display: flex; align-items: center; gap: 15px; margin-bottom: 1.5rem; text-align: left; }
.profile-picture { width: 60px; height: 60px; border-radius: 50%; object-fit: cover;}
.username { font-weight: 700; }
.verified-icon { color: #f03071; margin: 0 8px 0 0px; }
.fa-wand-magic-sparkles { color: #f03071; }
.status {
    font-size: 0.8rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}
.status i {
    color: #f03071;
    font-size: 1.2em;
    margin: 0 5px 0 0px;
}
.social-links { display: flex; justify-content: center; gap: 15px; }
.social-links a { background-color: #fff; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; text-decoration: none; font-size: 1.1rem; }
.social-links a i { color: #fff; text-shadow: 0 0 5px #ff8fab, 0 0 10px #ff8fab, 0 0 20px #ff8fab; transition: color 0.2s ease-in-out, text-shadow 0.2s ease-in-out; }
.social-links a:hover { transform: scale(1.1); }
.social-links a[aria-label="Facebook"]:hover i { color: #fff; text-shadow: 0 0 5px #f74a75, 0 0 10px #f74a75, 0 0 20px #f74a75; }
.social-links a[aria-label="Discord"]:hover i { color: #fff; text-shadow: 0 0 5px #f74a75, 0 0 10px #f74a75, 0 0 20px #f74a75; }

footer { position: fixed; bottom: 0; text-align: right; padding: 10px; width: 100%; }
.brand-name { font-family: 'Pacifico', cursive; font-size: 2rem; color: #222; line-height: 1; }
.icon-btn { background-color: rgba(255, 255, 255, 0.5); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 1rem; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); transition: transform 0.2s ease; flex-shrink: 0; }
.icon-btn:hover { transform: scale(1.1); }

.media-player {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 550px;
    background: var(--card-bg);
    backdrop-filter: var(--blur-effect);
    -webkit-backdrop-filter: var(--blur-effect);
    border-radius: var(--border-radius-inner);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow);
    padding: 1rem 1.5rem;
    /* ADDED: Transition for hover effect */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* ADDED: Hover effect for the media player */
.media-player:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.progress-section { display: flex; align-items: center; gap: 15px; }
.progress-wrapper { flex: 1; }
.media-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; position: relative; height: 50px; }
.player-middle-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Make the play button slightly larger than the others */
.play-btn-large {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}
.player-thumbnail { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); animation: spin 10s linear infinite; animation-play-state: paused; }
.player-thumbnail.spinning { animation-play-state: running; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
/* #play-pause-btn { position: absolute; left: 50%; transform: translateX(-50%); width: 50px; height: 50px; font-size: 1.2rem; } */
#volume-control-container { display: flex; align-items: center; gap: 10px; }
#volume-slider { -webkit-appearance: none; appearance: none; width: 0; height: 5px; background: rgba(255, 255, 255, 0.5); border-radius: 5px; outline: none; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, width 0.3s ease, visibility 0.3s; }
#volume-control-container:hover #volume-slider { width: 80px; opacity: 1; visibility: visible; }
#volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 15px; height: 15px; background: #fff; border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.2); }
#volume-slider::-moz-range-thumb { width: 15px; height: 15px; background: #fff; border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,0.2); }
.time-display { display: flex; justify-content: space-between; font-size: 0.8rem; color: #555; padding: 0 5px; margin-top: 0.5rem; }
.progress-container { width: 100%; height: 8px; background-color: rgba(255, 255, 255, 0.5); border-radius: 10px; overflow: hidden; }
.progress-bar { width: 0%; height: 100%; background-color: #ff8fab; border-radius: 10px; }
.icon-btn i { color: #f03071; transition: color 0.2s ease; }
.icon-btn:hover i { color: #ff74a1; }

a, button, input[type="range"], .progress-container, .icon-btn { 
    cursor: url('cursor2.png') 30 40, pointer;
}

h2 {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    color: #000000;
    line-height: 1;
}

/* --- Responsive Overrides for Desktop --- */
@media (min-width: 1200px) {
    body { overflow: auto; }
    .main-container { height: auto; flex-direction: column; }
    footer { position: absolute; }
    .card-slider { flex-direction: row; overflow-y: visible; overflow-x: visible; height: auto; width: auto; gap: 2rem; padding: 0 20px; }
    .profile-card { flex: 1; margin: 0; }
    #main-card { order: 0; }
}