/* ===================================
   AuctionHub My Profile Page Styles
   =================================== */

:root {
    --dark: #290907;
    --brown: #57473A;
    --green: #6E8658;
    --blue: #73A1B2;
    --light: #D0D5CE;
    --offwhite: #EFE9E1;
    --gold: #C9A961;
    --purple: #8B6E9F;
    --teal: #5FA8A0;
}

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

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, 
        var(--offwhite) 0%, 
        #E8D5C4 10%,
        var(--light) 20%, 
        #A8C5B8 35%,
        var(--blue) 50%,
        #A8C5B8 65%,
        var(--light) 80%,
        #E8D5C4 90%,
        var(--offwhite) 100%);
    background-size: 400% 400%;
    animation: gradientShift 35s ease infinite;
    color: var(--dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 50% 25%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 75%; }
}

/* ===================================
   AMBIENT BLOBS - MORE COLORFUL
   =================================== */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.bg-blob.one {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(115, 161, 178, 0.4), rgba(110, 134, 88, 0.3));
    top: -250px;
    left: -250px;
    opacity: 0.5;
    animation: float 22s infinite ease-in-out, morph 28s infinite ease-in-out;
}

.bg-blob.two {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.4), rgba(139, 110, 159, 0.3));
    bottom: -200px;
    right: -200px;
    opacity: 0.45;
    animation: float 20s infinite ease-in-out 3s, morph 25s infinite ease-in-out 2s;
}

.bg-blob.three {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(95, 168, 160, 0.35), rgba(110, 134, 88, 0.3));
    top: 35%;
    right: -220px;
    opacity: 0.4;
    animation: float 18s infinite ease-in-out 6s, morph 23s infinite ease-in-out 4s;
}

.bg-blob.four {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(139, 110, 159, 0.35), rgba(87, 71, 58, 0.25));
    top: -150px;
    right: 30%;
    opacity: 0.35;
    animation: float 17s infinite ease-in-out 1s, morph 21s infinite ease-in-out 3s;
}

.bg-blob.five {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(208, 213, 206, 0.4), rgba(115, 161, 178, 0.3));
    bottom: 20%;
    left: -180px;
    opacity: 0.38;
    animation: float 21s infinite ease-in-out 4s, morph 24s infinite ease-in-out 5s;
}

.bg-blob.six {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.35), rgba(110, 134, 88, 0.25));
    top: 50%;
    left: 40%;
    opacity: 0.3;
    animation: float 19s infinite ease-in-out 2s, morph 26s infinite ease-in-out 6s;
}

.bg-blob.seven {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(95, 168, 160, 0.3), rgba(115, 161, 178, 0.25));
    bottom: 40%;
    right: 35%;
    opacity: 0.32;
    animation: float 16s infinite ease-in-out 7s, morph 22s infinite ease-in-out 1s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(80px, -70px) rotate(90deg) scale(1.15); }
    50% { transform: translate(-60px, 80px) rotate(180deg) scale(0.92); }
    75% { transform: translate(70px, 60px) rotate(270deg) scale(1.08); }
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 40% 60% 50% / 40% 70% 50% 60%; }
    75% { border-radius: 40% 70% 50% 60% / 70% 50% 60% 40%; }
}

/* ===================================
   FLOOR REFLECTION
   =================================== */
.floor-reflection {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(41, 9, 7, 0.15), transparent);
    pointer-events: none;
    z-index: 1;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 60px 20px;
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-wrapper {
    position: relative;
    padding-bottom: 8px;
}

.logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.5px;
    line-height: 1;
    text-shadow: 
        0 2px 4px rgba(41, 9, 7, 0.2),
        0 4px 8px rgba(41, 9, 7, 0.15),
        0 6px 12px rgba(41, 9, 7, 0.12),
        0 8px 16px rgba(41, 9, 7, 0.1),
        0 12px 24px rgba(41, 9, 7, 0.08),
        0 16px 32px rgba(41, 9, 7, 0.06);
}

.logo span {
    color: var(--green);
    text-shadow: 
        0 2px 4px rgba(110, 134, 88, 0.25),
        0 4px 8px rgba(110, 134, 88, 0.2),
        0 6px 12px rgba(110, 134, 88, 0.15),
        0 8px 16px rgba(110, 134, 88, 0.12),
        0 12px 24px rgba(110, 134, 88, 0.1);
}

.logo-reflection {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 40px;
    font-weight: 700;
    opacity: 0.08;
    transform: scaleY(-1);
    background: linear-gradient(to bottom, var(--dark), transparent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
    line-height: 1;
}

.logo-reflection span {
    color: var(--green);
}

.user-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--dark);
}

.welcome strong {
    font-weight: 700;
    font-size: 17px;
    background: linear-gradient(90deg, var(--dark) 0%, var(--dark) 60%, var(--green) 60%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===================================
   BUTTONS - ENHANCED & COOL
   =================================== */
.btn {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.6px;
}

.btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 350px;
    height: 350px;
}

.btn:hover svg {
    transform: scale(1.1) rotate(5deg);
}

.btn.outline {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--green);
    border: 2.5px solid var(--green);
    box-shadow: 
        0 4px 15px rgba(110, 134, 88, 0.25),
        0 2px 6px rgba(110, 134, 88, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn.outline:hover {
    background: linear-gradient(135deg, var(--green) 0%, #5d7349 50%, var(--green) 100%);
    color: var(--offwhite);
    border-color: var(--green);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 
        0 15px 35px rgba(110, 134, 88, 0.4),
        0 8px 18px rgba(110, 134, 88, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn.outline:active {
    transform: translateY(-3px) scale(1.02);
}

/* ===================================
   MAIN CONTENT
   =================================== */
.profile-container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 30px auto 60px;
    padding: 0 40px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   BACK LINK
   =================================== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.back-link svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.back-link:hover {
    color: var(--dark);
}

.back-link:hover svg {
    transform: translateX(-5px);
}

/* ===================================
   PROFILE HEADER - GLASS EFFECT
   =================================== */
.profile-header {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 40px 35px;
    box-shadow: 
        0 35px 75px rgba(41, 9, 7, 0.12),
        0 18px 40px rgba(110, 134, 88, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    animation-delay: 0.1s;
}

.profile-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 5%;
    width: 90%;
    height: 18px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.18), transparent);
    z-index: -1;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--offwhite);
    box-shadow: 
        0 10px 30px rgba(110, 134, 88, 0.35),
        0 5px 15px rgba(115, 161, 178, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.profile-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--dark) 0%, var(--dark) 50%, var(--green) 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.profile-username {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: var(--dark);
    font-weight: 500;
    opacity: 0.85;
}

/* ===================================
   PROFILE INFO CARD - GLASS EFFECT
   =================================== */
.profile-info {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 38px 35px;
    box-shadow: 
        0 35px 75px rgba(41, 9, 7, 0.12),
        0 18px 40px rgba(110, 134, 88, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    animation-delay: 0.2s;
}

.profile-info::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 5%;
    width: 90%;
    height: 18px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.18), transparent);
    z-index: -1;
}

.info-header {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    padding-bottom: 15px;
    border-bottom: 2.5px solid rgba(110, 134, 88, 0.25);
    background: linear-gradient(90deg, var(--dark) 0%, var(--dark) 55%, var(--blue) 55%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-label svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    opacity: 0.8;
}

.info-value {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    color: var(--dark);
    font-weight: 500;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1.5px solid rgba(110, 134, 88, 0.2);
    word-break: break-word;
    transition: all 0.3s ease;
}

.info-value:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(110, 134, 88, 0.12);
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(110, 134, 88, 0.2);
    color: var(--green);
    border-radius: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid rgba(110, 134, 88, 0.3);
    letter-spacing: 0.5px;
}

.verification-badge.unverified {
    background: rgba(201, 73, 73, 0.2);
    color: #C94949;
    border-color: rgba(201, 73, 73, 0.35);
}

.verification-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.verification-badge.unverified .verification-dot {
    background: #C94949;
    animation: none;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(110, 134, 88, 0.7);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(110, 134, 88, 0);
        transform: scale(1.1);
    }
}

/* ===================================
   RESPONSIVE - DESKTOP LARGE
   =================================== */
@media (max-width: 1024px) {
    .profile-container {
        max-width: 700px;
        padding: 0 30px;
    }

    .navbar {
        padding: 20px 40px;
    }
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 18px 25px;
    }

    .logo {
        font-size: 34px;
    }

    .logo-reflection {
        font-size: 34px;
    }

    .user-area {
        width: 100%;
        margin-top: 12px;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    .welcome {
        width: 100%;
        text-align: center;
        font-size: 15px;
    }

    .btn {
        font-size: 13px;
        padding: 11px 24px;
    }

    .btn svg {
        width: 16px;
        height: 16px;
    }

    .profile-container {
        padding: 0 20px;
        margin: 25px auto 50px;
    }

    .profile-header {
        padding: 35px 28px;
    }

    .profile-avatar {
        width: 95px;
        height: 95px;
        font-size: 42px;
    }

    .profile-name {
        font-size: 28px;
    }

    .profile-username {
        font-size: 15px;
    }

    .profile-info {
        padding: 32px 25px;
    }

    .info-header {
        font-size: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bg-blob {
        opacity: 0.3 !important;
    }
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */
@media (max-width: 480px) {
    .navbar {
        padding: 15px 20px;
    }

    .logo {
        font-size: 30px;
    }

    .logo-reflection {
        font-size: 30px;
    }

    .btn {
        font-size: 12px;
        padding: 10px 20px;
    }

    .btn svg {
        width: 14px;
        height: 14px;
    }

    .welcome {
        font-size: 14px;
    }

    .profile-container {
        padding: 0 15px;
        margin: 20px auto 40px;
    }

    .back-link {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .back-link svg {
        width: 18px;
        height: 18px;
    }

    .profile-header {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .profile-avatar {
        width: 85px;
        height: 85px;
        font-size: 38px;
        margin-bottom: 16px;
    }

    .profile-name {
        font-size: 26px;
    }

    .profile-username {
        font-size: 14px;
    }

    .profile-info {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .info-header {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .info-grid {
        gap: 18px;
    }

    .info-label {
        font-size: 11px;
    }

    .info-label svg {
        width: 14px;
        height: 14px;
    }

    .info-value {
        font-size: 14px;
        padding: 12px 14px;
    }

    .verification-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .bg-blob {
        display: none;
    }
}

/* ===================================
   RESPONSIVE - TABLET LANDSCAPE
   =================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        padding: 22px 50px;
    }

    .logo {
        font-size: 38px;
    }

    .logo-reflection {
        font-size: 38px;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .bg-blob,
    .floor-reflection,
    .btn,
    .navbar,
    .back-link {
        display: none;
    }

    body {
        background: white;
    }

    .profile-header,
    .profile-info {
        break-inside: avoid;
        page-break-inside: avoid;
        background: white;
        border: 1px solid #ddd;
    }
}