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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background: linear-gradient(45deg, #81c784, #a8e6cf, #dcedc1);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    min-height: 100vh;
    padding: 15px;
    overflow-x: hidden;
}

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

.header {
    text-align: center;
    margin-bottom: 30px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.subtitle {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
    margin: 10px auto 5px auto;
}

.value-prop {
    font-size: 1.1em;
    color: #555;
    margin: 15px auto 20px auto;
    max-width: 600px;
    line-height: 1.4;
    font-weight: 500;
}

.logo-container {
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1;
}

.main-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* Maintain quality on high-DPI displays */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.educational-placeholder {
    background: rgba(139, 195, 74, 0.3) !important;
    border: 3px solid rgba(76, 175, 80, 0.6) !important;
    border-radius: 15px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #2e7d32 !important;
    font-size: 1.2em !important;
    font-weight: bold;
    margin: 20px auto;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    animation: subtleGlow 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

@keyframes subtleGlow {
    0%, 100% { 
        background: rgba(139, 195, 74, 0.3) !important; 
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3) !important;
    }
    50% { 
        background: rgba(165, 214, 167, 0.4) !important; 
        box-shadow: 0 12px 30px rgba(76, 175, 80, 0.4) !important;
    }
}

.educational-placeholder:hover {
    background: rgba(165, 214, 167, 0.5) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.5) !important;
}

.educational-header {
    width: 728px;
    height: 90px;
    max-width: 100%;
}

.educational-mobile {
    width: 320px;
    height: 50px;
    max-width: 100%;
}

.educational-sidebar {
    width: 300px;
    height: 330px;
    padding: 15px;
}

.educational-category {
    width: 728px;
    height: 90px;
    max-width: 100%;
}

.educational-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    padding: 10px;
}

.educational-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.educational-text {
    flex: 1;
}

.educational-title {
    font-family: 'Comic Sans MS', 'Helvetica', sans-serif;
    font-size: 1.3em;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 4px;
}

.educational-subtitle {
    font-family: 'Comic Sans MS', 'Helvetica', sans-serif;
    font-size: 0.9em;
    color: #388e3c;
    font-style: italic;
}

.mobile-content {
    gap: 8px;
}

.mobile-content .educational-icon {
    font-size: 1.8em;
}

.mobile-content .educational-title {
    font-size: 1em;
    margin-bottom: 0;
}

.sidebar-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.sidebar-content .educational-icon {
    font-size: 2em;
}

.sidebar-content .educational-title {
    font-size: 1.2em;
    margin-bottom: 8px;
}

.educational-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85em;
    color: #2e7d32;
}

.educational-features div {
    background: rgba(129, 199, 132, 0.4);
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 500;
}

@media (min-width: 769px) {
    .educational-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .educational-title {
        font-size: 1.1em;
    }
    
    .educational-subtitle {
        font-size: 0.8em;
    }
    
    .sidebar-content .educational-title {
        font-size: 1em;
    }
    
    .educational-features {
        font-size: 0.8em;
    }
}

.content-wrapper {
    display: flex;
    max-width: 1200px;
    width: calc(100vw - 30px);
    margin: 0 auto;
    gap: 20px;
    align-items: flex-start;
    box-sizing: border-box;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
}

.soundboard {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.category-section {
    width: 100%;
}

.category-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #81c784 0%, #a8e6cf 100%);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: categoryBounce 3s ease-in-out infinite;
}

@keyframes categoryBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.category-title {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 2.2em;
    color: #333;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    font-weight: bold;
}

.category-subtitle {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.2em;
    color: #555;
    margin: 5px 0 0 0;
    font-style: italic;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 850px;
    margin: 0 auto;
}

.sound-button {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border: none;
    border-radius: 15px;
    padding: 20px 12px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    width: 180px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    pointer-events: auto;
}

.sound-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.sound-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.sound-button:hover:before {
    left: 100%;
}

.sound-button:active {
    transform: translateY(-2px) scale(0.98);
}

.sound-button.playing {
    animation: buttonPulse 0.5s ease-in-out;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
}

@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.sound-button.playing:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255,107,107,0.3);
}

.emoji-icon {
    font-size: 4em;
    line-height: 1;
    opacity: 1;
    margin-bottom: 8px;
    margin-top: 5px;
    pointer-events: none;
}

.button-text {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.3);
    padding: 8px 12px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    font-size: 16px;
    line-height: 1.2;
    pointer-events: none;
}

/* Category-specific button colors */
.sound-button.farm { background: linear-gradient(135deg, #ffb74d 0%, #ffa726 100%); }
.sound-button.household { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.sound-button.wild { background: linear-gradient(135deg, #8bc34a 0%, #7cb342 100%); }
.sound-button.birds { background: linear-gradient(135deg, #29b6f6 0%, #1e88e5 100%); }
.sound-button.marine { background: linear-gradient(135deg, #26c6da 0%, #00acc1 100%); }
.sound-button.reptiles { background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%); }
.sound-button.insects { background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%); }
.sound-button.exotic { background: linear-gradient(135deg, #ab47bc 0%, #9c27b0 100%); }
.sound-button.babies { background: linear-gradient(135deg, #f48fb1 0%, #e91e63 100%); }
.sound-button.dinosaurs { background: linear-gradient(135deg, #a1887f 0%, #8d6e63 100%); }

/* Category header colors */
.category-farm .category-header {
    background: linear-gradient(135deg, #ffb74d 0%, #ffa726 100%);
}

.category-household .category-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.category-wild .category-header {
    background: linear-gradient(135deg, #8bc34a 0%, #7cb342 100%);
}

.category-birds .category-header {
    background: linear-gradient(135deg, #29b6f6 0%, #1e88e5 100%);
}

.category-marine .category-header {
    background: linear-gradient(135deg, #26c6da 0%, #00acc1 100%);
}

.category-reptiles .category-header {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
}

.category-insects .category-header {
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
}

.category-exotic .category-header {
    background: linear-gradient(135deg, #ab47bc 0%, #9c27b0 100%);
}

.category-babies .category-header {
    background: linear-gradient(135deg, #f48fb1 0%, #e91e63 100%);
}

.category-dinosaurs .category-header {
    background: linear-gradient(135deg, #a1887f 0%, #8d6e63 100%);
}

/* SOUND MIXER STYLES */
.sound-mixer-button {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border: none;
    border-radius: 15px;
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: block;
}

.sound-mixer-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.sound-mixer-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.sound-mixer-button:hover:before {
    left: 100%;
}

.sound-mixer-button:active {
    transform: translateY(-1px) scale(0.98);
}

.mixer-logo-container {
    text-align: left;
    margin-bottom: 12px;
}

.mixer-logo {
    max-width: 400px;  /* Control desktop size */
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    /* Maintain quality on high-DPI displays */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.mixer-icon {
    font-size: 2.5em;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    margin-right: 20px;
    flex-shrink: 0;
}

.mixer-button-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mixer-button-title {
    color: white;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.mixer-button-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Mixer Overlay */
.mixer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #81c784, #a8e6cf, #dcedc1);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
}

.mixer-overlay.show {
    display: flex;
}

.mixer-container {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.mixer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.mixer-title-section {
    flex: 1;
    min-width: 250px;
}

.mixer-tagline {
    font-size: 0.75em;
    color: #666;
    margin: 2px 0 0 0;
    font-style: italic;
}

.mixer-header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slot-counter {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9em;
}

.mixer-close-btn {
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 10px;
    width: 80px;
    height: 35px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mixer-close-btn:hover {
    background: #ff3838;
    transform: scale(1.1);
}

.mixer-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
}

.mixer-control-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 140px;
}

.mixer-random {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
}

.mixer-play {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.mixer-share {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mixer-clear {
    background: linear-gradient(135deg, #a8a8a8 0%, #8c8c8c 100%);
    color: white;
}

.mixer-control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Mixer Grid */
.mixer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.mixer-slot {
    aspect-ratio: 1;
    border: 2px dashed #ddd;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.5);
    position: relative;
    min-height: 120px;
}

.mixer-slot:hover {
    border-color: #4ecdc4;
    transform: scale(1.02);
    background: rgba(78,205,196,0.1);
}

.mixer-slot.filled {
    border: 2px solid #4ecdc4;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border-style: solid;
    padding: 15px 8px;
}

.mixer-slot.filled:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(78,205,196,0.4);
}

.mixer-slot-number {
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 0.8em;
    font-weight: bold;
    color: #666;
    background: rgba(255,255,255,0.8);
    padding: 3px 6px;
    border-radius: 8px;
}

.mixer-slot.filled .mixer-slot-number {
    color: white;
    background: rgba(255,255,255,0.2);
}

.mixer-slot-plus {
    font-size: 2.5em;
    color: #4ecdc4;
    font-weight: bold;
}

.mixer-slot-content {
    text-align: center;
    padding: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mixer-slot-emoji {
    font-size: 3.5em;
    line-height: 1;
    margin-bottom: 8px;
}

.mixer-slot-name {
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    background: rgba(0,0,0,0.3);
    padding: 6px 10px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.mixer-slot-remove {
    position: absolute;
    top: 4px;
    right: 6px;
    background: rgba(255,255,255,0.9);
    color: #ff4757;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.8em;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.mixer-slot.filled:hover .mixer-slot-remove {
    display: flex;
}

/* iOS Touch Fix - Remove hover dependencies for touch devices */
@media (hover: none) and (pointer: coarse) {
    /* Show remove button immediately on touch devices */
    .mixer-slot.filled .mixer-slot-remove {
        display: flex !important;
        opacity: 0.8;
    }
    
    /* Remove hover effects that cause double-tap on iOS */
    .mixer-slot:hover,
    .mixer-slot.filled:hover {
        transform: none !important;
        box-shadow: none !important;
        border-color: inherit !important;
    }
    
    /* Remove hover-dependent element display */
    .mixer-slot.filled:hover .mixer-slot-remove {
        display: flex !important;
    }
}

/* Alternative: Use touch-action for better touch handling */
.mixer-slot {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.mixer-footer {
    text-align: center;
    padding: 15px 20px;
    background: rgba(78,205,196,0.1);
    border-radius: 15px;
    margin-top: 20px;
}

.mixer-footer-brand {
    font-weight: bold;
    color: #4ecdc4;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.mixer-footer-tagline {
    color: #666;
    font-size: 0.9em;
}

/* Sound Selector Modal */
.sound-selector-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.sound-selector-overlay.show {
    display: flex;
}

.sound-selector-container {
    background: white;
    border-radius: 20px;
    padding: 25px;
    max-width: 600px;
    max-height: 80vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sound-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sound-selector-title {
    font-size: 1.4em;
    color: #333;
    font-weight: bold;
    margin: 0;
}

.sound-selector-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sound-selector-close:hover {
    background: #f0f0f0;
    color: #333;
}

.sound-search-container {
    position: relative;
    margin-bottom: 20px;
}

.sound-search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.sound-search-input:focus {
    border-color: #4ecdc4;
}

.sound-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.2em;
}

.sound-category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.sound-category-tab {
    padding: 8px 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 20px;
    font-size: 0.85em;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.sound-category-tab:hover, .sound-category-tab.active {
    background: #4ecdc4;
    color: white;
}

.sound-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
    
    /* NEW: iOS Chrome stacking fix - EXACT same as Kids site */
    opacity: 0;
    transition: opacity 0.2s ease;
    min-height: 120px; /* Prevent layout shift */
}

.sound-options-grid.loaded {
    opacity: 1;
}

/* iOS Chrome specific fixes - EXACT same as Kids site */
@supports (-webkit-touch-callout: none) {
    .sound-options-grid {
        -webkit-transform: translateZ(0); /* Force hardware acceleration */
        will-change: opacity; /* Optimize for opacity changes */
    }
}

.sound-option {
    padding: 12px 8px;
    border: 3px solid rgba(255,255,255,0.6);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.sound-option:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.8);
}

.sound-option-emoji {
    font-size: 2em;                /* Increased from 1.5em to 2em */
    margin-bottom: 8px;
    display: block;
    line-height: 1;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

.sound-option-name {
    font-size: 0.85em;
    font-weight: bold;
    line-height: 1.2;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.4);
    padding: 4px 8px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    margin-top: 5px;
}

/* Category-Specific Gradients for Sound Options */
.sound-option.farm {
    background: linear-gradient(135deg, #ffb74d 0%, #ffa726 100%);
}

.sound-option.household {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.sound-option.wild {
    background: linear-gradient(135deg, #8bc34a 0%, #7cb342 100%);
}

.sound-option.birds {
    background: linear-gradient(135deg, #29b6f6 0%, #1e88e5 100%);
}

.sound-option.marine {
    background: linear-gradient(135deg, #26c6da 0%, #00acc1 100%);
}

.sound-option.reptiles {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
}

.sound-option.insects {
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
}

.sound-option.exotic {
    background: linear-gradient(135deg, #ab47bc 0%, #9c27b0 100%);
}

.sound-option.babies {
    background: linear-gradient(135deg, #f48fb1 0%, #e91e63 100%);
}

.sound-option.dinosaurs {
    background: linear-gradient(135deg, #a1887f 0%, #8d6e63 100%);
}

/* Enhanced Hover Effects for Each Category */
.sound-option.farm:hover {
    box-shadow: 0 8px 25px rgba(255, 183, 77, 0.4);
}

.sound-option.household:hover {
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.sound-option.wild:hover {
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.4);
}

.sound-option.birds:hover {
    box-shadow: 0 8px 25px rgba(41, 182, 246, 0.4);
}

.sound-option.marine:hover {
    box-shadow: 0 8px 25px rgba(38, 198, 218, 0.4);
}

.sound-option.reptiles:hover {
    box-shadow: 0 8px 25px rgba(102, 187, 106, 0.4);
}

.sound-option.insects:hover {
    box-shadow: 0 8px 25px rgba(255, 167, 38, 0.4);
}

.sound-option.exotic:hover {
    box-shadow: 0 8px 25px rgba(171, 71, 188, 0.4);
}

.sound-option.babies:hover {
    box-shadow: 0 8px 25px rgba(244, 143, 177, 0.4);
}

.sound-option.dinosaurs:hover {
    box-shadow: 0 8px 25px rgba(161, 136, 127, 0.4);
}

/* CROSS-PROMOTION STYLES */
.cross-promo-section {
    margin: 30px auto;
    max-width: 850px;
    padding: 0 20px;
}

.cross-promo-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: crossPromoGlow 4s ease-in-out infinite;
}

@keyframes crossPromoGlow {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        transform: translateY(0);
    }
    50% { 
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
        transform: translateY(-2px);
    }
}

.cross-promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(0%) translateY(0%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.cross-promo-header h3 {
    color: white;
    font-size: 1.8em;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
}

.cross-promo-header p {
    color: rgba(255,255,255,0.95);
    font-size: 1.1em;
    margin: 0 0 20px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.cross-promo-animals {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.promo-emoji {
    font-size: 3em;
    animation: float 2s ease-in-out infinite;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.promo-emoji:nth-child(1) { animation-delay: 0s; }
.promo-emoji:nth-child(2) { animation-delay: 0.4s; }
.promo-emoji:nth-child(3) { animation-delay: 0.8s; }
.promo-emoji:nth-child(4) { animation-delay: 1.2s; }
.promo-emoji:nth-child(5) { animation-delay: 1.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.cross-promo-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.promo-feature {
    color: white;
    font-size: 0.95em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.cross-promo-button {
    background: linear-gradient(135d, #ff6b6b 0%, #ff8e53 100%);
    border: none;
    border-radius: 15px;
    padding: 15px 25px;
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    margin: 20px 0 15px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.cross-promo-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cross-promo-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #ff8e53 0%, #ff6b6b 100%);
}

.cross-promo-button:hover::before {
    left: 100%;
}

.cross-promo-button:active {
    transform: translateY(-1px) scale(1.02);
}

.button-icon {
    font-size: 1.2em;
}

.button-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.cross-promo-button:hover .button-arrow {
    transform: translateX(5px);
}

.cross-promo-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 0.9em;
    font-style: italic;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.confetti {
    position: fixed;
    font-size: 4em;
    pointer-events: none;
    z-index: 1000;
}

.confetti.super-size {
    font-size: 13em;
}

@keyframes confettiFall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.legal-link:hover {
    color: #4ecdc4 !important;
    background: rgba(78,205,196,0.2) !important;
    transform: translateY(-1px);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px auto;
    max-width: 600px;
}

.stat-card {
    background: rgba(255,255,255,0.2);
    padding: 18px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.3);
}

.stat-card.updated {
    animation: statFlash 0.4s ease-out;
}

@keyframes statFlash {
    0% { 
        background: rgba(255,255,255,0.2); 
        transform: scale(1); 
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    50% { 
        background: rgba(78,205,196,0.4); 
        transform: scale(1.05); 
        box-shadow: 0 8px 25px rgba(78,205,196,0.3);
    }
    100% { 
        background: rgba(255,255,255,0.2); 
        transform: scale(1); 
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
}

.stat-label {
    font-size: 0.9em;
    color: #34495e;
    margin-bottom: 8px;
    font-weight: normal;
}

.stat-number {
    font-size: 1.8em;
    font-weight: bold;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 5px;
}

.stat-icon {
    font-size: 1.2em;
    margin-right: 5px;
}

.stat-sub {
    font-size: 0.8em;
    color: #5a6c7d;
    margin-top: 3px;
    line-height: 1.2;
}

#mostPlayedSound .stat-number {
    font-size: 1.3em;
    line-height: 1.1;
}

#mostPlayedSound .stat-sub {
    font-size: 0.75em;
}

.popular-sound-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255,107,107,0.5);
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.popular-sound-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255,107,107,0.4);
    border-color: rgba(255,107,107,0.8);
}

.popular-sound-card:active {
    transform: translateY(-2px) scale(0.98);
}

.popular-sound-header {
    color: white;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-align: center;
    line-height: 1.2;
}

.popular-sound-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.popular-emoji {
    font-size: 4.5em;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.popular-emoji.spinning {
    animation: emojiSpin 1.5s ease-in-out;
}

@keyframes emojiSpin {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.2); }
    50% { transform: rotate(180deg) scale(1.4); }
    75% { transform: rotate(270deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.popular-sound-name {
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-align: center;
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.popular-play-count {
    color: rgba(255,255,255,0.9);
    font-size: 0.9em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.record-celebration {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    border: 4px solid #4ecdc4;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    padding: 25px;
    pointer-events: none;
}

.record-celebration.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.celebration-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.celebration-trophy {
    font-size: 4em;
    animation: trophyBounce 0.6s ease-out;
}

.celebration-title {
    font-family: 'Arial Black', 'Helvetica', sans-serif;
    font-size: 2.2em;
    font-weight: 900;
    color: #e74c3c;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1;
    letter-spacing: 1px;
}

.celebration-trophy-right {
    font-size: 4em;
    animation: trophyBounce 0.6s ease-out 0.2s;
}

.celebration-record-info {
    text-align: center;
    margin-bottom: 15px;
}

.celebration-count {
    font-family: 'Arial', sans-serif;
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.celebration-emoji {
    font-size: 2.5em;
    margin: 0 8px;
    animation: emojiCelebrate 1s ease-in-out;
}

.celebration-message {
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 0.95em;
    color: #555;
    line-height: 1.4;
    margin-bottom: 8px;
}

.celebration-website {
    font-weight: bold;
    color: #4ecdc4;
}

.celebration-click-hint {
    text-align: center;
    font-size: 0.8em;
    color: #e74c3c;
    font-style: italic;
    font-weight: bold;
}

@keyframes trophyBounce {
    0% { transform: scale(0.5) rotate(-15deg); }
    50% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes emojiCelebrate {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.2) rotate(-5deg); }
    75% { transform: scale(1.2) rotate(5deg); }
}

/* SEO Content Sections */
.seo-content {
    max-width: 850px;
    margin: 40px auto;
    padding: 30px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.seo-content h2 {
    color: #4ecdc4;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.seo-content h3 {
    color: #555;
    font-size: 1.3em;
    margin: 25px 0 15px 0;
}

.seo-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: rgba(78,205,196,0.1);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #4ecdc4;
    margin-bottom: 10px;
}

.feature-description {
    color: #666;
    font-size: 0.95em;
    line-height: 1.4;
}

/* FIXED: Scroll to Top Button Styles */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    color: #4ecdc4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: none;
    color: #44a08d;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(0.95);
}

/* FIXED: Flying animation - removes border-radius during flight */
.scroll-to-top.flying {
    border-radius: 0 !important; /* FIXED: Remove circle shape during flight */
    background: transparent !important; /* FIXED: Remove background during flight */
    box-shadow: none !important; /* FIXED: Remove shadow during flight */
    animation: smoothFlyToTop 2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    z-index: 10000;
}

/* FIXED: Smooth, natural flight path */
@keyframes smoothFlyToTop {
    0% {
        bottom: 20px;
        right: 20px;
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    15% {
        bottom: 25%;
        right: 45%;
        transform: rotate(-15deg) scale(1.2);
        opacity: 1;
    }
    30% {
        bottom: 50%;
        right: 40%;
        transform: rotate(-25deg) scale(1.3);
        opacity: 0.9;
    }
    50% {
        bottom: 70%;
        right: 35%;
        transform: rotate(-35deg) scale(1.4);
        opacity: 0.8;
    }
    70% {
        bottom: 85%;
        right: 30%;
        transform: rotate(-45deg) scale(1.2);
        opacity: 0.6;
    }
    85% {
        bottom: 95%;
        right: 25%;
        transform: rotate(-50deg) scale(0.8);
        opacity: 0.3;
    }
    100% {
        bottom: 100%;
        right: 20%;
        transform: rotate(-60deg) scale(0.4);
        opacity: 0;
    }
}

/* FIXED: Improved airplane trail */
.airplane-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 2em;
    opacity: 0;
    color: #87CEEB;
}

.airplane-trail.active {
    animation: trailEffect 1.5s ease-out forwards;
}

@keyframes trailEffect {
    0% {
        opacity: 0.8;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5) translateY(-20px);
    }
}

/* FIXED: Better confetti burst */
.scroll-confetti {
    position: fixed;
    font-size: 2em;
    pointer-events: none;
    z-index: 10001;
    opacity: 0;
}

.scroll-confetti.burst {
    animation: confettiBurst 2s ease-out forwards;
}

@keyframes confettiBurst {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: scale(1.2) rotate(90deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
    }
    75% {
        opacity: 0.7;
        transform: scale(1.2) rotate(270deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(360deg) translateY(-100px);
    }
}

.scroll-to-top.bounce-in {
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05);
    }
    70% {
        transform: translateY(5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animal-themed version of Build Your Own Mix button styles */
.animal-mixer-style {
    /* Match the exact green gradient from animal theme */
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    
    /* Same styling as category sections */
    border: none;
    border-radius: 20px;
    width: 100%;
    max-width: 750px;
    padding: 25px 30px;
    margin: 0 auto;
    display: block;
    cursor: pointer;
    
    /* Same shadow style */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    
    /* Same animation as category sections */
    animation: categoryBounce 3s ease-in-out infinite;
    
    /* Smooth transitions */
    transition: all 0.3s ease;
    
    /* Ensure proper button styling */
    color: inherit;
    text-align: inherit;
    outline: none;
}

.animal-mixer-style:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.animal-mixer-content {
    text-align: center;
}

.animal-mixer-title {
    /* Match exact font styling from animal theme */
    font-family: 'Comic Sans MS', 'Helvetica', sans-serif;
    font-size: 2.2em;
    font-weight: bold;
    color: #333;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.1);
    margin-bottom: 8px;
    line-height: 1.2;
}

.animal-mixer-subtitle {
    /* Match exact subtitle styling */
    font-family: 'Comic Sans MS', 'Helvetica', sans-serif;
    font-size: 1.1em;
    color: #555;
    font-weight: 500;
    font-style: italic;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        order: -1;
    }
    .ad-sidebar {
        position: static;
        width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body, .title, .subtitle, .category-title, .category-subtitle, .button-text {
        font-family: 'Arial', 'Helvetica', sans-serif !important;
    }
    
    body {
        padding: 15px;
    }
    
    .subtitle { font-size: 1.1em; }
    .value-prop { font-size:1em; padding: 0 15px; }
    .category-title { font-size: 1.8em; }
    .category-subtitle { font-size: 1em; }
    .category-header { padding: 15px; margin-bottom: 20px; }
    
    .main-logo {
        max-width: 95%;
        margin: 0 auto;
    }
    
    .mixer-logo {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .educational-header,
    .educational-category {
        display: none !important;
    }
    
    .educational-sidebar {
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
    }
    
    .stats-container {
        gap: 8px;
        max-width: 100%;
        margin: 15px auto;
    }
    
    .stat-card {
        padding: 15px 12px;
        min-height: 95px;
    }
    
    .stat-number {
        font-size: 1.5em;
    }
    
    .stat-label {
        font-size: 0.8em;
        margin-bottom: 6px;
    }

    .stat-sub {
        font-size: 0.7em;
    }

    #mostPlayedSound .stat-number {
        font-size: 1.1em;
        line-height: 1.1;
    }

    #mostPlayedSound .stat-sub {
        font-size: 0.65em;
    }
    
    .category-grid { 
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px !important;
        max-width: 100% !important;
        margin: 0 auto;
        padding: 0 5px;
    }
    
    .sound-button { 
        width: calc(50% - 3px) !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 135px !important; 
        font-size: 16px;
        padding: 16px 10px;
        flex: 0 1 calc(50% - 3px) !important;
    }
    
    .emoji-icon { 
        font-size: 3.5em; 
        margin-bottom: 5px;
        margin-top: 3px;
    }
    
    .button-text { 
        padding: 6px 10px; 
        font-size: 15px; 
        line-height: 1.1;
    }
    
    .confetti {
        font-size: 4em;
    }
    .confetti.super-size {
        font-size: 13em;
    }
    .popular-emoji {
        font-size: 3.5em;
    }
    .popular-sound-name {
        font-size: 1em;
    }
    
    .scroll-to-top {
        width: 50px;
        height: 50px;
        font-size: 3em;
        bottom: 15px;
        right: 15px;
    }

    .cross-promo-card {
        padding: 20px 15px;
        margin: 20px 10px;
    }
    
    .cross-promo-header h3 {
        font-size: 1.5em;
    }
    
    .cross-promo-header p {
        font-size: 1em;
    }
    
    .promo-feature {
        font-size: 0.9em;
        padding: 6px 12px;
    }
    
    .cross-promo-button {
        font-size: 1em;
        padding: 12px 20px;
    }
    
    .promo-emoji {
        font-size: 2.5em;
    }
    
    .cross-promo-animals {
        gap: 10px;
    }

    .seo-content {
        margin: 30px auto;
        padding: 20px 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .record-celebration {
        width: 95%;
        max-width: 380px;
        padding: 20px;
    }
    
    .celebration-header {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .celebration-trophy, .celebration-trophy-right {
        font-size: 3em;
    }
    
    .celebration-title {
        font-size: 1.6em;
        letter-spacing: 0.5px;
    }
    
    .celebration-count {
        font-size: 1.4em;
    }
    
    .celebration-emoji {
        font-size: 2em;
        margin: 0 5px;
    }
    
    .celebration-message {
        font-size: 0.85em;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .celebration-click-hint {
        font-size: 0.75em;
    }

    /* Sound Mixer Mobile Styles */
    .mixer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .mixer-slot {
        min-height: 100px;
    }

    .mixer-slot-emoji {
        font-size: 2.2em;
    }

    .mixer-slot-name {
        font-size: 0.75em;
    }

    .sound-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }

    .mixer-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 10px;
    }

    .mixer-controls {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .mixer-control-btn {
        font-size: 0.8em;
        padding: 8px 12px;
        flex: 1;
        min-width: 110px;
        margin: 2px;
    }

    .legal-links {
        gap: 15px !important;
    }
    
    .legal-link {
        font-size: 13px !important;
        padding: 6px 10px !important;
    }

    .mixer-icon {
        font-size: 2em;
        margin-right: 15px;
    }

    .mixer-button-title {
        font-size: 1.2em;
    }

    .mixer-button-subtitle {
        font-size: 0.9em;
    }

    .animal-mixer-style {
        padding: 20px 25px;
        max-width: 100%;
    }
    
    .animal-mixer-title {
        font-size: 1.8em;
    }
    
    .animal-mixer-subtitle {
        font-size: 1em;
    }
    
    .sound-option {
        padding: 10px 6px;
    }
    
    .sound-option-emoji {
        font-size: 1.8em;
    }
    
    .sound-option-name {
        font-size: 0.8em;
        padding: 3px 6px;
    }
    
}

@media (max-width: 480px) {
    .mixer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mixer-control-btn {
        font-size: 0.75em;
        padding: 6px 8px;
        min-width: 100px;
    }
    
    .mixer-controls {
        gap: 5px;
    }

    .animal-mixer-style {
        padding: 18px 20px;
    }
    
    .animal-mixer-title {
        font-size: 1.6em;
    }
    
    .animal-mixer-subtitle {
        font-size: 0.9em;
    }
    
    .mixer-logo {
        max-width: 280px;
    }
    
    .main-logo {
        max-width: 90%;
    }
}

.sound-button {
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation;
    user-select: none;
    transition: transform 0.1s ease-out;
}

.emoji-icon,
.button-text {
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.soundboard {
    -webkit-overflow-scrolling: touch;
}


@media (max-width: 480px) {
    .animal-mixer-style {
        padding: 18px 20px;
    }
    
    .animal-mixer-title {
        font-size: 1.6em;
    }
    
    .animal-mixer-subtitle {
        font-size: 0.9em;
    }
}

/* SEO Headlines - Screen Reader Only (No Visual Changes) */
.main-content-section {
    /* Invisible container - no visual impact */
}

.main-section-title {
    /* Hide from visual display but keep for SEO */
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.section-description {
    /* Hide from visual display but keep for SEO */
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.category-headline {
    /* Dynamic H3 headlines - hidden visually, visible to search engines */
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Enhanced content sections styling */
.usage-guide-section, .research-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.usage-guide-section h2, .research-section h2 {
    color: #4ecdc4; /* Animals site color */
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.usage-guide-section h3, .research-section h3 {
    color: #333;
    margin: 20px 0 12px 0;
    font-size: 1.3em;
}

.usage-guide-section p, .research-section p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.usage-guide-section ul {
    margin: 15px 0 20px 30px;
}

.usage-guide-section li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .usage-guide-section, .research-section {
        margin: 30px 20px;
        padding: 25px 20px;
    }
}

/* ============================================
HAMBURGER NAVIGATION SYSTEM
============================================ */

/* Hamburger Button Styling */
.hamburger-btn {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 1001 !important;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%) !important;
    border: none !important;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(78,205,196,0.3);
    -webkit-tap-highlight-color: transparent;
}

.hamburger-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(78,205,196,0.4);
}

.hamburger-btn:active {
    transform: scale(0.95);
}

.hamburger-btn.active {
    background: linear-gradient(135deg, #44a08d 0%, #4ecdc4 100%);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Backdrop Overlay */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Slide-in Navigation Panel */
/* Hamburger Menu Fix - Ensure proper scrolling */
.slide-nav {
    position: fixed !important;
    top: 0 !important;
    right: -350px !important;
    width: 350px;
    max-width: 85vw;
    height: 100vh !important;
    background: white !important;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    z-index: 1000 !important;
    transition: right 0.3s ease, visibility 0s 0.3s, opacity 0.3s ease;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    visibility: hidden;
    pointer-events: none;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateX(0);
    -webkit-transform: translateZ(0);
}

.slide-nav.active {
    right: 0 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    transition: right 0.3s ease, visibility 0s 0s, opacity 0.3s ease;
}

/* Navigation Header */
.nav-header {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-shrink: 0 !important;
}

.nav-title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.nav-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 2em;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* Navigation Content */
.nav-content {
    flex: 1 1 auto !important;
    padding: 20px;
    min-height: 0 !important;
    overflow: visible !important;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-section:last-child {
    margin-bottom: 0;
}

.nav-section-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #4ecdc4;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.nav-link {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    font-size: 1em;
    min-height: 44px;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(78,205,196,0.1) 0%, rgba(68,160,141,0.1) 100%);
    transform: translateX(5px);
    color: #4ecdc4;
}

.nav-link.coming-soon {
    color: #999;
    cursor: default;
    opacity: 0.7;
}

.nav-link.coming-soon:hover {
    background: #f5f5f5;
    transform: none;
    color: #999;
}

.coming-soon-badge {
    font-size: 0.75em;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: auto;
    font-weight: bold;
}

/* iOS Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .slide-nav {
        -webkit-transform: translateZ(0);
        will-change: right;
    }
    
    .hamburger-btn {
        -webkit-transform: translateZ(0);
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hamburger-btn {
        top: 15px !important;
        right: 15px !important;
        width: 48px;
        height: 48px;
    }

    .slide-nav {
        width: 85vw;
        max-width: 320px;
        right: -85vw !important;
    }
    
    .slide-nav.active {
        right: 0 !important;
    }

    .nav-header {
        padding: 15px;
    }

    .nav-title {
        font-size: 1.3em;
    }

    .nav-content {
        padding: 15px;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .hamburger-btn {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        padding: 10px;
    }

    .slide-nav {
        width: 90vw;
        max-width: 300px;
    }
}

/* ============================================
CATEGORY PAGE STYLES
============================================ */

.category-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-header h1 {
    font-size: 2.5em;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header .subtitle {
    font-size: 1.2em;
    opacity: 0.95;
    margin-top: 10px;
}

.page-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.breadcrumb {
    margin: 20px 0;
    font-size: 0.95em;
    color: #555;
}

.breadcrumb a {
    color: #4ecdc4;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.content-section {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #4ecdc4;
    font-size: 2em;
    margin: 25px 0 15px;
}

.content-section h3 {
    color: #333;
    font-size: 1.5em;
    margin: 25px 0 15px;
}

.content-section p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.content-section ul {
    margin: 15px 0 15px 30px;
}

.content-section li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.5;
}

.related-categories {
    margin: 40px 0;
    width: 100%;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px auto;
    width: 100%;
    max-width: 1000px;
}

.category-card {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 180px !important;
    height: 200px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 180px !important;
    box-sizing: border-box;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.category-card .emoji {
    font-size: 3em;
    margin-bottom: 10px;
    line-height: 1;
    height: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card h4 {
    font-size: 1.2em;
    margin: 10px 0 5px;
    color: white;
    line-height: 1.3;
    height: 3.12em !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.category-card p {
    font-size: 0.9em;
    opacity: 0.9;
    margin: 0;
    color: white;
    line-height: 1.4;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.ad-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 10px;
    color: #999;
    font-size: 0.9em;
}

.footer {
    background: linear-gradient(135deg, #7ee5dc 0%, #6ed5c3 100%);
    color: #2c3e50;
    padding: 30px 20px;
    text-align: center;
    border-radius: 20px;
    margin-top: 40px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.legal-link {
    color: #2c3e50;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
    font-weight: 500;
}

.legal-link:hover {
    background: rgba(255,255,255,0.6);
    transform: translateY(-2px);
    color: #1a252f;
}

@media (max-width: 768px) {
    .category-page-container {
        padding: 15px;
    }
    
    .page-header {
        padding: 30px 15px;
    }
    
    .page-header h1 {
        font-size: 2em;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .category-card {
        width: 150px !important;
        height: 200px !important;
        flex: 0 0 150px !important;
        padding: 20px 15px !important;
    }
    
    .category-card .emoji {
        height: 45px !important;
        font-size: 2.5em;
        margin-bottom: 8px !important;
    }
    
    .category-card h4 {
        font-size: 1.05em;
        min-height: 3.5em !important;
        height: auto !important;
        text-align: center;
        overflow: visible !important;
        line-height: 1.2 !important;
        margin: 8px 0 5px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    
    .category-card p {
        font-size: 0.85em !important;
        margin-top: 5px !important;
    }
}

/* Blog Page Styles */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.blog-header {
    text-align: center;
    margin: 40px 0 30px;
    padding: 40px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.blog-header h1 {
    color: #4ecdc4;
    font-size: 2.8em;
    margin-bottom: 15px;
}

.blog-header p {
    font-size: 1.2em;
    color: #666;
    margin-top: 10px;
}

/* Blog Search */
.blog-search {
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.blog-search-input:focus {
    border-color: #4ecdc4;
}

.blog-search-wrapper {
    position: relative;
}

.blog-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #4ecdc4;
}

/* Blog Filters */
.blog-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-filter-btn {
    padding: 10px 20px;
    border: 2px solid #4ecdc4;
    background: white;
    color: #4ecdc4;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.blog-filter-btn:hover {
    background: rgba(78,205,196,0.1);
    transform: translateY(-2px);
}

.blog-filter-btn.active {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border-color: #4ecdc4;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(78,205,196,0.2);
}

.article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85em;
}

.article-category {
    background: linear-gradient(135deg, rgba(78,205,196,0.1) 0%, rgba(68,160,141,0.1) 100%);
    color: #4ecdc4;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
}

.article-date {
    color: #999;
}

.article-title {
    color: #333;
    font-size: 1.4em;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(78,205,196,0.3);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78,205,196,0.4);
}

/* No Results */
.no-articles {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    display: none;
}

.no-articles.show {
    display: block;
}

.no-articles-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

/* Back to Home */
.back-to-home {
    text-align: center;
    margin: 40px 0;
}

.back-to-home a {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78,205,196,0.3);
}

.back-to-home a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78,205,196,0.4);
}

/* Blog Mobile Responsive */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.2em;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-filters {
        gap: 8px;
    }

    .blog-filter-btn {
        padding: 8px 16px;
        font-size: 0.85em;
    }
}

/* FAQ Page Styles */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.faq-header {
    text-align: center;
    margin: 40px 0 30px;
    padding: 30px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-header h1 {
    color: #4ecdc4;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.faq-subtitle {
    font-size: 1.2em;
    color: #666;
    margin-top: 10px;
}

/* Search and Filter Section */
.faq-controls {
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-search {
    position: relative;
    margin-bottom: 20px;
}

.faq-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.faq-search-input:focus {
    border-color: #4ecdc4;
}

.faq-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #4ecdc4;
}

.faq-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #4ecdc4;
    background: white;
    color: #4ecdc4;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(78,205,196,0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border-color: #4ecdc4;
}

/* FAQ Categories */
.faq-category {
    margin-bottom: 40px;
}

.faq-category-title {
    color: #4ecdc4;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #4ecdc4;
}

.faq-item {
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(78,205,196,0.2);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(78,205,196,0.05);
    color: #4ecdc4;
}

.faq-question.active {
    color: #4ecdc4;
}

.faq-icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
    color: #4ecdc4;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.faq-answer-content {
    color: #555;
    line-height: 1.7;
    padding-top: 10px;
}

.faq-answer-content p {
    margin-bottom: 10px;
}

.faq-answer-content ul {
    margin: 10px 0 10px 20px;
}

.faq-answer-content li {
    margin-bottom: 8px;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    color: #666;
    display: none;
}

.no-results.show {
    display: block;
}

.no-results-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

/* FAQ Back to Home Link */
.back-to-home {
    text-align: center;
    margin: 30px 0;
}

.back-to-home a {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78,205,196,0.3);
}

.back-to-home a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78,205,196,0.4);
}

/* FAQ Mobile Responsive */
@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2em;
    }

    .faq-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.85em;
    }
}

/* ============================================
   TOP SOUNDS LEADERBOARD WIDGET — Animals Site
   ============================================ */

.top-sounds-widget {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.15);
}

.top-sounds-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.top-sounds-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 1rem;
    color: #333;
}

.top-sounds-trophy { font-size: 1.2rem; }

.top-sounds-toggle {
    display: flex;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 2px;
    gap: 2px;
}

.top-sounds-toggle-btn {
    padding: 4px 12px;
    border: none;
    border-radius: 18px;
    background: transparent;
    color: #777;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.top-sounds-toggle-btn.active {
    background: linear-gradient(135deg, #27ae60, #2ed573);
    color: white;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.4);
}

.top-sounds-toggle-btn:hover:not(.active) {
    background: #e0e0e0;
    color: #444;
}

.top-sounds-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 120px;
}

.top-sounds-loading,
.top-sounds-empty {
    text-align: center;
    color: #aaa;
    font-size: 0.82rem;
    padding: 20px 0;
    line-height: 1.5;
}

.top-sounds-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    background: #fafafa;
}

.top-sounds-row:hover {
    background: rgba(39, 174, 96, 0.08);
    border-color: rgba(39, 174, 96, 0.25);
}

.top-sounds-row.playing {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.12), rgba(46, 213, 115, 0.08));
    border-color: rgba(39, 174, 96, 0.4);
}

.top-sounds-rank {
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.top-sounds-emoji  { font-size: 1.1rem; flex-shrink: 0; }

.top-sounds-name {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-sounds-plays {
    font-size: 0.72rem;
    color: #aaa;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.top-sounds-playing-icon {
    font-size: 0.75rem;
    animation: soundPulse 0.6s infinite alternate;
    flex-shrink: 0;
}

@keyframes soundPulse {
    from { opacity: 0.4; transform: scale(0.9); }
    to   { opacity: 1;   transform: scale(1.1); }
}

.top-sounds-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.top-sounds-page-btn {
    padding: 5px 14px;
    border: 1.5px solid #ddd;
    background: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}

.top-sounds-page-btn:hover:not(:disabled) {
    border-color: #27ae60;
    color: #27ae60;
    background: rgba(39, 174, 96, 0.05);
}

.top-sounds-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.top-sounds-page-info {
    font-size: 0.78rem;
    color: #888;
    font-weight: 600;
}

.top-sounds-mobile-wrapper {
    display: none;
    margin: 20px 16px;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid rgba(39, 174, 96, 0.2);
    box-shadow: 0 2px 12px rgba(39, 174, 96, 0.1);
}

.top-sounds-mobile-toggle {
    width: 100%;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.08), rgba(46, 213, 115, 0.05));
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    text-align: left;
}

.top-sounds-mobile-toggle:hover {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(46, 213, 115, 0.1));
}

.top-sounds-mobile-arrow {
    font-size: 0.8rem;
    transition: transform 0.2s;
    color: #27ae60;
}

.top-sounds-mobile-arrow.open { transform: rotate(180deg); }

.top-sounds-mobile-content {
    background: white;
    padding: 14px;
}

.top-sounds-mobile-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .top-sounds-widget         { display: none; }
    .top-sounds-mobile-wrapper { display: block; }
}

@media (min-width: 769px) {
    .top-sounds-mobile-wrapper { display: none; }
}

/* Top Sounds Widget — emoji burst effect */
.top-sounds-emoji-burst {
    position: fixed;
    font-size: 9em;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 1;
    animation: topSoundsBurst 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    line-height: 1;
    filter: drop-shadow(0 4px 24px rgba(0,0,0,0.18));
}

@keyframes topSoundsBurst {
    0%   { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
    50%  { transform: translate(-50%, -70%) scale(1.15); opacity: 1; }
    100% { transform: translate(-50%, -110%) scale(0.85); opacity: 0; }
}