* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Georgia', serif;
            background: #1a1a1a;
            color: #e0e0e0;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        header {
            text-align: center;
            margin-bottom: 50px;
            border-bottom: 2px solid #333;
            padding-bottom: 30px;
        }

        h1 {
            font-size: 2.5em;
            color: #fff;
            margin-bottom: 10px;
            letter-spacing: 2px;
        }

        .subtitle {
            color: #888;
            font-style: italic;
            font-size: 1.1em;
        }

        nav {
            background: #222;
            padding: 15px 0;
            margin-bottom: 40px;
            border: 1px solid #333;
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 30px;
        }

        nav button {
            background: none;
            border: none;
            color: #ccc;
            font-size: 1.1em;
            cursor: pointer;
            padding: 10px 20px;
            transition: all 0.3s;
            border-bottom: 2px solid transparent;
        }

        nav button:hover {
            color: #fff;
            border-bottom-color: #555;
        }

        nav button.active {
            color: #fff;
            border-bottom-color: #777;
        }

        .page {
            display: none;
        }

        .page.active {
            display: block;
        }

        .album-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }

        .album-card {
            background: #252525;
            border: 1px solid #333;
            padding: 25px;
            transition: all 0.3s;
            display: flex;
            gap: 20px;
        }

        .album-card:hover {
            border-color: #555;
            background: #2a2a2a;
        }

        .album-cover {
            flex-shrink: 0;
            width: 150px;
            height: 150px;
            background: #333;
            border: 1px solid #444;
            overflow: hidden;
        }

        .album-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .album-content {
            flex: 1;
        }

        .album-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .album-info h3 {
            color: #fff;
            font-size: 1.4em;
            margin-bottom: 5px;
        }

        .artist {
            color: #aaa;
            font-style: italic;
            margin-bottom: 10px;
        }

        .rating {
            background: #333;
            padding: 8px 12px;
            border-radius: 4px;
            font-weight: bold;
            color: #fff;
            white-space: nowrap;
        }

        .rating.high { background: #4a4a4a; }
        .rating.medium { background: #3a3a3a; }
        .rating.low { background: #2a2a2a; }

        .tracks {
            margin: 20px 0;
        }

        .tracks h4 {
            color: #ccc;
            margin-bottom: 15px;
            font-size: 1.1em;
        }

        .track-list {
            list-style: none;
        }

        .track {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #333;
        }

        .track:last-child {
            border-bottom: none;
        }

        .track-name {
            color: #ddd;
        }

        .track-rating {
            color: #999;
            font-size: 0.9em;
        }

        .review {
            margin-top: 15px;
            color: #bbb;
            font-style: italic;
            line-height: 1.5;
        }

        .ratings-table {
            background: #252525;
            border: 1px solid #333;
            width: 100%;
        }

        .ratings-table th,
        .ratings-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #333;
        }

        .ratings-table th {
            background: #2a2a2a;
            color: #fff;
            font-weight: bold;
        }

        .ratings-table tr:hover {
            background: #2a2a2a;
        }

        .add-form {
            background: #252525;
            border: 1px solid #333;
            padding: 30px;
            margin-top: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            color: #ccc;
            font-weight: bold;
        }

        input, textarea, select {
            width: 100%;
            padding: 12px;
            background: #333;
            border: 1px solid #444;
            color: #fff;
            font-size: 1em;
        }

        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: #666;
            background: #3a3a3a;
        }

        textarea {
            height: 120px;
            resize: vertical;
        }

        .tracks-input {
            margin-top: 10px;
        }

        .track-input {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
            align-items: center;
        }

        .track-input input[type="text"] {
            flex: 1;
        }

        .track-input input[type="number"] {
            width: 80px;
        }

        .btn {
            background: #444;
            color: #fff;
            border: none;
            padding: 12px 25px;
            cursor: pointer;
            font-size: 1em;
            transition: all 0.3s;
        }

        .btn:hover {
            background: #555;
        }

        .btn-add {
            background: #666;
            margin-left: 10px;
        }

        .btn-add:hover {
            background: #777;
        }

        .auth-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 10000;
        }

        .auth-box {
            background: #252525;
            border: 2px solid #444;
            padding: 40px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            border-radius: 8px;
        }

        .auth-title {
            color: #fff;
            font-size: 1.5em;
            margin-bottom: 20px;
            font-weight: normal;
        }

        .auth-input {
            width: 100%;
            padding: 15px;
            margin-bottom: 20px;
            background: #333;
            border: 1px solid #555;
            color: #fff;
            text-align: center;
            font-size: 1.1em;
            border-radius: 4px;
        }

        .auth-input:focus {
            outline: none;
            border-color: #777;
            background: #3a3a3a;
        }

        .auth-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .image-preview {
            width: 100px;
            height: 100px;
            background: #333;
            border: 1px solid #555;
            margin-top: 10px;
            display: none;
            border-radius: 4px;
        }

        .image-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 4px;
        }

        .success-message {
            color: #4CAF50;
            text-align: center;
            margin-top: 15px;
            display: none;
        }

        .error-message {
            color: #f44336;
            text-align: center;
            margin-top: 15px;
            display: none;
        }
    
        .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-box {
    background: #252525;
    border: 2px solid #444;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    border-radius: 8px;
    text-align: center;
}

.modal-box h2 {
    color: #fff;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.modal-content {
    text-align: left;
    color: #bbb;
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}