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

:root {
    --primary: #8b4513;
    --secondary: #d4a574;
    --dark: #3e2723;
    --light: #f5e6d3;
    --bg-gradient: linear-gradient(135deg, #2c1810 0%, #4a3428 100%);
    --accent: #a0826d;
    --header-bg: #f5e6d3;
    --green: #6b8e23;
    --red: #c44536;
    --yellow: #daa520;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--header-bg);
    background-attachment: fixed;
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    background: var(--header-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid var(--primary);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
    background-color: var(--header-bg);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    background: var(--yellow);
    color: var(--dark);
}

.nav-link.active {
    background: var(--green);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: 0.3s;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.page-content {
    background: rgba(62, 39, 35, 0.8);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary);
}

.page-content h1 {
    color: var(--yellow);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--light);
}

.content h2 {
    color: var(--yellow);
    margin: 1.5rem 0 1rem;
}

.content p {
    margin-bottom: 1rem;
}

/* Music Player */
.music-player {
    background: rgba(74, 52, 40, 0.5);
    border: 1px solid var(--secondary);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.player-track-info {
    flex: 1;
    min-width: 150px;
}

.player-now-playing {
    display: flex;
    flex-direction: column;
}

.player-title {
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
}

.player-album {
    font-size: 0.9rem;
    color: var(--yellow);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.player-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-btn:hover {
    background: var(--green);
    transform: scale(1.1);
}

.player-btn-main {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    background: var(--green);
}

.player-progress {
    flex: 2;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player-time {
    font-size: 0.85rem;
    color: #a0a0a0;
    min-width: 40px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--yellow);
    width: 0%;
    transition: width 0.1s linear;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 80px !important;
    height: 6px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    padding: 0 !important;
    border: none !important;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--red);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--red);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

#audioElement {
    display: none;
}

/* Queue Section */
.queue-section {
    background: rgba(74, 52, 40, 0.3);
    border: 1px solid var(--secondary);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.queue-header h3 {
    color: var(--yellow);
    font-size: 1.1rem;
    margin: 0;
}

.btn-small {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--secondary);
    color: #a0a0a0;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-small:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

.queue-list {
    max-height: 200px;
    overflow-y: auto;
}

.queue-empty {
    color: #a0a0a0;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
    margin: 0;
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.queue-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.queue-item-current {
    background: rgba(139, 69, 19, 0.3);
    border-left: 3px solid var(--primary);
}

.queue-item-number {
    color: #a0a0a0;
    font-size: 0.85rem;
    min-width: 20px;
}

.queue-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.queue-item-title {
    color: white;
    font-size: 0.95rem;
}

.queue-item-album {
    color: #a0a0a0;
    font-size: 0.8rem;
}

.queue-item-remove {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    transition: all 0.2s;
}

.queue-item-remove:hover {
    background: rgba(139, 69, 19, 0.3);
    color: var(--primary);
}

/* Track List */
.tracks-list {
    margin-top: 2rem;
}

.tracks-list h3 {
    color: var(--yellow);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(74, 52, 40, 0.3);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.track-item:hover {
    background: rgba(74, 52, 40, 0.5);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.track-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.track-item-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.track-item-album {
    color: var(--yellow);
    font-size: 0.85rem;
}

.track-item-duration {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.track-add-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--secondary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-add-btn:hover {
    background: var(--green);
    border-color: var(--green);
    transform: scale(1.1);
}

.track-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.track-share-btn {
    background: rgba(59, 89, 152, 0.2);
    border: 1px solid rgba(59, 89, 152, 0.5);
    color: #4267B2;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.track-share-btn:hover {
    background: #4267B2;
    border-color: #4267B2;
    color: white;
    transform: scale(1.1);
}

.track-share-btn svg {
    width: 16px;
    height: 16px;
}

/* Responsive Music Player */
@media (max-width: 768px) {
    .music-player {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .player-track-info {
        text-align: center;
    }

    .player-controls {
        justify-content: center;
    }

    .player-progress {
        order: 3;
        width: 100%;
    }

    .player-volume {
        justify-content: center;
    }

    .volume-slider {
        width: 100px;
    }
}

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--secondary);
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: #a0a0a0;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--green);
    color: white;
}

.btn-primary:hover {
    background: #567019;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 142, 35, 0.4);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background: var(--header-bg);
    padding: 2rem 0;
    text-align: center;
    color: var(--dark);
    margin-top: 3rem;
    border-top: 3px solid var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        border-bottom: 3px solid var(--primary);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        padding: 0.5rem 0;
    }

    .page-content h1 {
        font-size: 2rem;
    }

    .tracks-grid {
        grid-template-columns: 1fr;
    }

    .page-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-brand a {
        font-size: 1.5rem;
    }

    .page-content h1 {
        font-size: 1.8rem;
    }

    .content {
        font-size: 1rem;
    }
}
/* Main Video Player */
.main-video-player {
    background: rgba(74, 52, 40, 0.5);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 2rem;
}

.main-video-player video {
    width: 100%;
    border-radius: 8px;
    background: #000;
    max-height: 600px;
}

.main-video-info {
    padding: 1rem 0;
}

.main-video-info h3 {
    color: var(--yellow);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.main-video-info p {
    color: var(--light);
    margin-bottom: 0.5rem;
}

.video-meta {
    color: #a0a0a0 !important;
    font-size: 0.9rem;
}

/* Video List Section */
.video-list-section {
    margin-top: 2rem;
}

.video-list-section h3 {
    color: var(--yellow);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.video-list-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(74, 52, 40, 0.3);
    border: 2px solid var(--secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.video-list-item:hover {
    background: rgba(74, 52, 40, 0.5);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.video-list-item.active {
    background: rgba(107, 142, 35, 0.3);
    border-color: var(--green);
}

.video-list-thumbnail {
    position: relative;
    width: 160px;
    min-width: 160px;
    aspect-ratio: 16/9;
    border-radius: 5px;
    overflow: hidden;
    background: #000;
}

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

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    pointer-events: none;
}

.video-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-list-info h4 {
    color: var(--light);
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.video-list-info p {
    color: #a0a0a0;
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 768px) {
    .video-list-thumbnail {
        width: 100px;
        min-width: 100px;
    }

    .video-list-info h4 {
        font-size: 0.9rem;
    }

    .video-list-info p {
        font-size: 0.75rem;
    }

    .main-video-player video {
        max-height: 400px;
    }

    .video-play-overlay {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}
