/* --- 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");
}

/* ============================================================ */
/* ===== 📱 MOBILE SCREEN (YOUR EXACT ORIGINAL) 📱 ===== */
/* ============================================================ */
.mobile-only.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;
}

.mobile-only .header-wrapper {
    width: 100%;
    padding: 30px 20px 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-only .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;
}
.mobile-only .page-title {
    font-family: "overdozesans";
    font-size: 22px;
    color: #5a1132;
}
.mobile-only .placeholder { width: 45px; }

.mobile-only .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;
}
.mobile-only .avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}
.mobile-only .avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffb7d9;
    background: #fff2f8;
    padding: 8px;
}
.mobile-only .status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background: #ffcfe5;
    border-radius: 50%;
    border: 3px solid #ffffff;
}
.mobile-only .profile-info h2 {
    font-family: "overdozesans";
    font-size: 22px;
    color: #5a1132;
    margin-bottom: 4px;
}
.mobile-only .profile-info p {
    font-family: "Vividly-Regular", sans-serif;
    font-size: 14px;
    color: #ffb7d9;
}
.mobile-only .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;
}
.mobile-only .edit-btn:hover {
    background: #ffb7d9;
}

.mobile-only .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);
}
.mobile-only .stat-item {
    text-align: center;
}
.mobile-only .stat-number {
    display: block;
    font-family: "overdozesans";
    font-size: 20px;
    color: #5a1132;
}
.mobile-only .stat-label {
    font-family: "overdozesans";
    font-size: 12px;
    color: #ffb7d9;
    margin-top: 2px;
}

.mobile-only .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);
}
.mobile-only .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;
}
.mobile-only .menu-item:last-child {
    border-bottom: none;
}
.mobile-only .menu-item:active {
    opacity: 0.6;
}
.mobile-only .menu-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.mobile-only .menu-icon {
    font-size: 20px;
}
.mobile-only .menu-text {
    font-family: "overdozesans";
    font-size: 16px;
    color: #5a1132;
}
.mobile-only .menu-arrow {
    font-family: "overdozesans";
    font-size: 22px;
    color: #ffb7d9;
}

.mobile-only .menu-item.logout .menu-text {
    color: #ffb7d9;
}
.mobile-only .menu-item.logout {
    border-bottom: none;
}

.mobile-only .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;
}
.mobile-only .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}
.mobile-only .nav-item img {
    width: 26px;
    height: 26px;
    margin-bottom: 5px;
}
.mobile-only .nav-item span {
    font-family: "overdozesans";
    font-size: 14px;
    color: #5a1132;
    text-align: center;
}
.mobile-only .nav-item.active span { color: #5a1132; }
.mobile-only .nav-item.active img { opacity: 0.7; }

/* ===== MOBILE SCROLL REVEAL ANIMATIONS ===== */
.mobile-only .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;
}
.mobile-only .scroll-reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.mobile-only .profile-card { transition-delay: 0.0s !important; }
.mobile-only .stats-row { transition-delay: 0.1s !important; }
.mobile-only .menu-list { transition-delay: 0.2s !important; }
.mobile-only .menu-item:nth-child(1) { transition-delay: 0.2s !important; }
.mobile-only .menu-item:nth-child(2) { transition-delay: 0.3s !important; }
.mobile-only .menu-item:nth-child(3) { transition-delay: 0.4s !important; }
.mobile-only .menu-item:nth-child(4) { transition-delay: 0.5s !important; }
.mobile-only .menu-item:nth-child(5) { transition-delay: 0.6s !important; }
.mobile-only .menu-item:nth-child(6) { transition-delay: 0.7s !important; }

/* ============================================================ */
/* ===== 🖥️ BRAND NEW LAPTOP/TABLET DESIGN 🖥️ ===== */
/* ============================================================ */

/* Hide laptop version on phones */
@media (max-width: 767px) {
    .desktop-wrapper { display: none !important; }
}

/* Show laptop version on tablets and laptops */
@media (min-width: 768px) {
    .mobile-only { display: none !important; }
    
    body {
        background: #ffffff;
        display: flex;
        justify-content: center;
        padding: 40px;
    }

    .desktop-wrapper {
        max-width: 1100px;
        width: 100%;
        background: #fff4f9;
        border-radius: 40px;
        box-shadow: 0 20px 60px rgba(255, 183, 217, 0.1);
        overflow: hidden;
        padding: 40px 50px 50px 50px;
        font-family: "overdozesans", "Vividly-Regular", sans-serif;
        color: #5a1132;
    }

    /* ===== HEADER ===== */
    .d-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 20px;
        border-bottom: 1px solid #ffb7d9;
        margin-bottom: 40px;
    }
    .d-back-btn {
        font-family: "overdozesans";
        font-size: 16px;
        color: #5a1132;
        text-decoration: none;
        background: #ffffff;
        padding: 8px 20px;
        border-radius: 30px;
        border: 2px solid #ffb7d9;
        transition: all 0.3s ease;
    }
    .d-back-btn:hover { background: #ffd0e5; transform: scale(1.05); }
    .d-logo {
        font-family: "overdozesans";
        font-size: 24px;
        color: #5a1132;
    }

    /* ===== PROFILE CARD ===== */
    .d-profile-section {
        max-width: 600px;
        margin: 0 auto 30px auto;
    }
    .d-profile-card {
        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;
    }
    .d-avatar-wrapper {
        position: relative;
        display: inline-block;
        margin-bottom: 15px;
    }
    .d-avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #ffb7d9;
        background: #fff2f8;
        padding: 8px;
    }
    .d-status-dot {
        position: absolute;
        bottom: 5px;
        right: 5px;
        width: 16px;
        height: 16px;
        background: #ffcfe5;
        border-radius: 50%;
        border: 3px solid #ffffff;
    }
    .d-profile-info h2 {
        font-family: "overdozesans";
        font-size: 24px;
        color: #5a1132;
        margin-bottom: 4px;
    }
    .d-profile-info p {
        font-family: "Vividly-Regular", sans-serif;
        font-size: 15px;
        color: #ffb7d9;
    }
    .d-edit-btn {
        margin-top: 15px;
        background: transparent;
        border: 2px solid #ffb7d9;
        color: #5a1132;
        font-family: "overdozesans";
        font-size: 15px;
        padding: 8px 24px;
        border-radius: 30px;
        cursor: pointer;
        transition: 0.2s;
    }
    .d-edit-btn:hover { background: #ffb7d9; }

    /* ===== STATS ROW ===== */
    .d-stats-section {
        max-width: 600px;
        margin: 0 auto 20px auto;
    }
    .d-stats-row {
        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);
    }
    .d-stat-item {
        text-align: center;
    }
    .d-stat-number {
        display: block;
        font-family: "overdozesans";
        font-size: 22px;
        color: #5a1132;
    }
    .d-stat-label {
        font-family: "overdozesans";
        font-size: 13px;
        color: #ffb7d9;
        margin-top: 2px;
    }

    /* ===== MENU LIST ===== */
    .d-menu-section {
        max-width: 600px;
        margin: 0 auto 30px auto;
    }
    .d-menu-list {
        background: #ffffff;
        border-radius: 30px;
        border: 2px solid #ffb7d9;
        padding: 10px 15px;
        box-shadow: 0 4px 12px rgba(255, 183, 217, 0.1);
    }
    .d-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;
    }
    .d-menu-item:last-child { border-bottom: none; }
    .d-menu-item:active { opacity: 0.6; }
    .d-menu-left {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .d-menu-text {
        font-family: "overdozesans";
        font-size: 17px;
        color: #5a1132;
    }
    .d-menu-arrow {
        font-family: "overdozesans";
        font-size: 22px;
        color: #ffb7d9;
    }
    .d-menu-item.logout .d-menu-text {
        color: #ffb7d9;
    }
    .d-menu-item.logout { border-bottom: none; }

    /* ===== FOOTER ===== */
    .d-footer {
        background: #ffffff;
        border-radius: 40px;
        padding: 20px 30px;
        margin-top: 30px;
    }
    .d-nav-bar {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .d-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    .d-nav-item:hover { transform: scale(1.1); }
    .d-nav-item img {
        width: 26px;
        height: 26px;
        margin-bottom: 5px;
    }
    .d-nav-item span {
        font-family: "overdozesans";
        font-size: 14px;
        color: #5a1132;
        text-align: center;
    }
    .d-nav-item.active span { color: #5a1132; }
    .d-nav-item.active img { opacity: 0.7; }
}