/* Base Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #ff4500;
    --accent-color: #1db954;
    --text-color: #ffffff;
    --text-secondary: #b3b3b3;
    --bg-color: #121212;
    --card-bg: #181818;
    --font-main: 'Roboto', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.hiphop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    overflow-x: hidden;
}

/* Header Styles */
.hiphop-header {
    padding: 30px 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-family: var(--font-main);
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.tagline {
    font-family: var(--font-main);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
}

.header-decoration {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.mic-icon, .turntable-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.7;
}

/* Hero Section */
.hero-section {
    margin: 40px 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 40px;
    max-width: 600px;
    z-index: 2;
}

.hero-content h2 {
    font-family: var(--font-main);
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-secondary);
}

.cta-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #e03c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
    font-family: var(--font-main);
    font-size: 1.8rem;
}

.section-title span {
    display: inline-block;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-title span:before,
.section-title span:after {
    content: "";
    position: absolute;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    top: 50%;
    width: 100vw;
}

.section-title span:before {
    right: 100%;
}

.section-title span:after {
    left: 100%;
}

/* Record Grid */
.record-grid, .catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.record-item, .catalog-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.record-item:hover, .catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.record-cover, .album-cover {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.record-vinyl {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #333 25%, #000 25%, #000 50%, #333 50%, #333 75%, #000 75%);
    background-size: 20px 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.record-item:hover .record-vinyl {
    opacity: 1;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.record-info, .album-info {
    padding: 20px;
}

.record-info h3, .album-info h3 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.price {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.duration {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 15px;
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.feature h3 {
    font-family: var(--font-main);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* User Navigation */
.user-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-greeting {
    font-family: var(--font-main);
}

.welcome {
    color: var(--text-secondary);
    margin-right: 5px;
}

.username {
    font-weight: 700;
    color: var(--secondary-color);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
}

.cart-count {
    background-color: var(--secondary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.cart-icon {
    font-size: 1.2rem;
}

.logout-form {
    display: inline;
}

.logout-button {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-secondary);
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
}

.logout-button:hover {
    color: var(--text-color);
    border-color: var(--text-color);
}

/* Album Items */
.album-cover {
    height: 250px;
}

.play-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.catalog-item:hover .play-button {
    opacity: 1;
    transform: translateY(0);
}

.album-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
}

.album-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.add-to-cart {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
    font-size: 0.8rem;
}

.add-to-cart:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Footer */
.hiphop-footer {
    margin-top: 80px;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-decoration {
    margin-top: 30px;
}

.beat-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .record-grid, .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }

    .record-cover, .album-cover {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .user-nav {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .features-section {
        grid-template-columns: 1fr;
    }
}