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

body {
    background: #0a0a0a;
    color: #ff0033;
    font-family: 'Share Tech Mono', monospace;
    overflow-x: hidden;
    position: relative;
    cursor: none;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: #ff0033;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s;
}

.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #ff0033;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.7;
}

/* Boot Sequence */
.boot-sequence {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Share Tech Mono', monospace;
}

.boot-sequence.active {
    display: flex;
}

.terminal-screen {
    width: 80%;
    max-width: 800px;
    background: #1a0000;
    border: 2px solid #ff0033;
    padding: 30px;
    box-shadow: 0 0 50px #ff0033;
}

.boot-logs {
    height: 300px;
    overflow-y: auto;
    color: #ff0033;
    line-height: 1.4;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.boot-progress {
    width: 100%;
    height: 4px;
    background: #330000;
    border: 1px solid #ff0033;
}

.progress-bar {
    height: 100%;
    background: #ff0033;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px #ff0033;
}

/* CRT Effects */
.crt-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,0,0,0.03) 50%,
        rgba(255,255,255,0) 100%
    );
    background-size: 100% 4px;
    z-index: 1000;
    pointer-events: none;
    animation: scanline 2s linear infinite;
}

.crt-glare {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(255,0,0,0.1) 0%,
        rgba(255,0,0,0) 70%
    );
    z-index: 999;
    pointer-events: none;
}

.crt-flicker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1001;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

@keyframes flicker {
    0%, 100% { opacity: 0.97; }
    5% { opacity: 0.95; }
    10% { opacity: 0.98; }
    15% { opacity: 0.92; }
    20% { opacity: 0.99; }
    50% { opacity: 0.93; }
    100% { opacity: 0.96; }
}

/* Blood Splatter */
.blood-splatter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/blood-splatter.png');
    background-size: cover;
    pointer-events: none;
    opacity: 0;
    z-index: 1002;
    transition: opacity 0.3s;
}

/* Terminal Overlay */
.terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    font-family: 'Share Tech Mono', monospace;
    padding: 50px;
}

.terminal-content {
    width: 100%;
    height: 100%;
    background: #1a0000;
    border: 2px solid #ff0033;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.terminal-output {
    flex-grow: 1;
    color: #ff0033;
    overflow-y: auto;
    margin-bottom: 20px;
    line-height: 1.4;
}

.terminal-input {
    display: flex;
    align-items: center;
    color: #ff0033;
}

.terminal-input input {
    background: transparent;
    border: none;
    color: #ff0033;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1em;
    margin-left: 10px;
    width: 100%;
    outline: none;
}

.terminal-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid #ff0033;
    color: #ff0033;
    padding: 10px 15px;
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.terminal-toggle:hover {
    background: #ff0033;
    color: #000;
    box-shadow: 0 0 20px #ff0033;
}

/* Visualizer */
.visualizer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: -1;
}

/* Terminal Container */
.terminal-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #ff0033;
    margin-bottom: 30px;
}

.glitch-text {
    font-size: 2.5em;
    font-weight: bold;
    color: #ff0033;
    position: relative;
    text-shadow: 2px 2px 0 #000;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 2s infinite linear alternate-reverse;
    color: #ff3366;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 3s infinite linear alternate-reverse;
    color: #ff0066;
    z-index: -2;
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
}

.terminal-stats {
    display: flex;
    gap: 30px;
}

.stat {
    font-size: 1.1em;
    color: #ff0033;
}

.pulse {
    color: #ff0033;
}

/* Navigation */
.terminal-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.nav-btn {
    background: transparent;
    border: 1px solid #ff0033;
    color: #ff0033;
    padding: 12px 24px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1em;
    cursor: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-btn:hover {
    background: #ff0033;
    color: #000;
    box-shadow: 0 0 20px #ff0033;
    transform: scale(1.05);
}

.nav-btn.active {
    background: #ff0033;
    color: #000;
    box-shadow: 0 0 15px #ff0033;
}

/* Content Sections */
.content-section {
    display: none;
    min-height: 60vh;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* Hero Video */
.hero-video {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    border: 3px solid #ff0033;
    box-shadow: 0 0 30px rgba(255, 0, 51, 0.3);
}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}

/* Floating Text Container */
.floating-text-container {
    position: absolute;
    bottom: 30px;
    left: 30px;
    pointer-events: auto;
}

/* Draggable Text */
.style-title, .style-subtitle {
    cursor: grab;
    user-select: none;
    position: relative;
    transition: transform 0.2s ease;
    pointer-events: auto;
    text-align: left;
    margin-bottom: 10px;
}

.style-title:active, .style-subtitle:active {
    cursor: grabbing;
}

.style-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #ff0033;
    text-shadow: 3px 3px 0 #000, 0 0 10px #000;
    font-family: 'Share Tech Mono', monospace;
}

.style-subtitle {
    font-size: 1.3em;
    color: #ff0033;
    text-shadow: 2px 2px 0 #000, 0 0 8px #000;
    font-family: 'Share Tech Mono', monospace;
}

/* Typing Cursor */
.typing-cursor {
    animation: blink 1s infinite;
    color: #ff0033;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.video-item {
    position: relative;
    aspect-ratio: 16/9;
    border: 2px solid #ff0033;
    overflow: hidden;
    cursor: none;
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 51, 0.3);
    border-color: #ff3366;
}

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

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 10px;
    color: #ff0033;
    font-size: 0.9em;
}

/* Music Player */
.music-player-container {
    background: rgba(20, 0, 0, 0.8);
    border: 2px solid #ff0033;
    padding: 30px;
    margin: 20px 0;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #ff0033;
    padding-bottom: 10px;
}

.player-header h3 {
    color: #ff0033;
    font-size: 1.5em;
}

.player-stats {
    color: #ff0033;
    font-size: 0.9em;
}

.track-banner {
    height: 120px;
    background: linear-gradient(45deg, #ff0033, #330000);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid #ff0033;
}

.track-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.track-info {
    position: relative;
    z-index: 2;
}

.track-info h4 {
    color: #ff0033;
    font-size: 1.5em;
    margin-bottom: 5px;
}

.track-info p {
    color: #ff0033;
    font-size: 1em;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.control-btn {
    background: transparent;
    border: 1px solid #ff0033;
    color: #ff0033;
    padding: 8px 12px;
    font-family: 'Share Tech Mono', monospace;
    cursor: none;
    transition: all 0.3s ease;
    font-size: 1em;
}

.control-btn:hover {
    background: #ff0033;
    color: #000;
    transform: scale(1.05);
}

.control-btn.active {
    background: #ff0033;
    color: #000;
}

.play-pause {
    background: #ff0033;
    border-color: #ff0033;
    color: #000;
    font-size: 1.2em;
    padding: 10px 15px;
}

.play-pause:hover {
    background: #ff3366;
    border-color: #ff3366;
}

.progress-container {
    flex-grow: 1;
    min-width: 200px;
}

.progress-bar, .volume-bar {
    width: 100%;
    height: 6px;
    background: #330000;
    border: 1px solid #ff0033;
    cursor: none;
    accent-color: #ff0033;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 150px;
}

.track-list {
    border-top: 1px solid #ff0033;
    padding-top: 20px;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid transparent;
    cursor: none;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.track-item:hover {
    background: rgba(255, 0, 51, 0.1);
    border-color: #ff0033;
}

.track-item.active {
    background: rgba(255, 0, 51, 0.2);
    border-color: #ff0033;
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.5);
}

.track-number {
    color: #ff0033;
    font-weight: bold;
    margin-right: 15px;
    width: 25px;
}

.track-name {
    flex-grow: 1;
    color: #ff0033;
    font-size: 1em;
}

.track-duration {
    color: #ff0033;
}

/* System Info */
.system-info {
    padding: 40px 0;
}

.info-terminal {
    background: rgba(20, 0, 0, 0.8);
    border: 1px solid #ff0033;
    padding: 30px;
    font-family: 'Share Tech Mono', monospace;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 10px;
    animation: typewriter 0.1s steps(40) forwards;
    opacity: 0;
}

.terminal-line:nth-child(1) { animation-delay: 0.1s; }
.terminal-line:nth-child(2) { animation-delay: 0.5s; }
.terminal-line:nth-child(3) { animation-delay: 1s; }
.terminal-line:nth-child(4) { animation-delay: 1.5s; }
.terminal-line:nth-child(5) { animation-delay: 2s; }
.terminal-line:nth-child(6) { animation-delay: 2.5s; }

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

.success { color: #ff0033; }
.warning { color: #ff6600; }
.danger { color: #ff0000; }

/* Footer */
.terminal-footer {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid #ff0033;
    text-align: center;
    color: #ff0033;
}

.blink {
    animation: blink 1s infinite;
}

/* Screen Shake */
@keyframes screenShake {
    0%, 100% { transform: translateX(0) translateY(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px) translateY(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px) translateY(5px); }
}

.screen-shake {
    animation: screenShake 0.5s ease-in-out;
}

/* Downloads Section */
.downloads-container {
    background: rgba(20, 0, 0, 0.8);
    border: 2px solid #ff0033;
    padding: 30px;
    margin: 20px 0;
}

.downloads-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ff0033;
    padding-bottom: 20px;
}

.downloads-header h3 {
    color: #ff0033;
    font-size: 2em;
    margin-bottom: 10px;
}

.downloads-header p {
    color: #ff0033;
    font-size: 1.1em;
    opacity: 0.8;
}

.downloads-list {
    margin-bottom: 30px;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #330000;
    margin-bottom: 10px;
    background: rgba(255, 0, 51, 0.05);
    transition: all 0.3s ease;
}

.download-item:hover {
    border-color: #ff0033;
    background: rgba(255, 0, 51, 0.1);
    transform: translateX(5px);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-icon {
    font-size: 1.5em;
    color: #ff0033;
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    color: #ff0033;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
}

.file-size {
    color: #ff3366;
    font-size: 0.9em;
    opacity: 0.8;
}

.download-btn {
    background: transparent;
    border: 1px solid #ff0033;
    color: #ff0033;
    padding: 8px 16px;
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background: #ff0033;
    color: #000;
    transform: scale(1.05);
}

.download-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.download-btn:disabled:hover {
    background: transparent;
    color: #ff0033;
}

.downloads-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #ff0033;
    padding-top: 20px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    color: #ff0033;
    display: block;
    font-size: 0.9em;
    margin-bottom: 5px;
    opacity: 0.8;
}

.stat-value {
    color: #ff0033;
    font-size: 1.2em;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .glitch-text {
        font-size: 1.8em;
    }
    
    .terminal-nav {
        flex-wrap: wrap;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-video {
        height: 50vh;
    }
    
    .style-title {
        font-size: 1.8em;
    }
    
    .style-subtitle {
        font-size: 1em;
    }
    
    .floating-text-container {
        bottom: 15px;
        left: 15px;
    }
    
    .player-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .progress-container, .volume-container {
        width: 100%;
    }
    
    .track-banner {
        height: 100px;
        padding: 15px;
    }
    
    .track-info h4 {
        font-size: 1.2em;
    }
    
    .track-info p {
        font-size: 0.9em;
    }
}