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

body {
    background: #000;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}

/* SCANLINE EFFECT */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9999;
    animation: scan 8s linear infinite;
}

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

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    animation: fadeIn 0.6s ease;
}

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

/* ADMIN BUTTON */
.admin-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #222;
    color: #fff;
    padding: 8px 16px;
    cursor: pointer;
    border: 1px solid #444;
    font-family: monospace;
    font-size: 12px;
    z-index: 100;
    transition: all 0.2s ease;
}

.admin-btn:hover {
    background: #333;
    border-color: #666;
    transform: translateY(-2px);
}

/* HEADER */
header {
    margin-bottom: 60px;
    animation: slideDown 0.5s ease;
}

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

h1 {
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* GLITCH TEXT EFFECT */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: 'se7enchakras';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch1 3s infinite;
    color: #f00;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch2 3s infinite;
    color: #0ff;
    z-index: -2;
}

@keyframes glitch1 {
    0%, 100% {
        transform: translate(0);
        opacity: 0;
    }
    10% {
        transform: translate(-2px, 2px);
        opacity: 0.8;
    }
    20% {
        transform: translate(0);
        opacity: 0;
    }
}

@keyframes glitch2 {
    0%, 100% {
        transform: translate(0);
        opacity: 0;
    }
    15% {
        transform: translate(2px, -2px);
        opacity: 0.8;
    }
    25% {
        transform: translate(0);
        opacity: 0;
    }
}

nav {
    font-size: 14px;
    animation: fadeIn 0.8s ease 0.2s backwards;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #aaa;
}

/* TRACKS */
.tracks {
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease 0.4s backwards;
}

.tracks h2 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 20px;
    text-transform: lowercase;
    opacity: 0.7;
}

.track-item {
    padding: 8px 0;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    opacity: 0;
    animation: slideIn 0.4s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.track-item:nth-child(1) { animation-delay: 0.1s; }
.track-item:nth-child(2) { animation-delay: 0.15s; }
.track-item:nth-child(3) { animation-delay: 0.2s; }
.track-item:nth-child(4) { animation-delay: 0.25s; }
.track-item:nth-child(5) { animation-delay: 0.3s; }
.track-item:nth-child(n+6) { animation-delay: 0.35s; }

.track-item:last-child {
    border-bottom: none;
}

.track-item:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 4px;
    transition: all 0.2s ease;
}

.track-date {
    color: #666;
    font-size: 12px;
    min-width: 80px;
}

.track-name {
    flex: 1;
}

.track-link {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    border: 1px solid #444;
    padding: 4px 12px;
    background: #222;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.track-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.track-link:hover::before {
    left: 100%;
}

.track-link:hover {
    background: #333;
    border-color: #666;
    transform: translateY(-1px);
}

.empty {
    color: #666;
    font-style: italic;
    padding: 20px 0;
    opacity: 0.5;
}

/* FOOTER */
footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #222;
    animation: fadeIn 1s ease 0.6s backwards;
}

footer p {
    color: #666;
    font-size: 12px;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-box {
    background: #111;
    border: 1px solid #444;
    padding: 40px;
    min-width: 400px;
    animation: slideUp 0.3s ease;
}

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

.modal-box h2 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 30px;
}

.modal-box input {
    width: 100%;
    background: #000;
    border: 1px solid #444;
    color: #fff;
    padding: 12px;
    font-family: monospace;
    font-size: 14px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.modal-box input:focus {
    outline: none;
    border-color: #666;
    background: #0a0a0a;
}

.modal-btns {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-btns button {
    flex: 1;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    padding: 12px;
    font-family: monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btns button:hover {
    background: #333;
    border-color: #666;
    transform: translateY(-1px);
}

.error {
    color: #f00;
    font-size: 12px;
    margin-top: 15px;
    min-height: 20px;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ADMIN PANEL */
.admin-panel {
    display: none;
    margin: 40px 0;
    padding: 40px;
    background: #0a0a0a;
    border: 1px solid #333;
    animation: slideDown 0.4s ease;
}

.admin-panel.active {
    display: block;
}

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

.admin-header h2 {
    font-size: 16px;
    font-weight: normal;
}

.admin-header button {
    background: #222;
    border: 1px solid #444;
    color: #fff;
    padding: 8px 16px;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-header button:hover {
    background: #333;
    border-color: #666;
    transform: translateY(-1px);
}

.admin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.admin-section {
    background: #000;
    border: 1px solid #222;
    padding: 20px;
    transition: all 0.2s ease;
}

.admin-section:hover {
    border-color: #333;
}

.admin-section.full {
    grid-column: 1 / -1;
}

.admin-section h3 {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 20px;
    color: #999;
}

.admin-section form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-section input {
    background: #0a0a0a;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    font-family: monospace;
    font-size: 13px;
    transition: all 0.2s ease;
}

.admin-section input:focus {
    outline: none;
    border-color: #555;
    background: #111;
}

.admin-section button[type="submit"] {
    background: #1a1a1a;
    border: 1px solid #444;
    color: #fff;
    padding: 10px;
    font-family: monospace;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-section button[type="submit"]:hover {
    background: #222;
    border-color: #666;
    transform: translateY(-1px);
}

/* TABS */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    background: #0a0a0a;
    border: 1px solid #333;
    color: #666;
    padding: 10px;
    font-family: monospace;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #555;
}

.tab:hover:not(.active) {
    background: #111;
    border-color: #444;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* MANAGE TRACK ITEM */
.manage-item {
    display: grid;
    grid-template-columns: 40px 1fr auto auto;
    gap: 10px;
    padding: 10px;
    background: #0a0a0a;
    border: 1px solid #222;
    margin-bottom: 10px;
    align-items: center;
    transition: all 0.2s ease;
}

.manage-item:hover {
    background: #111;
    border-color: #333;
    transform: translateX(2px);
}

.manage-item .num {
    color: #666;
    font-size: 12px;
}

.manage-item .name {
    font-size: 13px;
}

.manage-item .btns {
    display: flex;
    gap: 5px;
}

.manage-item button {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 6px 10px;
    font-family: monospace;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.manage-item button:hover {
    background: #222;
    border-color: #555;
}

/* NOTIFICATION */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1a1a1a;
    border: 1px solid #444;
    color: #fff;
    padding: 15px 20px;
    font-family: monospace;
    font-size: 13px;
    z-index: 2000;
    animation: notifySlide 0.3s ease;
}

@keyframes notifySlide {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .admin-btn {
        top: 10px;
        right: 10px;
        font-size: 11px;
        padding: 6px 12px;
    }

    .modal-box {
        min-width: 90%;
        padding: 30px 20px;
    }

    .admin-content {
        grid-template-columns: 1fr;
    }

    .admin-section.full {
        grid-column: 1;
    }

    .track-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
    }

    .track-date {
        font-size: 11px;
    }

    .track-name {
        font-size: 13px;
    }

    .track-link {
        align-self: flex-start;
        font-size: 11px;
    }

    .manage-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .manage-item .btns {
        justify-content: flex-start;
    }
}
