/* Custom styles for the Sarcastic IDE */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

/* Bouncing Video Styles */
.bouncing-video {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    cursor: grab;
    z-index: 9999;
    border: 3px solid #007acc;
    overflow: hidden;
    transition: transform 0.1s ease-out, border-color 0.3s ease;
}

.bouncing-video:active {
    cursor: grabbing;
}

.bouncing-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bouncing-video .close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
}

.bouncing-video:hover .close-btn {
    opacity: 1;
}

.bouncing-video .close-btn:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

/* Console animations */
.console-line {
    animation: fadeIn 0.3s ease-in;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background: #424242;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4e4e4e;
}

/* Button hover effects */
.fix-bug-btn {
    transition: all 0.2s;
}

.fix-bug-btn:hover {
    background: #ff3333;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

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

/* Pulse animation for status bar */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

/* Image overlay styles */
#image-overlay {
    animation: fadeIn 0.3s ease-in;
}

#image-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

#close-image {
    transition: all 0.2s;
}

#close-image:hover {
    transform: scale(1.1);
}

/* Fullscreen overlay for Farah Rose */
#fullscreen-overlay {
    cursor: pointer;
    animation: fadeIn 0.5s ease-in;
    backdrop-filter: blur(10px);
}

#fullscreen-overlay img {
    animation: zoomIn 0.5s ease-out;
    box-shadow: 0 0 50px rgba(255, 105, 180, 0.5);
}

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

/* Folder icon transition */
.folder-icon {
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Video file hover effect */
.video-file:hover {
    background-color: #37373d !important;
}

/* Jack Kays video file hover effect */
.jack-video-file:hover {
    background-color: #37373d !important;
}
