/* CSS Variables from Tailwind */
:root {
    --color-background: #2B2B2B;
    --color-accent: #FF6B00;
    --color-text-primary: #FDFDFD;
    --color-text-secondary: #8C8C8C;
    --color-card-bg: #353535;
}

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

body {
    background-color: #2B2B2B;
    color: #FDFDFD;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

/* Typography - exact same as original globals.css */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

button {
    font-size: 1rem;
    font-weight: 500;
}

/* Container - Tailwind container */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Utility Classes */
.text-secondary {
    color: #8C8C8C;
}

.text-orange {
    color: #FF6B00;
}

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

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }

/* Header - fixed top-0 left-0 right-0 z-50 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(43, 43, 43, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #3A3A3A;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-text {
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #FDFDFD;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #FF6B00;
}

.btn-login {
    padding: 0.5rem 1.5rem;
    background-color: #FF6B00;
    color: #FDFDFD;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #FF7A1A;
}

/* Page Management */
.page {
    display: none;
}

.page.active {
    display: block;
}

.page-with-header {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

/* Buttons */
.btn-primary {
    padding: 1rem 2rem;
    background-color: #FF6B00;
    color: #FDFDFD;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: #FF7A1A;
    transform: scale(1.05);
}

.btn-outline {
    padding: 1rem 2rem;
    background-color: transparent;
    color: #FF6B00;
    border: 2px solid #FF6B00;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background-color: #FF6B00;
    color: #FDFDFD;
}

.btn-secondary {
    padding: 0.75rem 2rem;
    background-color: #353535;
    color: #FDFDFD;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: #3A3A3A;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #2B2B2B, rgba(43, 43, 43, 0.95), #2B2B2B);
}

.hero-waves {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.hero-waves svg {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #8C8C8C;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle-large {
    font-size: 1.25rem;
    color: #8C8C8C;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

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

/* Section */
.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

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

.section-title-center {
    text-align: center;
    margin-bottom: 3rem;
}

.link-see-all {
    color: #FF6B00;
    text-decoration: none;
    transition: text-decoration 0.3s;
}

.link-see-all:hover {
    text-decoration: underline;
}

/* Grids */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.events-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.events-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Artist Card */
.artist-card {
    background-color: #353535;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.artist-card:hover {
    background-color: #3A3A3A;
    transform: translateY(-4px);
}

.artist-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

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

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

.artist-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    background-color: #FF6B00;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.artist-card-content {
    padding: 1rem;
}

.artist-card-content h4 {
    margin-bottom: 0.25rem;
}

.artist-card-content p {
    margin-bottom: 1rem;
}

.artist-card-content button {
    width: 100%;
    padding: 0.5rem 1rem;
}

/* Event Card */
.event-card {
    background-color: #353535;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.event-card:hover {
    background-color: #3A3A3A;
    transform: translateY(-4px);
}

.event-image {
    height: 12rem;
    overflow: hidden;
}

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

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

.event-content {
    padding: 1.25rem;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8C8C8C;
    margin-bottom: 0.75rem;
}

.event-meta svg {
    flex-shrink: 0;
}

.event-content h3 {
    margin-bottom: 0.5rem;
}

.event-content > p {
    color: #8C8C8C;
    margin-bottom: 0.25rem;
}

.event-content .description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.event-footer .price {
    color: #FF6B00;
}

.event-footer button {
    padding: 0.5rem 1.5rem;
}

/* Feature Card */
.feature-card {
    text-align: center;
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(255, 107, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* Community Layout */
.community-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.community-topics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.topic-card {
    background-color: #353535;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: background-color 0.3s;
    cursor: pointer;
}

.topic-card:hover {
    background-color: #3A3A3A;
}

.topic-card h4 {
    margin-bottom: 0.5rem;
}

/* Artist of the Week Card */
.artist-of-week-card {
    background: linear-gradient(135deg, #FF6B00, #FF8533);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.artist-week-avatar {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 1rem auto;
}

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

.artist-week-genre {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    text-align: center;
}

.artist-week-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-week-artist {
    width: 100%;
    padding: 0.75rem 2rem;
    background-color: white;
    color: #FF6B00;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-week-artist:hover {
    background-color: #f0f0f0;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(to right, #353535, #3A3A3A);
    border-radius: 1rem;
    padding: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-check {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #FF6B00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* About Section */
.about-section {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #8C8C8C;
}

/* Filters */
.genre-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 0.5rem 1.5rem;
    background-color: #353535;
    color: #FDFDFD;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-chip:hover {
    background-color: #3A3A3A;
}

.filter-chip.active {
    background-color: #FF6B00;
    color: white;
}

.event-filters {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
}

.filter-group {
    flex: 1;
}

.filter-label {
    color: #8C8C8C;
    margin-bottom: 0.75rem;
}

.filter-chips {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Artist Detail Page */
.artist-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.artist-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #2B2B2B, rgba(43, 43, 43, 0.7), transparent);
}

.artist-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 3rem;
}

.artist-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #8C8C8C;
}

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

.artist-bio {
    background-color: #353535;
    border-radius: 0.75rem;
    padding: 2rem;
}

/* Track List */
.track-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.track-item:hover {
    background-color: #353535;
}

.track-number {
    color: #8C8C8C;
    width: 2rem;
    text-align: center;
}

.play-button {
    width: 3rem;
    height: 3rem;
    background-color: #FF6B00;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.track-item:hover .play-button {
    opacity: 1;
}

.track-info {
    flex: 1;
}

.track-info h4 {
    margin-bottom: 0.25rem;
}

.track-duration {
    color: #8C8C8C;
}

/* Event Detail Card */
.event-detail-card {
    background-color: #353535;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: background-color 0.3s;
    cursor: pointer;
}

.event-detail-card:hover {
    background-color: #3A3A3A;
}

.event-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.event-detail-date {
    text-align: right;
}

.event-detail-date .date {
    color: #FF6B00;
}

/* Community Page */
.community-page-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.community-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.community-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.discussion-card {
    background-color: #353535;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: background-color 0.3s;
    cursor: pointer;
}

.discussion-card:hover {
    background-color: #3A3A3A;
}

.discussion-card h3 {
    margin-bottom: 1rem;
}

.discussion-preview {
    color: #8C8C8C;
    margin-bottom: 1rem;
}

.discussion-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #8C8C8C;
    font-size: 0.875rem;
}

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

.login-cta-card {
    background-color: #353535;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.stats-card {
    background-color: #353535;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

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

.stat-row:last-child {
    margin-bottom: 0;
}

/* For Artists Page */
.for-artists-hero {
    text-align: center;
    padding: 4rem 0;
}

.benefits-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background-color: #353535;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: background-color 0.3s;
}

.benefit-card:hover {
    background-color: #3A3A3A;
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 107, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-card {
    position: relative;
    background-color: #353535;
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
}

.step-number {
    font-size: 3rem;
    color: #FF6B00;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -0.75rem;
    transform: translateY(-50%);
    z-index: 10;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #FF6B00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Application Form */
.application-form-container {
    max-width: 42rem;
    margin: 0 auto;
}

.application-form-box {
    background-color: #353535;
    border-radius: 1rem;
    padding: 2.5rem;
}

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

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #2B2B2B;
    border: 1px solid #3A3A3A;
    border-radius: 0.5rem;
    color: #FDFDFD;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #FF6B00;
}

.form-field textarea {
    resize: none;
}

.form-note {
    font-size: 0.875rem;
    color: #8C8C8C;
    text-align: center;
    margin-top: 1rem;
}

/* Success Stories */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.story-card {
    background-color: #353535;
    border-radius: 0.75rem;
    padding: 2rem;
}

.story-quote {
    color: #FDFDFD;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.story-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.story-quote-mark {
    color: #FF6B00;
    font-size: 3rem;
}

/* Profile Page */
.profile-header-section {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.profile-avatar-large {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.profile-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.stat-number {
    font-size: 2rem;
}

.profile-tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid #3A3A3A;
    margin-bottom: 2rem;
}

.profile-tab {
    padding-bottom: 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #8C8C8C;
    cursor: pointer;
    transition: all 0.3s;
}

.profile-tab:hover {
    color: #FDFDFD;
}

.profile-tab.active {
    color: #FF6B00;
    border-bottom-color: #FF6B00;
}

.playlists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.playlist-card {
    background-color: #353535;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: background-color 0.3s;
    cursor: pointer;
}

.playlist-card:hover {
    background-color: #3A3A3A;
}

.playlist-image {
    aspect-ratio: 1;
    overflow: hidden;
}

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

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

.playlist-info {
    padding: 1.25rem;
}

.recent-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8C8C8C;
    margin-bottom: 1.5rem;
}

.recent-tracks-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.recent-track-card {
    background-color: #353535;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
    width: 12rem;
    transition: background-color 0.3s;
    cursor: pointer;
}

.recent-track-card:hover {
    background-color: #3A3A3A;
}

.recent-track-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

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

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

.recent-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.recent-play-btn {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #FF6B00;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.recent-track-info {
    padding: 1rem;
}

.recent-track-info h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.recent-track-info p {
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer */
.footer {
    background-color: #1F1F1F;
    border-top: 1px solid #3A3A3A;
    margin-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3rem 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #8C8C8C;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #FF6B00;
}

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

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #353535;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FDFDFD;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #FF6B00;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid #3A3A3A;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .artists-grid,
    .events-grid-2,
    .events-grid-3,
    .features-grid,
    .benefits-cards-grid,
    .steps-grid,
    .stories-grid,
    .playlists-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .community-layout,
    .community-page-layout {
        grid-template-columns: 1fr;
    }

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

    .profile-header-section {
        flex-direction: column;
    }

    .profile-stats {
        flex-direction: column;
        gap: 1rem;
    }

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