:root {
    --background: #0a0a0a;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent: #646cff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background: linear-gradient(135deg, #000000, #1D1D1D, #000000);
    background-size: 400% 400%;
    animation: gradientBG 8s ease infinite;
    color: var(--text);
    min-height: 100vh;
    cursor: none;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.logo {
    height: 40px;
    width: auto;
}

.logo a {
    display: block;
    height: 100%;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hamburger.active span:first-child {
        transform: rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:last-child {
        transform: rotate(-45deg);
    }
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: normal;
}

/* Music page styles */
.music-list {
    padding: 6rem 2rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.track {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.play-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    cursor: pointer;
}

.track-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.track-title {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.track-genre {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.track-duration {
    color: var(--text-secondary);
}

.waveform {
    display: none;
}

/* Contact form styles */
.contact-container {
    padding: 6rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 1rem;
    border-radius: 4px;
    color: var(--text);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button {
    background: var(--text);
    color: var(--background);
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

button:hover {
    opacity: 0.9;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details a {
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Videos page styles */
.videos-container {
    padding: 6rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .videos-container {
        padding: 5rem 1rem 1rem;
    }
}

.video-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-card.hidden {
    display: none;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.video-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.video-card h3 {
    padding: 1rem;
    font-size: 1.125rem;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.load-more-btn {
    background: transparent;
    border: 2px solid var(--text);
    color: var(--text);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.load-more-btn:hover {
    background: var(--text);
    color: var(--background);
}

.load-more-btn.hidden {
    display: none;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 80%;
    max-width: 1200px;
    aspect-ratio: 16/9;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

/* Studio page styles */
.studio-container {
    padding: 6rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.studio-gallery {
    margin: 2rem 0 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
    height: 200px;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

/* Studio Lightbox styles */
.studio-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.studio-lightbox.active {
    display: flex;
}

.studio-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.studio-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.studio-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

/* Music player styles */
.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    width: 0;
    transition: width 0.1s linear;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.equipment-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.equipment-list {
    list-style: none;
}

.equipment-list li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* Custom Cursor Styles */
body * {
    cursor: none !important;
}

.custom-cursor {
    width: 32px;
    height: 32px;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0'/%3E%3Cline x1='12' y1='19' x2='12' y2='22'/%3E%3Cline x1='8' y1='22' x2='16' y2='22'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.custom-cursor.clicking {
    transform: translate(-50%, -50%) scale(0.9);
}

.musical-note {
    position: fixed;
    pointer-events: none;
    font-size: 20px;
    z-index: 9998;
    color: var(--text);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    will-change: transform, opacity;
}

@keyframes floatNote {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Text Animation Styles */
.text-container {
    position: relative;
    width: 100%;
    text-align: center;
}

.text-wrapper {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s ease-in-out;
    pointer-events: none;
}

.text-wrapper.current {
    position: relative;
    opacity: 1;
    transform: scale(1);
}