@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&display=swap');

:root {
    --primary-color: #6B7FD7;
    --secondary-color: #F5E6BE;
    --accent-color: #4A5CBC;
}

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

body {
    background: #0a0a0a;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 4rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
}

.icon-link {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-text {
    font-size: 0.9rem;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

.icon-link:hover {
    color: var(--primary-color);
}

.icon-link img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.icon-link:hover img {
    transform: scale(1.1);
}

/* Profile Styles */
.profile-container {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 20px;
}

.profile-header {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.profile-cover {
    height: 200px;
    overflow: hidden;
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.profile-avatar {
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

.galaxy-effect {
    position: absolute;
    width: 160px;
    height: 160px;
    top: -20px;
    left: -20px;
    animation: rotate 20s linear infinite;
    z-index: -1;
}

.galaxy-background {
    position: absolute;
    width: 200px;
    height: 200px;
    top: -40px;
    left: -40px;
    z-index: -2;
    animation: rotateReverse 25s linear infinite;
}

.bg-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 50%;
    transform-origin: 100px 100px;
    animation: bgTwinkle 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--secondary-color),
                0 0 12px var(--secondary-color);
}

@keyframes rotateReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes bgTwinkle {
    0%, 100% { opacity: 0.1; transform: scale(0.5); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* Add 12 background stars with different positions */
.bg-star:nth-child(1) { transform: rotate(0deg) translateX(80px); animation-delay: -0.1s; }
.bg-star:nth-child(2) { transform: rotate(30deg) translateX(80px); animation-delay: -0.2s; }
.bg-star:nth-child(3) { transform: rotate(60deg) translateX(80px); animation-delay: -0.3s; }
.bg-star:nth-child(4) { transform: rotate(90deg) translateX(80px); animation-delay: -0.4s; }
.bg-star:nth-child(5) { transform: rotate(120deg) translateX(80px); animation-delay: -0.5s; }
.bg-star:nth-child(6) { transform: rotate(150deg) translateX(80px); animation-delay: -0.6s; }
.bg-star:nth-child(7) { transform: rotate(180deg) translateX(80px); animation-delay: -0.7s; }
.bg-star:nth-child(8) { transform: rotate(210deg) translateX(80px); animation-delay: -0.8s; }
.bg-star:nth-child(9) { transform: rotate(240deg) translateX(80px); animation-delay: -0.9s; }
.bg-star:nth-child(10) { transform: rotate(270deg) translateX(80px); animation-delay: -1s; }
.bg-star:nth-child(11) { transform: rotate(300deg) translateX(80px); animation-delay: -1.1s; }
.bg-star:nth-child(12) { transform: rotate(330deg) translateX(80px); animation-delay: -1.2s; }

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    transform-origin: 70px 70px;
    animation: twinkle 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-color),
                0 0 20px var(--primary-color),
                0 0 40px var(--primary-color);
}

.star:nth-child(1) { transform: rotate(calc(60deg * var(--i))); }
.star:nth-child(2) { transform: rotate(calc(60deg * var(--i))); animation-delay: -0.2s; }
.star:nth-child(3) { transform: rotate(calc(60deg * var(--i))); animation-delay: -0.4s; }
.star:nth-child(4) { transform: rotate(calc(60deg * var(--i))); animation-delay: -0.6s; }
.star:nth-child(5) { transform: rotate(calc(60deg * var(--i))); animation-delay: -0.8s; }
.star:nth-child(6) { transform: rotate(calc(60deg * var(--i))); animation-delay: -1s; }

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    background: #fff;
}

.profile-details {
    padding: 20px;
    width: 100%;
}

.profile-name h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: 'Syncopate', sans-serif;
}

.profile-contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.contact-label {
    font-size: 1.1rem;
    color: var(--secondary-color);
    min-width: 80px;
}

.email-value {
    color: #fff;
    font-size: 1.1rem;
    flex-grow: 1;
    word-break: break-all;
}

/* Profile Stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-sticker {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.stat-item:hover .stat-sticker {
    transform: scale(1.1);
}

/* Profile Actions */
.profile-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.action-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.action-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.action-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.action-sticker {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.action-sticker.grow-sticker {
    width: 50px;
    height: 50px;
}

.action-card:hover .action-sticker {
    transform: scale(1.1);
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.bounce-icon {
    animation: bounce 2s infinite;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

.heart-beat {
    animation: heartBeat 2s infinite;
}

@keyframes cartBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.cart-bounce {
    animation: cartBounce 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.3rem 1rem;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-avatar {
        margin-top: -40px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .profile-name h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .contact-label {
        font-size: 1rem;
    }

    .email-value {
        font-size: 1rem;
    }
} 

/* Add these styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--secondary-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Security Question Overlay */
.security-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.security-dialog {
    background: #1a1a0a;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.security-dialog h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Syncopate', sans-serif;
}

.security-dialog input {
    width: 100%;
    padding: 10px;
    margin: 1rem 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: white;
    border-radius: 5px;
}

.security-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.security-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verify-btn {
    background: var(--primary-color);
    color: white;
}

.cancel-btn {
    background: #333;
    color: white;
}

.security-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Admin Notice */
.admin-notice {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 10px 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    font-style: italic;
}
