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

body {
    font-family: 'Courier Prime', 'Courier New', monospace;
    background-color: hsl(0, 0%, 0%);
    color: hsl(0, 0%, 63%);
    cursor: crosshair;
    line-height: 1.6;
    letter-spacing: 0.1em;
    position: relative;
    overflow-x: hidden;
}

body::after {
    content: '';
    position: fixed;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(40, 40, 40, 0.6) 0%, rgba(20, 20, 20, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    left: var(--cursor-x, -100px);
    top: var(--cursor-y, -100px);
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
    opacity: 0;
}

body.cursor-active::after {
    opacity: 1;
}

.background-text {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200vw;
    height: 200vh;
    font-size: 40px;
    font-weight: bold;
    color: hsl(0, 0%, 30%);
    opacity: 0.4;
    z-index: 0;
    transform: translate(-50%, -50%) rotate(-15deg);
    white-space: pre-wrap;
    animation: backgroundText 60s linear infinite;
    pointer-events: none;
    letter-spacing: 0.2em;
    word-spacing: 0.5em;
    font-family: 'Courier Prime', monospace;
    line-height: 2;
    text-align: center;
}

@keyframes backgroundText {
    0% { transform: translateX(-50%) translateY(-50%) rotate(-15deg); }
    100% { transform: translateX(-60%) translateY(-40%) rotate(-15deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    aspect-ratio: 4/3;
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
}

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

.main-text {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.8;
    animation: subtleBlink 4s ease-in-out infinite;
}

@keyframes subtleBlink {
    0%, 100% { 
        opacity: 0.9; 
        color: hsl(0, 0%, 63%);
    }
    50% { 
        opacity: 0.6; 
        color: hsl(0, 0%, 51%);
    }
}

.sub-text {
    font-size: 14px;
    color: hsl(0, 0%, 54%);
}

.small-text {
    font-size: 12px;
    color: hsl(0, 0%, 49%);
}

.divider-text {
    font-size: 12px;
    color: hsl(240, 4%, 38%);
    margin-top: 16px;
    line-height: 1.4;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.grid-img {
    width: 100%;
    height: 96px;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(0.3) contrast(1.2);
    border: 1px solid hsl(240, 3%, 15%);
    position: relative;
}

.grid-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(9, 9, 11, 0.6) 80%);
    pointer-events: none;
    z-index: 1;
}

.grid-img:hover {
    opacity: 1;
    filter: grayscale(0) contrast(1.5) brightness(1.1);
}

.grid-img:hover::before {
    background: radial-gradient(ellipse at center, transparent 50%, rgba(9, 9, 11, 0.4) 85%);
}

.music-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.music-item {
    width: 100%;
}

.artist-label {
    text-align: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: hsl(240, 4%, 29%);
    letter-spacing: 0.2em;
}

.soundcloud-embed {
    border: 1px dotted hsl(240, 3%, 29%);
    opacity: 0.6;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: brightness(0.49) contrast(1.2) saturate(0.7);
    background: hsl(240, 8%, 11%);
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.soundcloud-embed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(9, 9, 11, 0.7) 85%);
    pointer-events: none;
    z-index: 1;
}

.soundcloud-embed:hover {
    opacity: 0.9;
    filter: brightness(0.6) contrast(1.3) saturate(0.8);
}

.soundcloud-embed:hover::after {
    background: radial-gradient(ellipse at center, transparent 40%, rgba(9, 9, 11, 0.5) 90%);
}

.fragment-text {
    text-align: center;
    font-size: 12px;
    color: hsl(240, 4%, 29%);
    line-height: 1.8;
    letter-spacing: 0.15em;
    word-spacing: 0.3em;
}

.footer {
    text-align: center;
    margin-top: 32px;
}

.footer-box {
    display: inline-block;
    padding: 12px 16px;
    border: 1px dotted hsl(240, 3%, 20%);
    font-size: 12px;
    color: hsl(0, 0%, 40%);
    opacity: 0.8;
    animation: pulse 4s ease-in-out infinite;
}

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

/* Glitch effect for random elements */
.glitch {
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { 
        opacity: 1; 
        transform: translate(0);
    }
    50% { 
        opacity: 0.7; 
        transform: translate(1px, -1px);
    }
}

/* Text flicker effect */
.flicker {
    animation: textFlicker 6s infinite;
}

@keyframes textFlicker {
    0%, 95%, 100% { opacity: 1; }
    96%, 98% { opacity: 0.3; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .grid-img {
        height: 80px;
    }
    
    .main-text {
        font-size: 16px;
    }
    
    .sub-text {
        font-size: 12px;
    }
}