/* Phuzzy Think Tank - Main CSS */
/* Beautiful purple gradient design matching screenshots */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Emoji font support for all emoji elements */
.emoji, .honey-pot, .option-icon, .loading-bear, .final-badge, .mini-card, .collection-label {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 95%;
}

/* Bear's Card Collection */
.bear-card-collection {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.collection-header {
    color: #667eea;
    font-weight: bold;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.collection-header .collection-icon {
    font-size: 2.5rem;
    display: inline-block;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.card-collection-grid {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    gap: 6px;
    max-width: 900px;
    margin: 0 auto;
}

.mini-card {
    width: 35px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid;
    cursor: pointer;
}

/* Empty card slot */
.mini-card.empty {
    background: rgba(102, 126, 234, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    color: rgba(102, 126, 234, 0.3);
    border-width: 1px;
}

.mini-card.empty:before {
    content: "🐻";
    opacity: 0.3;
    color: #667eea;
}

/* Collected card */
.mini-card.collected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #ffd700;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: card-shimmer 2s ease-in-out infinite alternate;
    border-width: 1px;
}

/* Sizzle animation for collected cards */
.mini-card.collected.sizzle {
    animation: card-sizzle 1s ease-in-out;
}

@keyframes card-shimmer {
    0% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); }
    100% { box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7); }
}

@keyframes card-sizzle {
    0% { 
        transform: scale(1.05) rotate(0deg);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }
    25% { 
        transform: scale(1.2) rotate(10deg);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.8);
    }
    50% { 
        transform: scale(1.3) rotate(-5deg);
        box-shadow: 0 12px 35px rgba(255, 215, 0, 1);
    }
    75% { 
        transform: scale(1.2) rotate(5deg);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.8);
    }
    100% { 
        transform: scale(1.05) rotate(0deg);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }
}

/* New card discovery animation */
.mini-card.new-discovery {
    animation: card-discovery 0.8s ease-out;
}

@keyframes card-discovery {
    0% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.3) rotate(90deg);
    }
    100% {
        transform: scale(1.05) rotate(0deg);
        opacity: 1;
    }
}

/* Rarity indicators */
.mini-card.common { border-color: #667eea; }
.mini-card.uncommon { border-color: #667eea; }
.mini-card.rare { border-color: #667eea; }
.mini-card.epic { border-color: #f6ad55; }
.mini-card.legendary { border-color: #ffd700; }

/* Hover effects */
.mini-card.collected:hover {
    transform: scale(1.15);
    z-index: 10;
}

/* Hidden card state (when more than 3 displayed) */
.mini-card.hidden-card {
    opacity: 0.3 !important;
    transform: scale(0.8) !important;
    transition: all 0.3s ease;
}

.mini-card.hidden-card:hover {
    opacity: 0.6 !important;
    transform: scale(0.9) !important;
}

/* Tooltip for card collection */
.mini-card {
    position: relative;
}

.mini-card::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #667eea;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #667eea;
    z-index: 1000;
}

.mini-card:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: 130%;
}

/* Flying card animation */
.flying-card {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #ffd700;
    border-radius: 8px;
    padding: 8px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
    transform-origin: center;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@media (max-width: 768px) {
    .card-collection-grid {
        grid-template-columns: repeat(5, 1fr);
        max-width: 400px;
        gap: 4px;
    }
    
    .mini-card {
        width: 30px;
        height: 42px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .card-collection-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 300px;
        gap: 3px;
    }
    
    .mini-card {
        width: 28px;
        height: 38px;
        font-size: 0.8rem;
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.35rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Score Tracker */
.score-tracker {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px 20px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
}

.score-tracker.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
}

.honey-pot-container {
    margin-top: 12px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.honey-pot {
    display: inline-block;
    font-size: 3rem;
    line-height: 1;
    transition: all 0.3s ease;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    cursor: default;
    user-select: none;
    position: relative;
    filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.4)) 
            drop-shadow(0 8px 16px rgba(245, 158, 11, 0.3))
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transform: translateY(0);
}

.honey-pot:not(.used) {
    animation: honeySizzle 4s ease-in-out infinite;
}

@keyframes honeySizzle {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.4)) 
                drop-shadow(0 8px 16px rgba(245, 158, 11, 0.3))
                drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }
    25% {
        transform: translateY(-2px) scale(1.05) rotate(-3deg);
        filter: drop-shadow(0 6px 12px rgba(245, 158, 11, 0.6)) 
                drop-shadow(0 12px 24px rgba(245, 158, 11, 0.4))
                drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
    }
    50% {
        transform: translateY(-3px) scale(1.08) rotate(2deg);
        filter: drop-shadow(0 8px 16px rgba(245, 158, 11, 0.7)) 
                drop-shadow(0 16px 32px rgba(245, 158, 11, 0.5))
                drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))
                brightness(1.2);
    }
    75% {
        transform: translateY(-1px) scale(1.03) rotate(-2deg);
        filter: drop-shadow(0 5px 10px rgba(245, 158, 11, 0.5)) 
                drop-shadow(0 10px 20px rgba(245, 158, 11, 0.35))
                drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
    }
}

.honey-pot:hover:not(.used) {
    transform: translateY(-4px) scale(1.15) rotate(5deg);
    filter: drop-shadow(0 10px 20px rgba(245, 158, 11, 0.8)) 
            drop-shadow(0 20px 40px rgba(245, 158, 11, 0.6))
            drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4))
            brightness(1.3);
}

.honey-pot.used {
    opacity: 0.3;
    filter: grayscale(100%) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transform: scale(0.9);
    animation: none;
}

/* Hint Display */
.hint-container {
    margin-top: 16px;
    padding: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.4s ease;
}

.hint-container.slide-in {
    opacity: 1;
    transform: translateY(0);
}

.hint {
    background: linear-gradient(135deg, #fffbf0 0%, #fff7e6 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    padding: 16px 20px 16px 24px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #92400e;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    animation: hintGlow 3s ease-in-out;
}

.hint-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hint-message {
    flex: 1;
    line-height: 1.5;
}

.hint::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #f59e0b, #fbbf24);
    border-radius: 2px 0 0 2px;
    animation: hintBarPulse 3s ease-in-out;
}

@keyframes hintGlow {
    0%, 100% {
        box-shadow: 0 3px 10px rgba(245, 158, 11, 0.15);
    }
    50% {
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
    }
}

@keyframes hintBarPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    }
}

/* Question Progress Bar */
.question-progress {
    margin-top: 15px;
    width: 100%;
}

.question-progress-track {
    width: 100%;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.question-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: width 0.5s ease-out;
}

/* Main Content Cards */
.scenario-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.scenario-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2d3748;
}

.scenario-counter {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 20px;
    font-weight: 500;
}

.scenario-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #4a5568;
    position: relative;
    transition: all 0.3s ease;
}

.claim {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    padding: 18px 20px 18px 24px;
    border-left: 4px solid #667eea;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: 600;
    color: #4c51bf;
    font-size: 1.05rem;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.claim::before {
    content: '💭';
    font-size: 1.8rem;
    flex-shrink: 0;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

/* Quiz Section - Beautiful Yellow Design */
.interactive-section {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
}

.quiz-question {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 25px;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.quiz-option {
    background: white;
    border: 3px solid transparent;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.quiz-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quiz-option.selected {
    border-color: #5a67d8;
    background: #e6f2ff;
}

.option-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    line-height: 1;
}

.option-text {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

/* Buttons */
.hint-button {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    font-size: 1em;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px auto;
    display: block;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
}

.hint-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.5);
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.hint-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #a0aec0;
    border-color: transparent;
    box-shadow: none;
}

.submit-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.submit-button:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-2px);
}

.next-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    font-weight: 600;
}

.next-button.visible {
    display: inline-block;
}

.next-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.submit-button:disabled {
    background: #a0aec0;
    color: #4a5568;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.button-container {
    text-align: right;
    margin-top: 30px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-bear {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    line-height: 1;
}

.loading-content h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: loading 2s infinite;
}

/* End Game - Horizontally Compact for Sharing */
.end-game {
    display: none;
    text-align: center;
    padding: 20px;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.end-game.visible {
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    margin: 0 auto;
    max-width: 480px;
    width: 90%;
    position: relative;
    z-index: 10;
    transform: scale(1);
    animation: celebrationEntrance 1s ease-out;
}

@keyframes celebrationEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    60% {
        transform: scale(1.05) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.results-title {
    font-size: 2.8rem;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.badge-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.final-badge {
    font-size: 6rem;
    margin-bottom: 15px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        transform: scale(1.1) rotate(5deg); 
    }
}

.stats-summary {
    width: 100%;
}

.badge-section h2 {
    font-size: 2.2rem;
    color: #2d3748;
    margin-bottom: 8px;
    font-weight: 700;
}

.badge-section p {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 20px;
    font-weight: 500;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4c51bf;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.replay-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.3rem;
    cursor: pointer;
    margin-top: 30px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.replay-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.replay-button:active {
    transform: translateY(-1px);
}

/* Shine effect for replay button */
.replay-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.6s;
}

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

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

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Dual Bear Analysis Section */
.detailed-analysis-section {
    margin: 30px 0;
}

.bear-analysis-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.bear-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.bear-card.logic-bear {
    border-top: 4px solid #4299e1;
}

.bear-card.emotion-bear {
    border-top: 4px solid #ed64a6;
}

.bear-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.bear-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.bear-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
}

.bear-subtitle {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 2px;
}

.meter-container {
    margin: 15px 0;
}

.meter-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.meter-track {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.meter-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s ease-out;
    position: relative;
}

.logic-bear .meter-fill {
    background: linear-gradient(90deg, #4299e1, #3182ce);
}

.emotion-bear .meter-fill {
    background: linear-gradient(90deg, #ed64a6, #d53f8c);
}

/* Removed shimmer animation for cleaner meter fills */

.indicators-list {
    margin-top: 20px;
}

.indicators-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.indicator-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 0.85rem;
    color: #4a5568;
}

.indicator-icon {
    margin-right: 8px;
    font-size: 1rem;
}

/* Mini Meters for End Game */
.mini-meters {
    margin: 25px 0;
}

.mini-meter-row {
    display: flex;
    align-items: center;
    margin: 12px 0;
}

.mini-meter-label {
    min-width: 140px;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.mini-meter-container {
    flex: 1;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-left: 15px;
}

.mini-meter-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-out;
}

.logic-fill {
    background: linear-gradient(90deg, #4299e1, #3182ce);
}

.emotion-fill {
    background: linear-gradient(90deg, #ed64a6, #d53f8c);
}

.balanced-fill {
    background: linear-gradient(90deg, #f6d365, #fda085);
}

.agenda-fill {
    background: linear-gradient(90deg, #fc8181, #f56565);
}

/* Dual Bear Analysis */
.analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    opacity: 0;
    transition: opacity 1s ease;
}

.analysis-grid.visible {
    opacity: 1;
}

.bear-panel {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.bear-panel:hover {
    transform: translateY(-5px);
}

.logic-panel {
    border-top: 4px solid #4299e1;
}

.emotion-panel {
    border-top: 4px solid #ed64a6;
}

.bear-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.bear-emoji {
    font-size: 3em;
    margin-right: 15px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.bear-name {
    font-size: 1.5em;
    font-weight: bold;
}

.logic-name {
    color: #4299e1;
}

.emotion-name {
    color: #ed64a6;
}

.metric {
    margin: 15px 0;
}

.metric-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 5px;
}

.meter-container {
    background: #e2e8f0;
    border-radius: 10px;
    height: 30px;
    position: relative;
    overflow: hidden;
}

/* Consolidated meter-fill - removed duplicate */

.logic-fill {
    background: linear-gradient(90deg, #4299e1, #3182ce);
}

.emotion-fill {
    background: linear-gradient(90deg, #ed64a6, #d53f8c);
}

.meter-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    font-size: 0.9em;
}

.factors-list {
    margin-top: 15px;
}

.factors-list h4 {
    color: #4a5568;
    margin-bottom: 10px;
}

.factor-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    padding: 8px;
    background: #f7fafc;
    border-radius: 8px;
}

.factor-emoji {
    margin-right: 10px;
    font-size: 1.2em;
}

.wisdom-panel {
    background: linear-gradient(135deg, #f6e05e 0%, #f6ad55 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    color: #744210;
}

.wisdom-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.wisdom-header .bear-emoji {
    font-size: 4em;
}

.wisdom-header .bear-name {
    font-size: 2em;
    color: #744210;
}

.wisdom-content {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.balance-meter {
    background: linear-gradient(90deg, #4299e1 0%, #a0aec0 50%, #ed64a6 100%);
    height: 50px;
    border-radius: 25px;
    position: relative;
    overflow: visible;
    margin-bottom: 15px;
}

.balance-indicator {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    transition: left 1s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
}

.balance-labels {
    display: flex;
    justify-content: space-between;
    font-size: 1.3em;
    color: #666;
}

.balance-labels span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) 
            drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.thinking {
    animation: pulse 2s infinite;
}

/* Social Sharing */
.share-section {
    margin: 30px 0;
    text-align: center;
}

.share-title {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-button {
    background: white;
    color: #4a5568;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.social-instagram:hover {
    border-color: #e4405f;
    color: #e4405f;
}

.social-linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}

.social-copy:hover {
    border-color: #667eea;
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .quiz-options {
        grid-template-columns: 1fr;
    }
    
    .bear-analysis-container {
        grid-template-columns: 1fr;
    }
    
    .score-tracker {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .scenario-box {
        padding: 25px;
    }
    
    .interactive-section {
        padding: 20px;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-button {
        width: 200px;
        justify-content: center;
    }
}

/* Bear Thinking Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.thinking {
    animation: pulse 2s infinite;
}

/* Manipulation Warning */
.manipulation-warning {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 10px;
    display: none;
    color: white;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
}

.manipulation-warning.visible {
    display: block;
}

.manipulation-warning strong {
    display: flex;
    align-items: center;
    gap: 8px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)) 
            drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Logical Fallacy Callout Box */
.fallacy-callout {
    margin: 20px 0;
    background: #f8fafc;
    border-left: 6px solid #667eea;
    border-right: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0 8px 8px 0;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.fallacy-callout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.fallacy-callout-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fallacy-callout-header .icon {
    font-size: 1.3rem;
}

.fallacy-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fallacy-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.fallacy-item-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.fallacy-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.fallacy-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
    flex-shrink: 0;
}

.fallacy-definition {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
}

.fallacy-tip {
    color: #667eea;
    font-style: italic;
    font-size: 0.9rem;
    background: #f0f4ff;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.fallacy-secondary {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #718096;
}

.fallacy-secondary-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.fallacy-secondary-item {
    background: #edf2f7;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #4a5568;
}
