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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000;
    color: #fff;
    overflow: hidden;
    cursor: none;
}

/* Video a pantalla completa */
#player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    filter: contrast(1.1) brightness(1.05);
}

/* Live TV Effects Overlay */
.live-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Scan lines effect */
.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 0, 0.03) 2px,
        rgba(0, 255, 0, 0.03) 4px
    );
    animation: scanLines 0.1s linear infinite;
}

@keyframes scanLines {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* TV noise/static effect */
.tv-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    animation: tvNoise 0.15s linear infinite;
}

@keyframes tvNoise {
    0%, 100% { 
        background-image: 
            radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    }
    25% { 
        background-image: 
            radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 20% 60%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    }
    50% { 
        background-image: 
            radial-gradient(circle at 40% 90%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    }
    75% { 
        background-image: 
            radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    }
}

/* Vignette effect */
.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 60%, rgba(0, 0, 0, 0.3) 100%);
}

/* Signal interference lines */
.signal-interference {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98%,
        rgba(255, 255, 255, 0.1) 98%,
        rgba(255, 255, 255, 0.1) 100%
    );
    animation: signalInterference 2s ease-in-out infinite;
}

@keyframes signalInterference {
    0%, 100% { 
        opacity: 0;
        transform: translateX(0);
    }
    50% { 
        opacity: 1;
        transform: translateX(10px);
    }
}

#player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Overlay de información - always visible */
.info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: all;
}

body:hover {
    cursor: default;
}

/* Top bar */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Simple Logo */
.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.3), rgba(255, 50, 50, 0.2));
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid rgba(255, 0, 0, 0.8);
    box-shadow: 
        0 0 20px rgba(255, 0, 0, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    animation: liveGlow 1.5s ease-in-out infinite alternate;
}

@keyframes liveGlow {
    0% {
        box-shadow: 
            0 0 20px rgba(255, 0, 0, 0.5),
            inset 0 0 10px rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 0, 0, 0.8);
    }
    100% {
        box-shadow: 
            0 0 30px rgba(255, 0, 0, 0.8),
            inset 0 0 15px rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 100, 100, 1);
    }
}

.pulse {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse 1.2s infinite, pulseGlow 1.5s ease-in-out infinite alternate;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.4);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 1), 0 0 30px rgba(255, 100, 100, 0.6);
    }
}

/* Viewers counter */
.viewers {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(0, 150, 255, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    border: 2px solid rgba(0, 150, 255, 0.5);
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
    animation: viewersGlow 3s ease-in-out infinite alternate;
}

@keyframes viewersGlow {
    0% {
        box-shadow: 
            0 0 15px rgba(0, 150, 255, 0.3),
            inset 0 0 8px rgba(255, 255, 255, 0.1);
        border-color: rgba(0, 150, 255, 0.5);
    }
    100% {
        box-shadow: 
            0 0 25px rgba(0, 150, 255, 0.6),
            inset 0 0 12px rgba(255, 255, 255, 0.2);
        border-color: rgba(0, 150, 255, 0.8);
    }
}

.viewer-icon {
    font-size: 1rem;
    filter: drop-shadow(0 0 5px rgba(0, 150, 255, 0.5));
}

.viewer-count {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Bottom bar */
.bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.song-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.position {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
}

.details h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 8px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.details p {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Controls */
.controls {
    display: flex;
    gap: 15px;
}

.control-btn {
    width: 60px;
    height: 60px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.control-btn:active {
    transform: scale(0.95);
}

/* Spotify button specific styles */
.spotify-btn {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%) !important;
    border-color: rgba(29, 185, 84, 0.5) !important;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.spotify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

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

.spotify-btn:hover {
    background: linear-gradient(135deg, #1ed760 0%, #1DB954 100%) !important;
    transform: scale(1.1);
    border-color: rgba(29, 185, 84, 0.8) !important;
    box-shadow: 0 6px 25px rgba(29, 185, 84, 0.5) !important;
}

.spotify-btn:active {
    transform: scale(0.95);
}

/* Spotify button in playlist items */
.playlist-spotify-btn {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    border: 1px solid rgba(29, 185, 84, 0.5);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(29, 185, 84, 0.3);
    text-decoration: none;
}

.playlist-spotify-btn:hover {
    background: linear-gradient(135deg, #1ed760 0%, #1DB954 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.5);
}

.playlist-spotify-btn:active {
    transform: translateY(0);
}

.playlist-spotify-btn svg {
    width: 14px;
    height: 14px;
}

/* Playlist sidebar */
.playlist-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 20;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.playlist-sidebar.open {
    right: 0;
}

.playlist-header {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.playlist-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.close-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.playlist-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.playlist-item {
    padding: 20px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.playlist-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.song-info-item {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
}

.song-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.4);
    min-width: 40px;
}

.song-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.song-details p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.loading {
    text-align: center;
    padding: 40px;
    opacity: 0.5;
}

/* Scrollbar */
.playlist-content::-webkit-scrollbar {
    width: 8px;
}

.playlist-content::-webkit-scrollbar-track {
    background: transparent;
}

.playlist-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.playlist-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        padding: 20px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .bottom-bar {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .details h1 {
        font-size: 1.5rem;
    }

    .details p {
        font-size: 1rem;
    }

    .position {
        font-size: 2rem;
    }

    .controls {
        justify-content: center;
    }

    .playlist-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* All elements always visible - no hiding functionality */

/* Yeehaw Button */
.yeehaw-button {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: all;
}

.yeehaw-button.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

.yeehaw-content {
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
    padding: 30px 50px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(255, 107, 53, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: yeehawPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.yeehaw-content:hover {
    transform: scale(1.05);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 70px rgba(255, 107, 53, 0.7),
        inset 0 0 25px rgba(255, 255, 255, 0.3);
}

.yeehaw-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.yeehaw-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

@keyframes yeehawPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 50px rgba(255, 107, 53, 0.5),
            inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.4),
            0 0 70px rgba(255, 107, 53, 0.8),
            inset 0 0 25px rgba(255, 255, 255, 0.3);
    }
}

/* Live TV Glitch Effects */
.signal-glitch {
    animation: signalGlitch 0.2s ease-in-out;
}

@keyframes signalGlitch {
    0%, 100% {
        filter: contrast(1.1) brightness(1.05);
        transform: translateX(0);
    }
    20% {
        filter: contrast(1.5) brightness(1.2) hue-rotate(90deg);
        transform: translateX(-2px);
    }
    40% {
        filter: contrast(0.8) brightness(0.9) hue-rotate(-90deg);
        transform: translateX(2px);
    }
    60% {
        filter: contrast(1.3) brightness(1.1) hue-rotate(180deg);
        transform: translateX(-1px);
    }
    80% {
        filter: contrast(0.9) brightness(0.95) hue-rotate(270deg);
        transform: translateX(1px);
    }
}

.brightness-flicker {
    animation: brightnessFlicker 0.15s ease-in-out;
}

@keyframes brightnessFlicker {
    0%, 100% {
        filter: contrast(1.1) brightness(1.05);
    }
    50% {
        filter: contrast(1.2) brightness(1.3);
    }
}

/* Enhanced live effects for glitch */
.live-effects.signal-glitch .scan-lines {
    animation-duration: 0.05s;
}

.live-effects.signal-glitch .tv-noise {
    opacity: 0.3;
}

/* Subtle chromatic aberration effect */
#player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    filter: contrast(1.1) brightness(1.05);
    transition: filter 0.1s ease;
}

#player.signal-glitch {
    filter: contrast(1.3) brightness(1.2) saturate(1.5);
}

/* New Songs Notification Animation */
.new-songs-notification {
    position: fixed;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    transition: top 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.new-songs-notification.show {
    top: 80px;
}

.new-songs-content {
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ffd700, #ff6b35);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    padding: 25px 40px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 107, 53, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.new-songs-icon {
    font-size: 3rem;
    animation: bounceRotate 1s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.new-songs-cowboy {
    font-size: 3rem;
    animation: tipHat 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.new-songs-text {
    text-align: center;
}

.new-songs-title {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.new-songs-count {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

/* Confetti Animation */
.new-songs-confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.confetti {
    position: absolute;
    font-size: 1.5rem;
    animation: confettiFall 3s ease-in-out infinite;
    opacity: 0;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.confetti:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.confetti:nth-child(2) {
    left: 25%;
    animation-delay: 0.3s;
}

.confetti:nth-child(3) {
    left: 40%;
    animation-delay: 0.6s;
}

.confetti:nth-child(4) {
    left: 55%;
    animation-delay: 0.9s;
}

.confetti:nth-child(5) {
    left: 70%;
    animation-delay: 1.2s;
}

.confetti:nth-child(6) {
    left: 85%;
    animation-delay: 1.5s;
}

.confetti:nth-child(7) {
    left: 15%;
    animation-delay: 1.8s;
}

.confetti:nth-child(8) {
    left: 90%;
    animation-delay: 2.1s;
}

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

@keyframes bounceRotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(-15deg) scale(1.1);
    }
    50% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    75% {
        transform: translateY(-10px) rotate(15deg) scale(1.05);
    }
}

@keyframes tipHat {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg) translateY(-5px);
    }
    20%, 40% {
        transform: rotate(0deg);
    }
}

@keyframes confettiFall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(200px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .new-songs-notification.show {
        top: 60px;
    }

    .new-songs-content {
        padding: 20px 30px;
        gap: 15px;
    }

    .new-songs-icon,
    .new-songs-cowboy {
        font-size: 2rem;
    }

    .new-songs-title {
        font-size: 1.5rem;
    }

    .new-songs-count {
        font-size: 1rem;
    }
}

/* ============================================
   Mem0 Memory Integration Styles
   ============================================ */

/* Like Button */
.like-btn {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%) !important;
    border-color: rgba(255, 71, 87, 0.5) !important;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.like-btn.liked {
    animation: likedPulse 0.5s ease;
}

@keyframes likedPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.like-btn:hover {
    background: linear-gradient(135deg, #ff6b81 0%, #ff4757 100%) !important;
    transform: scale(1.1);
    border-color: rgba(255, 71, 87, 0.8) !important;
    box-shadow: 0 6px 25px rgba(255, 71, 87, 0.5) !important;
}

/* Memory Button */
.memory-btn {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%) !important;
    border-color: rgba(168, 85, 247, 0.5) !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3) !important;
}

.memory-btn:hover {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%) !important;
    transform: scale(1.1);
    border-color: rgba(168, 85, 247, 0.8) !important;
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.5) !important;
}

/* Memory Sidebar */
.memory-sidebar {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 20;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(168, 85, 247, 0.3);
    display: flex;
    flex-direction: column;
}

.memory-sidebar.open {
    left: 0;
}

.memory-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.memory-section {
    margin-bottom: 30px;
}

.memory-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(168, 85, 247, 0.8);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.memory-item {
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .memory-sidebar {
        width: 100%;
        left: -100%;
    }
}
