/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #FFA500, #FF6347, #4169E1);
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header Styles */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

#header-left {
    display: flex;
    align-items: center;
}

#logo {
    height: 75px;
    margin-right: 10px;
}

#header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#header-title {
    font-size: 24px;
    font-weight: bold;
    color: #FFA500;
}

#week-range {
    font-size: 20px;
    margin-top: 8px;
    color: #FF6347;
}

#header-right {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
}

/* Button Styles */
#header-right button,
.form-buttons button,
#claim-artist-button,
#return-home-button,
.home-button {
    background: #FFA500;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

#header-right button:hover,
.form-buttons button:hover,
#claim-artist-button:hover,
#return-home-button:hover,
.home-button:hover {
    background: #FF8C00;
}

#return-home-button,
.home-button {
    background-color: #4169E1;
}

#return-home-button:hover,
.home-button:hover {
    background-color: #1E90FF;
}

/* Discover Section Styles */
#discover {
    padding: 20px;
}

.tab-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.tab {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.tab.active {
    background: rgba(255, 255, 255, 0.4);
}

.tab:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Song Item Styles */
.song-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

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

.song-rank {
    font-size: 24px;
    margin-right: 15px;
    color: #FFA500;
}

.song-artwork {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    border-radius: 5px;
}

.song-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.song-text {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    position: relative;
}

.song-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #FFA500;
}

.song-artist {
    margin: 0;
    font-size: 14px;
    color: #FF6347;
    line-height: 1.2;
}

.song-stats {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.song-likes,
.song-playcount,
.song-sales {
    font-size: 14px;
    color: #fff;
    margin-left: 10px;
}

.logo-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.playcount-icon {
    color: #FFA500;
}

.grayed-out {
    opacity: 0;
    filter: grayscale(100%);
}

.music-service-icons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 5px;
}

.music-service-icon {
    width: 15px;
    height: 15px;
    margin-top: 2px;
}

.music-service-icon + .music-service-icon {
    margin-top: 5px;
}

/* Hover Styles */
.hover-area {
    position: relative;
}

.hover-message {
    display: none;
    position: absolute;
    background-color: #FFA500;
    color: #fff;
    border: 1px solid #FF8C00;
    padding: 5px;
    border-radius: 5px;
    z-index: 1;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.hover-area:hover {
    background-color: rgba(255, 165, 0, 0.2);
}

.hover-area:hover .hover-message {
    display: block;
}

/* Floating Tab Bar Styles */
#floating-tab-bar {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.coming-soon-label {
    text-align: center;
    font-size: 20px;
    margin-top: 50px;
    color: #FFA500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #1E1E1E;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #FFA500;
    width: 300px;
    max-width: 95%;
    text-align: center;
    border-radius: 8px;
    color: white;
}

.close {
    color: #FFA500;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #FF8C00;
    text-decoration: none;
    cursor: pointer;
}

.modal-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

/* Auth Styles */
.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #FFA500;
}

.auth-button img {
    width: 20px;
    height: 20px;
}

.auth-agreement {
    margin: 15px 0;
    text-align: left;
}

.auth-agreement label {
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.auth-agreement input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.auth-agreement span {
    flex: 1;
}

.auth-agreement a {
    color: #FFA500;
    text-decoration: none;
}

.auth-agreement a:hover {
    text-decoration: underline;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: transparent;
    min-width: 160px;
    box-shadow: none;
    z-index: 1;
}

.dropdown-content button {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background-color: #FFA500;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 5px;
}

.dropdown-content button:hover {
    background-color: #FF8C00;
}

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

.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#artist-login-button {
    background-color: #FFA500;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#artist-login-button:hover {
    background-color: #FF8C00;
}

.artist-logged-in {
    background-color: #4169E1 !important;
}

.artist-logged-in:hover {
    background-color: #1E90FF !important;
}

/* Claim Status Indicator Styles */
#claim-status-indicator {
    display: flex;
    align-items: center;
    margin-left: 10px;
    font-size: 16px;
    background: linear-gradient(45deg, #FFA500, #FF6347, #4169E1);
    background-size: 300% 300%;
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    animation: gradientShift 5s ease infinite, bounce 0.5s ease infinite alternate;
}

#claim-status-indicator.hidden {
    display: none;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #000;
    margin-right: 8px;
    animation: pulsate 1s infinite;
}

.status-text {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes bounce {
    from { transform: translateY(0px); }
    to { transform: translateY(-5px); }
}

@keyframes pulsate {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

/* Profile Container Styles */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    color: #fff;
}

#profile-form h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
    color: #FFA500;
}

#profile-form input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #FFA500;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

#artist-validation-code {
    background-color: #FFA500;
    color: #000;
    padding: 5px;
    border: 1px solid #FF8C00;
    cursor: pointer;
    display: inline-block;
}

#artist-validation-code:hover {
    background-color: #FF8C00;
}

/* Platform Button Styles */
#platform-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.platform-button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    background-color: #FFA500;
    color: #000;
    transition: background-color 0.3s;
}

.platform-button:hover {
    background-color: #FF8C00;
}

.platform-button.selected {
    background-color: #FF6347;
}

.platform-button.selected:hover {
    background-color: #FF4500;
}

/* Instructions and Approval Process Styles */
.instructions, .approval-process {
    margin-left: 20px;
    margin-bottom: 20px;
}

.instructions li, .approval-process li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.additional-info p {
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Claim Button Styles */
.claim-button {
    background: #FFA500;
    color: #000;
    border: none;
    padding: 0 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
    line-height: 1.2;
    height: 17px;
}

.claim-button:hover {
    background: #FF8C00;
    transform: scale(1.05);
}

.claim-button:active {
    transform: scale(0.95);
}

.ai-theme h2 {
    color: #FFA500;
    text-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
    font-weight: bold;
}

.ai-theme > p {
    color: #FF6347;
}

.point-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 20px;
}

.point-option {
    background: linear-gradient(45deg, #FFA500, #FF6347);
    border: 2px solid #4169E1;
    color: #fff;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.point-option:hover, .point-option.selected {
    background: linear-gradient(45deg, #FF6347, #FFA500);
    box-shadow: 0 0 15px rgba(65, 105, 225, 0.7);
    transform: scale(1.05);
}

.gold-record-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 5px;
}

#submit-payment {
    background: linear-gradient(45deg, #FFA500, #4169E1);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

#submit-payment:hover {
    background: linear-gradient(45deg, #4169E1, #FFA500);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.7);
}

#card-element {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

#payment-result {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    display: none;
}

#payment-result.info {
    background-color: #e8f4fd;
    color: #0077be;
}

#payment-result.success {
    background-color: #d4edda;
    color: #155724;
}

#payment-result.error {
    background-color: #f8d7da;
    color: #721c24;
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
}

.message.processing {
    background-color: #f0f0f0;
    color: #333;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
}

#scrolling-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.banner-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Add this to your existing styles */
.disabled-button {
    position: relative;
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
}

.disabled-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        #FFA500,
        #FFA500 10px,
        #FFA50000 10px,
        #FFA50000 20px
    );
    z-index: 1;
}

.disabled-button:hover::after {
    content: 'Coming soon';
    position: absolute;
    background: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
}
