/* Global Styles */
:root {
    --primary-blue: #1e40af;
    --secondary-blue: #1e3a8a;
    --accent-color: #f59e0b;
    --light-gray: #f3f4f6;
    --dark-gray: #4b5563;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --text-color: #1f2937;
    --background-color: #ffffff;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-blue);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Layout */
.header, .footer {
    width: 100%;
}

.header-container,
.navbar-container,
.content,
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content {
    min-height: calc(100vh - 400px);
    padding: 2rem 1rem;
}

/* Header */
.header {
    background-color: var(--primary-blue);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navbar */
.navbar {
    background-color: var(--secondary-blue);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu ul {
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: white;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Search Bar */
.search-bar {
    position: relative;
}

.search-bar form {
    display: flex;
}

.search-bar input {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    width: 200px;
    font-size: 0.9rem;
}

.search-bar button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0.5rem 1rem;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-icon {
    position: relative;
}

.notification-icon a {
    color: white;
    font-size: 1.2rem;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--error-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 180px;
    box-shadow: var(--shadow-md);
    z-index: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 0.8rem 1rem;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
}

.dropdown-content.show {
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background-color: var(--secondary-blue);
    color: white;
}

.btn-secondary {
    background-color: var(--dark-gray);
    color: white;
}

.btn-secondary:hover {
    background-color: #374151;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: white;
}

.btn-sm {
    padding: 0.25rem 1rem;
    font-size: 0.9rem;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 2rem;
}

.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    background-color: #e3f2fd;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 3rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--accent-color);
}

.subscribe-form {
    display: flex;
    margin-top: 1rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.subscribe-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Stats Banner */
.stats-banner {
    display: flex;
    justify-content: space-between;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-count {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-blue);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

/* Section Styles */
.home-section {
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Artist Grid */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.artist-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.artist-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.artist-card:hover .artist-image img {
    transform: scale(1.05);
}

.artist-info {
    padding: 1.5rem;
}

.artist-genre {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.artist-stats {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Song Grid */
.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.song-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.song-card:hover {
    transform: translateY(-5px);
}

.song-info h3 {
    margin-bottom: 0.5rem;
}

.song-artist {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.song-stats {
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.song-card audio {
    width: 100%;
    margin-top: 1rem;
}

/* Event Grid */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-info {
    padding: 1.5rem;
}

.event-date, .event-location {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

/* Workshop Grid */
.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.workshop-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s;
}

.workshop-card:hover {
    transform: translateY(-5px);
}

.workshop-instructor {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.workshop-date, .workshop-location {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/static/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Authentication Pages */
.auth-container {
    max-width: 500px;
    margin: 2rem auto;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.auth-form .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.auth-form .btn {
    width: 100%;
    padding: 0.8rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* Forms */
.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-large {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.form-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.2);
}

.form-control-file {
    padding: 0.5rem 0;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Artist Profile */
.profile-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex-grow: 1;
}

.profile-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    text-align: center;
}

.meta-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.meta-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.profile-bio {
    margin-bottom: 1.5rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
}

.profile-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--dark-gray);
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-blue);
    color: white;
}

.profile-tabs {
    margin-bottom: 2rem;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 2rem;
}

.tab-item {
    padding: 1rem 2rem;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-item.active {
    border-bottom-color: var(--primary-blue);
    color: var(--primary-blue);
}

.tab-content {
    display: none;
}

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

/* Event Details */
.event-detail {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.event-detail-image {
    width: 100%;
    height: 400px;
    background-color: var(--light-gray);
}

.event-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-detail-content {
    padding: 2rem;
}

.event-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta-item i {
    color: var(--primary-blue);
}

.event-description {
    margin-bottom: 2rem;
}

.attendee-count {
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Notifications */
.notifications-container {
    max-width: 800px;
    margin: 0 auto;
}

.notification-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.notification-content {
    flex-grow: 1;
}

.notification-date {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Calendar */
.calendar-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 3rem;
}

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

.calendar-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.calendar-nav {
    display: flex;
    gap: 1rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    padding: 0.5rem;
    background-color: var(--light-gray);
}

.calendar-day {
    min-height: 100px;
    border: 1px solid #ddd;
    padding: 0.5rem;
    position: relative;
    background-color: white;
}

.day-number {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.day-event {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

/* Rankings */
.rankings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ranking-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ranking-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem;
    text-align: center;
}

.ranking-list {
    padding: 1rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.ranking-position {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 50%;
    font-weight: 600;
    margin-right: 1rem;
}

.ranking-item:nth-child(1) .ranking-position {
    background-color: gold;
    color: white;
}

.ranking-item:nth-child(2) .ranking-position {
    background-color: silver;
    color: white;
}

.ranking-item:nth-child(3) .ranking-position {
    background-color: #cd7f32; /* Bronze */
    color: white;
}

.ranking-info {
    flex-grow: 1;
}

.ranking-name {
    font-weight: 600;
}

.ranking-stats {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Collaborations */
.collab-prediction {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.collab-artists {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.collab-plus {
    font-size: 2rem;
    color: var(--primary-blue);
}

.collab-artist {
    text-align: center;
}

.collab-artist-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.collab-artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collab-score {
    background-color: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.collab-actions {
    display: flex;
    justify-content: flex-end;
}

.collab-request {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-blue);
}

.collab-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.status-pending {
    background-color: var(--warning-color);
    color: white;
}

.status-accepted {
    background-color: var(--success-color);
    color: white;
}

.status-completed {
    background-color: var(--primary-blue);
    color: white;
}

.collab-request-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Workshops */
.workshop-detail {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.workshop-header {
    margin-bottom: 2rem;
}

.workshop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.workshop-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workshop-meta-item i {
    color: var(--primary-blue);
}

.registration-status {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-info {
    background-color: var(--light-gray);
}

.status-success {
    background-color: #d1fae5;
    color: var(--success-color);
}

.status-warning {
    background-color: #fef3c7;
    color: var(--warning-color);
}

/* Search Results */
.search-results-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-query {
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.search-category {
    margin-bottom: 2rem;
}

.search-category h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.search-result-item {
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.result-title {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.result-meta {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-logo {
        margin-bottom: 1rem;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .stats-banner {
        flex-direction: column;
        gap: 2rem;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-meta {
        justify-content: center;
    }
    
    .profile-actions {
        justify-content: center;
    }
    
    .profile-socials {
        justify-content: center;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .artist-grid,
    .song-grid,
    .event-grid,
    .workshop-grid,
    .rankings-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        display: none;
    }
    
    .calendar-list {
        display: block;
    }
    
    .calendar-event {
        margin-bottom: 1rem;
        padding: 1rem;
        background-color: white;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-sm);
    }
}

/* User Profile */
.user-profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.user-profile-header {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.user-profile-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.user-profile-info {
    margin-bottom: 2rem;
}

.info-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.registration-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.registration-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.registration-info h4 {
    margin-bottom: 0.5rem;
}

/* Collaboration Page */
.collab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.collab-info {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.song-mini {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-top: 1rem;
}

.song-mini-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.song-mini-stats {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.song-mini audio {
    width: 100%;
}

/* Empty States */
.empty-state {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Registered Badge */
.registered-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #d1fae5;
    color: var(--success-color);
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* Filter Bar */
.filter-bar {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.filter-bar form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-control-sm {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
}

/* Action Bar */
.action-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-link {
    padding: 0.5rem 1rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.page-link:hover {
    background-color: var(--light-gray);
}

.current-page {
    padding: 0.5rem 1rem;
    background-color: var(--primary-blue);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.ellipsis {
    padding: 0.5rem 0.5rem;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Current Image Preview */
.current-image {
    margin-top: 0.5rem;
}

.current-image img {
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
}

/* Error Pages */
.error-container {
    text-align: center;
    padding: 4rem 2rem;
}

.error-content h1 {
    font-size: 6rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-content p {
    margin-bottom: 2rem;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .filter-bar form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .registration-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .registration-item .btn {
        margin-top: 1rem;
        width: 100%;
    }
    
    .collab-grid {
        grid-template-columns: 1fr;
    }
    
    .collab-artists {
        flex-direction: column;
        align-items: center;
    }
    
    .collab-request-actions {
        flex-direction: column;
    }
    
    .collab-request-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Admin Dashboard Styles */
.admin-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-stats {
    margin-bottom: 3rem;
}

.admin-tabs {
    margin-bottom: 3rem;
}

.admin-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.admin-card h3 {
    margin-bottom: 1.5rem;
}

.admin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    font-weight: 600;
    background-color: var(--light-gray);
}

.admin-table tbody tr:hover {
    background-color: #f9f9f9;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background-color: #d1fae5;
    color: var(--success-color);
}

.badge-danger {
    background-color: #fee2e2;
    color: var(--error-color);
}

.btn-danger {
    background-color: var(--error-color);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

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

.btn-success:hover {
    background-color: #059669;
}

/* Follow/Unfollow Button */
.follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s;
}

.follow-btn i {
    font-size: 0.9rem;
}

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

.btn-follow:hover {
    background-color: var(--secondary-blue);
}

.btn-unfollow {
    background-color: var(--light-gray);
    color: var(--dark-gray);
}

.btn-unfollow:hover {
    background-color: #e5e7eb;
}

/* Like/Unlike Button */
.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.like-btn:hover {
    color: var(--error-color);
}

.like-btn.liked {
    color: var(--error-color);
}

.like-btn i {
    font-size: 1.1rem;
}

.like-count {
    font-weight: 600;
}

/* Stream Counter */
.stream-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.stream-counter i {
    font-size: 1.1rem;
}

.stream-count {
    font-weight: 600;
}

/* Password Reset Pages */
.reset-info {
    text-align: center;
    margin-bottom: 2rem;
}

/* Back Link for All Pages */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-blue);
}

/* Login Link in Forgot Password */
.login-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
}

/* Responsive Admin Dashboard */
@media screen and (max-width: 1024px) {
    .admin-table {
        display: block;
        overflow-x: auto;
    }
}

@media screen and (max-width: 768px) {
    .admin-actions {
        flex-direction: column;
    }
    
    .admin-actions .btn {
        width: 100%;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}

.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.nav-logo svg {
    vertical-align: middle;
}

@media (max-width: 768px) {
    .nav-logo svg {
        width: 80px;
        height: 24px;
    }
}
 /* Mobile-first responsive styles */
    @media (max-width: 768px) {
    /* Header mobile adjustments */
    .header {
        padding: 1.5rem 0;
    }
    
    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .logo-container svg {
        max-width: 150px;
        height: auto;
    }
    
    .header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    /* Navbar mobile layout */
    .navbar-container {
        flex-wrap: wrap;
        padding: 1rem;
        position: relative;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
        order: 3;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }
    
    /* Nav logo adjustments */
    .nav-logo {
        order: 1;
        flex: 1;
    }
    
    .nav-logo svg {
        width: 60px;
        height: 22px;
    }
    
    /* Hide desktop search */
    .desktop-search {
        display: none !important;
    }
    
    /* User menu mobile adjustments */
    .user-menu {
        order: 2;
        gap: 0.5rem;
    }
    
    /* Hide desktop only elements */
    .desktop-only {
        display: none !important;
    }
    
    /* Mobile menu styling */
    .nav-menu {
        display: none;
        order: 4;
        width: 100%;
        margin-top: 1rem;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: var(--border-radius);
        padding: 0.5rem 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    
    .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    /* Mobile search bar */
    .mobile-search {
        display: none;
        order: 5;
        width: 100%;
        padding: 1rem 0;
        background-color: var(--secondary-blue);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 1rem;
    }
    
    .mobile-search.active {
        display: block;
    }
    
    .mobile-search form {
        display: flex;
        width: 100%;
    }
    
    .mobile-search input {
        flex: 1;
        padding: 0.8rem 1rem;
        border: none;
        border-radius: var(--border-radius) 0 0 var(--border-radius);
        font-size: 1rem;
    }
    
    .mobile-search button {
        background-color: var(--accent-color);
        color: white;
        border: none;
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
        padding: 0.8rem 1.2rem;
        cursor: pointer;
    }
    
    /* Mobile dropdown adjustments */
    .dropdown-content {
        position: fixed;
        top: auto;
        right: 1rem;
        left: 1rem;
        min-width: auto;
        margin-top: 0.5rem;
    }
    
    /* Mobile user menu buttons */
    .user-menu .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Hero section mobile */
    .hero-section {
        padding: 2.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Stats banner mobile */
    .stats-banner {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Grid adjustments */
    .artist-grid,
    .song-grid,
    .event-grid,
    .workshop-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Footer mobile */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .subscribe-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .subscribe-form input,
    .subscribe-form button {
        border-radius: var(--border-radius);
    }
}
        
        /* Hide mobile menu toggle on desktop */
        @media (min-width: 769px) {
            .mobile-menu-toggle {
                display: none;
            }
        }

.mobile-menu-toggle {
    display: none;
}

/* Desktop search visible by default */
.desktop-search {
    display: block;
}

/* Mobile search hidden by default */
.mobile-search {
    display: none;
}

/* Desktop only elements visible by default */
.desktop-only {
    display: inline;
}

/* Touch device optimizations */
@media (max-width: 480px) {
    /* Ensure touch targets are large enough */
    .btn {
        min-height: 44px;
        padding: 0.7rem 1rem;
    }
    
    input, select, textarea {
        min-height: 44px;
        padding: 0.8rem;
        font-size: 16px; /* Prevent iOS zoom */
    }
    
    /* Very small screen adjustments */
    .navbar-container {
        padding: 0.8rem;
    }
    
    .nav-logo svg {
        width: 50px;
        height: 18px;
    }
}
.ai-collab-card {
    background: linear-gradient(to bottom right, #f9f9ff, #f0f0ff);
    border: 1px solid #e0e0ff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 100, 0.05);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-collab-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 100, 0.1);
}

.ai-collab-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7f53ac 0%, #647dee 100%);
    border-radius: 0 0 0 12px;
    opacity: 0.8;
    z-index: 1;
}

.collab-ai-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #7f53ac 0%, #647dee 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.collab-ai-badge i {
    font-size: 0.9rem;
}

.score-meter {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 5px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(to right, #4CAF50, #8BC34A);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Different colors based on score */
.score-fill.high {
    background: linear-gradient(to right, #4CAF50, #8BC34A);
}

.score-fill.medium {
    background: linear-gradient(to right, #FFC107, #FFEB3B);
}

.score-fill.low {
    background: linear-gradient(to right, #FF9800, #FFC107);
}

.collab-artist-genre {
    background-color: rgba(0, 0, 0, 0.05);
    color: #666;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-top: 5px;
    display: inline-block;
}

.collab-reason {
    background-color: rgba(255, 255, 255, 0.7);
    border-left: 3px solid #647dee;
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 0 5px 5px 0;
    font-style: italic;
    color: #444;
}

.collab-actions {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.collab-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.collab-actions .btn-primary {
    background: linear-gradient(135deg, #7f53ac 0%, #647dee 100%);
    border: none;
}

.collab-actions .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(100, 125, 238, 0.3);
}

/* Add animation for the cards */
.collab-prediction {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add delay to stagger the animations */
.collab-prediction:nth-child(1) { animation-delay: 0.1s; }
.collab-prediction:nth-child(2) { animation-delay: 0.2s; }
.collab-prediction:nth-child(3) { animation-delay: 0.3s; }
.collab-prediction:nth-child(4) { animation-delay: 0.4s; }
.collab-prediction:nth-child(5) { animation-delay: 0.5s; }

/* Add responsive adjustments */
@media (max-width: 768px) {
    .collab-grid {
        grid-template-columns: 1fr;
    }
    
    .collab-artists {
        flex-direction: column;
        align-items: center;
    }
    
    .collab-plus {
        margin: 10px 0;
        transform: rotate(90deg);
    }
}
/* Section header with explanation button */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ai-explanation {
    position: relative;
}

.btn-info {
    background: linear-gradient(135deg, #647dee 0%, #7f53ac 100%);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-info:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(100, 125, 238, 0.3);
}

/* AI Modal */
.ai-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-modal.show {
    opacity: 1;
}

.ai-modal-content {
    background-color: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow-y: auto;
    max-height: 80vh;
}

.ai-modal.show .ai-modal-content {
    transform: translateY(0);
}

.ai-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.ai-modal-close:hover {
    color: #333;
}

.ai-modal h3 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0ff;
}

/* AI Features Grid */
.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ai-feature {
    background-color: #f9f9ff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0ff;
}

.ai-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 100, 0.1);
}

.ai-feature i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #647dee;
    background: -webkit-linear-gradient(135deg, #647dee, #7f53ac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-feature h4 {
    margin-bottom: 10px;
    color: #333;
}

.ai-feature p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Empty state with animation */
.empty-state {
    text-align: center;
    padding: 30px;
    background-color: #f9f9ff;
    border-radius: 10px;
    margin-bottom: 20px;
}

.empty-state p {
    margin-bottom: 15px;
    color: #666;
}

.empty-state i {
    font-size: 1.5rem;
    color: #647dee;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.bounce {
    animation-name: bounce;
}

/* Collaboration request completed style */
.collab-request.completed {
    background: linear-gradient(to bottom right, #f0ffef, #e6f7e6);
    border: 1px solid #c8e6c9;
}

.status-completed {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 10px 0;
}

/* Response for mobile */
@media (max-width: 768px) {
    .ai-features {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ai-explanation {
        margin-top: 10px;
    }
    
    .ai-modal-content {
        padding: 20px;
        width: 95%;
    }
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.chart-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    height: 400px;
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ranking-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.ranking-header {
    background: #f0f0f0;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ranking-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.filter-options {
    display: flex;
    gap: 1rem;
}

.ranking-list {
    padding: 1rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.ranking-position {
    width: 30px;
    height: 30px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
}

.ranking-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.ranking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-info {
    flex: 1;
}

.ranking-name {
    font-weight: bold;
}

.ranking-genre {
    color: #666;
    font-size: 0.9rem;
}

.ranking-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.trend-indicator {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
}

.trend-indicator.up {
    color: #28a745;
}

.trend-indicator.down {
    color: #dc3545;
}

.region-stats, .university-stats {
    font-size: 0.9rem;
}

.stat {
    margin-right: 1rem;
    white-space: nowrap;
}

.map-container {
    height: 400px;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#regionMap {
    height: 100%;
}

.song-container {
    margin-bottom: 2rem;
}

.filters {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.song-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.2s;
}

.song-card:hover {
    transform: translateY(-5px);
}

.song-info h3 {
    margin-top: 0;
}

.song-artist {
    color: #666;
}

.song-metadata {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.song-genre, .song-mood {
    background: #f0f0f0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.audio-player {
    margin: 1rem 0;
}

.audio-player audio {
    width: 100%;
}

.audio-visualizer {
    height: 40px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    margin-top: 0.5rem;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, #007bff, #00c6ff);
    height: 50%;
    animation: barAnimation 0.5s infinite alternate ease-in-out;
    animation-play-state: paused;
}

@keyframes barAnimation {
    from { height: 10%; }
    to { height: 90%; }
}

.similarity-tags {
    margin-top: 1rem;
}

.similarity-tags h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #e9ecef;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #495057;
    text-decoration: none;
}

.tag:hover {
    background: #dee2e6;
}

.insights-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.insight-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

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

.insight-header h4 {
    margin: 0;
}

.confidence {
    background: #e9ecef;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.collaboration-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

.collaboration-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.artists {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.artist {
    text-align: center;
    flex: 1;
}

.artist img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.artist h3 {
    margin: 0.5rem 0 0.2rem 0;
    font-size: 1rem;
}

.artist p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.connection {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.match-percentage {
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.connection-line {
    height: 2px;
    background: #007bff;
    width: 100%;
    position: relative;
}

.connection-line::before,
.connection-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #007bff;
    top: -3px;
}

.connection-line::before {
    left: 0;
}

.connection-line::after {
    right: 0;
}

.collab-reason {
    margin-bottom: 1.5rem;
    text-align: center;
    font-style: italic;
    color: #666;
}

.predicted-success {
    text-align: center;
}

.success-meter {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(to right, #28a745, #20c997);
    border-radius: 4px;
}

.personalized-section {
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.recommendation-wrapper {
    overflow-x: auto;
    padding-bottom: 1rem;
}

.recommendation-cards {
    display: flex;
    gap: 1.5rem;
    min-width: min-content;
}

.artist-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1.5rem;
    width: 250px;
    flex-shrink: 0;
}

.artist-image {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-info h3 {
    margin-top: 0;
    margin-bottom: 0.2rem;
}

.artist-genre {
    color: #666;
    margin-bottom: 1rem;
}

.match-score {
    margin-bottom: 1rem;
}

.match-bar {
    height: 6px;
    background: linear-gradient(to right, #007bff, #00c6ff);
    border-radius: 3px;
    margin-bottom: 0.2rem;
}

.match-reason {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.growth-prediction, .talent-index {
    display: inline-flex;
    align-items: center;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.growth-prediction i, .talent-index i {
    margin-right: 0.2rem;
}

.ai-score {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 193, 7, 0.1);
    color: #fd7e14;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 0.5rem;
}

.ai-score i {
    margin-right: 0.2rem;
}

@media (max-width: 768px) {
    .ranking-container {
        flex-direction: column;
    }
    
    .ranking-card {
        width: 100%;
    }
    
    .collaboration-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    /* Remove the old conflicting navbar styles */
    .navbar-container {
        flex-direction: row !important; /* Keep horizontal layout */
        flex-wrap: wrap;
        padding: 1rem;
        position: relative;
    }
    
    /* Ensure navbar stays visible */
    .navbar {
        display: block !important;
        background-color: var(--secondary-blue);
        box-shadow: var(--shadow-md);
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    /* Mobile menu toggle - show on mobile */
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        order: 3;
    }
    
    /* Nav logo adjustments */
    .nav-logo {
        order: 1;
        flex: 1;
    }
    
    .nav-logo a {
        color: white;
        font-size: 1.2rem;
        font-weight: 700;
        display: flex;
        align-items: center;
    }
    
    .nav-logo svg {
        width: 60px;
        height: 22px;
    }
    
    /* User menu mobile adjustments */
    .user-menu {
        order: 2;
        gap: 0.5rem;
        display: flex;
        align-items: center;
    }
    
    /* Hide desktop search */
    .search-bar.desktop-search {
        display: none !important;
    }
    
    /* Hide desktop only text */
    .desktop-only {
        display: none !important;
    }
    
    /* Mobile navigation menu */
    .nav-menu {
        display: none;
        order: 4;
        width: 100%;
        margin-top: 1rem;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        display: block !important;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: var(--border-radius);
        padding: 0.5rem 0;
        list-style: none;
        margin: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        color: white;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        transition: background-color 0.3s;
    }
    
    .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    /* Mobile search bar */
    .mobile-search {
        display: none;
        order: 5;
        width: 100%;
        padding: 1rem 0;
        background-color: var(--secondary-blue);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 1rem;
    }
    
    .mobile-search.active {
        display: block !important;
    }
    
    .mobile-search form {
        display: flex;
        width: 100%;
    }
    
    .mobile-search input {
        flex: 1;
        padding: 0.8rem 1rem;
        border: none;
        border-radius: var(--border-radius) 0 0 var(--border-radius);
        font-size: 1rem;
    }
    
    .mobile-search button {
        background-color: var(--accent-color);
        color: white;
        border: none;
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
        padding: 0.8rem 1.2rem;
        cursor: pointer;
    }
    
    /* Mobile dropdown adjustments */
    .dropdown-content {
        position: fixed;
        top: auto;
        right: 1rem;
        left: 1rem;
        min-width: auto;
        margin-top: 0.5rem;
    }
    
    /* Mobile user menu buttons */
    .user-menu .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Notification icon mobile */
    .notification-icon a {
        color: white;
        font-size: 1.2rem;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Dropdown button mobile */
    .dropdown-btn {
        background-color: transparent;
        color: white;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1rem;
    }
}

/* Ensure mobile menu toggle is hidden on desktop */
@media screen and (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-search {
        display: none !important;
    }
    
    .desktop-search {
        display: block !important;
    }
    
    .desktop-only {
        display: inline !important;
    }
}

/* Default states for mobile elements */
.mobile-menu-toggle {
    display: none;
}

.mobile-search {
    display: none;
}

.desktop-search {
    display: block;
}

.desktop-only {
    display: inline;
}

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

/* Enhanced Hero Section */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* How It Works Section */
.how-it-works-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin: 1rem 0;
}

.step-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Section Subtitles */
.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Enhanced Artist Cards */
.artist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artist-card:hover .artist-overlay {
    opacity: 1;
}

.artist-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.artist-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.artist-stats .stat i {
    color: var(--primary-blue);
}

/* Song Cards with Artwork */
.song-artwork {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.song-artwork:hover {
    transform: scale(1.02);
}

.song-artwork-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.song-artwork-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid white;
    backdrop-filter: blur(5px);
}

.song-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translate(-50%, -50%) scale(1.2) !important;
}

.play-button i {
    font-size: 1.2rem;
    margin-left: 2px; /* Adjust for visual centering */
}

/* Audio Modal Styles */
.audio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.audio-modal[style*="flex"] {
    opacity: 1;
}

.audio-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 0;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.audio-modal[style*="flex"] .audio-modal-content {
    transform: translateY(0);
}

.audio-modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 25px 30px 20px;
    text-align: center;
    position: relative;
}

.audio-modal-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.audio-modal-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.audio-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.audio-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.audio-player-container {
    padding: 30px;
}

/* Audio Visualizer */
.audio-visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 60px;
    margin-bottom: 20px;
    gap: 3px;
    background: linear-gradient(to right, #f1f5f9, #e2e8f0);
    border-radius: 12px;
    padding: 10px;
}

.visualizer-bar {
    width: 4px;
    height: 20px;
    background: linear-gradient(to top, var(--primary-blue), var(--accent-color));
    border-radius: 2px;
    transition: height 0.3s ease;
}

.visualizer-bar.animated {
    animation: visualizerPulse 1s ease-in-out infinite alternate;
}

.visualizer-bar:nth-child(1).animated { animation-delay: 0s; }
.visualizer-bar:nth-child(2).animated { animation-delay: 0.1s; }
.visualizer-bar:nth-child(3).animated { animation-delay: 0.2s; }
.visualizer-bar:nth-child(4).animated { animation-delay: 0.3s; }
.visualizer-bar:nth-child(5).animated { animation-delay: 0.4s; }
.visualizer-bar:nth-child(6).animated { animation-delay: 0.3s; }
.visualizer-bar:nth-child(7).animated { animation-delay: 0.2s; }
.visualizer-bar:nth-child(8).animated { animation-delay: 0.1s; }

@keyframes visualizerPulse {
    0% { height: 10px; }
    50% { height: 35px; }
    100% { height: 15px; }
}

/* Audio Player */
#modalAudioPlayer {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    outline: none;
}

#modalAudioPlayer::-webkit-media-controls-panel {
    background-color: var(--light-gray);
}

/* Progress Bar */
.audio-progress {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-blue), var(--accent-color));
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 3px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Audio Controls */
.audio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.audio-controls button {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.audio-controls button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

#playPauseBtn {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
}

#volumeSlider {
    width: 100px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

#volumeSlider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-blue);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#volumeSlider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-blue);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Song Actions */
.song-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 30px 30px;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 10px 15px;
    border-radius: 12px;
    min-width: 70px;
}

.action-btn:hover {
    color: var(--primary-blue);
    background-color: rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.action-btn span {
    font-size: 0.8rem;
    font-weight: 500;
}

.like-btn.liked {
    color: var(--error-color);
}

.like-btn.liked i {
    animation: likeAnimation 0.6s ease;
}

@keyframes likeAnimation {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Genre-based song card colors */
.song-card[data-genre="Afrobeats"] .song-artwork-placeholder svg defs linearGradient stop:first-child {
    stop-color: #ff6b6b;
}
.song-card[data-genre="Afrobeats"] .song-artwork-placeholder svg defs linearGradient stop:last-child {
    stop-color: #feca57;
}

.song-card[data-genre="Hip Hop"] .song-artwork-placeholder svg defs linearGradient stop:first-child {
    stop-color: #2c2c54;
}
.song-card[data-genre="Hip Hop"] .song-artwork-placeholder svg defs linearGradient stop:last-child {
    stop-color: #40407a;
}

.song-card[data-genre="R&B"] .song-artwork-placeholder svg defs linearGradient stop:first-child {
    stop-color: #8b5cf6;
}
.song-card[data-genre="R&B"] .song-artwork-placeholder svg defs linearGradient stop:last-child {
    stop-color: #ec4899;
}

/* Responsive Design */
@media (max-width: 768px) {
    .audio-modal-content {
        width: 95%;
        margin: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .audio-modal-header {
        padding: 20px 25px 15px;
    }
    
    .audio-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .audio-player-container {
        padding: 20px;
    }
    
    .audio-visualizer {
        height: 50px;
        margin-bottom: 15px;
    }
    
    .audio-controls {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .audio-controls button {
        width: 40px;
        height: 40px;
    }
    
    #playPauseBtn {
        width: 50px;
        height: 50px;
    }
    
    #volumeSlider {
        width: 80px;
    }
    
    .song-actions {
        gap: 10px;
        padding: 15px 20px 20px;
    }
    
    .action-btn {
        min-width: 60px;
        padding: 8px 10px;
    }
    
    .action-btn i {
        font-size: 1.1rem;
    }
    
    .action-btn span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .audio-modal-content {
        width: 98%;
        margin: 10px;
    }
    
    .audio-modal-header {
        padding: 15px 20px 10px;
    }
    
    .audio-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .audio-player-container {
        padding: 15px;
    }
    
    .song-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .action-btn {
        min-width: 50px;
        padding: 6px 8px;
    }
}

/* Loading states */
.audio-modal-content.loading {
    opacity: 0.7;
}

.audio-modal-content.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* No audio file state */
.no-audio-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--dark-gray);
}

.no-audio-message i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-audio-message h4 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.no-audio-message p {
    margin: 0;
    font-size: 0.9rem;
}

/* Enhanced song grid layout */
.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.song-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.song-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Update existing song stats */
.song-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.song-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.song-stats i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* Events & Workshops Grid */
.events-workshops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.event-card.compact,
.workshop-card.compact {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    display: flex;
    transition: transform 0.3s ease;
}

.event-card.compact:hover,
.workshop-card.compact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.event-date-badge,
.workshop-date-badge {
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.month {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.day {
    font-size: 1.5rem;
    font-weight: 700;
}

.event-details,
.workshop-details {
    padding: 1rem;
    flex: 1;
}

.event-details h3,
.workshop-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.event-location,
.event-time,
.workshop-instructor,
.workshop-location,
.workshop-capacity {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.virtual-badge {
    background-color: var(--success-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.6;
}

.author-info h4 {
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form .form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    white-space: nowrap;
}

.newsletter-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Enhanced CTA Section */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-feature i {
    color: var(--success-color);
}

/* Empty States */
.empty-state {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    margin: 1rem 0;
}

.empty-state i {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--dark-gray);
    margin: 0;
}

/* Responsive Design for New Sections */
@media screen and (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .steps-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .events-workshops-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .event-card.compact,
    .workshop-card.compact {
        flex-direction: column;
    }
    
    .event-date-badge,
    .workshop-date-badge {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        min-width: auto;
    }
    
    .song-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .how-it-works-section,
    .features-section,
    .testimonials-section,
    .newsletter-section {
        padding: 2rem 0;
    }
    
    .step-card,
    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .newsletter-content {
        padding: 0 1rem;
    }
    
    .artist-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .song-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* SVG Placeholder Styles */
.svg-placeholder,
.svg-placeholder-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: inherit;
}

.svg-placeholder svg,
.svg-placeholder-large svg {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

/* Artist Image Container */
.artist-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-color: var(--light-gray);
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Profile Image Large (for profile pages) */
.profile-image-large {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--light-gray);
    margin: 0 auto;
}

.profile-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image-large .svg-placeholder-large {
    border-radius: 50%;
}

/* Enhanced Artist Card */
.artist-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.artist-card:hover .artist-image img {
    transform: scale(1.05);
}

/* Overlay effects */
.artist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.8); /* Using your primary blue with transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artist-card:hover .artist-overlay {
    opacity: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .profile-image-large {
        width: 150px;
        height: 150px;
    }
    
    .artist-image {
        height: 180px;
    }
}

@media screen and (max-width: 480px) {
    .profile-image-large {
        width: 120px;
        height: 120px;
    }
    
    .artist-image {
        height: 160px;
    }
}

/* Alternative colorful SVG placeholder for variety */
.svg-placeholder.colorful svg,
.svg-placeholder-large.colorful svg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.svg-placeholder.colorful circle:first-of-type,
.svg-placeholder-large.colorful circle:first-of-type {
    fill: url(#bgGradient);
}

/* Loading animation for when images are loading */
.artist-image.loading {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Fallback styling for broken images */
.artist-image img[src=""],
.artist-image img:not([src]) {
    display: none;
}

/* Music-themed SVG variations */
.svg-placeholder.music-theme svg {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

.svg-placeholder.music-theme circle,
.svg-placeholder.music-theme path {
    fill: rgba(255, 255, 255, 0.8);
}

/* Genre-specific placeholder colors */
.svg-placeholder.afrobeats { background: linear-gradient(135deg, #ff6b6b, #feca57); }
.svg-placeholder.hiphop { background: linear-gradient(135deg, #2c2c54, #40407a); }
.svg-placeholder.rnb { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.svg-placeholder.amapiano { background: linear-gradient(135deg, #10b981, #059669); }
.svg-placeholder.gospel { background: linear-gradient(135deg, #fbbf24, #f59e0b); }

.artist-image {
    position: relative;
    width: 100%;
    height: 200px; /* Adjust based on your design */
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Color variations for different artists */
.default-avatar.color-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.default-avatar.color-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.default-avatar.color-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.default-avatar.color-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.default-avatar.color-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.default-avatar.color-6 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }

/* Profile picture specific styles */
.profile-image .default-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    font-size: 3rem;
}

/* Collaboration card avatars */
.collab-artist-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collab-artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collab-artist-image .default-avatar {
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
    border-radius: 50%;
}

/* Small avatar variants */
.avatar-sm .default-avatar {
    font-size: 1rem;
}

.avatar-lg .default-avatar {
    font-size: 4rem;
}

/* Hover effects */
.default-avatar:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Loading state */
.default-avatar.loading {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: loading 1s linear infinite;
}

@keyframes loading {
    0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
    100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .default-avatar {
        font-size: 2rem;
    }
    
    .profile-image .default-avatar {
        font-size: 2.5rem;
    }
    
    .collab-artist-image .default-avatar {
        font-size: 1rem;
    }
}

.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
    margin: 30px 0;
    border-radius: var(--border-radius);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    margin-bottom: 12px;
}

.stat-icon i {
    font-size: 2rem;
    color: #ffffff;
    opacity: 0.9;
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-section {
        padding: 30px 15px;
        margin: 20px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }
    
    .stat-card {
        padding: 15px 10px;
        min-height: 100px;
    }
    
    .stat-icon i {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 25px 10px;
        margin: 15px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 15px 10px;
        min-height: 90px;
    }
    
    .stat-icon i {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}

/* Compact version for smaller text */
.stat-card.compact {
    padding: 12px 8px;
    min-height: 80px;
}

.stat-card.compact .stat-number {
    font-size: 1.2rem;
}

.stat-card.compact .stat-label {
    font-size: 0.6rem;
    line-height: 1.1;
}
/* Events & Workshops Section Styles */
.events-workshops {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.events-workshops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.events-column, .workshops-column {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    height: fit-content;
}

.events-column .section-title, 
.workshops-column .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    text-align: center;
}

.events-column .section-subtitle, 
.workshops-column .section-subtitle {
    color: #64748b;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Compact Event and Workshop Cards */
.event-list.compact, .workshop-list.compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.event-card-compact, .workshop-card-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-card-compact:hover, .workshop-card-compact:hover {
    border-color: #3182ce;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.15);
    transform: translateY(-1px);
    background: white;
}

.event-date-badge, .workshop-date-badge {
    background: linear-gradient(135deg, #3182ce, #2c5aa0);
    color: white;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    min-width: 60px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.3);
    flex-shrink: 0;
}

.event-date-badge .month, .workshop-date-badge .month {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1;
    display: block;
}

.event-date-badge .day, .workshop-date-badge .day {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 2px;
    display: block;
}

.event-details, .workshop-details {
    flex: 1;
    min-width: 0; /* Allows text to truncate properly */
}

.event-details h4, .workshop-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-meta, .workshop-meta, .event-time, .workshop-location {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-meta i, .workshop-meta i, .event-time i, .workshop-location i {
    width: 12px;
    color: #3182ce;
    flex-shrink: 0;
}

.virtual-badge {
    background: #10b981;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    margin-left: 0.5rem;
}

.btn.btn-outline.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border: 1px solid #3182ce;
    color: #3182ce;
    background: transparent;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    display: inline-block;
    white-space: nowrap;
}

.btn.btn-outline.btn-sm:hover {
    background: #3182ce;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.3);
}

/* Empty State */
.empty-state-compact {
    text-align: center;
    padding: 2rem 1rem;
    color: #64748b;
}

.empty-state-compact i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #cbd5e0;
}

.empty-state-compact p {
    margin: 0;
    font-size: 0.9rem;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 1rem;
}

.btn.btn-primary {
    background: linear-gradient(135deg, #3182ce, #2c5aa0);
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.4);
}

/* Scrollbar Styling for Event/Workshop Lists */
.event-list.compact::-webkit-scrollbar, 
.workshop-list.compact::-webkit-scrollbar {
    width: 6px;
}

.event-list.compact::-webkit-scrollbar-track, 
.workshop-list.compact::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.event-list.compact::-webkit-scrollbar-thumb, 
.workshop-list.compact::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.event-list.compact::-webkit-scrollbar-thumb:hover, 
.workshop-list.compact::-webkit-scrollbar-thumb:hover {
    background: #3182ce;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .events-workshops-grid {
        gap: 2rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .events-workshops {
        padding: 3rem 0;
    }
    
    .events-workshops-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .events-column, .workshops-column {
        padding: 1.5rem;
    }
    
    .events-column .section-title, 
    .workshops-column .section-title {
        font-size: 1.5rem;
    }
    
    .event-card-compact, .workshop-card-compact {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .event-date-badge, .workshop-date-badge {
        min-width: auto;
        align-self: stretch;
        padding: 1rem;
    }
    
    .event-details h4, .workshop-details h4 {
        white-space: normal;
        text-align: center;
    }
    
    .event-meta, .workshop-meta, .event-time, .workshop-location {
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
    
    .event-list.compact, .workshop-list.compact {
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 480px) {
    .events-workshops {
        padding: 2rem 0;
    }
    
    .events-column, .workshops-column {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .event-card-compact, .workshop-card-compact {
        padding: 1rem;
    }
    
    .events-column .section-title, 
    .workshops-column .section-title {
        font-size: 1.3rem;
    }
    
    .btn.btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Animation for cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card-compact, .workshop-card-compact {
    animation: slideInUp 0.3s ease-out;
}

/* Loading state styles (optional) */
.loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #64748b;
}

.loading-state i {
    margin-right: 0.5rem;
    animation: spin 1s linear infinite;
}

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

.admin-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 2rem;
        padding: 1.5rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 12px;
        color: white;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
    }
    
    .admin-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="20" cy="80" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="30" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        pointer-events: none;
    }
    
    .admin-title {
        z-index: 1;
        position: relative;
    }
    
    .admin-title h1 {
        margin: 0 0 0.5rem 0;
        font-size: 2rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .admin-title h1 i {
        font-size: 1.75rem;
        opacity: 0.9;
    }
    
    .admin-title p {
        margin: 0;
        opacity: 0.9;
        font-size: 1.1rem;
        font-weight: 300;
    }
    
    .admin-nav {
        display: flex;
        gap: 1rem;
        align-items: center;
        z-index: 1;
        position: relative;
    }
    
    .admin-nav-primary {
        display: flex;
        gap: 0.75rem;
    }
    
    .admin-nav-secondary {
        display: flex;
        gap: 0.75rem;
    }
    
    .btn-nav {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
        border-radius: 8px;
        font-weight: 500;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        min-height: 44px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .btn-nav:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
    
    .btn-primary.btn-nav {
        background: #f59e0b;
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .btn-primary.btn-nav:hover {
        background: #d97706;
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .btn-secondary.btn-nav {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }
    
    .btn-secondary.btn-nav:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .btn-nav i:first-child {
        font-size: 1rem;
    }
    
    .btn-nav .fa-chevron-down {
        font-size: 0.75rem;
        margin-left: 0.25rem;
        transition: transform 0.3s ease;
    }
    
    /* Dropdown Styles */
    .nav-dropdown {
        position: relative;
    }
    
    .dropdown-menu {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        background: white;
        border-radius: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(0, 0, 0, 0.1);
        min-width: 200px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        overflow: hidden;
    }
    
    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.875rem 1.25rem;
        color: #374151;
        text-decoration: none;
        transition: all 0.2s ease;
        border: none;
        width: 100%;
        text-align: left;
        font-size: 0.9rem;
    }
    
    .dropdown-item:hover {
        background: #f3f4f6;
        color: #1f2937;
    }
    
    .dropdown-item i {
        width: 16px;
        text-align: center;
        color: #6b7280;
    }
    
    .dropdown-item:hover i {
        color: #374151;
    }
    
    /* Responsive Design */
    @media (max-width: 1024px) {
        .admin-header {
            flex-direction: column;
            align-items: stretch;
            gap: 1.5rem;
        }
        
        .admin-nav {
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .admin-nav-primary,
        .admin-nav-secondary {
            justify-content: center;
        }
    }
    
    @media (max-width: 768px) {
        .admin-title h1 {
            font-size: 1.5rem;
        }
        
        .admin-nav {
            flex-direction: column;
            width: 100%;
        }
        
        .admin-nav-primary,
        .admin-nav-secondary {
            width: 100%;
            justify-content: stretch;
        }
        
        .btn-nav {
            justify-content: center;
            flex: 1;
        }
        
        .btn-nav span {
            display: none;
        }
        
        .dropdown-menu {
            right: auto;
            left: 50%;
            transform: translateX(-50%) translateY(-10px);
        }
        
        .dropdown-menu.show {
            transform: translateX(-50%) translateY(0);
        }
    }
    
    @media (max-width: 480px) {
        .admin-header {
            padding: 1rem;
            margin: 0 0.5rem 1rem 0.5rem;
        }
        
        .admin-nav-secondary {
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .btn-nav {
            padding: 0.625rem 1rem;
            font-size: 0.875rem;
        }
    }
    
    /* Animation for dropdown chevron */
    .dropdown-toggle.active .fa-chevron-down {
        transform: rotate(180deg);
    }
    
    /* Additional Visual Enhancements */
    .admin-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 2rem 1rem;
    }
    
    /* Quick action indicators */
    .btn-nav::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
        pointer-events: none;
    }
    
    .btn-nav:hover::after {
        transform: translateX(100%);
    }