/* PlayCTA TSX Tasarımının Birebir Uyarlaması */

/* Container - TSX: min-h-screen bg-gradient-to-br from-blue-900 to-purple-900 py-12 px-4 */
.playcta-container {
	padding-bottom:80px!important;
    background: linear-gradient(to bottom right, #1e3a8a, #581c87);
    padding: 48px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Wrapper - TSX: container mx-auto max-w-6xl */
.playcta-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

/* Glass Container - TSX: bg-white/10 backdrop-blur-xl rounded-2xl p-8 border border-white/20 */
.playcta-glass-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header - TSX: text-center mb-12 */
.playcta-header {
    text-align: center;
    margin-bottom: 48px;
}

/* Title - TSX: text-4xl font-bold text-white mb-4 */
.playcta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
    line-height: 1.1;
}

/* Subtitle - TSX: text-xl text-white/80 */
.playcta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

/* Language Tabs - TSX: grid grid-cols-2 sm:grid-cols-3 md:grid-cols-6 gap-2 mb-8 */
.playcta-language-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .playcta-language-tabs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .playcta-language-tabs {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Tab Button - TSX: px-4 py-3 rounded-xl font-medium transition-all duration-300 */
.playcta-tab-button {
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    /* Default state: bg-white/10 text-white/70 hover:bg-white/20 */
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.playcta-tab-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Active Tab - TSX: bg-indigo-500 text-white */
.playcta-tab-button.active {
    background: #6366f1;
    color: white;
}

/* Artists Grid - TSX: grid grid-cols-1 lg:grid-cols-2 gap-6 */
.playcta-artists-grid {
    margin-bottom: 32px;
}

.playcta-language-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1024px) {
    .playcta-language-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Artist Card - TSX: relative bg-white/5 backdrop-blur-md rounded-xl p-6 border transition-all duration-300 */
.playcta-artist-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Card Hover - TSX: hover:border-white/20 */
.playcta-artist-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Selected Card - TSX: border-indigo-500/50 */
.playcta-artist-card.selected {
    border-color: rgba(99, 102, 241, 0.5);
}

/* Waveform Background - TSX: absolute inset-0 flex items-center justify-center opacity-10 */
.playcta-waveform-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.playcta-artist-card.playing .playcta-waveform-bg {
    opacity: 0.1;
}

/* Wave Bars - TSX: w-1 mx-0.5 bg-white rounded-full animate-soundwave */
.playcta-wave-bar {
    width: 4px;
    margin: 0 2px;
    background: white;
    border-radius: 2px;
    height: 20px;
    animation: soundwave 1.5s ease-in-out infinite;
}

@keyframes soundwave {
    0%, 100% { 
        height: 10px; 
        opacity: 0.3;
    }
    50% { 
        height: 40px; 
        opacity: 1;
    }
}

/* Card Content */
.playcta-card-content {
    position: relative;
    z-index: 2;
}

/* Artist Main - TSX: relative flex items-start gap-4 */
.playcta-artist-main {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Artist Photo - TSX: relative flex-shrink-0 */
.playcta-artist-photo {
    position: relative;
    flex-shrink: 0;
}

/* Photo Wrapper - TSX: w-24 h-24 rounded-xl overflow-hidden */
.playcta-photo-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
}

.playcta-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PRO Badge - TSX: absolute -top-2 -right-2 bg-yellow-500 text-black text-xs px-2 py-1 rounded-full font-bold */
.playcta-pro-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: linear-gradient(to right, #3b82f6, #6366f1);
    border-radius: 9999px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 500;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gender Badge - Cinsiyet ikonu */
.playcta-gender-badge {
    position: absolute;
    bottom: -8px;
    left: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: white;
    z-index: 3;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.playcta-gender-badge.male {
    background: #3498db;
}

.playcta-gender-badge.female {
    background: #e91e63;
}

/* Artist Info - TSX: flex-1 */
.playcta-artist-info {
    flex: 1;
    min-width: 0;
}

/* Artist Header - TSX: flex items-start justify-between */
.playcta-artist-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

/* Artist Details */
.playcta-artist-details {
    flex: 1;
    min-width: 0;
}

/* Artist Name - TSX: text-xl font-semibold text-white */
.playcta-artist-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

/* Experience - TSX: flex items-center gap-2 text-white/60 text-sm mt-1 */
.playcta-experience {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 4px;
}

.playcta-clock-icon {
    font-size: 16px;
}

/* Play Button - TSX: p-3 rounded-xl bg-indigo-500 text-white hover:scale-105 transition-all duration-300 */
.playcta-play-button {
    padding: 12px;
    border-radius: 12px;
    background: #6366f1;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.playcta-play-button:hover {
    transform: scale(1.05);
}

/* Playing state - TSX: bg-white text-indigo-600 */
.playcta-play-button.playing {
    background: white;
    color: #6366f1;
}

.playcta-play-button .playcta-pause-icon {
    display: none;
}

.playcta-play-button.playing .playcta-play-icon {
    display: none;
}

.playcta-play-button.playing .playcta-pause-icon {
    display: block;
}

/* Specialties - TSX: flex flex-wrap gap-2 mt-3 */
.playcta-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

/* Specialty Tag - TSX: px-2 py-1 bg-white/10 rounded-lg text-white/80 text-sm */
.playcta-specialty-tag {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 400;
}

/* Languages - TSX: flex items-center gap-2 mt-3 text-white/70 text-sm */
.playcta-languages {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.playcta-globe-icon {
    font-size: 16px;
}

/* Extended Info - TSX: mt-6 pt-6 border-t border-white/10 */
.playcta-extended-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.playcta-artist-card.selected .playcta-extended-info {
    opacity: 1;
    max-height: 500px;
}

/* Info Grid - TSX: grid grid-cols-1 md:grid-cols-2 gap-6 */
.playcta-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .playcta-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Info Section */
.playcta-info-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
}

/* Info Title - TSX: text-white font-medium mb-2 flex items-center gap-2 */
.playcta-info-title {
    color: white;
    font-weight: 500;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.playcta-building-icon,
.playcta-star-icon {
    font-size: 16px;
}

/* Tags - TSX: flex flex-wrap gap-2 */
.playcta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Tag - TSX: px-2 py-1 bg-white/5 rounded-lg text-white/70 text-sm */
.playcta-tag {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
}

/* Audio Player (Hidden) */
#playcta-audio-player {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .playcta-container {
        padding: 24px 12px;
    }
    
    .playcta-glass-container {
        padding: 20px;
    }
    
    .playcta-title {
        font-size: 1.875rem;
    }
    
    .playcta-subtitle {
        font-size: 1.125rem;
    }
    
    .playcta-artist-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .playcta-artist-header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .playcta-photo-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .playcta-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .playcta-container {
        padding: 16px 8px;
    }
    
    .playcta-glass-container {
        padding: 16px;
    }
    
    .playcta-title {
        font-size: 1.5rem;
    }
    
    .playcta-subtitle {
        font-size: 1rem;
    }
    
    .playcta-artist-card {
        padding: 16px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .playcta-artist-card {
        border: 2px solid white;
    }
    
    .playcta-tab-button {
        border: 1px solid white;
    }
    
    .playcta-specialty-tag,
    .playcta-tag {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
} 