/* --- RESET & GLOBALS --- */
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #fff2f8;
            font-family: "overdozesans";
    display: flex;
    justify-content: center;
    min-height: 100vh;
}
@font-face {
    font-family: "Vividly-Regular";
    src: url("./Vividly-Regular.otf") format("woff2"),
         url("./Vividly-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: "overdozesans";
  src: url("./overdozesans.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "overdozesans";
  src: url("./overdozesans.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Vividly-Regular";
  src: local("Vividly-Regular");
}
/* --- SCROLLABLE CONTAINER --- */
.profile-screen {
    background-color: #fff2f8;
    width: 100%;
    max-width: 390px;
    min-height: 100vh;
    position: relative;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- CLEAN HEADER --- */
.header-wrapper {
    width: 100%;
    padding: 30px 20px 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.back-btn {
            font-family: "overdozesans";
    font-size: 24px;
    color: #5a1132;
    text-decoration: none;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    border: 2px solid #ffb7d9;
   
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-title {
            font-family: "overdozesans";
    font-size: 22px;
    color: #5a1132;
}
.placeholder { width: 45px; }

/* --- PROFILE CARD --- */
.profile-card {
    margin-top: 20px;
    width: 320px;
    background: #ffffff;
    border-radius: 40px;
    border: 2px solid #ffb7d9;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 183, 217, 0.1);
    position: relative;
}
.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}
.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffb7d9;
    background: #fff2f8;
    padding: 8px;
}
.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background: #ffcfe5;
    border-radius: 50%;
    border: 3px solid #ffffff;
}
.profile-info h2 {
            font-family: "overdozesans";
    font-size: 22px;
    color: #5a1132;
    margin-bottom: 4px;
}
.profile-info p {
    font-family: "Vividly-Regular", sans-serif;
    font-size: 14px;
    color: #ffb7d9;
}
.edit-btn {
    margin-top: 15px;
    background: transparent;
    border: 2px solid #ffb7d9;
    color: #5a1132;
            font-family: "overdozesans";
    font-size: 14px;
    padding: 8px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
}
.edit-btn:hover {
    background: #ffb7d9;
}

/* --- STATS ROW --- */
.stats-row {
    margin-top: 20px;
    width: 320px;
    display: flex;
    justify-content: space-around;
    background: #ffffff;
    border-radius: 30px;
    border: 2px solid #ffb7d9;
    padding: 15px 10px;
    box-shadow: 0 4px 12px rgba(255, 183, 217, 0.1);
}
.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
            font-family: "overdozesans";
    font-size: 20px;
    color: #5a1132;
}
.stat-label {
            font-family: "overdozesans";
    font-size: 12px;
    color: #ffb7d9;
    margin-top: 2px;
}

/* --- MENU LIST --- */
.menu-list {
    margin-top: 25px;
    width: 320px;
    background: #ffffff;
    border-radius: 30px;
    border: 2px solid #ffb7d9;
    padding: 10px 15px;
    box-shadow: 0 4px 12px rgba(255, 183, 217, 0.1);
}
.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 5px;
    text-decoration: none;
    border-bottom: 1px solid #ffb7d9;
    transition: 0.2s;
}
.menu-item:last-child {
    border-bottom: none;
}
.menu-item:active {
    opacity: 0.6;
}
.menu-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.menu-icon {
    font-size: 20px;
}
.menu-text {
            font-family: "overdozesans";
    font-size: 16px;
    color: #5a1132;
}
.menu-arrow {
            font-family: "overdozesans";
    font-size: 22px;
    color: #ffb7d9;
}

/* Logout button style */
.menu-item.logout .menu-text {
    color: #ffb7d9;
}
.menu-item.logout {
    border-bottom: none;
}

/* --- YOUR EXACT BOTTOM NAV (UNCHANGED) --- */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 390px;
    height: 96px;
    background-color: #ffffff;
    border-radius: 43px 43px 0 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px 10px 10px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.02);
    z-index: 100;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}
.nav-item img {
    width: 26px;
    height: 26px;
    margin-bottom: 5px;
}
.nav-item span {
            font-family: "overdozesans";
    font-size: 14px;
    color: #5a1132;
    text-align: center;
}
.nav-item.active span { color: #5a1132; }
.nav-item.active img { opacity: 0.7; }

/* ===== SCROLL REVEAL ANIMATIONS ===== */

/* 1. Initial hidden state */
.animate-on-scroll {
    opacity: 0 !important;
    transform: translateY(35px) !important;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: transform, opacity;
}

/* 2. Active state when scrolled into view */
.scroll-reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 3. 🎀 DELAYS FOR A WAVE EFFECT */
.profile-card { transition-delay: 0.0s !important; }
.stats-row { transition-delay: 0.1s !important; }
.menu-list { transition-delay: 0.2s !important; }
.menu-item:nth-child(1) { transition-delay: 0.2s !important; }
.menu-item:nth-child(2) { transition-delay: 0.3s !important; }
.menu-item:nth-child(3) { transition-delay: 0.4s !important; }
.menu-item:nth-child(4) { transition-delay: 0.5s !important; }
.menu-item:nth-child(5) { transition-delay: 0.6s !important; }
.menu-item:nth-child(6) { transition-delay: 0.7s !important; }