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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    min-height: 100vh;
    padding: 40px 20px;
}

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

h1 {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.2;
    font-weight: 100;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 5%;
    background: linear-gradient(45deg, #fffdfd, #e3f3f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vinyl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    padding-left: 200px;
}

.vinyl-item {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vinyl-item:hover {
    transform: scale(1.02);
}

.album-cover {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: visible;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 5;
    border-radius: 10px;
}

.vinyl-record {
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    right: 5%;
    transition: right 0.5s ease, transform 0.5s ease;
    z-index: 1;
}



.vinyl-item:hover .vinyl-record {
    right: -25%;
    animation: spin 2s linear infinite;
}

.vinyl-item:hover .cover-image {
    transform: none;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.info {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    margin-right: 20px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
    width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.vinyl-item:hover .info {
    opacity: 1;
    visibility: visible;
    right: 100%;
}

.info .title {
    color: #e9994d;
    margin-bottom: -2%;
    letter-spacing: -1px;
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1;
    transform: scaleY(0.75)
}

.info .artist {
    color: #d95d86;
    margin-bottom: -2%;
    margin-left: 5%;
    letter-spacing: -1.5px;
    font-weight: 900;
    font-size: 1rem;
    transform: scaleY(0.78)
}
.info .year {
    color: #ffffff;
    margin-bottom: 1%;
    transform: scaleY(0.8);
    margin-left: 5%;
    font-weight: 900;
    font-size: 1rem;
    margin-bottom: 1%;
}


.info .songs {
    color: #fff;
    font-size: 0.9rem;
    margin-left: 5%;
    margin-bottom: 5%;
    line-height: 1.4;
}

.info .songs strong {
    color: #ffd93d;
    display: block;
    margin-bottom: 8px;
}

.info ul {
    list-style: none;
    padding-left: 0;
}

.info li {
    padding: 0px 0;
    border-left: 2px solid #d54869;
    padding-left: 10px;
    margin: -2px 0;
}

.vinyl-item::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #ffd93d);
    border-radius: 15px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.vinyl-item:hover::before {
    opacity: 0.3;
}

@media (max-width: 768px) {
    .vinyl-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .vinyl-item {
        width: 250px;
        height: 250px;
    }
    
    .info {
        width: 280px;
        top: -20px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        margin-right: 0;
    }
    
    .vinyl-item:hover .info {
        top: 105%;
        right: auto;
    }
}