:root {
    --primary-purple: #583f98;
    --primary-purple-dark: #583f98;
    --primary-purple-light: #583f98;
    --dark-bg: #1A001A;
    --text-light: #f8f9fa;
    --text-dark: #212529;
    --section-bg-dark: #2c1e38;
    --light-green-cta: #90ee90;
    --bg-primary: #583f98;
    --bs-dropdown-link-active-bg: #583f98;
    --bs-primary-rgb: 88, 63, 152;

    /* Button Color Palette */
    --btn-primary: #583f98;
    --btn-primary-hover: #5A0B9A;
    --btn-secondary: #6c757d;
    --btn-secondary-hover: #5a6268;
    --btn-success: #28a745;
    --btn-success-hover: #218838;
    --btn-danger: #dc3545;
    --btn-danger-hover: #c82333;
    --btn-warning: #ffc107;
    --btn-warning-hover: #e0a800;
    --btn-info: #17a2b8;
    --btn-info-hover: #138496;
    --btn-light: #f8f9fa;
    --btn-light-hover: #e2e6ea;
    --btn-dark: #343a40;
    --btn-dark-hover: #23272b;
    --btn-black: #000000;
    --btn-black-hover: #23272b;
    --btn-gradient-primary: linear-gradient(90deg, #5e3f98 0%, #803f96 72.5%, #AA4196 100%);
    --btn-gradient-primary-hover: linear-gradient(90deg, #AA4196 0%, #803f96 72.5%, #5e3f98 100%);
}

body {
    font-family: 'Lexend Deca', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding-top: 70px;
    /* Adjust if navbar height changes */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    /* Bolder headings */
}

select {
    background: #222;
    color: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    border: 1px solid #444;
}

select option {
    color: initial;
    /* để hệ điều hành xử lý */
    background: initial;
}

/* ====================================
   COMPREHENSIVE BUTTON SYSTEM
   ==================================== */
.text-primary {
    color: var(--brand-purple) !important;
}

.badge {
    border-radius: 50px;
}

.border-gradient {
    background: var(--btn-gradient-primary);
}

/* Base Button Styles */
.btn {
    padding-left: 20px;
    padding-right: 20px;
    border: none;
    padding-top: 8px;
    padding-bottom: 8px;
}

.btn:hover {
    transition: all 0.3s ease;
    transform: translateY(-2px);
}

.btn-icon {
    background: none !important;
}

.btn-custom {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-custom:focus,
.btn-custom:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-custom:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Button Variants */
.btn-primary {
    background-color: var(--btn-primary);
    border-color: var(--btn-primary);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
    color: white;
}

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

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--btn-secondary-hover);
    border-color: var(--btn-secondary-hover);
    color: white;
}

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

.btn-success:hover,
.btn-success:focus {
    background-color: var(--btn-success-hover);
    border-color: var(--btn-success-hover);
    color: white;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: none;
}

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

.btn-danger:hover,
.btn-danger:focus {
    background-color: var(--btn-danger-hover);
    border-color: var(--btn-danger-hover);
    color: white;
}

.btn-warning {
    background-color: var(--btn-warning);
    border-color: var(--btn-warning);
    color: var(--text-dark);
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: var(--btn-warning-hover);
    border-color: var(--btn-warning-hover);
    color: var(--text-dark);
}

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

.btn-info:hover,
.btn-info:focus {
    background-color: var(--btn-info-hover);
    border-color: var(--btn-info-hover);
    color: white;
}

.btn-light {
    background-color: var(--btn-light);
    border-color: var(--btn-light);
    color: var(--text-dark);
}

.btn-light:hover,
.btn-light:focus {
    background-color: var(--btn-light-hover);
    border-color: var(--btn-light-hover);
    color: var(--text-dark);
}

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

.btn-dark:hover,
.btn-dark:focus {
    background-color: var(--btn-dark-hover);
    border-color: var(--btn-dark-hover);
    color: white;
}

.btn-gradient-primary {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta));
    border: none;
    color: white;
}

.btn-gradient-primary:hover {
    background: var(--btn-gradient-primary-hover);
}

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

.btn-black:hover {
    background-color: var(--btn-black-hover);
    border-color: var(--btn-black-hover);
    color: white;
}

/* .bg-success {
    background-color: var(--checkbox-green) !important;
} */
/* Outline Button Variants */
.btn-outline-primary {
    background-color: transparent;
    border: 1px solid var(--btn-primary);
    color: var(--btn-primary);
}

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

.btn-outline-secondary {
    background-color: transparent;
    border-color: var(--btn-secondary);
    color: var(--btn-secondary);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: var(--btn-secondary);
    border-color: var(--btn-secondary);
    color: white;
}

.btn-outline-success {
    background-color: transparent;
    border-color: var(--btn-success);
    color: var(--btn-success);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
    background-color: var(--btn-success);
    border-color: var(--btn-success);
    color: white;
}

.btn-outline-danger {
    background-color: transparent;
    border-color: var(--btn-danger);
    color: var(--btn-danger);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    background-color: var(--btn-danger);
    border-color: var(--btn-danger);
    color: white;
}

.btn-outline-warning {
    background-color: transparent;
    border-color: var(--btn-warning);
    color: var(--btn-warning);
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
    background-color: var(--btn-warning);
    border-color: var(--btn-warning);
    color: var(--text-dark);
}

.btn-outline-info {
    background-color: transparent;
    border-color: var(--btn-info);
    color: var(--btn-info);
}

.btn-outline-info:hover,
.btn-outline-info:focus {
    background-color: var(--btn-info);
    border-color: var(--btn-info);
    color: white;
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--btn-light);
    color: var(--btn-light);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: var(--btn-light);
    border-color: var(--btn-light);
    color: var(--text-dark);
}

.btn-outline-dark {
    background-color: transparent;
    border-color: var(--btn-dark);
    color: var(--btn-dark);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background-color: var(--btn-dark);
    border-color: var(--btn-dark);
    color: white;
}

/* Button Sizes */
.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
}

.btn-sm {
    padding: 0.3rem 0.7rem;
    font-size: 0.675rem;
    border-radius: 0.375rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    border-radius: 1rem;
}

.btn-circle {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-square {
    border-radius: 0;
}

.btn-rounded {
    border-radius: 50px;
}

/* Button States */
.btn-disabled,
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-gradient-success {
    background: linear-gradient(45deg, var(--btn-success), #34ce57);
    border: none;
    color: white;
}

.btn-gradient-success:hover {
    background: linear-gradient(45deg, var(--btn-success-hover), #28a745);
    color: white;
}

.btn-gradient-danger {
    background: linear-gradient(45deg, var(--btn-danger), #e74c3c);
    border: none;
    color: white;
}

.btn-gradient-danger:hover {
    background: linear-gradient(45deg, var(--btn-danger-hover), #dc3545);
    color: white;
}

/* Legacy Support */
.custom-btn-purple {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
}

.custom-btn-purple:hover {
    background-color: var(--primary-purple-dark);
    border-color: var(--primary-purple-dark);
    color: white;
}

/* ====================================
   MODAL COMPONENT SYSTEM (Bootstrap Integration)
   ==================================== */

/* Override Bootstrap Modal Backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Override Bootstrap Modal Dialog */
.modal-dialog {
    max-width: 800px;
    margin: 1.75rem auto;
}

/* Custom Modal Content */
.modal-content {
    background-color: var(--dark-bg);
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

/* Gradient Border Modal */
.modal-gradient-border .modal-content {
    position: relative;
    background: linear-gradient(135deg, #AA4196 0%, #803f96 50%, #5e3f98 100%);
    padding: 2px;
}

.modal-gradient-border .modal-content::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-color: #171717;
    border-radius: 18px;
    z-index: 1;
}

.modal-gradient-border .modal-header,
.modal-gradient-border .modal-body,
.modal-gradient-border .modal-footer {
    position: relative;
    z-index: 2;
}

/* Modal Header */
.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: none;
    background-color: transparent;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

/* Modal Body */
.modal-body {
    padding: 1rem 2rem;
    flex: 1;
    overflow-y: auto;
    color: var(--text-light);
    line-height: 1.6;
}

.modal-body p {
    margin-bottom: 1.5rem;
}

/* Modal Footer - Fixed at Bottom */
.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: auto;
    border-radius: 0 0 20px 20px;
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 95%;
        margin: 1rem;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .modal-body {
        padding: 1rem 1.5rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }
}

.card {
    background-color: var(--component-bg);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    color: #fff;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
}

.card-title span {
    font-size: 12px;
}

#analytics-dashboard .card {
    overflow: hidden;
}

/* Modal Close Button */
.btn-close {
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: invert(1);
}

.alert .btn-close {
    font-size: 1.1rem;
    color: #000;
}

.btn-close:hover {
    opacity: 1;
}

/* Modal Size Variants */
.modal-sm .modal-dialog {
    max-width: 400px;
}

.modal-lg .modal-dialog {
    max-width: 1000px;
}

.modal-xl .modal-dialog {
    max-width: 1200px;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    /* Semi-transparent black */
    backdrop-filter: blur(5px);
}

.navbar-brand img {
    /* If you use a text logo, style it here */
}

.navbar .nav-link {
    color: var(--text-light);
    font-weight: 600;
    margin: 0 0.5rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-purple);
}

/* Hero Section */
#hero {
    background: url('img/hero-bg.jpg') no-repeat center center/cover;
    /* Replace with your hero image */
    min-height: 100vh;
    /* Full viewport height */
    color: white;
    position: relative;
}

#hero::before {
    /* Optional overlay for better text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.alert {
    border-radius: 13px;
}

.alert-info {}

#hero .container {
    position: relative;
    /* To sit above the overlay */
    z-index: 2;
}

/* Spread Your Music Section */
#spread-music {
    background-color: var(--section-bg-dark);
}

.platform-logos img {
    height: 50px;
    /* Adjust as needed */
    margin: 0.75rem;
    filter: grayscale(50%) brightness(1.5);
    /* Example filter if logos are colorful */
}

.platform-logos span {
    color: var(--text-light);
}

/* 100% Belong To You Section */
#belong-to-you {
    background-color: #000;
    /* Slightly different from other sections if needed */
}

.feature-box {
    background-color: rgba(255, 255, 255, 0.05);
    /* Subtle box */
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #fff;
    height: 100%;
}


.music-performance-chart {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 10px;
    max-width: 700px;
    /* Adjust as needed */
}

.music-performance-chart .text-purple {
    color: var(--primary-purple);
}

.music-performance-chart .text-light-purple {
    color: #b19cd9;
}

/* Example */


.track-list .track-item {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.track-list .track-item a {
    color: #aaa;
}

.track-list .track-item a:hover {
    color: var(--text-light);
}

.player-controls .progress {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Optimize Your Earnings Section */
#optimize-earnings {
    background-color: #22183b;
}

.earning-feature {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 5px solid var(--primary-purple);
}

.earning-feature-special {
    background-color: #f8f9fa !important;
    /* Light background for this specific box */
    color: var(--text-dark);
    border-left: none;
    border-top: 5px solid var(--primary-purple);
}

.earning-feature-special h5 {
    color: var(--text-dark);
}

/* Membership Section */
#membership {
    background-color: var(--dark-bg);
}

.custom-btn-toggle {
    color: var(--text-light);
    border-color: var(--primary-purple);
    padding: 0.5rem 1.5rem;
}

.custom-btn-toggle.active,
.custom-btn-toggle:hover {
    background-color: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.btn-check:checked+.custom-btn-toggle {
    background-color: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.membership-card {
    background-color: var(--section-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.membership-card:hover {
    transform: translateY(-10px);
}

.membership-card.highlighted-plan {
    border: 2px solid var(--primary-purple);
    box-shadow: 0 0 15px var(--primary-purple);
}

.btn-hover-transition-none:hover {
    transition: none !important;
    transform: none !important;
}

.form-check-input[type=checkbox]:indeterminate {
    background-color: var(--brand-purple);
    border-color: var(--brand-purple);
}

.membership-card .btn-outline-light {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    font-weight: 600;
}

.membership-card .btn-outline-light:hover {
    background-color: var(--primary-purple);
    color: white;
}

.boost-feature {
    border: 1px solid var(--primary-purple);
    border-radius: 20px;
    color: var(--text-light);
    font-weight: 600;
}

/* Asian Music Artist Section */
#asian-artists {
    background-color: var(--section-bg-dark);
}

#asian-artists .btn-light {
    background-color: white;
    color: var(--primary-purple);
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 25px;
}

.artist-showcase img {
    object-fit: cover;
    aspect-ratio: 1/1.2;
    /* Adjust aspect ratio as needed */
    width: 100%;
}

/* Footer CTA */
#footer-cta {
    background-color: #83c994;
}

#footer-cta h2 {
    color: var(--text-dark);
    /* Dark text on light green */
}

#footer-cta .btn-light {
    background-color: white;
    color: var(--primary-purple);
    /* Or the green color if contrasting */
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 25px;
}

/* Profile specific styles */
.profile-sidebar {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 110px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    display: block;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #6a82fb, #fc5c7d);
    background-origin: border-box;
    background-clip: content-box, border-box;
    object-fit: cover;
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.profile-location {
    color: var(--text-grey);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.profile-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.btn-follow {
    border: none;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.btn-message {
    border: none;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.stats-section h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-grey);
}

.stat-value {
    color: white;
    font-weight: 500;
}

.roles-section {
    margin-top: 2rem;
}

.role-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-grey);
}

.social-links {
    margin-top: 2rem;
}

.social-links h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-grey);
    text-decoration: none;
}

.social-item:hover {
    color: white;
}

.social-item i {
    margin-right: 0.75rem;
    width: 20px;
}

.content-section {
    margin-bottom: 3rem;
}

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

.content-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
}

.view-all-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-card,
.track-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-image,
.track-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    margin-bottom: 1rem;
    object-fit: cover;
}

.project-info,
.track-info {
    text-align: center;
}

.project-artist,
.track-artist {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.project-status,
.track-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.project-artist-info {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.project-genre {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--text-grey);
}

.join-project-btn {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta));
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    width: 100%;
}

.track-image-container .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.track-card:hover .play-btn {
    opacity: 1;
}

/* Áp dụng cho toàn bộ trang */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--btn-black-hover);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--btn-secondary-hover);
    width: 10px;
    height: 10px;
}

.track-image-container {
    position: relative;
}

/* Fixed Bottom Player */
.bottom-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(16, 16, 16, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.node-badge {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta));
    border-radius: 50%;
}

.player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.current-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 2;
    min-width: 0;
}

.current-track-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.current-track-info h6 {
    color: white;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.current-track-info p {
    color: var(--text-grey);
    margin: 0;
    font-size: 0.8rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.control-btn:hover {
    color: var(--brand-magenta);
}

.play-pause-btn {
    font-size: 1.5rem;
    background-color: white;
    color: black;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 80px;
}

.upload-btn {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta));
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    white-space: nowrap;
}

/* Additional styles for collab room */
.collab-container {
    padding-bottom: 120px;
    /* Space for fixed bottom */
}

.collab-steps {
    background-color: var(--component-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 110px;
}

.collab-room-content {
    background-color: var(--component-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    min-height: 500px;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
}

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

.step-item:hover .step-info h6 {
    color: var(--brand-purple);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-completed {
    background-color: var(--checkbox-green);
    color: white;
}

.step-active {
    background-color: var(--brand-purple);
    color: white;
}

.step-pending {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-grey);
    border: 2px solid var(--border-color);
}

.step-info h6 {
    color: white;
    margin: 0;
    font-weight: 600;
}

.step-info p {
    color: var(--text-grey);
    margin: 0;
    font-size: 0.9rem;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem 1.5rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--brand-purple);
    background-color: rgba(136, 52, 255, 0.1);
}

/* .upload-area i {
    font-size: 3rem;
    color: var(--brand-purple);
    margin-bottom: 1rem;
} */

.form-control,
.form-select,
.textarea-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 8px;
}

/* Month input styling */
.month-field {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.month-field .month-icon {
    position: absolute;
    left: 10px;
    color: #bdbdbd;
    pointer-events: none;
}

.month-field .month-control {
    padding-left: 36px;
    background-color: rgba(255, 255, 255, 0.07);
}

.month-field .month-control::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.7);
}

.month-field .month-control:focus {
    background-color: rgba(255, 255, 255, 0.12);
}

.form-control:focus,
.form-select:focus,
.textarea-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-purple);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(136, 52, 255, 0.25);
}

.form-control::placeholder,
.form-select::placeholder,
.textarea-control::placeholder {
    color: var(--text-grey);
}

.form-label {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.completed-status,
.rejected-status,
.reviewing-status {
    display: flex;
    align-items: center;
    background-color: rgba(50, 215, 75, 0.2);
    color: var(--checkbox-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.rejected-status {
    background-color: rgb(252, 96, 96);
    color: rgb(175, 0, 0);
}

.reviewing-status {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-grey);
}

.track-display[aria-expanded="true"] {
    border-radius: 8px 8px 0 0;
}

.completed-status i,
.rejected-status i {
    margin-right: 0.5rem;
}

.whitespace-pre-line {
    white-space: pre-line;
}

.fixed-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    z-index: 1000;
}

.step-content {
    display: none;
}

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

/* Project View Specific Styles */
.project-hero {
    background: linear-gradient(135deg, rgba(170, 65, 150, 0.3), rgba(128, 63, 150, 0.3), rgba(94, 63, 152, 0.3));
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.project-hero-content {
    position: relative;
    z-index: 2;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-header .project-cover {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-info h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-info .artist-name {
    color: var(--text-grey);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.project-meta-item {
    color: var(--text-grey);
}

.project-meta-item i {
    color: var(--brand-purple);
}

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

.text-primary-hover:hover {
    color: var(--brand-magenta) !important;
}

.play-project-btn {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta));
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.play-project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(136, 52, 255, 0.3);
}

.project-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.project-details {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    height: 100%;
}

.track-image-container:hover .play-btn {
    opacity: 1;
}

.project-card h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-card h3 i {
    color: var(--brand-purple);
}

.project-description {
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.project-requirements {
    margin-bottom: 2rem;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    color: var(--text-grey);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.requirements-list li i {
    color: var(--brand-purple);
    width: 20px;
}

.project-owner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.owner-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.owner-info h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.owner-info p {
    color: var(--text-grey);
    margin: 0;
    font-size: 0.9rem;
}

.project-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-label {
    color: var(--text-grey);
    font-size: 0.9rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tag {
    background-color: rgba(136, 52, 255, 0.2);
    color: var(--brand-purple);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.apply-btn {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta));
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(136, 52, 255, 0.3);
}

.contact-btn {
    background: none;
    color: white;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
}

.project-timeline {
    margin-bottom: 2rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

/* Create Track Specific Styles */
.create-track-container {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 8rem;
}

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

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-grey);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.spotify-input-section {
    background: linear-gradient(135deg, #AA4196 0%, #803f96 50%, #5e3f98 100%);
    padding: 2px;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.spotify-input-content {
    position: relative;
    z-index: 2;
    background-color: var(--component-bg);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.input-group-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

.spotify-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: white;
    padding: 1rem 1rem 1rem 3rem;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.spotify-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--brand-purple);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(136, 52, 255, 0.25);
}

.spotify-input::placeholder {
    color: var(--text-grey);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #1DB954;
    font-size: 1.2rem;
}

.fetch-btn {
    width: 100%;
}

.fetch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(136, 52, 255, 0.3);
}

.fetch-btn:disabled {
    background: var(--btn-secondary);
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    display: none;
    margin-right: 0.5rem;
}

.track-preview {
    display: none;
    margin-top: 3rem;
}

.track-preview.show {
    display: block;
}

.track-info-card {
    background-color: var(--component-bg);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.track-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.track-cover {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.track-info h2 {
    color: white;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.track-info .artist-name {
    color: var(--text-grey);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.text-left {
    text-align: left;
}

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

.track-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-grey);
}

.track-meta-item i {
    color: var(--brand-purple);
}

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

.spotify-embed {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.project-form {
    background-color: var(--component-bg);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

.project-form h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-form h3 i {
    color: var(--brand-purple);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    padding: 0.75rem;
    width: 100%;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--brand-purple);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(136, 52, 255, 0.25);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-grey);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-range {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    height: 8px;
}

.form-range::-webkit-slider-thumb {
    background-color: var(--brand-purple);
    border: 2px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.form-range::-moz-range-thumb {
    background-color: var(--brand-purple);
    border: 2px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.form-text {
    color: var(--text-grey);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.track-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.track-tag {
    background-color: rgba(136, 52, 255, 0.2);
    color: var(--brand-purple);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

button[aria-expanded="true"] .collapse-icon {
    transform: rotate(90deg);
    /* mũi tên quay xuống */
    transition: transform 0.2s ease;
}

button[aria-expanded="false"] .collapse-icon {
    transform: rotate(0deg);
    /* mũi tên sang phải */
    transition: transform 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(136, 52, 255, 0.3);
}

.cursor-pointer {
    cursor: pointer;
}

.btn-gradient-primary:hover {
    color: white;
}

.fixed-bottom-player.show,
.fixed-bottom-player-spotify.show {
    display: block;
}

.player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.current-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 2;
    min-width: 0;
}

.current-track-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.current-track-info h6 {
    color: white;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.current-track-info p {
    color: var(--text-grey);
    margin: 0;
    font-size: 0.9rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

#spotifyLink {
    padding-left: 3rem;
}

.play-pause-btn {
    font-size: 1.5rem;
    background-color: white;
    color: black;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
}

.volume-slider {
    width: 100px;
}

.example-links {
    margin-top: 1rem;
    text-align: center;
}

.example-links p {
    color: var(--text-grey);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.example-link {
    color: var(--brand-purple);
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 0.5rem;
}

.example-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .create-track-container {
        padding: 0 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .track-header {
        flex-direction: column;
        text-align: center;
    }

    .track-cover {
        width: 150px;
        height: 150px;
    }

    .track-info h2 {
        font-size: 1.5rem;
    }

    .track-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .current-track {
        display: none;
    }

    .volume-control {
        display: none;
    }

    .player-controls {
        flex: 1;
    }
}

.timeline-content h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: var(--text-grey);
    margin: 0;
    font-size: 0.9rem;
}

.fixed-bottom-player,
.fixed-bottom-player-spotify {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.fixed-bottom-player-spotify {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    padding: 5px;
    display: none;
    border: none;
    height: 90px;
}

.fixed-bottom-player-spotify.show {
    display: block;
}

.fixed-bottom-player-spotify .close-player {
    position: absolute;
    top: 8px;
    right: 35px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: background-color 0.3s;
}

.fixed-bottom-player-spotify .close-player:hover {
    background: rgba(0, 0, 0, 0.8);
}

.fixed-bottom-player-spotify iframe {
    border: none;
    width: 100%;
    height: 80px;
}

/* Spotify Loading Effect */
.spotify-loading,
.amaplayer-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 16, 16, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    transition: opacity 0.3s ease;
}

.spotify-loading.hidden,
.amaplayer-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spotify-loading .loading-spinner,
.amaplayer-loading .loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
}

.loading-spinner img {
    font-size: 2rem;
    color: #1DB954;
    animation: spotify-pulse 1.5s ease-in-out infinite;
}

.right-0 {
    right: 0;
}

.loading-spinner span {
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes spotify-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.project-song-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    color: #fff;
    padding: 1rem;
    position: relative;
    transition: box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-song-info {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
}

.text-gradient {
    background: linear-gradient(90deg, #6a82fb, #fc5c7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-song-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.project-song-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.98rem;
}

.project-song-meta i {
    margin-right: 2px;
}

.project-song-cover {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.project-song-heart {
    position: absolute;
    top: 14px;
    right: 18px;
    color: #6ee7b7;
    font-size: 1.3rem;
}

/* Role Matching Section Styles */
.role-matching-section {
    background: linear-gradient(135deg, rgba(88, 63, 152, 0.5) 0%, rgba(128, 63, 150, 0.5) 50%, rgba(170, 65, 150, 0.5) 100%);
    padding: 3rem 0 0;
    margin: 1.5rem 0;
    border-radius: 15px;
    border: 1px solid rgba(88, 63, 152, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

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

.matching-header p {
    color: var(--text-grey);
    font-size: 1rem;
    margin: 0;
}

/* Role Filter Tabs */
.role-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.role-tab {
    background: rgba(16, 16, 16, 0.6);
    border: 1px solid rgba(88, 63, 152, 0.3);
    color: var(--text-grey);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.role-tab:hover {
    background: rgba(88, 63, 152, 0.2);
    border-color: rgba(88, 63, 152, 0.6);
    color: white;
}

.role-tab.active {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    border-color: var(--primary-purple);
    color: white;
    box-shadow: 0 4px 15px rgba(88, 63, 152, 0.3);
}

/* Collaborators Slider with Glide.js */
.collaborators-slider {
    position: relative;
    margin-bottom: 2rem;
}

.glide {
    position: relative;
}

.glide__track {
    overflow: hidden;
}

.glide__slides {
    display: flex;
    align-items: stretch;
}

.glide__slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Glide Navigation Arrows */
.glide__arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.glide__arrow {
    background: rgba(16, 16, 16, 0.8);
    border: 1px solid rgba(88, 63, 152, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.glide__arrow:hover {
    background: rgba(88, 63, 152, 0.3);
    border-color: var(--primary-purple);
}

.glide__arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Glide Bullets */
.glide__bullets {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.glide__bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(88, 63, 152, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.glide__bullet--active {
    background: var(--primary-purple);
    transform: scale(1.2);
}

/* Collaborator Cards */
.collaborator-card {
    background: rgba(16, 16, 16, 0.9);
    border: 1px solid rgba(88, 63, 152, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    min-width: 280px;
    max-width: 280px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.collaborator-card:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 63, 152, 0.6);
    box-shadow: 0 10px 30px rgba(88, 63, 152, 0.2);
}

.collaborator-avatar {
    position: relative;
    text-align: center;
    margin-bottom: 1rem;
}

.collaborator-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(88, 63, 152, 0.3);
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    background: #1DB954;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border: 2px solid rgba(16, 16, 16, 0.9);
}

.collaborator-info {
    text-align: center;
    margin-bottom: 1rem;
}

.collaborator-info h5 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.role-badge.producer {
    background: rgba(29, 185, 84, 0.2);
    color: #1DB954;
}

.role-badge.songwriter {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

.role-badge.mixing-engineer {
    background: rgba(13, 110, 253, 0.2);
    color: #0D6EFD;
}

.collaborator-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.collaborator-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-grey);
    font-size: 0.8rem;
}

.collaborator-stats .stat i {
    color: var(--primary-purple);
}

.text-muted {
    color: var(--text-grey) !important;
}

.collaborator-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.collaborator-tags .tag {
    background: rgba(88, 63, 152, 0.2);
    color: var(--text-grey);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    border: 1px solid rgba(88, 63, 152, 0.3);
}

.collaborator-actions {
    display: flex;
    gap: 0.5rem;
}

.collaborator-actions .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
}

a {
    text-decoration: none;
}

textarea.form-control {
    border-radius: 15px !important;
}

.quick-match-section {
    background: rgba(16, 16, 16, 0.6);
    border: 1px solid rgba(88, 63, 152, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.quick-match-section h5 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-match-section p {
    color: var(--text-grey);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments for role matching */
@media (max-width: 768px) {
    .role-matching-section {
        padding: 2rem 0;
        margin: 1.5rem 0;
    }

    .matching-header h3 {
        font-size: 1.5rem;
    }

    .role-filter-tabs {
        gap: 0.5rem;
    }

    .role-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .collaborator-card {
        min-width: 250px;
        max-width: 250px;
        padding: 1rem;
    }

    .glide__arrow {
        width: 35px;
        height: 35px;
    }

    .quick-match-section {
        text-align: center;
    }

    .quick-match-section .text-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

.player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.current-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 2;
    min-width: 0;
}

.current-track-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--brand-purple, #6447a3);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--brand-purple, #6447a3);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.current-track-info h6 {
    color: white;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.current-track-info p {
    color: var(--text-grey);
    margin: 0;
    font-size: 0.9rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.play-pause-btn {
    font-size: 1.5rem;
    background-color: white;
    color: black;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-section {
    flex: 1;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #404040;
    border-radius: 15px;
    position: relative;
}

.table-transparent th,
.table-transparent td {
    background-color: transparent;
}

.swal2-confirm {
    border-radius: 50px !important;
}

.upload-progress-container .progress-bar {
    height: 8px;
    margin: 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-purple), var(--brand-magenta));
    border-radius: 2px;
    width: 35%;
    transition: width 0.3s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    color: var(--text-grey);
    font-size: 0.8rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
}

.volume-slider {
    width: 100px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-hero {
        padding: 2rem 1rem;
    }

    .project-header {
        flex-direction: column;
        text-align: center;
    }

    .project-cover {
        width: 150px;
        height: 150px;
    }

    .project-info h1 {
        font-size: 2rem;
    }

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

    .project-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .project-actions {
        justify-content: center;
    }

    .current-track {
        display: none;
    }

    .volume-control {
        display: none;
    }

    .player-controls {
        flex: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .current-track,
    .player-right {
        display: none;
    }

    .player-controls {
        flex: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-nav.mx-auto {
        text-align: center;
    }

    .navbar-nav .ms-lg-2 {
        margin-left: 0 !important;
        margin-top: 10px;
    }

    #hero {
        min-height: 80vh;
    }

    #hero h1 {
        font-size: 2.5rem;
        /* Smaller on mobile */
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2.8rem;
    }

    .display-5 {
        font-size: 2.2rem;
    }

    .platform-logos {
        flex-direction: column;
    }

    .platform-logos img,
    .platform-logos span {
        margin: 0.5rem;
    }

    .artist-showcase .col-6 {
        /* For 2 artists per row on small screens */
        padding: 5px;
    }
}

/* Project Creation Form Styles */
.create-project-modal .modal-content {
    background: linear-gradient(135deg, #AA4196 0%, #803f96 50%, #5e3f98 100%);
    padding: 2px;
    border-radius: 20px;
}

.create-project-modal .modal-content::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-color: var(--background-dark);
    border-radius: 18px;
    z-index: 1;
}

.create-project-modal .modal-header,
.create-project-modal .modal-body,
.create-project-modal .modal-footer {
    position: relative;
    z-index: 2;
}

.track-search-container {
    position: relative;
    margin-bottom: 2rem;
}

.track-search-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    padding: 1rem;
    width: 100%;
    font-size: 1rem;
}

.track-search-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--brand-purple);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(136, 52, 255, 0.25);
}

.track-search-input::placeholder {
    color: var(--text-grey);
}

.track-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(28, 28, 28, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

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

.track-option {
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.3s ease;
}

.track-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

.track-option-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.track-option-info {
    flex: 1;
}

.track-option-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.track-option-artist {
    color: var(--text-grey);
    font-size: 0.9rem;
}

.selected-track-display {
    display: none;
}

.selected-track-display.show {
    display: block;
}

.selected-track-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.genre-grid-scroll {
    display: grid;
    grid-auto-flow: column;
    /* vẫn giữ flow theo cột */
    grid-auto-columns: minmax(180px, 1fr);
    /* mỗi cột rộng 180px trở lên */
    grid-template-rows: repeat(4, minmax(40px, 1fr));
    /* 4 dòng, mỗi dòng min 40px */
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    min-height: 40px;
    white-space: normal;
}

.selected-track-cover {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

.selected-track-info h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.selected-track-info p {
    color: var(--text-grey);
    margin-bottom: 0.25rem;
}

.track-details-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    padding: 0.75rem;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--brand-purple);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(136, 52, 255, 0.25);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-grey);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.change-track-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-grey);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-track-btn:hover {
    border-color: var(--brand-purple);
    color: white;
}

@media (max-width: 768px) {
    .track-details-form {
        grid-template-columns: 1fr;
    }

    .selected-track-header {
        flex-direction: column;
        text-align: center;
    }
}

.swal2-modal {
    position: relative;
    background: linear-gradient(135deg, #AA4196 0%, #803f96 50%, #5e3f98 100%);
    border-radius: 19px;
}

.swal2-modal::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-color: var(--dark-bg);
    border-radius: 18px;
    z-index: 1;
}

.swal2-success-ring {
    border: .25em solid #a4dd86 !important;
}

.swal2-title {
    z-index: 1;
    color: white;
}

.swal2-html-container {
    z-index: 1;
    color: white;
}

.swal2-confirm {
    z-index: 1;
    color: white;
}

.page-title {
    font-size: 1.7rem !important;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0;
}

.uppy-DragDrop-container {
    background-color: #583f98 !important;
}

.uppy-DragDrop-label {
    color: white !important;
    font-size: 0.8em !important;
}

.uppy-DragDrop-browse {
    color: white !important;
}

.swal2-icon {
    z-index: 1;
}

.avatar-image {
    border-radius: 50%;
    display: block;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #6a82fb, #fc5c7d);
    background-origin: border-box;
    background-clip: content-box, border-box;
    object-fit: cover;
}

.btn-play-list {
    height: 100%;
    width: 100%;
    border-radius: 10px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #6447a3;
    color: white;
    border-radius: 6px;
}

.flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-toggle::after {
    display: none;
}

.flag-icon-us {
    background-image: url(https://amarelease.com/themes/images/flags/anh.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.flag-icon-vn {
    background-image: url(https://amarelease.com/themes/images/flags/vn.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dropdown-item:focus,
.dropdown-item:hover {
    border-radius: 6px;
}

@media (min-width: 576px) {
    .tracks-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1025px) {
    .tracks-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .player-content {
        flex-direction: column;
        gap: 15px;
    }

    .current-track {
        justify-content: center;
    }

    .player-controls {
        order: 2;
    }

    .progress-section {
        order: 3;
        width: 100%;
    }

    .volume-control {
        order: 4;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        right: 0;
        left: auto;
    }

    /* Language submenu inside profile dropdown */
    .dropdown-menu .language-item {
        position: relative;
    }

    .dropdown-menu .language-submenu {
        position: absolute;
        top: 0;
        left: 100%;
        right: auto;
        min-width: 200px;
        display: none;
        opacity: 0;
        visibility: hidden;
        margin-left: 6px;
        z-index: 1100;
    }

    /* When parent menu is right-aligned, open submenu to the left */
    .dropdown-menu.dropdown-menu-end .language-submenu {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: 6px;
        border-radius: 6px;
    }

    .dropdown-menu .language-item:hover>.language-submenu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

body {
    overflow: auto;
    padding-bottom: 0 !important;
}

body section .container {
    width: min(860px, 100%);
}

#hero {
    background: url(/assets/images/home-banner-gray.webp) no-repeat center center / cover !important;
    margin-top: -65px;
}

/* Spread your music */
#spread-music {
    background: linear-gradient(180deg, #35265b 0%, rgb(0 0 0) 65%);
    color: #fff;
}

.platform-card {
    position: relative;
    background: #ffffff;
    color: #111;
    border-radius: 43px;
    height: 240px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.platform-stats {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1.05;
    z-index: 2;
}

.platform-stats .count {
    display: block;
    font-weight: 800;
    color: #000;
}

.platform-stats .label {
    display: block;
    font-weight: 700;
    font-size: 30px;
    color: #583f98;
}

.floating-icons .platform-logo {
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    z-index: 1;
}

.platform-logo.spotify {
    background: #1DB954;
    top: 24px;
    left: 40px;
    animation: floatA 11s ease-in-out infinite;
    width: 60px;
    height: 60px;
}

.platform-logo.tiktok {
    background: #000000;
    top: 22px;
    right: 30px;
    font-size: 32px;
    animation: floatB 12s ease-in-out infinite;
    width: 68px;
    height: 68px;
}

.platform-logo.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    bottom: 30px;
    right: 46px;
    animation: floatC 13s ease-in-out infinite;
    width: 60px;
    height: 60px;
}

.platform-logo.apple {
    background: #fb445c;
    top: 72px;
    right: 180px;
    animation: floatD 9s ease-in-out infinite;
    width: 50px;
    height: 50px;
}

.platform-logo.soundcloud {
    background: #ff5500;
    bottom: 36px;
    left: 180px;
    animation: floatE 8.5s ease-in-out infinite;
    width: 50px;
    height: 50px;
}

.platform-logo.youtube {
    background: #ff0000;
    top: 150px;
    left: 36px;
    animation: floatF 10.5s ease-in-out infinite;
    width: 65px;
    height: 65px;
}

@keyframes floatA {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(12px, 14px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes floatB {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-10px, 18px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes floatC {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-14px, -10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes floatD {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, -12px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes floatE {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-8px, 10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes floatF {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(16px, -8px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@media (max-width: 576px) {
    .platform-card {
        height: 200px;
    }

    .platform-stats .count {
        font-size: 48px;
    }

    .platform-stats .label {
        font-size: 22px;
    }

    .floating-icons .platform-logo {
        width: 46px;
        height: 46px;
        font-size: 22px;
        border-radius: 12px;
    }
}

/* Belong to you */
#belong-to-you {
    position: relative;
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.pill-background {
    position: absolute;
    inset: 0;
    top: 0;
    height: 360px;
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: flex-end;
    pointer-events: none;
}

.pill-background .pill {
    margin-bottom: 70px;
    width: 70px;
    height: 240px;
    border-radius: 40px;
    background: linear-gradient(180deg, #2b1844 0%, #3a1f61 100%);
    opacity: .55;
    transform-origin: bottom center;
    animation: equalize 1.8s ease-in-out infinite;
}

.pill-background .pill.p2 {
    animation-delay: .15s;
    height: 240px;
}

.pill-background .pill.p3 {
    animation-delay: .3s;
    height: 180px;
}

.pill-background .pill.p4 {
    margin-bottom: 0px;
    animation-delay: .45s;
    height: 350px;
}

.pill-background .pill.p5 {
    animation-delay: .6s;
    height: 170px;
}

.pill-background .pill.p6 {
    animation-delay: .75s;
    height: 230px;
}

.pill-background .pill.p7 {
    animation-delay: .9s;
    height: 190px;
}

@keyframes equalize {

    0%,
    100% {
        transform: scaleY(0.85);
        filter: blur(0);
    }

    50% {
        transform: scaleY(1.15);
        filter: blur(0.5px);
    }
}

.belong-title {
    position: relative;
    z-index: 2;
    font-weight: 800;
    letter-spacing: 1px;
}

.feature-box {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 24px 20px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(18px) scale(0.98);
}

.feature-box i {
    color: #ffffff;
}

.feature-box:hover {
    box-shadow: 0 0 22px rgba(197, 53, 197, 0.5);
    border-color: rgba(197, 53, 197, 0.7);
    transform: translateY(-4px) scale(1.02);
}

.feature-box.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 576px) {
    .pill-background {
        height: 260px;
        gap: 18px;
    }

    .pill-background .pill {
        width: 40px;
        height: 140px;
        border-radius: 28px;
    }
}

/* ============================
       BEST TRACKS OF ALL TIME
       ============================ */
#best-tracks {
    overflow: hidden;
    color: #fff;
    background: linear-gradient(180deg, rgba(25, 18, 43, 1) 0%, rgba(34, 25, 59, 1) 100%);
}

#best-tracks .section-title {
    font-weight: 800;
    letter-spacing: .5px;
}

.album-vinyl {
    position: relative;
    max-width: 395px;
    margin: 0 auto;
    overflow: visible;
}

.album-cover {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
    position: relative;
    z-index: 3;
}

.vinyl-disc {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #000 0 20px, #111 20px 36px, #000 36px 40px, transparent 40px),
        repeating-radial-gradient(circle at center, #0a0a0a 0 2px, #111 2px 4px);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, .05), 0 18px 40px rgba(0, 0, 0, .45);
    z-index: 1;
    opacity: .95;
}

.vinyl-disc .rotate-ring {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    background:
        conic-gradient(from 0deg, rgba(255, 255, 255, .12) 0deg, rgba(255, 255, 255, 0) 70deg, rgba(255, 255, 255, .12) 140deg, rgba(255, 255, 255, 0) 210deg, rgba(255, 255, 255, .12) 300deg, rgba(255, 255, 255, 0) 360deg);
    -webkit-mask: radial-gradient(circle, transparent 0 86px, #000 87px 176px, transparent 177px 100%);
    mask: radial-gradient(circle, transparent 0 86px, #000 87px 176px, transparent 177px 100%);
    animation: ringSpin 7s linear infinite;
    opacity: .6;
}

@keyframes ringSpin {
    to {
        transform: rotate(360deg);
    }
}

.vinyl-disc::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, transparent 60px, rgba(255, 255, 255, .04) 61px, transparent 62px);
}

.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #5a3ea3 center/cover no-repeat;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35) inset, 0 0 0 6px #000;
    z-index: 2;
    overflow: hidden;
    animation: spinn 7s linear infinite;
}

.vinyl-shadow {
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: 70%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    filter: blur(6px);
    transform: translateX(-50%);
    z-index: 0;
}

.spinning {
    animation: spin 4.5s linear infinite;
}

@keyframes spinn {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* .album-vinyl:hover .vinyl-disc {
        animation: spin 1.2s linear 1; */
/* } */

/* Pull album half off-screen on desktops, push disc mostly outside */
@media (min-width: 992px) {
    .album-vinyl {
        margin-left: -250px;
    }

    .vinyl-disc {
        left: 103%;
        width: 380px;
        height: 380px;
    }

    .vinyl-label {
        left: 103%;
    }
}

@media (max-width: 576px) {
    .album-vinyl {
        margin-left: 0;
        max-width: 360px;
        overflow: hidden;
    }

    .vinyl-disc {
        left: 64%;
        width: 320px;
        height: 320px;
    }

    .vinyl-label {
        left: 64%;
    }
}

.bt-player .title {
    color: #8e79d9;
    font-weight: 800;
    letter-spacing: .5px;
}

.bt-player .meta {
    color: #c4c4c4;
    font-size: .9rem;
}

.bt-play {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff14;
    color: #fff;
    border: 1px solid #ffffff22;
    transition: all .25s ease;
}

.bt-play:hover {
    background: #ffffff24;
    box-shadow: 0 0 18px rgba(197, 53, 197, .45);
}

.bt-timeline {
    position: relative;
    height: 6px;
    background: #ffffff26;
    border-radius: 4px;
    overflow: hidden;
}

.bt-progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, #5e3f98, #AA4196);
}

.track-pill {
    background: #0f0f10;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    color: #e6e6e6;
    transition: box-shadow .25s ease, transform .25s ease;
}

.track-pill:hover {
    box-shadow: 0 0 16px rgba(197, 53, 197, .45);
    transform: translateY(-2px);
}

.details-link {
    color: #d5d5d5;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 4px 10px;
    border-radius: 999px;
    transition: all .25s;
}

.details-link:hover {
    color: #fff;
    border-color: #C535C5;
    box-shadow: 0 0 12px rgba(197, 53, 197, .7);
}

/* ============================
       OPTIMIZE YOUR EARNING
       ============================ */
#optimize-earnings {
    position: relative;
    overflow: hidden;
    color: #fff;
    /* background: linear-gradient(180deg, rgba(25, 18, 43, 1) 0%, rgba(34, 25, 59, 1) 100%); */
}

#optimize-earnings .title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}

#optimize-earnings .title-wrap .prefix {
    font-weight: 800;
    letter-spacing: .5px;
}

#optimize-earnings .title-wrap .focus-word {
    font-weight: 800;
    background: linear-gradient(90deg, #b48bff, #7d5df2 45%, #AA4196 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ama-bg {
    position: absolute;
    pointer-events: none;
    user-select: none;
    opacity: .25;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35));
    animation: amaFloat 10s ease-in-out infinite;
}

.ama-bg.leftA {
    left: -42px;
    top: -10px;
    width: clamp(420px, 40vw, 520px);
    transform: rotate(-10deg);
    animation-delay: 0s;
}

.ama-bg.midM {
    right: -46px;
    top: 25%;
    width: clamp(420px, 40vw, 520px);
    transform: rotate(12deg);
    animation-delay: 2s;
}

.ama-bg.rightA {
    right: -90px;
    top: 40%;
    width: clamp(260px, 24vw, 460px);
    transform: rotate(6deg);
    animation-delay: 1.6s;
    opacity: .08;
}

@keyframes amaFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(12deg);
    }
}

.earn-pills {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.earn-pill {
    background: rgba(26, 18, 44, .6);
    border: 2px solid rgba(149, 118, 255, .35);
    border-radius: 18px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .2s ease, color .2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    justify-content: space-between;
}

.earn-pill h6 {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
}

.earn-pill p {
    margin: 0;
    color: #d5d5d5;
    max-width: 250px;
}

.earn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(197, 53, 197, .35);
    border-color: rgba(197, 53, 197, .6);
    background: #efeff4;
    color: #121212;
}

.earn-pill:hover h6 {
    color: #121212;
}

.earn-pill:hover p {
    color: #333;
}

.earn-pill.light {
    background: #efeff4;
    color: #1a1a1a;
    border-color: #ffffff;
}

.earn-pill.light p {
    color: #333;
}

.earn-pill.light:hover {
    box-shadow: 0 0 24px rgba(255, 255, 255, .35);
}

/* Width and position variants to mimic layout */
.earn-pill.wide {
    width: min(900px, 100%);
}

.earn-pill.medium {
    width: min(660px, 100%);
}

.earn-pill.align-left {
    margin-right: auto;
}

.earn-pill.align-right {
    margin-left: auto;
}

@media (max-width: 768px) {
    .earn-pill {
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100% !important;
        margin: 0 !important;
    }
}

/* ============================
       MEMBERSHIP
       ============================ */
#membership {
    position: relative;
    color: #fff;
    background: linear-gradient(180deg, rgba(22, 16, 39, 1) 0%, rgba(25, 18, 43, 1) 100%);
    overflow: hidden;
}

#membership .section-title {
    font-weight: 800;
    letter-spacing: .5px;
}

#membership .ama-bg {
    position: absolute;
    pointer-events: none;
    user-select: none;
    opacity: .12;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35));
    animation: amaFloat 11s ease-in-out infinite;
}

#membership .ama-left {
    left: -60px;
    top: 0;
    width: clamp(580px, 50vw, 780px);
    animation: amaFloat 17s ease-in-out infinite;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    background-color: #9c5cf1 !important;
    border-color: #9c5cf1 !important;
    color: #fff !important;
}

.btn-outline-light {
    border: 1px solid #fff;
    background-color: #1b1b1b;
}

#membership .ama-right {
    right: -80px;
    bottom: -40px;
    width: clamp(280px, 26vw, 480px);
    transform: rotate(12deg);
    animation-delay: .8s;
}

#navbarNav .nav-item.active .nav-link {
    color: var(--primary-purple) !important;
}

.membership-card {
    background: radial-gradient(140% 120% at 50% -20%, rgba(131, 99, 255, .45) 0%, rgba(88, 63, 152, .25) 50%, rgba(26, 18, 44, .65) 100%);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
    overflow: hidden;
}

.membership-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(131, 99, 255, .35);
    border-color: rgba(131, 99, 255, .45);
    background: radial-gradient(140% 120% at 50% -20%, rgba(131, 99, 255, .65) 0%, rgba(88, 63, 152, .35) 50%, rgba(26, 18, 44, .65) 100%);
}

.fa-spin {
    animation: fa-spin 2s linear infinite !important;
}

.membership-card .card-title {
    letter-spacing: .5px;
}

.membership-card .price {
    background: linear-gradient(90deg, #fff, #e8e8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.membership-card .btn {
    border-radius: 999px;
}

.highlighted-plan {
    background: radial-gradient(140% 120% at 50% -20%, rgba(170, 65, 150, .5) 0%, rgba(131, 99, 255, .45) 50%, rgba(26, 18, 44, .7) 100%) !important;
    border-color: rgba(170, 65, 150, .45) !important;
}

.highlighted-plan .btn {
    background: linear-gradient(90deg, #5e3f98, #AA4196);
    border: none;
}

.custom-btn-toggle {
    border-color: rgba(255, 255, 255, .2) !important;
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.custom-btn-toggle.active,
.custom-btn-toggle:hover {
    background: linear-gradient(90deg, #5e3f98, #AA4196) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* ============================
       BOOST YOUR STREAM
       ============================ */
#boost-stream {
    position: relative;
    color: #fff;
    background: linear-gradient(180deg, #0b0b0e91 0%, #141126 100%);
    overflow: hidden;
}

#boost-stream .boost-btn {
    background: linear-gradient(90deg, #5e3f98, #AA4196);
    border: none;
    border-radius: 999px;
    padding: .5rem 1.25rem;
}

#boost-stream .graph-wrap {
    position: relative;
    height: 360px;
    margin-top: -114px;
}

#boost-stream svg.boost-graph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#boost-stream .boost-graphic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.boost-path {
    stroke: rgba(255, 255, 255, .85);
    stroke-width: 2.5;
    fill: none;
    opacity: .95;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .3));
}

.boost-dot {
    fill: #0b0b0e;
    stroke: rgba(255, 255, 255, .85);
    stroke-width: 2;
}

.rocket {
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    offset-rotate: auto 90deg;
    will-change: transform;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5));
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.glass-card {
    background: rgba(17, 17, 17, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.status-success {
    border-color: rgba(25, 135, 84, 0.35);
    background: rgba(25, 135, 84, 0.18);
}

.status-warning {
    border-color: rgba(255, 193, 7, 0.35);
    background: rgba(255, 193, 7, 0.18);
}

.status-secondary {
    border-color: rgba(108, 117, 125, 0.35);
    background: rgba(108, 117, 125, 0.18);
}

.status-danger {
    border-color: rgba(220, 53, 69, 0.35);
    background: rgba(220, 53, 69, 0.18);
}

.status-badge .bi {
    font-size: 8px;
}

/* fallback animation if motion path not supported */
@supports not (offset-path: path('M0 0, L1 1')) {
    .rocket {
        animation: rocketFloat 6s ease-in-out infinite;
    }

    @keyframes rocketFloat {
        0% {
            transform: translate(0, 0) rotate(-10deg);
        }

        50% {
            transform: translate(40vw, -6vh) rotate(20deg);
        }

        100% {
            transform: translate(80vw, -24vh) rotate(40deg);
        }
    }
}

.boost-pill {
    border: 2px solid rgba(255, 255, 255, .6);
    border-radius: 14px;
    padding: 12px 18px;
    text-align: center;
    color: #e5e5e5;
    background: rgba(16, 16, 25, .4);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.boost-pill:hover {
    box-shadow: 0 0 22px rgba(197, 53, 197, .45);
    border-color: rgba(197, 53, 197, .7);
    transform: translateY(-2px);
    color: #fff;
}

/* ============================
        SITE FOOTER
        ============================ */
#site-footer {
    background: #171127;
    color: #e9e9f4;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

#site-footer .footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

#site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 22px;
}

#site-footer .footer-brand img {
    height: 42px;
}

#site-footer .footer-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, .22);
}

#site-footer .footer-taglines div {
    line-height: 1.1;
    color: #d9d9ee;
}

#site-footer h6 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
    letter-spacing: .2px;
    color: #ffffff;
}

#site-footer .footer-link,
#site-footer a {
    color: #58e3c1;
    text-decoration: none;
    transition: color .2s ease, text-shadow .2s ease;
}

#site-footer .footer-link:hover,
#site-footer a:hover {
    color: #7ef0d1;
    text-shadow: 0 0 8px rgba(88, 227, 193, .35);
}

#site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

@media (max-width: 768px) {
    #site-footer .footer-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    #site-footer .footer-divider {
        display: none;
    }
}

/* ============================
        ASIAN MUSIC ARTIST
        ============================ */
#asian-artists {
    position: relative;
    color: #fff;
    background: linear-gradient(180deg, #3a2c6a 0%, #2e2555 100%);
    overflow: hidden;
}

#asian-artists .section-title {
    font-weight: 800;
    letter-spacing: .5px;
}

.flipbook {
    position: relative;
    perspective: 1400px;
    height: 360px;
    max-width: 860px;
    margin: 0 auto;
}

.flipbook-stage {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.flip-page {
    position: absolute;
    top: 0;
    left: 50%;
    width: 260px;
    height: 360px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
    transform-style: preserve-3d;
    background: #111;
    backface-visibility: hidden;
    will-change: transform, opacity;
    transition: transform .6s cubic-bezier(.22, .61, .36, 1), opacity .6s ease, filter .35s ease;
}

.flip-page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flip-page.pos-current {
    transform: translateX(-50%) rotateY(0deg) translateZ(0) scale(1);
    z-index: 3;
}

.flip-page.pos-prev {
    transform: translateX(calc(-50% - 240px)) rotateY(22deg) translateZ(-60px) scale(.96);
    z-index: 2;
    filter: brightness(.9);
}

.flip-page.pos-next {
    transform: translateX(calc(-50% + 240px)) rotateY(-22deg) translateZ(-60px) scale(.96);
    z-index: 2;
    filter: brightness(.9);
}

.flip-page.pos-out-left {
    transform: translateX(calc(-50% - 420px)) rotateY(35deg) translateZ(-160px) scale(.9);
    z-index: 1;
    opacity: 0;
}

.flip-page.pos-out-right {
    transform: translateX(calc(-50% + 420px)) rotateY(-35deg) translateZ(-160px) scale(.9);
    z-index: 1;
    opacity: 0;
}

.flip-page.flicker {
    animation: pageFlicker .6s linear;
}

@keyframes pageFlicker {

    0%,
    100% {
        filter: brightness(1)
    }

    20% {
        filter: brightness(1.6)
    }

    40% {
        filter: brightness(.8)
    }

    60% {
        filter: brightness(1.4)
    }

    80% {
        filter: brightness(.9)
    }
}

.flip-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background .2s ease, box-shadow .2s ease;
    z-index: 10;
}

.flip-nav:hover {
    background: rgba(255, 255, 255, .2);
    box-shadow: 0 0 14px rgba(197, 53, 197, .45);
}

.flip-nav.prev {
    left: -8px;
}

.flip-nav.next {
    right: -8px;
}

#listener-insight {
    background: linear-gradient(180deg, rgba(16, 12, 28, 1) 0%, rgba(25, 18, 43, 1) 70%);
    color: #fff;
}

#listener-insight .section-title {
    font-weight: 800;
    letter-spacing: .5px;
}

.insight-stage {
    position: relative;
    width: min(880px, 100%);
    margin: 0 auto;
    height: 320px;
}

.stage-pill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 230px;
    border-radius: 28px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .4));
    opacity: .95;
}

.stage-pill.purple-left {
    left: -10px;
    background: #5a3ea3;
}

.stage-pill.green-left {
    left: 70px;
    background: #9be6c2;
}

.stage-pill.purple-right {
    right: 70px;
    background: #5a3ea3;
}

.stage-pill.green-right {
    right: -10px;
    background: #9be6c2;
}

.insight-flip {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    perspective: 1200px;
}

.insight-panel {
    position: absolute;
    width: min(760px, 96%);
    height: 260px;
    border-radius: 18px;
    background: #0f0f10;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    padding: 16px 16px 12px;
    transform: rotateY(90deg) scale(.98);
    opacity: 0;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .5s ease;
    cursor: pointer;
}

.insight-panel.active {
    transform: rotateY(0) scale(1);
    opacity: 1;
    z-index: 2;
}

.insight-panel.exiting {
    transform: rotateY(-90deg) scale(.98);
    opacity: 0;
    z-index: 1;
}

.insight-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 .35rem 0;
}

.insight-plot {
    position: relative;
    height: 175px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .02));
}

/* grid lines */
.insight-plot::before,
.insight-plot::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .25;
    pointer-events: none;
}

.insight-plot::before {
    background: repeating-linear-gradient(to right, rgba(255, 255, 255, .08) 0 1px, transparent 1px 80px);
}

.insight-plot::after {
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .08) 0 1px, transparent 1px 40px);
}

.insight-legend {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
    font-size: .95rem;
    color: #cfcfcf;
}

.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

/* Lines animation */
.insight-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
}

.line-tiktok {
    stroke: #8363ff;
}

.line-youtube {
    stroke: #b9b9b9;
}

.line-apple {
    stroke: #b48bff;
}

.line-other {
    stroke: #777;
}

.animate-dash {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: dash 2.6s ease forwards;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

/* Alternative panels */
.bars {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    gap: 12px;
    height: 175px;
    padding: 0 8px;
}

.bar {
    background: linear-gradient(180deg, #7750ff, #aa4196);
    border-radius: 8px 8px 4px 4px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25) inset;
}

.bar:nth-child(odd) {
    background: linear-gradient(180deg, #7adbb2, #6bd1b6);
}

.bar-labels {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 8px;
    font-size: .85rem;
    color: #cfcfcf;
}

.gender-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    height: 175px;
    align-items: center;
}

.donut {
    --p: 62;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background:
        radial-gradient(#0f0f10 52%, transparent 53%),
        conic-gradient(#7adbb2 calc(var(--p) * 1%), #7750ff 0);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25) inset;
    margin: 0 auto;
}

.donut:nth-child(2) {
    --p: 38;
}

.donut-label {
    text-align: center;
    margin-top: 6px;
    font-size: .95rem;
    color: #cfcfcf;
}

.panel-note {
    font-size: .85rem;
    color: #a6a6a6;
}

@media (max-width: 576px) {
    .insight-stage {
        height: 300px;
    }

    .insight-panel {
        height: 240px;
    }

    .insight-plot {
        height: 160px;
    }

    .stage-pill {
        width: 120px;
        height: 180px;
    }

    .stage-pill.green-left {
        left: 40px;
    }

    .stage-pill.purple-right {
        right: 40px;
    }

    #boost-stream .graph-wrap {
        height: 200px;
        margin-top: -80px;
    }

    .ama-bg.midM {
        top: 20%;
    }
}

@media (max-width: 400px) {
    #releaseTypeModalTrigger {
        max-width: 100px;
    }
}