/* Artists Page Styles */

/* Main Content */
.main-content {
    padding-top: 4rem;
    padding-bottom: 2rem;
    min-height: calc(100vh - 60px);
}

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

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.page-title {
    font-size: 4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--kpop-pink), var(--kpop-purple), var(--kpop-blue));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(219, 136, 164, 0.6);
    margin-bottom: 1.5rem;
    animation: slide-in-up 1s ease-out;
}

.page-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Alphabetic Section */
.alphabetic-section {
    margin-bottom: 3rem;
}

.alphabetic-card {
    padding: 2rem;
    text-align: center;
}

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

.alphabetic-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.alphabetic-description {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.alphabetic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(2.5rem, 1fr));
    gap: 0.75rem;
    max-width: 50rem;
    margin: 0 auto;
}

.alphabet-btn {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--input-background);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--foreground);
    font-family: "Jersey 25", cursive;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.alphabet-btn:hover {
    background: var(--accent);
    color: var(--accent-foreground);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(219, 136, 164, 0.2);
}

.alphabet-btn.active {
    background: linear-gradient(135deg, var(--kpop-pink), var(--kpop-purple));
    color: white;
    border-color: var(--kpop-pink);
    box-shadow: 0 4px 15px rgba(219, 136, 164, 0.4);
}

.alphabet-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--muted);
}

.alphabet-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    background: var(--muted);
}

/* Filters Section */
.filters-section {
    margin-bottom: 3rem;
}

.filters-card {
    padding: 1.5rem;
}

.filters-header {
    margin-bottom: 1.5rem;
}

.filters-title {
    font-size: 1.5rem;
    color: var(--primary);
}

.filters-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.search-container {
    position: relative;
    max-width: 100%;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--muted-foreground);
}

.search-input {
    padding-left: 3rem;
    font-size: 1rem;
}

.filter-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.clear-filters-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

.filter-label {
    font-weight: 500;
    color: var(--foreground);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--input-background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.count-number {
    font-size: 1.5rem;
    color: var(--primary);
}

.count-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.section-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--kpop-pink), var(--kpop-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.section-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.75rem;
    background: var(--input-background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
    background: var(--accent);
    color: var(--accent-foreground);
}

.view-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Featured Section */
.featured-section {
    margin-bottom: 4rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.featured-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(219, 136, 164, 0.3);
}

.featured-layout {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 20rem;
}

.featured-image-container {
    position: relative;
    height: 20rem;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.featured-type {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.featured-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.featured-name {
    font-family: "Jersey 25", cursive;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.featured-name-kor {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.featured-description {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Artists Typography Grid */
.artists-section {
    margin-bottom: 4rem;
}

.artists-typography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.artist-typography-card {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.artist-typography-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(219, 136, 164, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.artist-typography-card:hover::before {
    opacity: 1;
}

.artist-typography-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--kpop-pink);
    box-shadow: 0 25px 50px rgba(219, 136, 164, 0.3);
}

.artist-typography-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.artist-typography-name {
    font-family: "Jersey 25", cursive;
    font-size: 2rem;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

body.dark .artist-typography-name {
    color: #ffffff;
}

.artist-typography-card:hover .artist-typography-name {
    color: var(--kpop-pink);
}

.artist-typography-name-kor {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.artist-typography-company {
    font-size: 0.75rem;
    color: var(--kpop-purple);
    font-weight: 500;
    margin-bottom: 1rem;
}

.artist-typography-meta {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.artist-typography-tag {
    padding: 0.25rem 0.75rem;
    background: var(--muted);
    color: var(--muted-foreground);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.artist-typography-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
    margin: 1rem 0;
}

.artist-typography-stat {
    padding: 0.5rem;
    background: var(--input-background);
    border-radius: var(--radius-md);
    text-align: center;
}

.artist-typography-stat-number {
    font-family: "Jersey 25", cursive;
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.artist-typography-stat-label {
    font-size: 0.625rem;
    color: var(--muted-foreground);
}

.artist-typography-badges {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.artist-typography-badge {
    padding: 0.25rem 0.5rem;
    background: var(--muted);
    color: var(--kpop-pink);
    border: 1px solid rgba(219, 136, 164, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    font-family: "Jersey 25", cursive;
    font-weight: 500;
    transition: all 0.3s ease;
}

.artist-typography-badge:hover {
    background: rgba(219, 136, 164, 0.1);
    border-color: var(--kpop-pink);
}

.artist-typography-explore-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--kpop-blue), var(--kpop-purple), var(--kpop-pink));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: "Jersey 25", cursive;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 0 20px rgba(219, 136, 164, 0.3);
}

.artist-typography-explore-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(219, 136, 164, 0.5);
}

.artist-typography-explore-btn svg {
    width: 1rem;
    height: 1rem;
}

.artist-typography-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artist-typography-card:hover .artist-typography-actions {
    opacity: 1;
}

.artist-typography-action-btn {
    padding: 0.5rem;
    background: var(--input-background);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.artist-typography-action-btn:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.artist-typography-action-btn svg {
    width: 1rem;
    height: 1rem;
}

/* List View */
.artists-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.artists-container.list-view .artist-card {
    border-radius: var(--radius-md);
}

.artists-container.list-view .artist-layout {
    padding: 0.75rem;
}

.artists-container.list-view .artist-image {
    width: 3rem;
    height: 3rem;
}

/* Load More */
.load-more-section {
    text-align: center;
    margin-bottom: 3rem;
}

/* No Results */
.no-results {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    backdrop-filter: blur(16px);
}

.no-results-content {
    max-width: 24rem;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-results-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.no-results-text {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Trending Section */
.trending-section {
    margin-bottom: 4rem;
}

.trending-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.trending-card {
    padding: 1.5rem;
}

.trending-header {
    margin-bottom: 1rem;
}

.trending-title {
    font-size: 1.25rem;
    color: var(--primary);
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: var(--muted);
    transition: all 0.3s ease;
    cursor: pointer;
}

.trending-item:hover {
    background: var(--accent);
    transform: translateX(4px);
}

.trending-position {
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Jersey 25", cursive;
    font-size: 0.875rem;
}

.trending-info {
    flex: 1;
}

.trending-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.trending-meta {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.trending-change {
    font-size: 0.75rem;
    font-weight: 500;
}

.trending-change.up {
    color: #22c55e;
}

.trending-change.down {
    color: #ef4444;
}

/* Statistics Section */
.stats-section {
    margin-bottom: 4rem;
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

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

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    color: var(--kpop-pink);
    margin-bottom: 0.25rem;
    animation: countdown-pulse 2s ease-in-out infinite;
}

.stat-label {
    color: var(--muted-foreground);
    font-weight: 500;
}

/* Discovery Section */
.discovery-section {
    margin-bottom: 4rem;
}

.discovery-card {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--kpop-blue), var(--kpop-purple));
    border: none;
    color: white;
}

.discovery-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.discovery-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.discovery-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.discovery-visual {
    display: flex;
    justify-content: center;
}

.discovery-icon {
    font-size: 4rem;
    animation: bounce-soft 2s ease-in-out infinite;
}

/* Button Styles */
.btn-icon {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .filter-group {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .alphabetic-grid {
        grid-template-columns: repeat(13, 1fr);
    }
    
    .artists-typography-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .artist-typography-name {
        font-size: 2rem;
    }
    
    .trending-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .filters-content {
        flex-direction: row;
        align-items: end;
        gap: 1rem;
    }
    
    .search-container {
        flex: 2;
    }
    
    .filter-group {
        flex: 3;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .alphabetic-grid {
        grid-template-columns: repeat(26, 1fr);
        gap: 1rem;
    }
    
    .artists-typography-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .artist-typography-name {
        font-size: 2.25rem;
    }
    
    .page-title {
        font-size: 5rem;
    }
}

@media (min-width: 1024px) {
    .artists-typography-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
    }
    
    .artist-typography-name {
        font-size: 2.5rem;
    }
    
    .discovery-content {
        grid-template-columns: 1fr auto;
        text-align: left;
    }
    
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1280px) {
    .artists-typography-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    }
    
    .artist-typography-name {
        font-size: 2.75rem;
    }
}

/* Dark mode adjustments */
body.dark .artist-card:hover,
body.dark .trending-item:hover,
body.dark .stat-card:hover {
    background: rgba(219, 214, 223, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(219, 136, 164, 0.3);
}

body.dark .trending-item:hover {
    transform: translateX(4px) translateY(-2px);
}

body.dark .stat-number {
    color: var(--kpop-purple);
}

body.dark .discovery-card {
    background: linear-gradient(135deg, var(--kpop-purple), var(--kpop-pink));
}
