:root {
    --bg-color: #080808;
    --text-color: #e0e0e0;
    --accent-color: #5c0000;
    --accent-hover: #800000;
    --border-color: #222222;
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'VT323', monospace;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    margin: 0;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

.social-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    background-color: var(--bg-color);
    border-bottom: 2px solid var(--accent-color);
    flex-wrap: wrap;
    gap: 20px 60px;
}

.social-bar a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.social-bar a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    min-height: calc(100vh - 70px); 
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.2;
}

.logo-container, .album-cover-container {
    z-index: 1;
}

.logo-container {
    flex: 1;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.artist-name {
    font-family: 'Press Start 2P', monospace;
    font-size: 5rem;
    color: var(--text-color) !important;
    margin: 0;
    line-height: 1.2;
    min-height: 1.2em;
    display: inline-block;
    text-align: left;
    min-width: 6ch;
    outline: none !important;
    border: none !important;
    text-shadow: none !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.cursor {
    animation: blink 1s step-end infinite;
    background: transparent !important;
}

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

.album-cover-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.album-cover {
    width: 450px;
    height: 450px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.album-cover:hover {
    transform: scale(1.02);
    border-color: var(--text-color);
}

.announcement-section {
    background-color: var(--accent-color);
    color: #fff;
    text-align: center;
    padding: 30px;
}

.announcement-text {
    font-size: 1rem;
    letter-spacing: 2px;
    line-height: 1.5;
}

.bio-section {
    padding: 100px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.bio-text {
    font-size: 1.8rem;
    line-height: 1.8;
    color: #999;
    font-family: 'VT323', monospace;
}

.releases-section {
    padding: 100px 20px;
    text-align: center;
    background-color: #0b0b0b;
    border-top: 1px solid var(--border-color);
}

.releases-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.release-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    background: #080808;
    width: 300px;
}

.release-item:hover {
    border-color: var(--text-color);
    transform: translateY(-5px);
}

.release-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.release-item p {
    font-size: 1rem;
    font-family: 'Press Start 2P', monospace;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

.gallery-section {
    padding: 100px 20px;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 60px auto 0;
}

.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
    border-color: var(--text-color);
}

#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#lightbox.active {
    display: flex;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--text-color);
    font-size: 3rem;
    cursor: pointer;
    font-family: sans-serif;
    transition: color 0.3s;
    z-index: 1001;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    font-size: 4rem;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s;
    user-select: none;
    z-index: 1001;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--accent-color);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

footer {
    text-align: center;
    padding: 40px;
    background-color: #080808;
    border-top: 1px solid var(--border-color);
    font-size: 1.2rem;
    color: #444;
}

@media (max-width: 1024px) {
    .main-header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 50px;
        padding: 50px 20px;
    }
    
    .logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 350px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
    
    .artist-name {
        font-size: 3.5rem;
        text-align: center;
        min-width: unset;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 1;
        min-height: unset;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .album-cover-container {
        justify-content: center;
        width: 100%;
    }
    
    .album-cover {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .social-bar {
        gap: 20px 38px;
        padding: 15px 5px;
    }
    
    .social-bar a {
        font-size: 1.4rem;
    }
    
    .logo-container {
        max-width: 300px;
    }
    
    .artist-name {
        font-size: 2.6rem;
    }
    
    .album-cover {
        width: 300px;
        height: 300px;
    }
}
