@font-face {
    font-family: "Reactor7";
    src: url("reactor7/Reactor7.eot") format("eot"),
         url("reactor7/Reactor7.woff") format("woff"),
         url("reactor7/Reactor7.ttf") format("truetype"),
         url("reactor7/Reactor7.otf") format("opentype"),
         url("reactor7/Reactor7.svg#Reactor7") format("svg");
    font-weight: normal;
    font-style: normal;
}

/* Default cursor */
body, html, textarea {
    cursor: url("Mouse/MouseNormal.png"), crosshair;
}

/* Links default */
a {
    cursor: url("Mouse/MouseLink.png"), pointer;
}

a:hover {
    cursor: url("Mouse/MouseHelp.png"), pointer;
}

/* Item elements */
.help-cursor {
    cursor: url("Mouse/MouseHelp.png"), help;
}

/* Interactive elements */
.interactive {
    cursor: url("Mouse/MouseHelp.png"), pointer;
}

@keyframes glitch {
    0% {
        transform: translate(0);
        text-shadow: 2px 2px #ff0000, -2px -2px #00ffff;
    }
    20% {
        transform: translate(-2px, 2px);
        text-shadow: -2px 2px #ff0000, 2px -2px #00ffff;
    }
    40% {
        transform: translate(2px, -2px);
        text-shadow: 2px -2px #ff0000, -2px 2px #00ffff;
    }
    60% {
        transform: translate(-2px, 0);
        text-shadow: -2px 0 #ff0000, 2px 0 #00ffff;
    }
    80% {
        transform: translate(0, -2px);
        text-shadow: 0 -2px #ff0000, 0 2px #00ffff;
    }
    100% {
        transform: translate(0);
        text-shadow: 2px 2px #ff0000, -2px -2px #00ffff;
    }
}


@keyframes diagonalMove {
    0% {
        transform: translate(100vw, -100px);
        opacity: 1;
    }
    100% {
        transform: translate(-200px, 100vh);
        opacity: 1;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Reactor7', 'Share Tech Mono', monospace;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

.diagonal-images {
    position: fixed;
    top: -5em;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10;
}

.diagonal-img {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(182, 47, 40, 0.5));
}

#diagonal-1 {
    animation: diagonalMove 15s linear infinite;
    animation-delay: 0s;
    z-index: 9;
}

#diagonal-2 {
    animation: diagonalMove 15s linear infinite;
    animation-delay: -5s;
    z-index: 8;
    transform: translate(80%, -80%);
}

#diagonal-3 {
    animation: diagonalMove 15s linear infinite;
    animation-delay: -10s;
    z-index: 9;
    transform: translate(160%, -160%);
}

#diagonal-1:nth-of-type(2) {
    z-index: 8;
}

#diagonal-2:nth-of-type(3) {
    z-index: 9;
}

#diagonal-3:nth-of-type(1) {
    z-index: 7;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease-out;
    border: 2px solid #ffffff;
}

.loading-screen.fade-out {
    opacity: 0;
}

.loading-content {
    text-align: center;
    margin-bottom: 2rem;
}

.loading-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #cc0000;
    text-shadow: 0 0 20px rgba(204, 0, 0, 0.8);
}

.progress-container {
    width: 50em;
    max-width: 80vw;
}

.progress-bar {
    width: 100%;
    height: 1.5em;
    background-color: #333333;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid #ffffff;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1363a0, #1e00ff);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.6);
}

.progress-text {
    font-size: 1.2rem;
    color: #1363a0;
    font-weight: bold;
}

.continue-prompt {
    position: absolute;
    bottom: 10%;
    text-align: center;
    animation: pulse 2s infinite;
}

.continue-prompt p {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.main-website {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #2e1a1a 50%, #3e1616 100%);
    opacity: 0;
    transition: opacity 0.8s ease-in;
    border: 2px solid #ffffff;
}

.main-website.show {
    opacity: 1;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.content-wrapper {
    display: flex;
    gap: 2rem;
    flex: 1;
    min-height: 0;
}

.navigation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 200px;
    flex-shrink: 0;
}

.nav-btn {
    position: relative;
    padding: 1.5rem 2rem 1.5rem 3rem;
    background-color: rgba(60, 30, 30, 0.8);
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: url("Mouse/MouseHelp.png"), pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-radius: 8px 0 0 8px;
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 15px 100%, 0 50%);
    border-left: none;
    margin-right: -10px;
}

.nav-icon {
    width: 50%;
    height: 100%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.6);
    background-color: rgba(204, 0, 0, 0.1);
    cursor: url("Mouse/MouseHelp.png"), pointer;
}

.nav-btn:hover .nav-icon {
    filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(7500%) hue-rotate(0deg) brightness(94%) contrast(94%);
    transform: scale(1.1);
}

.nav-btn:hover .nav-text {
    animation: glitch 0.3s linear infinite;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn.active {
    background-color: rgba(204, 0, 0, 0.2);
    box-shadow: 0 0 15px rgba(204, 0, 0, 0.4);
    transform: translateX(10px);
}

.nav-btn.active .nav-icon {
    filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(7500%) hue-rotate(0deg) brightness(94%) contrast(94%);
}

.main-frame {
    flex: 1;
    background-color: rgba(45, 20, 20, 1);
    border: 2px solid #ffffff;
    border-radius: 12px;
    padding: 2rem;
    overflow-y: auto;
    position: relative;
    box-shadow: 
        0 0 30px rgba(204, 0, 0, 0.3),
        inset 0 0 50px rgba(204, 0, 0, 0.05);
}

.main-frame::-webkit-scrollbar {
    width: 15px;
}

.main-frame::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border: 2px solid #ffffff;
}

.main-frame::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #cc0000, #990000);
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(204, 0, 0, 0.5);
    border: 1px solid #ffffff;
}

.main-frame::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #990000, #cc0000);
}

.art-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1rem;
}

.art-item {
    aspect-ratio: 1;
    border: 2px solid #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: url("Mouse/MouseHelp.png"), pointer;
    position: relative;
}

.art-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.6);
    border-color: #cc0000;
}

.art-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.art-item:hover .art-image {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.audio-frame {
    background-color: rgba(45, 20, 20, 0.9);
    border: 2px solid #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    height: 120px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 
        0 0 30px rgba(204, 0, 0, 0.3),
        inset 0 0 50px rgba(204, 0, 0, 0.05);
}

.audio-title {
    color: #cc0000;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
}

.audio-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

#audio-element {
    flex: 1;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #ffffff;
    border-radius: 8px;
}

#audio-element::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.audio-controls {
    display: flex;
    gap: 0.5rem;
}

.audio-btn {
    background-color: rgba(60, 30, 30, 0.8);
    border: 2px solid #ffffff;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: url("Mouse/MouseHelp.png"), pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-btn:hover {
    background-color: rgba(204, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
    transform: scale(1.1);
}

.custom-progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.progress-slider {
    flex: 1;
}

.progress-track {
    width: 100%;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    position: relative;
    cursor: url("Mouse/MouseHelp.png"), pointer;
    border: 1px solid #ffffff;
}

.progress-track #audio-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #cc0000, #ff6666);
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: -4px;
    left: 0%;
    width: 16px;
    height: 16px;
    background-color: #cc0000;
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: url("Mouse/MouseHelp.png"), pointer;
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.progress-handle:hover,
.progress-handle.dragging {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.8);
}

.time-display {
    font-size: 0.9rem;
    color: #ffffff;
    min-width: 40px;
    text-align: center;
}

.section-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.section-content.active {
    display: block;
}

.section-content h2 {
    color: #cc0000;
    font-size: 5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
}

.section-content h3 {
    color: #ff6666;
    font-size: 2.5rem;
    margin: 2rem 0 1rem 0;
    text-shadow: 0 0 8px rgba(255, 102, 102, 0.4);
}

.section-content p {
    line-height: 1.8;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    text-align: justify;
}

.section-content strong {
    color: #cc0000;
    text-shadow: 0 0 5px rgba(204, 0, 0, 0.3);
}

.section-content a {
    color: #ff6666;
    cursor: url("Mouse/MouseHelp.png"), pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-content a:hover {
    color: #cc0000;
    animation: glitch 0.3s linear infinite;
    cursor: url("Mouse/MouseHelp.png"), pointer;
}

.header-links a:hover {
    animation: glitch 0.3s linear infinite;
    cursor: url("Mouse/MouseHelp.png"), pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
        gap: 1rem;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navigation {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
    }
    
    .nav-btn {
        width: 120px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        margin-left: 0;
        clip-path: none;
        border-radius: 8px;
        border: 2px solid #ffffff;
        justify-content: center;
    }
    
    .nav-icon {
        width: 20px;
        height: 20px;
    }
    
    .main-frame {
        padding: 1.5rem;
    }
    
    .section-content h2 {
        font-size: 2rem;
    }
    
    .section-content h3 {
        font-size: 1.5rem;
    }
    
    .loading-title {
        font-size: 2.5rem;
    }
    
    .progress-container {
        width: 300px;
    }
    
    .audio-frame {
        height: auto;
        min-height: 120px;
    }
    
    .audio-player {
        flex-wrap: wrap;
    }
    
    .custom-progress-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .progress-slider {
        order: -1;
    }
    
    .time-display {
        font-size: 0.8rem;
    }
    
    .art-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .diagonal-img {
        width: 40px;
        height: 40px;
    }
}

.main-website::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(204, 0, 0, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(204, 0, 0, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 40% 80%, rgba(204, 0, 0, 0.1) 0%, transparent 20%);
    pointer-events: none;
    z-index: 0;
}