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

@keyframes floatingOrbs {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-40px) translateX(-10px); }
    75% { transform: translateY(-20px) translateX(10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.5); }
    50% { box-shadow: 0 0 40px rgba(168, 85, 247, 0.8); }
}

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

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

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

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

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

@keyframes equalizer {
    0%, 100% { height: 10px; }
    50% { height: 30px; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes subtleScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

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

@keyframes powerUp {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes boltFlash {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes vibrate {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes particleShoot {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

@keyframes waveProgress {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes floatUp {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-30px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideOutScale {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes spinFast {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.05); }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(-45deg, #7c3aed 0%, #a855f7 25%, #d946ef 75%, #7c3aed 100%);
    background-size: 400% 400%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    animation: gradientShift 15s ease infinite;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    filter: blur(40px);
}

.background-animation::before,
.background-animation::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.background-animation::before {
    width: 300px;
    height: 300px;
    background: #ffffff;
    top: -50px;
    left: -50px;
    animation: floatingOrbs 20s ease-in-out infinite;
}

.background-animation::after {
    width: 200px;
    height: 200px;
    background: #ffffff;
    bottom: -50px;
    right: -50px;
    animation: floatingOrbs 25s ease-in-out infinite reverse;
}

.container {
    width: 100%;
    max-width: 700px;
    animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.player-wrapper {
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.95) 0%, rgba(45, 27, 78, 0.95) 100%);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 50px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.player-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(168, 85, 247, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    animation: glow 3s ease-in-out infinite;
    pointer-events: none;
}

.title-animate {
    text-align: center;
    color: #e9d5ff;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: slideInDown 0.8s ease-out;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-animate:hover {
    animation: subtleScale 1s ease-in-out, vibrate 0.4s ease-in-out;
}

.upload-section {
    margin-bottom: 35px;
    text-align: center;
    animation: slideInDown 0.9s ease-out 0.1s both;
    position: relative;
    z-index: 1;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #d946ef 100%);
    background-size: 200% 200%;
    color: white;
    padding: 14px 35px;
    border-radius: 28px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upload-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: 1;
}

.upload-btn:hover::before {
    left: 100%;
}

.btn-icon {
    animation: rotate 2s linear infinite;
    display: inline-block;
    font-size: 18px;
}

.upload-btn:hover .btn-icon {
    animation: rotate 0.6s linear;
}

.upload-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 50%, #c026d3 100%);
    background-size: 200% 200%;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.4), 0 0 30px rgba(168, 85, 247, 0.3);
}

.upload-btn:active {
    transform: translateY(-1px);
}

#upload-status {
    margin-top: 12px;
    font-size: 13px;
    color: #d8b4fe;
    min-height: 20px;
    animation: slideInUp 0.4s ease-out;
    font-weight: 500;
}

.status-animate {
    animation: pulse 2s ease-in-out infinite;
}

.player-display {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.6) 0%, rgba(61, 35, 99, 0.6) 100%);
    border-radius: 18px;
    padding: 35px;
    margin-bottom: 35px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    animation: slideInUp 0.9s ease-out 0.2s both;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.now-playing {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    gap: 20px;
    animation: slideInDown 0.9s ease-out 0.3s both;
}

.album-art {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.album-art-inner {
    position: relative;
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
}

.album-art-inner:hover {
    animation: bounce 0.8s ease-in-out infinite, rotate 3s linear infinite;
}

.album-rotation {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    animation: rotate 8s linear infinite;
}

.track-info {
    flex: 1;
    position: relative;
    min-width: 0;
}

.track-name {
    font-size: 20px;
    font-weight: 700;
    color: #e9d5ff;
    word-break: break-word;
    animation: slideInUp 0.6s ease-out 0.4s both;
    letter-spacing: -0.3px;
    position: relative;
}

.track-name:hover {
    animation: slideInUp 0.6s ease-out 0.4s, vibrate 0.4s ease-in-out;
}

.track-artist {
    font-size: 13px;
    color: #c4b5fd;
    margin-top: 6px;
    animation: slideInUp 0.6s ease-out 0.5s both;
    font-weight: 500;
    opacity: 0.85;
}

.pulse-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
    margin-top: 10px;
    animation: shimmer 2s infinite;
    border-radius: 2px;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    animation: slideInUp 0.9s ease-out 0.4s both;
}

.progress-container span {
    font-size: 11px;
    color: #d8b4fe;
    min-width: 38px;
    font-weight: 600;
    font-family: 'Monaco', 'Courier New', monospace;
}

.progress-wrapper {
    flex: 1;
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
}

.progress-bar {
    flex: 1;
    height: 6px;
    cursor: pointer;
    accent-color: #a855f7;
    width: 100%;
    transition: height 0.3s ease;
    border-radius: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.3), rgba(168, 85, 247, 0.5));
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #a855f7;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
    transition: all 0.2s ease;
}

.progress-bar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #a855f7;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
    border: none;
    transition: all 0.2s ease;
}

.progress-bar:hover {
    height: 8px;
}

.progress-bar:hover::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.8);
    animation: pulseThumb 0.6s ease-in-out;
}

@keyframes pulseThumb {
    0%, 100% { box-shadow: 0 0 15px rgba(168, 85, 247, 0.8); }
    50% { box-shadow: 0 0 25px rgba(168, 85, 247, 1); }
}

.progress-glow {
    position: absolute;
    top: -9px;
    left: 0;
    right: 0;
    height: 24px;
    pointer-events: none;
    border-radius: 10px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 28px;
    animation: slideInUp 0.9s ease-out 0.5s both;
    flex-wrap: wrap;
}

.control-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.control-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.control-btn:active::after {
    width: 300px;
    height: 300px;
    animation: particleShoot 0.6s ease-out forwards;
}

.control-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.4);
}

.control-btn:active {
    transform: translateY(-1px);
}

.play-btn {
    padding: 12px 38px;
    font-size: 15px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.35);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.play-btn:hover {
    animation: pulse 1s ease-in-out infinite, heartbeat 0.6s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.5);
}

.btn-prev {
    animation: slideInLeft 0.9s ease-out 0.5s both;
}

.btn-next {
    animation: slideInRight 0.9s ease-out 0.5s both;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInUp 0.9s ease-out 0.6s both;
    margin-bottom: 18px;
    padding: 16px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.volume-container label {
    font-size: 18px;
    animation: rotate 4s linear infinite;
    min-width: 20px;
}

.volume-wrapper {
    flex: 1;
    position: relative;
}

.volume-slider {
    flex: 1;
    height: 6px;
    cursor: pointer;
    accent-color: #a855f7;
    width: 100%;
    transition: height 0.3s ease;
    border-radius: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.3), rgba(168, 85, 247, 0.5));
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #a855f7;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #a855f7;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
    border: none;
}

.volume-slider:hover {
    height: 8px;
}

.volume-glow {
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 18px;
    pointer-events: none;
    border-radius: 10px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.2), transparent);
}

#volume-value {
    font-size: 12px;
    color: #d8b4fe;
    min-width: 38px;
    animation: slideInRight 0.6s ease-out 0.6s both;
    font-weight: 600;
    font-family: 'Monaco', 'Courier New', monospace;
}

.equalizer {
    display: flex;
    justify-content: center;
    gap: 6px;
    height: 45px;
    align-items: flex-end;
    animation: slideInUp 0.9s ease-out 0.7s both;
    padding: 12px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 12px;
}

.equalizer .bar {
    width: 5px;
    background: linear-gradient(180deg, #7c3aed 0%, #a855f7 100%);
    border-radius: 2px;
    animation: equalizer 0.6s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.equalizer .bar:nth-child(1) { animation-delay: 0s; }
.equalizer .bar:nth-child(2) { animation-delay: 0.1s; }
.equalizer .bar:nth-child(3) { animation-delay: 0.2s; }
.equalizer .bar:nth-child(4) { animation-delay: 0.1s; }
.equalizer .bar:nth-child(5) { animation-delay: 0s; }

.playlist-section {
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    padding-top: 30px;
    animation: slideInUp 0.9s ease-out 0.3s both;
    position: relative;
    z-index: 1;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.playlist-section h2 {
    font-size: 18px;
    color: #e9d5ff;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.clear-btn {
    background: linear-gradient(135deg, #a21caf 0%, #c026d3 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 9px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(162, 28, 175, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.clear-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.clear-btn:hover {
    background: linear-gradient(135deg, #881577 0%, #a21caf 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(162, 28, 175, 0.35);
}

.playlist {
    list-style: none;
    max-height: 350px;
    overflow-y: auto;
    border-radius: 12px;
    padding: 4px;
}

.playlist::-webkit-scrollbar {
    width: 6px;
}

.playlist::-webkit-scrollbar-track {
    background: rgba(124, 58, 237, 0.1);
    border-radius: 10px;
}

.playlist::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.4);
    border-radius: 10px;
}

.playlist::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.6);
}

.playlist li {
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(61, 35, 99, 0.5) 0%, rgba(45, 27, 78, 0.5) 100%);
    margin-bottom: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 4px solid transparent;
    color: #e9d5ff;
    animation: slideInUp 0.5s ease-out backwards;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.playlist li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.2), transparent);
    transition: left 0.5s ease;
}

.playlist li:hover::before {
    left: 100%;
}

.playlist li:hover {
    background: linear-gradient(135deg, rgba(77, 51, 115, 0.7) 0%, rgba(61, 35, 99, 0.7) 100%);
    border-left-color: #a855f7;
    transform: translateX(8px);
    border-color: rgba(168, 85, 247, 0.3);
}

.playlist li.active {
    background: linear-gradient(135deg, rgba(93, 67, 131, 0.9) 0%, rgba(77, 51, 115, 0.9) 100%);
    border-left-color: #a855f7;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: pulse 1.5s ease-in-out infinite, heartbeat 0.6s ease-in-out infinite;
    border-color: rgba(168, 85, 247, 0.5);
}

.playlist-item-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    font-size: 14px;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.playlist-delete {
    background: linear-gradient(135deg, #a21caf 0%, #c026d3 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    margin-left: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.playlist-delete:hover {
    background: linear-gradient(135deg, #881577 0%, #a21caf 100%);
    transform: scale(1.12);
    box-shadow: 0 5px 12px rgba(162, 28, 175, 0.3);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    animation: slideInDown 0.8s ease-out;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-link, .back-link {
    color: #d8b4fe;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.nav-link:hover, .back-link:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

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

.auth-wrapper {
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.95) 0%, rgba(45, 27, 78, 0.95) 100%);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 50px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto;
    animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: #d8b4fe;
    font-size: 14px;
    opacity: 0.9;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    animation: slideInUp 0.6s ease-out backwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }

.form-group label {
    display: block;
    color: #e9d5ff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 8px;
    color: #e9d5ff;
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 14px;
}

.form-group input::placeholder {
    color: rgba(232, 213, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.input-underline {
    height: 2px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
    margin-top: 5px;
    border-radius: 1px;
    animation: shimmer 2s infinite;
}

.password-strength {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 2px;
    overflow: hidden;
    width: 0%;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 11px;
    color: #d8b4fe;
    font-weight: 600;
    min-width: 60px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.5s;
}

.checkbox-container input {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer;
    accent-color: #a855f7;
}

.checkbox-label {
    color: #d8b4fe;
    font-size: 13px;
    cursor: pointer;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 10px;
}

.forgot-link {
    color: #a855f7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: #d946ef;
    text-decoration: underline;
}

.auth-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.25);
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.6s;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.4);
}

.divider {
    text-align: center;
    color: #d8b4fe;
    margin: 30px 0 20px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
}

.social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    color: #d8b4fe;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.7s;
}

.social-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
}

.social-icon {
    font-size: 18px;
}

.auth-footer {
    text-align: center;
    color: #d8b4fe;
    font-size: 13px;
    margin-top: 30px;
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.8s;
}

.auth-link {
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: #d946ef;
    text-decoration: underline;
}

.upgrade-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
    margin-bottom: 50px;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.current-plan {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 15px;
    padding: 25px;
    height: fit-content;
}

.plan-badge {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.current-plan h2 {
    color: #e9d5ff;
    font-size: 20px;
    margin-bottom: 8px;
}

.plan-description {
    color: #d8b4fe;
    font-size: 13px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature {
    color: #d8b4fe;
    font-size: 13px;
    padding: 8px;
    border-radius: 6px;
    background: rgba(168, 85, 247, 0.05);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(168, 85, 247, 0.1);
}

.feature.limited {
    opacity: 0.6;
    color: #a78bfa;
}

.premium-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.6) 0%, rgba(61, 35, 99, 0.6) 100%);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    animation: slideInUp 0.6s ease-out backwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.3s; }
.pricing-card:nth-child(2) { animation-delay: 0.4s; }
.pricing-card:nth-child(3) { animation-delay: 0.5s; }

.pricing-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.2);
}

.pricing-card.featured {
    border-color: rgba(168, 85, 247, 0.5);
    background: linear-gradient(135deg, rgba(61, 35, 99, 0.8) 0%, rgba(77, 51, 115, 0.8) 100%);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.best-value {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a0033;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-name {
    color: #e9d5ff;
    font-size: 18px;
    font-weight: 700;
}

.plan-price {
    color: #a855f7;
    font-size: 32px;
    font-weight: 700;
}

.plan-price span {
    font-size: 14px;
    color: #d8b4fe;
}

.savings {
    color: #10b981;
    font-size: 13px;
    font-weight: 600;
}

.upgrade-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 13px;
}

.upgrade-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
    transform: translateY(-2px);
}

.featured-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a0033;
}

.featured-btn:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.plan-feature {
    color: #d8b4fe;
    font-size: 13px;
}

.faq-section {
    background: rgba(124, 58, 237, 0.08);
    border-radius: 15px;
    padding: 30px;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.faq-section h2 {
    color: #e9d5ff;
    margin-bottom: 25px;
    font-size: 20px;
}

.faq-item {
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question {
    color: #e9d5ff;
    font-weight: 600;
    padding: 15px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-question {
    background: rgba(168, 85, 247, 0.2);
}

.faq-answer {
    color: #d8b4fe;
    font-size: 13px;
    padding: 0 15px 15px;
    line-height: 1.6;
}

.profile-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.profile-header {
    display: flex;
    gap: 25px;
    align-items: center;
    background: rgba(124, 58, 237, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-placeholder {
    font-size: 48px;
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    color: #e9d5ff;
    font-size: 24px;
    margin-bottom: 5px;
}

.profile-info p {
    color: #d8b4fe;
    font-size: 14px;
    margin-bottom: 10px;
}

.premium-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #1a0033 !important;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-box {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    animation: slideInUp 0.5s ease-out backwards;
}

.stat-box:nth-child(1) { animation-delay: 0.3s; }
.stat-box:nth-child(2) { animation-delay: 0.4s; }
.stat-box:nth-child(3) { animation-delay: 0.5s; }

.stat-box:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-5px);
}

.stat-number {
    color: #a855f7;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    color: #d8b4fe;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.profile-section {
    background: rgba(124, 58, 237, 0.08);
    border-radius: 12px;
    padding: 20px;
    animation: slideInUp 0.6s ease-out backwards;
}

.profile-section:nth-of-type(1) { animation-delay: 0.3s; }
.profile-section:nth-of-type(2) { animation-delay: 0.4s; }
.profile-section:nth-of-type(3) { animation-delay: 0.5s; }

.profile-section h3 {
    color: #e9d5ff;
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    gap: 15px;
}

.setting-item span {
    color: #d8b4fe;
    font-weight: 500;
    font-size: 13px;
    min-width: 100px;
}

.setting-item input,
.setting-item select {
    flex: 1;
    padding: 8px 12px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 6px;
    color: #d8b4fe;
    font-family: inherit;
    font-size: 13px;
}

.setting-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 13px;
}

.setting-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
    transform: translateY(-2px);
}

.disabled-btn {
    background: rgba(124, 58, 237, 0.3) !important;
    opacity: 0.6;
    cursor: not-allowed !important;
}

.danger-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

.danger-btn:hover {
    background: linear-gradient(135deg, #fca5a5 0%, #ef4444 100%) !important;
}

.subscription-info {
    color: #d8b4fe;
    font-size: 14px;
    line-height: 1.8;
}

.upgrade-link-btn {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a0033;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.upgrade-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.3);
}

.ai-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    color: #d8b4fe;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    animation: slideInDown 0.8s ease-out;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.upload-hint {
    color: #d8b4fe;
    font-size: 11px;
    margin-top: 8px;
    opacity: 0.8;
    font-style: italic;
    animation: fadeIn 0.8s ease-out 0.5s both;
}

.tech-caption {
    color: #d8b4fe;
    font-size: 11px;
    text-align: center;
    margin-top: 10px;
    opacity: 0.7;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    animation: fadeIn 0.8s ease-out 0.7s both;
}

.playlist-caption {
    color: #d8b4fe;
    font-size: 11px;
    text-align: center;
    margin-top: 12px;
    opacity: 0.7;
    font-weight: 500;
    font-style: italic;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.autoplay-toggle .autoplay-label {
    font-size: 12px;
}

.autoplay-toggle.active .autoplay-label {
    animation: pulse 1s ease-in-out infinite;
}

.boost-btn[title] {
    position: relative;
}

.boost-btn[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fbbf24;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 10px;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
    font-weight: 600;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

@media (max-width: 1024px) {
    .premium-plans {
        grid-template-columns: 1fr;
    }

    .upgrade-container {
        grid-template-columns: 1fr;
    }

    .current-plan {
        order: 2;
    }
}

@media (max-width: 500px) {
    .player-wrapper {
        padding: 30px 20px;
    }

    h1 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .player-display {
        padding: 25px;
        margin-bottom: 25px;
    }

    .now-playing {
        flex-direction: column;
        text-align: center;
        margin-bottom: 25px;
    }

    .album-art {
        width: 90px;
        height: 90px;
        font-size: 42px;
    }

    .controls {
        gap: 12px;
    }

    .playlist {
        max-height: 250px;
    }

    .boost-btn {
        padding: 6px 10px;
        font-size: 14px;
    }

    .autoplay-content {
        margin: 20px;
        padding: 30px;
    }

    .autoplay-content h2 {
        font-size: 22px;
    }

    .autoplay-buttons {
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
    }

    .autoplay-toggle {
        width: 100%;
        justify-content: center;
    }

    .ai-badge {
        font-size: 10px;
        padding: 8px 12px;
    }

    .upload-hint {
        font-size: 10px;
    }

    .tech-caption,
    .playlist-caption {
        font-size: 10px;
    }
}

.autoplay-prompt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.autoplay-prompt.show {
    opacity: 1;
    pointer-events: all;
}

.autoplay-content {
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.98) 0%, rgba(45, 27, 78, 0.98) 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    text-align: center;
    border: 2px solid rgba(124, 58, 237, 0.5);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(168, 85, 247, 0.3);
    animation: fadeInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.autoplay-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(168, 85, 247, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.autoplay-content h2 {
    color: #e9d5ff;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.autoplay-content p {
    color: #d8b4fe;
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.autoplay-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.autoplay-btn {
    padding: 14px 25px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.autoplay-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: 0;
}

.autoplay-btn:hover::before {
    left: 100%;
}

.yes-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.yes-btn:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
}

.no-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.no-btn:hover {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.5);
}

.autoplay-toggle {
    display: flex !important;
    align-items: center;
    gap: 8px !important;
    position: relative;
    transition: all 0.3s ease;
}

.autoplay-toggle.active {
    background: rgba(16, 185, 129, 0.2) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.autoplay-toggle.active .autoplay-icon {
    animation: rotate 2s linear infinite;
}

.autoplay-toggle:hover {
    background: rgba(168, 85, 247, 0.25) !important;
}

.autoplay-icon {
    font-size: 16px;
    display: inline-block;
}

.autoplay-label {
    font-size: 12px;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    z-index: 1000;
}

.progress-glow {
    position: absolute;
    top: -9px;
    left: 0;
    right: 0;
    height: 24px;
    pointer-events: none;
    border-radius: 10px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
}

.album-art {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.play-btn {
    padding: 12px 38px;
    font-size: 15px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.35);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link {
    color: #d8b4fe;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.nav-link:hover, .back-link:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

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

.auth-wrapper {
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.95) 0%, rgba(45, 27, 78, 0.95) 100%);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 50px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto;
    animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: #d8b4fe;
    font-size: 14px;
    opacity: 0.9;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    animation: slideInUp 0.6s ease-out backwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }

.form-group label {
    display: block;
    color: #e9d5ff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 8px;
    color: #e9d5ff;
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 14px;
}

.form-group input::placeholder {
    color: rgba(232, 213, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.input-underline {
    height: 2px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
    margin-top: 5px;
    border-radius: 1px;
    animation: shimmer 2s infinite;
}

.password-strength {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 2px;
    overflow: hidden;
    width: 0%;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 11px;
    color: #d8b4fe;
    font-weight: 600;
    min-width: 60px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.5s;
}

.checkbox-container input {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer;
    accent-color: #a855f7;
}

.checkbox-label {
    color: #d8b4fe;
    font-size: 13px;
    cursor: pointer;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 10px;
}

.forgot-link {
    color: #a855f7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: #d946ef;
    text-decoration: underline;
}

.auth-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.25);
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.6s;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.4);
}

.divider {
    text-align: center;
    color: #d8b4fe;
    margin: 30px 0 20px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
}

.social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    color: #d8b4fe;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.7s;
}

.social-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
}

.social-icon {
    font-size: 18px;
}

.auth-footer {
    text-align: center;
    color: #d8b4