/* Voice Artists Page Styles with Dark/Light Mode Support */

/* CSS Variables for Theme System */
:root {
    /* Light Theme (Default) */
    --bg-primary: #f8fafc;
    --bg-secondary: #e2e8f0;
    --bg-tertiary: #cbd5e1;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: rgba(0, 0, 0, 0.1);
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-hover: rgba(0, 0, 0, 0.05);
    --accent-primary: #133978;
    --accent-secondary: #1e4fa1;
    --nav-bg: #133978;
    --gradient-primary: linear-gradient(135deg, #133978, #1e4fa1);
    --shadow-light: rgba(19, 57, 120, 0.1);
    --shadow-medium: rgba(19, 57, 120, 0.2);
    --shadow-heavy: rgba(19, 57, 120, 0.3);
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(255, 255, 255, 0.08);
    --accent-primary: #133978;
    --accent-secondary: #1e4fa1;
    --nav-bg: #133978;
    --gradient-primary: linear-gradient(135deg, #133978, #1e4fa1);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    background-color: var(--nav-bg);
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-heavy);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
}

.back-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-2px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
}

.logo:hover {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
}

.search-toggle,
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-toggle:hover,
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Search Box */
.search-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-top: none;
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-box.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    color: white;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-50%) scale(1.05);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { top: 30%; right: 15%; animation-delay: 2s; }
.particle:nth-child(4) { bottom: 40%; left: 60%; animation-delay: 3s; }
.particle:nth-child(5) { bottom: 20%; right: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Scroll reveal animations */
.hero-badge,
.hero-title,
.hero-description,
.hero-stats,
.hero-cta,
.hero-visual {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.hero-badge { animation: fadeInUp 0.8s ease 0.1s both; }
.hero-title { animation: fadeInUp 0.8s ease 0.2s both; }
.hero-description { animation: fadeInUp 0.8s ease 0.3s both; }
.hero-stats { animation: fadeInUp 0.8s ease 0.4s both; }
.hero-cta { animation: fadeInUp 0.8s ease 0.5s both; }
.hero-visual { animation: fadeInUp 0.8s ease 0.6s both; }

/* Ensure hero elements are visible by default */
.hero-section * {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    width: fit-content;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0;
}

.hero-highlight {
    color: var(--accent-primary);
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 500px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #133978 !important;
    margin-bottom: 5px;
}

/* Light mode - #133978 color */
[data-theme="light"] .stat-number,
html:not([data-theme="dark"]) .stat-number {
    color: #133978 !important;
}

/* Dark mode - White color for stat-number */
[data-theme="dark"] .stat-number {
    color: #ffffff !important;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    justify-content: center;
}

.cta-button.primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(19, 57, 120, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(19, 57, 120, 0.4);
}

.cta-button.secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.cta-button.secondary:hover {
    border-color: var(--accent-primary);
    background: var(--card-hover);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
}

.featured-artists {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.featured-artists::after {
    content: '🔄';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    opacity: 0.5;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

.artist-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.artist-avatar.floating {
    animation: floating 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.avatar-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.sound-waves {
    display: flex;
    gap: 4px;
    align-items: end;
    height: 60px;
}

.wave {
    width: 4px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: wave 1.5s ease-in-out infinite;
}

.wave:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave:nth-child(2) { height: 40px; animation-delay: 0.2s; }
.wave:nth-child(3) { height: 60px; animation-delay: 0.4s; }
.wave:nth-child(4) { height: 30px; animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

/* Voice Artists Section */
.voice-artists-section {
    padding: 80px 0 40px;
    min-height: 100vh;
}

/* Anime Series Section */
.anime-series-section {
    padding: 40px 0 80px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    position: relative;
}

.anime-series-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.anime-series-header {
    text-align: center;
    margin-bottom: 50px;
}

.anime-series-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.anime-series-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.anime-series-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.anime-series-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.anime-series-item {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.anime-series-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.anime-series-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--card-bg);
}

.anime-series-header:hover {
    background: var(--card-hover);
}

.anime-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.4;
    margin-right: 15px;
    min-width: 45px;
    text-align: center;
}

.anime-name-info {
    flex: 1;
}

.anime-name-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 3px 0;
}

.anime-stats {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.anime-expand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.anime-expand-icon i {
    transition: transform 0.3s ease;
}

.anime-series-item.active .anime-expand-icon i {
    transform: rotate(180deg);
}

.anime-series-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--bg-secondary);
}

.anime-series-item.active .anime-series-content {
    max-height: 800px;
    padding: 20px;
}

.artists-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.artist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--bg-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.artist-item:hover {
    background: var(--card-hover);
    transform: translateX(5px);
}

.artist-mini-avatar {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
    flex-shrink: 0;
}

.artist-details {
    flex: 1;
}

.artist-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px 0;
}

.character-names {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.character-count {
    background: var(--accent-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}

.voice-artists-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.voice-artists-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.voice-artists-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(19, 57, 120, 0.1) 0%, 
        rgba(30, 79, 161, 0.05) 50%, 
        rgba(19, 57, 120, 0.1) 100%);
    z-index: -1;
}

.voice-artists-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.voice-artists-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.voice-artists-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Dark mode specific enhancements */
[data-theme="dark"] .voice-artists-header {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .voice-artists-header::before {
    background: linear-gradient(135deg, 
        rgba(19, 57, 120, 0.2) 0%, 
        rgba(30, 79, 161, 0.1) 50%, 
        rgba(19, 57, 120, 0.2) 100%);
}

/* Light mode specific enhancements */
[data-theme="light"] .voice-artists-header,
html:not([data-theme="dark"]) .voice-artists-header {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(19, 57, 120, 0.15);
    box-shadow: 0 8px 32px rgba(19, 57, 120, 0.1);
}

[data-theme="light"] .voice-artists-header::before,
html:not([data-theme="dark"]) .voice-artists-header::before {
    background: linear-gradient(135deg, 
        rgba(19, 57, 120, 0.05) 0%, 
        rgba(30, 79, 161, 0.02) 50%, 
        rgba(19, 57, 120, 0.05) 100%);
}

/* Voice Artists List */
.voice-artists-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.voice-artist-item {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.voice-artist-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.voice-artist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    border-radius: 20px;
    border: none;
    border-left: 6px solid #133978;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: relative;
}

[data-theme="dark"] .voice-artist-header {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.voice-artist-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(19, 57, 120, 0.15);
}

.artist-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    opacity: 0.3;
    margin-right: 20px;
    min-width: 60px;
    text-align: center;
}

.voice-artist-name {
    flex: 1;
}

.voice-artist-name h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 5px 0;
}

.voice-artist-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.expand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.expand-icon i {
    transition: transform 0.3s ease;
}

.voice-artist-item.active .expand-icon i {
    transform: rotate(180deg);
}

.voice-artist-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--bg-secondary);
}

.voice-artist-item.active .voice-artist-content {
    max-height: 2000px;
    padding: 25px;
}

/* Voice Cast Profiles */
.voice-cast-profile {
    display: none;
    animation: fadeIn 0.5s ease;
}

.voice-cast-profile.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Voice Artist Card */
.voice-artist-card {
    max-width: 500px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--card-bg), var(--bg-secondary));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    color: var(--text-primary);
    box-shadow: 0 8px 32px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.voice-artist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.voice-artist-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 16px 48px var(--shadow-medium);
}

.artist-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.artist-avatar-container {
    position: relative;
}

.voice-artist-avatar {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.avatar-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    border: 3px solid var(--bg-primary);
}

.voice-artist-info {
    flex: 1;
}

.artist-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 5px 0;
}

.artist-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    font-weight: 500;
}

.artist-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--card-bg);
    padding: 4px 8px;
    border-radius: 8px;
}

.voice-artist-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-link {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(19, 57, 120, 0.3);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-color: #e6683c;
}

/* Voice Characters Section */
.voice-characters-section {
    margin-bottom: 30px;
}

.voice-characters-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.voice-characters-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.voice-characters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.voice-character-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.voice-character-card:hover {
    transform: translateY(-5px);
}

.voice-char-image-square {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.voice-character-card:hover .voice-char-image-square {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.voice-char-image-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.voice-character-card:hover .voice-char-image-square img {
    transform: scale(1.1);
}

.char-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(19, 57, 120, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.voice-character-card:hover .char-overlay {
    opacity: 1;
}

.voice-char-info {
    width: 100%;
}

.voice-char-name {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    line-height: 1.2;
}

.voice-char-anime {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 6px;
}

.char-badge {
    display: inline-block;
    min-width: 120px;
    max-width: 100%;
    background: var(--accent-primary);
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* Mobile: Smaller badge width */
@media (max-width: 768px) {
    .char-badge {
        display: inline-block;
        min-width: 60px;
        max-width: 90%;
        padding: 3px 6px;
        font-size: 0.55rem;
    }
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.disclaimer-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 20px;
}

.disclaimer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.disclaimer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .featured-artists {
        gap: 15px;
    }
    
    .artist-avatar {
        width: 60px;
        height: 60px;
    }
    
    .sound-waves {
        height: 40px;
    }
    
    .wave:nth-child(1) { height: 15px; }
    .wave:nth-child(2) { height: 30px; }
    .wave:nth-child(3) { height: 40px; }
    .wave:nth-child(4) { height: 20px; }
    
    .voice-artists-section {
        padding: 60px 0 30px;
    }
    
    .anime-series-section {
        padding: 30px 0 60px;
    }
    
    .anime-series-container {
        padding: 0 1rem;
    }
    
    .anime-series-title {
        font-size: 1.8rem;
    }
    
    .anime-series-list {
        gap: 15px;
    }
    
    .anime-series-header {
        padding: 12px 15px;
    }
    
    .anime-number {
        font-size: 1.2rem;
        margin-right: 12px;
        min-width: 35px;
    }
    
    .anime-name-info h3 {
        font-size: 1.1rem;
    }
    
    .anime-stats {
        font-size: 0.8rem;
    }
    
    .anime-expand-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .anime-series-item.active .anime-series-content {
        padding: 15px;
    }
    
    .artist-item {
        gap: 10px;
        padding: 8px;
    }
    
    .artist-mini-avatar {
        width: 30px;
        height: 30px;
    }
    
    .anime-series-header {
        padding: 10px 12px;
    }
    
    .anime-number {
        font-size: 1rem;
        margin-right: 8px;
        min-width: 28px;
    }
    
    .anime-name-info h3 {
        font-size: 1rem;
    }
    
    .anime-stats {
        font-size: 0.75rem;
    }
    
    .anime-expand-icon {
        width: 25px;
        height: 25px;
        font-size: 0.6rem;
    }
    
    .anime-series-item.active .anime-series-content {
        padding: 12px;
    }
    
    .voice-artists-container {
        padding: 0 1rem;
    }
    
    .voice-artists-title {
        font-size: 2rem;
    }
    
    .voice-artists-list {
        gap: 15px;
    }
    
    .voice-artist-header {
        padding: 15px 20px;
    }
    
    .artist-number {
        font-size: 1.5rem;
        margin-right: 15px;
        min-width: 40px;
    }
    
    .voice-artist-name h2 {
        font-size: 1.2rem;
    }
    
    .voice-artist-role {
        font-size: 0.8rem;
    }
    
    .expand-icon {
        width: 35px;
        height: 35px;
    }
    
    .voice-artist-item.active .voice-artist-content {
        padding: 20px;
    }
    
    .voice-artist-card {
        max-width: 100%;
        padding: 20px;
    }
    
    .artist-card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        align-items: center;
    }
    
    .voice-artist-avatar {
        width: 80px;
        height: 80px;
    }
    
    .avatar-badge {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .voice-characters-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .voice-char-image-square {
        width: 70px;
        height: 70px;
    }
    
    .voice-char-name {
        font-size: 0.9rem;
    }
    
    .voice-char-anime {
        font-size: 0.75rem;
    }
    
    /* Voice Artists Header Responsive */
    .voice-artists-header {
        padding: 30px 15px;
        margin-bottom: 40px;
        border-radius: 15px;
    }
    
    .voice-artists-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .voice-artists-subtitle {
        font-size: 1rem;
    }
    

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .featured-artists {
        gap: 10px;
    }
    
    .artist-avatar {
        width: 50px;
        height: 50px;
    }
    
    .voice-artist-header {
        padding: 12px 15px;
    }
    
    .artist-number {
        font-size: 1.2rem;
        margin-right: 10px;
        min-width: 30px;
    }
    
    .voice-artist-name h2 {
        font-size: 1.1rem;
    }
    
    .voice-artist-role {
        font-size: 0.75rem;
    }
    
    .expand-icon {
        width: 30px;
        height: 30px;
    }
    
    .voice-artist-item.active .voice-artist-content {
        padding: 15px;
    }
    
    .voice-artist-card {
        padding: 15px;
    }
    
    .voice-artist-avatar {
        width: 70px;
        height: 70px;
    }
    
    .avatar-badge {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }
    
    .voice-characters-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .voice-char-image-square {
        width: 50px;
        height: 50px;
    }
    
    .voice-char-name {
        font-size: 0.7rem;
    }
    
    .voice-char-anime {
        font-size: 0.6rem;
    }
    
    .voice-work-card {
        padding: 8px;
    }
    
    /* Voice Artists Header Mobile */
    .voice-artists-header {
        padding: 25px 10px;
        margin-bottom: 30px;
        border-radius: 12px;
    }
    
    .voice-artists-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .voice-artists-title::after {
        width: 40px;
        height: 3px;
    }
    
    .voice-artists-subtitle {
        font-size: 0.9rem;
    }
    

}
/* D
ark Mode Overrides for Microphone Icons */
[data-theme="dark"] .hero-badge i.fa-microphone {
    color: #ffffff !important;
}

[data-theme="dark"] .cta-button i.fa-microphone {
    color: #ffffff !important;
}

[data-theme="dark"] .avatar-badge i.fa-microphone {
    color: #ffffff !important;
}

/* General dark mode override for all microphone icons */
[data-theme="dark"] .fas.fa-microphone {
    color: #ffffff !important;
}

/* Dark mode override for hero badge text */
[data-theme="dark"] .hero-badge {
    color: #ffffff !important;
}

/* Dark mode override for artist serial numbers */
[data-theme="dark"] .artist-number {
    color: #ffffff !important;
    opacity: 0.7 !important;
}

/* Dark mode override for anime series serial numbers */
[data-theme="dark"] .anime-number {
    color: #ffffff !important;
    opacity: 0.7 !important;
}
/*
 Statistics Section Styles */
.statistics-section {
    padding: 60px 20px;
    background: var(--bg-secondary);
}

.statistics-container {
    max-width: 1200px;
    margin: 0 auto;
}

.statistics-header {
    text-align: center;
    margin-bottom: 40px;
}

.statistics-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.statistics-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-category {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.stat-category h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-category h3 i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.stat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .statistics-title {
        font-size: 2rem;
    }
    
    .stat-category {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .statistics-section {
        padding: 40px 15px;
    }
    
    .statistics-title {
        font-size: 1.8rem;
    }
    
    .stat-item {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

/* Leaderboard Section Styles */
.leaderboard-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.leaderboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

.leaderboard-header {
    text-align: center;
    margin-bottom: 50px;
}

.leaderboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.leaderboard-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.leaderboard-category {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.leaderboard-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #667eea);
}

.category-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.category-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.category-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.category-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.leaderboard-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.leaderboard-item.top-three {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border-color: rgba(255, 215, 0, 0.3);
}

.position {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.position-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-primary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.position-icon {
    font-size: 1.5rem;
}

.position-icon.gold {
    color: #FFD700;
}

.position-icon.silver {
    color: #C0C0C0;
}

.position-icon.bronze {
    color: #CD7F32;
}

.artist-info {
    display: flex;
    align-items: center;
    flex: 1;
    margin-right: 15px;
}

.leaderboard-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid var(--border-color);
}

.artist-details {
    flex: 1;
}

.artist-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.artist-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.artist-count {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.count-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leaderboard-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .leaderboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .leaderboard-title {
        font-size: 2rem;
    }
    
    .leaderboard-category {
        padding: 20px;
    }
    
    .leaderboard-item {
        padding: 12px;
    }
    
    .leaderboard-avatar {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .leaderboard-section {
        padding: 40px 15px;
    }
    
    .leaderboard-title {
        font-size: 1.8rem;
    }
    
    .leaderboard-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .artist-name {
        font-size: 0.9rem;
    }
    
    .count-number {
        font-size: 1.2rem;
    }
}

/* Role Icons */
.role-icon {
    font-size: 0.8rem;
    margin-right: 5px;
    opacity: 0.7;
}

.artist-role .role-icon {
    color: var(--primary-color);
}/* S
earch Notice Section */
.search-notice-section {
    padding: 20px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.search-notice-container {
    max-width: 1200px;
    margin: 0 auto;
}

.search-notice {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border: 1px solid #2196f3;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

.notice-icon {
    font-size: 1.2rem;
    color: #2196f3;
    margin-right: 15px;
    flex-shrink: 0;
}

.notice-content {
    flex: 1;
}

.notice-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 5px 0;
}

.notice-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.notice-content #searchQuery {
    font-weight: 600;
    color: #2196f3;
}

.notice-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.notice-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

/* Enhanced Search Box */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.clear-search-btn {
    position: absolute;
    right: 50px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.clear-search-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

.search-input {
    padding-right: 90px !important; /* Make room for both buttons */
}

/* Search Results Highlighting */
.voice-artist-item {
    transition: all 0.3s ease;
}

.voice-artist-item[style*="display: none"] {
    opacity: 0;
    transform: scale(0.95);
}

/* No Results State */
.search-notice.no-results {
    background: linear-gradient(135deg, #ffebee, #fce4ec);
    border-color: #f44336;
}

.search-notice.no-results .notice-icon {
    color: #f44336;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-notice {
        padding: 12px 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .notice-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .notice-close {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .notice-content h4 {
        font-size: 0.9rem;
    }
    
    .notice-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .search-notice-section {
        padding: 15px;
    }
    
    .clear-search-btn {
        right: 45px;
        padding: 6px;
    }
}/* P
rominent Search Bar in Voice Artists Section */
.prominent-search-container {
    margin-top: 30px;
    margin-bottom: 20px;
}

.prominent-search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.prominent-search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 25px rgba(102, 126, 234, 0.2);
}

.prominent-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    z-index: 2;
}

.prominent-search-input {
    width: 100%;
    padding: 18px 60px 18px 55px;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    border-radius: 50px;
}

.prominent-search-input::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.prominent-clear-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-muted);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.prominent-clear-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.search-suggestions {
    text-align: center;
    margin-top: 15px;
}

.search-tip {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid var(--border-color);
}

/* Animation for search results */
.voice-artist-item {
    transition: all 0.4s ease;
}

.voice-artist-item[style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .prominent-search-container {
        margin-top: 25px;
        padding: 0 15px;
    }
    
    .prominent-search-input {
        padding: 16px 50px 16px 50px;
        font-size: 0.95rem;
    }
    
    .prominent-search-icon {
        left: 18px;
        font-size: 1rem;
    }
    
    .prominent-clear-btn {
        right: 12px;
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
    
    .search-tip {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .prominent-search-input {
        padding: 14px 45px 14px 45px;
        font-size: 0.9rem;
    }
    
    .prominent-search-icon {
        left: 15px;
        font-size: 0.9rem;
    }
    
    .prominent-clear-btn {
        right: 10px;
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
}/*
 Pagination Styles */


[data-theme="dark"] .page-number.active {
    background: white;
    color: #1a1a2e;
    border-color: white;
}

.page-ellipsis {
    padding: 0 8px;
    color: var(--text-muted);
    font-weight: 500;
}

.pagination-jump {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pagination-jump input {
    width: 60px;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    text-align: center;
}

.pagination-jump input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.jump-btn {
    padding: 8px 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jump-btn:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pagination-container {
        padding: 20px 15px;
        margin-top: 30px;
    }
    
    .pagination-controls {
        gap: 8px;
    }
    
    .pagination-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .pagination-btn span {
        display: none;
    }
    
    .page-number {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
    
    .pagination-numbers {
        gap: 3px;
    }
    
    .pagination-jump {
        flex-direction: column;
        gap: 8px;
        margin-top: 15px;
    }
    
    .pagination-jump input {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .pagination-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-numbers {
        order: -1;
    }
    
    .page-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .pagination-info {
        font-size: 0.85rem;
    }
}

/* Smooth transitions for artist items */
.voice-artist-item {
    transition: all 0.4s ease;
}

.voice-artist-item[style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* Debug Pagination Numbers */
.pagination-numbers {
    background: yellow !important;
    padding: 10px !important;
    border: 2px solid red !important;
    min-height: 50px !important;
}

.page-number {
    background: blue !important;
    color: white !important;
    border: 2px solid green !important;
    min-width: 40px !important;
    min-height: 40px !important;
}
/* Paginati
on Styles */
.pagination-container {
    max-width: 900px;
    margin: 0 auto;
}

.voice-artists-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

/* Pagination slide animation */
.voice-artists-list.sliding {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.voice-artists-list.slide-left {
    transform: translateX(-100%);
}

.voice-artists-list.slide-right {
    transform: translateX(100%);
}

.pagination-controls {
    margin-top: 40px;
    padding: 25px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    backdrop-filter: blur(10px);
}

.pagination-info {
    text-align: center;
}

.page-info {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.pagination-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.page-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.page-number:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

.page-number.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 3px 10px var(--shadow-medium);
}

.page-ellipsis {
    color: var(--text-muted);
    font-weight: bold;
    padding: 0 5px;
}

.pagination-jump {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pagination-jump input {
    width: 60px;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-jump input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(19, 57, 120, 0.1);
}

.jump-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jump-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
}

/* Loading and transition states */
.voice-artists-list.loading {
    opacity: 0.6;
    pointer-events: none;
}

.voice-artists-list.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-controls {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .pagination-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .pagination-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .page-numbers {
        order: -1;
        margin-bottom: 10px;
    }
    
    .pagination-jump {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .pagination-jump input {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .page-numbers {
        gap: 5px;
    }
    
    .page-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .pagination-info {
        font-size: 0.85rem;
    }
}

/* Smooth slide animations for artist items */
.voice-artist-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.voice-artist-item.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.voice-artist-item.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for multiple items */
.voice-artist-item.fade-in:nth-child(1) { animation-delay: 0.1s; }
.voice-artist-item.fade-in:nth-child(2) { animation-delay: 0.2s; }
.voice-artist-item.fade-in:nth-child(3) { animation-delay: 0.3s; }
.voice-artist-item.fade-in:nth-child(4) { animation-delay: 0.4s; }
.voice-artist-item.fade-in:nth-child(5) { animation-delay: 0.5s; }
.voice-artist-item.fade-in:nth-child(6) { animation-delay: 0.6s; }
.voice-artist-item.fade-in:nth-child(7) { animation-delay: 0.7s; }
.voice-artist-item.fade-in:nth-child(8) { animation-delay: 0.8s; }
.voice-artist-item.fade-in:nth-child(9) { animation-delay: 0.9s; }
.voice-artist-item.fade-in:nth-child(10) { animation-delay: 1.0s; }
.voice-artist-item.fade-in:nth-child(n+11) { animation-delay: 1.1s; }
/* Pr
oduction Crew Section Styles */
.production-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.production-section h3 {
    color: #133978 !important;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* Light mode - #133978 color for Production Work */
[data-theme="light"] .production-section h3,
html:not([data-theme="dark"]) .production-section h3 {
    color: #133978 !important;
}

/* Dark mode - Gold color for Production Work */
[data-theme="dark"] .production-section h3 {
    color: #FFD700 !important;
}

.production-section h3 i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.production-work-card {
    transition: all 0.3s ease;
}

.production-work-card:hover {
    transform: translateY(-2px);
}

.production-overlay {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.production-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Production department icons */
.production-work-card .char-overlay i {
    font-size: 1.2rem;
    color: white;
}

/* Production work card specific styling */
.production-work-card .voice-char-name {
    color: var(--text-primary);
    font-weight: 600;
}

.production-work-card .voice-char-anime {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Production section separator */
.production-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #f59e0b 50%, transparent 100%);
    opacity: 0.6;
}

/* Production team member highlight */
.voice-artist-item[data-production-team="true"] .voice-artist-header {
    background: #ffffff;
    border-left: 6px solid #f59e0b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .voice-artist-item[data-production-team="true"] .voice-artist-header {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.voice-artist-item[data-production-team="true"] .voice-artist-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.voice-artist-item[data-production-team="true"] .voice-artist-role {
    color: #f59e0b !important;
    font-weight: 600;
}

/* Production stats in hero section */
.stat-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.stat-card:nth-child(3) .stat-number {
    color: #FFD700 !important;
}

/* Light mode - Gold color for Production Team */
[data-theme="light"] .stat-card:nth-child(3) .stat-number,
html:not([data-theme="dark"]) .stat-card:nth-child(3) .stat-number {
    color: #FFD700 !important;
}

/* Dark mode - Gold color for Production Team */
[data-theme="dark"] .stat-card:nth-child(3) .stat-number {
    color: #FFD700 !important;
}

/* Mobile adjustments for production section */
@media (max-width: 768px) {
    .production-section {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .production-section h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .production-work-card {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    /* Characters Voiced Title - Make smaller */
    .voice-characters-section h3 {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    
    .production-section {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .production-section h3 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    /* Match production badge size with voice badge */
    .production-badge.info-badge {
        font-size: 0.55rem !important;
        padding: 4px 6px !important;
        min-width: 60px !important;
        max-width: 90% !important;
    }
    
    .production-badge {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

/* Animation for production cards */
.production-work-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes productionCardSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Production leaderboard styling */
.leaderboard-category:nth-child(2) {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, transparent 100%);
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.leaderboard-category:nth-child(2) .category-icon {
    color: #f59e0b;
}

.leaderboard-category:nth-child(2) .category-header h3 {
    color: #f59e0b;
}/* 412px M
obile - Voice Artist Page Complete Override */
@media screen and (max-width: 412px) {
    /* Navigation - Make much smaller */
    .navbar {
        padding: 0.3rem 0 !important;
    }
    
    .nav-container {
        height: 40px !important;
        padding: 0 0.3rem !important;
    }
    
    .logo {
        font-size: 1.2rem !important;
    }
    
    .back-toggle,
    .search-toggle,
    .theme-toggle {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }
    
    /* Voice Artists Section - Awesome compact design for 412px */
    .voice-artists-section {
        padding: 40px 0 20px !important;
    }
    
    .voice-artists-list {
        gap: 8px !important;
        max-width: 100% !important;
    }
    
    /* Hero Section - Make much smaller and center */
    .hero-section {
        padding: 3rem 0 1.5rem 0 !important;
        text-align: center !important;
    }
    
    .hero-content {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .hero-content h1 {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.4rem !important;
        text-align: center !important;
    }
    
    .hero-content p {
        font-size: 0.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.8rem !important;
        text-align: center !important;
        max-width: 90% !important;
    }
    
    /* Stats Cards - Make even smaller */
    .stats-grid {
        gap: 0.25rem !important;
        margin: 0.4rem 0 !important;
    }
    
    .stat-card {
        padding: 0.4rem !important;
    }
    
    .stat-number {
        font-size: 0.75rem !important;
    }
    
    .stat-label {
        font-size: 0.5rem !important;
    }
    
    .stat-icon {
        font-size: 0.7rem !important;
    }
    
    /* Search and Filter Section - Make much smaller */
    .search-filter-section {
        padding: 0.8rem 0.4rem !important;
    }
    
    .search-container input {
        font-size: 0.7rem !important;
        padding: 0.5rem 0.7rem !important;
    }
    
    .filter-buttons {
        gap: 0.25rem !important;
    }
    
    .filter-btn {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.6rem !important;
    }
    
    /* Voice Artist Cards - Smooth compact design for 412px */
    .voice-artist-item {
        padding: 0.7rem !important;
        margin-bottom: 0.6rem !important;
        border-radius: 12px !important;
        border-width: 1.5px !important;
    }
    
    .voice-artist-item:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 12px var(--shadow-light) !important;
    }
    
    .voice-artist-header {
        padding: 0.5rem 0.7rem !important;
        border: none !important;
        outline: none !important;
    }
    
    .artist-number {
        font-size: 1.1rem !important;
        margin-right: 10px !important;
        min-width: 35px !important;
    }
    
    .voice-artist-name h2 {
        font-size: 0.9rem !important;
        margin-bottom: 0.1rem !important;
        font-weight: 600 !important;
    }
    
    .voice-artist-role {
        font-size: 0.65rem !important;
        opacity: 0.8 !important;
    }
    
    .voice-artist-stats {
        gap: 0.35rem !important;
        margin: 0.35rem 0 !important;
        padding: 0.35rem 0.5rem !important;
    }
    
    .expand-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
    
    .stat-item {
        padding: 0.25rem 0.4rem !important;
    }
    
    .stat-item .stat-number {
        font-size: 0.7rem !important;
    }
    
    .stat-item .stat-label {
        font-size: 0.5rem !important;
    }
    
    /* Voice Work Cards - Make much smaller and 3 per row */
    .voice-characters-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    
    .voice-work-card {
        padding: 0.4rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .voice-char-image-square {
        width: 45px !important;
        height: 45px !important;
    }
    
    .voice-char-name {
        font-size: 0.6rem !important;
        margin-bottom: 0.1rem !important;
    }
    
    .voice-char-anime {
        font-size: 0.5rem !important;
    }
    
    .char-overlay {
        padding: 0.25rem !important;
    }
    
    .char-overlay i {
        font-size: 0.7rem !important;
    }
    
    /* Artist Card - Make text smaller */
    .artist-name {
        font-size: 1rem !important;
    }
    
    .artist-title {
        font-size: 0.7rem !important;
    }
    
    .artist-stats {
        gap: 8px !important;
    }
    
    .stat-item {
        font-size: 0.7rem !important;
        padding: 3px 6px !important;
    }
    
    .artist-instagram-badge {
        font-size: 0.6rem !important;
        padding: 3px 7px !important;
    }
    
    /* More Info Badges - Make smaller to prevent cut-off */
    .char-badge.info-badge {
        font-size: 0.45rem !important;
        padding: 3px 4px !important;
        min-width: 50px !important;
        max-width: 90% !important;
        white-space: nowrap !important;
    }
    
    .char-badge.info-badge i {
        font-size: 0.45rem !important;
        margin-right: 1px !important;
    }
    
    .char-badge.info-badge span {
        font-size: 0.45rem !important;
    }
    
    /* Production badges - Make smaller too */
    .production-badge.info-badge {
        font-size: 0.45rem !important;
        padding: 3px 4px !important;
        min-width: 50px !important;
        max-width: 90% !important;
        white-space: nowrap !important;
        letter-spacing: -0.2px !important;
    }
    
    .production-badge.info-badge i {
        font-size: 0.45rem !important;
        margin-right: 1px !important;
    }
    
    .production-badge.info-badge span {
        font-size: 0.45rem !important;
        letter-spacing: -0.2px !important;
    }
    
    /* Production work cards - ensure badges fit */
    .production-work-card .production-badge.info-badge {
        font-size: 0.45rem !important;
        padding: 3px 4px !important;
        min-width: 50px !important;
        max-width: 90% !important;
        white-space: nowrap !important;
        letter-spacing: -0.2px !important;
    }
    
    /* Characters Voiced Title - Make smaller */
    .voice-characters-section h3 {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
    }
    
    /* Production Section - Make smaller */
    .production-section h3 {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Production badge (not info-badge) */
    .production-badge:not(.info-badge) {
        font-size: 0.6rem !important;
        padding: 2px 4px !important;
    }
    
    /* Pagination - Make smaller */
    .pagination-controls {
        padding: 1rem 0.5rem !important;
        gap: 0.8rem !important;
    }
    
    .pagination-btn {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.7rem !important;
    }
    
    .page-number {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.7rem !important;
    }
    
    .pagination-info {
        font-size: 0.7rem !important;
    }
    
    .pagination-jump input {
        width: 50px !important;
        padding: 0.4rem 0.6rem !important;
        font-size: 0.7rem !important;
    }
    
    .jump-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.7rem !important;
    }
    
    /* Leaderboard Section - Make smaller */
    .leaderboard-section h2 {
        font-size: 0.9rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    .leaderboard-category {
        padding: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .category-header h3 {
        font-size: 0.65rem !important;
    }
    
    .category-icon {
        font-size: 0.75rem !important;
    }
    
    .leaderboard-list {
        gap: 0.3rem !important;
    }
    
    .leaderboard-item {
        padding: 0.3rem 0.4rem !important;
    }
    
    .leaderboard-rank {
        font-size: 0.5rem !important;
        width: 16px !important;
        height: 16px !important;
    }
    
    .leaderboard-name {
        font-size: 0.5rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 110px !important;
    }
    
    .leaderboard-count {
        font-size: 0.48rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 80px !important;
    }
    
    /* Leaderboard item content - smaller text */
    .leaderboard-item * {
        font-size: 0.48rem !important;
    }
    
    /* Leaderboard avatar/icon - smaller */
    .leaderboard-item img,
    .leaderboard-item .avatar {
        width: 24px !important;
        height: 24px !important;
    }
    
    /* Footer - Slightly increased for readability */
    .footer {
        padding: 0.6rem 0.4rem !important;
    }
    
    .footer h4 {
        font-size: 0.7rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .footer p {
        font-size: 0.55rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.6rem !important;
    }
    
    .footer-bottom p {
        font-size: 0.5rem !important;
        line-height: 1.2 !important;
    }
    
    /* Disclaimer - Slightly increased for readability */
    .disclaimer-section {
        padding: 0.6rem 0.4rem !important;
    }
    
    .disclaimer-section h4 {
        font-size: 0.7rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .disclaimer-section p {
        font-size: 0.55rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.6rem !important;
    }
    
    /* Container and spacing adjustments */
    .container {
        padding: 0 0.4rem !important;
    }
    
    .voice-artists-container {
        padding: 0 0.3rem !important;
        max-width: 100% !important;
    }
    
    .section {
        padding: 0.8rem 0 !important;
    }
    
    /* Mobile menu adjustments */
    .mobile-menu {
        padding: 0.5rem 0 !important;
    }
    
    .mobile-nav-link {
        padding: 0.8rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    .mobile-nav-icon {
        font-size: 0.9rem !important;
    }
}/* FORCE O
LD DESIGN FOR VOICE ARTIST SECTION - ALL SCREEN SIZES */
.voice-artists-list {
    display: block !important;
}

.voice-artist-item {
    display: block !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
    padding: 1.5rem !important;
    transition: all 0.3s ease !important;
}

.voice-artist-item:hover {
    background: var(--card-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px var(--shadow-light) !important;
}

/* FORCE HERO SECTION CENTER FOR 412PX - EMERGENCY OVERRIDE */
@media screen and (max-width: 412px) {
    html body .hero-section {
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 4rem 1rem 2rem 1rem !important;
    }
    
    html body .hero-content {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    html body .hero-content * {
        text-align: center !important;
    }
    
    html body .hero-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    html body .hero-content p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        max-width: 90% !important;
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Force stats grid to center */
    html body .stats-grid {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 0.3rem !important;
        margin: 0.5rem auto !important;
        text-align: center !important;
    }
}

/* Pl
Info Badge */
.info-badge {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    animation: pulse-badge 2s ease-in-out infinite;
}

.info-badge:hover {
    background: var(--accent-secondary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(19, 57, 120, 0.3);
    animation: none;
}

.info-badge i {
    margin-right: 4px;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(19, 57, 120, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(19, 57, 120, 0);
    }
}

/* Platform Popup */
.platform-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.platform-popup.active {
    opacity: 1;
    visibility: visible;
}

.platform-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.platform-popup-content {
    position: relative;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.platform-popup.active .platform-popup-content {
    transform: scale(1);
}

.platform-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.3);
    color: #ff4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.platform-popup-close:hover {
    background: #ff4444;
    color: white;
    transform: rotate(90deg);
}

/* Character Image in Popup */
.character-popup-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.character-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.platform-popup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.platform-popup-header i {
    font-size: 1.3rem;
    color: var(--accent-primary);
}

.platform-popup-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Anime Name Section */
.character-popup-anime {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.character-popup-anime i {
    color: var(--accent-primary);
    font-size: 1rem;
}

.character-popup-anime span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Platform Section */
.platform-popup-section {
    margin-top: 20px;
}

.platform-popup-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.platform-popup-section h4 i {
    color: var(--accent-primary);
}

.platform-popup-character {
    margin-bottom: 20px;
    padding: 10px 15px;
    background: var(--bg-secondary);
    border-radius: 10px;
    text-align: center;
}

.platform-popup-character strong {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.platform-popup-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.platform-item:hover {
    border-color: var(--accent-primary);
    background: var(--card-hover);
    transform: translateX(5px);
}

.platform-item i {
    color: #4caf50;
    font-size: 1.1rem;
}

.platform-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .platform-popup-content {
        padding: 25px 20px;
        max-width: 90%;
    }
    
    .platform-popup-header h3 {
        font-size: 1.1rem;
    }
    
    .platform-popup-character strong {
        font-size: 1rem;
    }
    
    .platform-item {
        padding: 10px 12px;
    }
    
    .platform-item span {
        font-size: 0.85rem;
    }
}


/* Production Popup Specific Styles */
.production-popup .character-popup-image {
    position: relative;
}

.production-icon-overlay {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    border: 3px solid var(--card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.production-badge {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.production-badge:hover {
    background: linear-gradient(135deg, #34495e, #2c3e50);
}


/* Description Section in Popup */
.popup-description {
    margin: 20px 0;
    padding: 15px;
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-primary);
    border-radius: 10px;
    position: relative;
}

.popup-description i {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--accent-primary);
    opacity: 0.3;
    font-size: 1.5rem;
}

.popup-description p {
    margin: 0;
    padding-left: 30px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 768px) {
    .popup-description {
        padding: 12px;
    }
    
    .popup-description i {
        font-size: 1.2rem;
        top: 12px;
        left: 12px;
    }
    
    .popup-description p {
        padding-left: 25px;
        font-size: 0.85rem;
    }
}


/* Social Links Section in Popup */
.popup-social-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.instagram-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
}

.instagram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}

.instagram-button i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .instagram-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .instagram-button i {
        font-size: 1rem;
    }
}


/* Instagram Badge in Stats */
.artist-instagram-badge {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(188, 24, 136, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.artist-instagram-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 24, 136, 0.5);
}

.artist-instagram-badge i {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .artist-instagram-badge {
        padding: 3px 8px;
        font-size: 0.65rem;
    }
    
    .artist-instagram-badge i {
        font-size: 0.7rem;
    }
}
