/* Depth Hound Character & Educational Interface Styles */
/* Phase 2: Frontend Implementation */

/* Depth Hound Character Styling */
.depth-hound-character {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    z-index: 10;
}

.depth-hound-appear {
    animation: houndAppear 1s ease-out;
}

.depth-hound-hidden {
    animation: houndDisappear 0.5s ease-in;
}

@keyframes houndAppear {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(100px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes houndDisappear {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.5) translateY(100px);
    }
}

/* Depth Hound Body Parts */
.hound-body {
    position: relative;
    width: 100%;
    height: 100%;
}

.hound-head {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 50px;
    background: linear-gradient(135deg, #8B4513, #DEB887);
    border-radius: 50% 50% 40% 40%;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
}

.hound-eyes {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.eye {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    position: relative;
}

.eye-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    animation: eyeGlow 2s ease-in-out infinite alternate;
}

@keyframes eyeGlow {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.hound-snout {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 15px;
    background: #654321;
    border-radius: 50% 50% 60% 60%;
}

.nose {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 4px;
    background: #000;
    border-radius: 50%;
}

.hound-ears {
    position: absolute;
    top: 5px;
    width: 100%;
}

.ear {
    position: absolute;
    width: 20px;
    height: 30px;
    background: linear-gradient(135deg, #8B4513, #DEB887);
    border-radius: 50% 50% 20% 20%;
}

.left-ear {
    left: 5px;
    transform: rotate(-20deg);
}

.right-ear {
    right: 5px;
    transform: rotate(20deg);
}

.hound-body-main {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-radius: 40px 40px 20px 20px;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.2);
}

.crypto-collar {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background: linear-gradient(90deg, #ffa500, #ff6b35);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collar-tag {
    background: #000;
    color: #ffa500;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    margin-top: -8px;
}

.bioluminescent-patches {
    position: absolute;
    width: 100%;
    height: 100%;
}

.patch {
    position: absolute;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    animation: bioGlow 3s ease-in-out infinite alternate;
}

.patch-1 {
    top: 10px;
    left: 15px;
    width: 12px;
    height: 12px;
}

.patch-2 {
    top: 25px;
    right: 10px;
    width: 8px;
    height: 8px;
    animation-delay: 0.5s;
}

.patch-3 {
    bottom: 15px;
    left: 20px;
    width: 10px;
    height: 10px;
    animation-delay: 1s;
}

@keyframes bioGlow {
    from { opacity: 0.3; transform: scale(1); }
    to { opacity: 1; transform: scale(1.2); }
}

.hound-tail {
    position: absolute;
    bottom: 25px;
    right: 10px;
    width: 30px;
    height: 15px;
}

.tail-segment {
    position: absolute;
    background: linear-gradient(135deg, #8B4513, #DEB887);
    border-radius: 50%;
    animation: tailFloat 2s ease-in-out infinite alternate;
}

.segment-1 {
    width: 15px;
    height: 8px;
    right: 0;
    bottom: 0;
}

.segment-2 {
    width: 12px;
    height: 6px;
    right: 10px;
    bottom: 3px;
    animation-delay: 0.2s;
}

.segment-3 {
    width: 8px;
    height: 4px;
    right: 18px;
    bottom: 5px;
    animation-delay: 0.4s;
}

@keyframes tailFloat {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-5px) rotate(5deg); }
}

/* Water effects */
.water-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50%;
    animation: bubbleRise 4s linear infinite;
}

.bubble-1 {
    width: 6px;
    height: 6px;
    left: 20%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 4px;
    height: 4px;
    left: 60%;
    animation-delay: 1s;
}

.bubble-3 {
    width: 8px;
    height: 8px;
    left: 80%;
    animation-delay: 2s;
}

.bubble-4 {
    width: 5px;
    height: 5px;
    left: 40%;
    animation-delay: 3s;
}

@keyframes bubbleRise {
    from {
        bottom: -10px;
        opacity: 1;
    }
    to {
        bottom: 120%;
        opacity: 0;
    }
}

.water-fur {
    position: absolute;
    width: 100%;
    height: 100%;
}

.fur-strand {
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, rgba(139, 69, 19, 0.8) 0%, transparent 100%);
    border-radius: 2px;
    animation: furFlow 3s ease-in-out infinite;
}

.strand-0 { left: 10%; height: 20px; animation-delay: 0s; }
.strand-1 { left: 25%; height: 15px; animation-delay: 0.3s; }
.strand-2 { left: 40%; height: 25px; animation-delay: 0.6s; }
.strand-3 { left: 55%; height: 18px; animation-delay: 0.9s; }
.strand-4 { left: 70%; height: 22px; animation-delay: 1.2s; }
.strand-5 { left: 85%; height: 16px; animation-delay: 1.5s; }
.strand-6 { left: 15%; height: 19px; animation-delay: 1.8s; }
.strand-7 { left: 75%; height: 24px; animation-delay: 2.1s; }

@keyframes furFlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

/* Depth Hound Animations */
.depth-hound-idle {
    animation: houndIdle 3s ease-in-out infinite;
}

.depth-hound-wag {
    animation: houndWag 0.5s ease-in-out 3;
}

.depth-hound-jump {
    animation: houndJump 0.6s ease-out;
}

.depth-hound-shake {
    animation: houndShake 0.5s ease-in-out;
}

.depth-hound-speaking {
    animation: houndSpeak 0.8s ease-in-out infinite;
}

.depth-hound-thinking {
    animation: houndThink 2s ease-in-out infinite;
}

.depth-hound-excited {
    animation: houndExcited 0.3s ease-in-out 5;
}

@keyframes houndIdle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes houndWag {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

@keyframes houndJump {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes houndShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

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

@keyframes houndThink {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

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

/* Dialogue Bubble */
.dialogue-bubble {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 9, 17, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 165, 0, 0.4);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    max-width: 300px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.dialogue-appear {
    animation: dialogueAppear 0.3s ease-out;
}

@keyframes dialogueAppear {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.dialogue-content {
    position: relative;
}

.dialogue-text {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.dialogue-tail {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(255, 165, 0, 0.4);
}

.speaking-indicator {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 0.5rem;
}

.speaking-indicator span {
    width: 4px;
    height: 4px;
    background: #ffa500;
    border-radius: 50%;
    animation: speakingPulse 1.5s ease-in-out infinite;
}

.speaking-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.speaking-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes speakingPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* Friendship Meter */
.friendship-meter {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.friendship-hearts {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-bottom: 2px;
}

.heart {
    font-size: 12px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.heart.active {
    opacity: 1;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.heart:hover {
    transform: scale(1.2);
}

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

.friendship-label {
    font-size: 8px;
    color: rgba(255, 165, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Educational Quiz Interface */
.educational-quiz-interface {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.ocean-depth-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #4682B4 0%, #000428 100%);
    z-index: 1;
}

.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 6s linear infinite;
}

@keyframes particleFloat {
    from {
        bottom: -10px;
        transform: translateX(0);
    }
    to {
        bottom: 100vh;
        transform: translateX(50px);
    }
}

/* Zone Progress */
.zone-progress {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 10;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
}

.zone-name {
    color: #ffa500;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.depth-indicator {
    color: #4ecdc4;
    font-weight: 600;
}

.question-counter {
    color: #cccccc;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffa500, #ff6b35);
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

/* Quiz Stats */
.quiz-stats {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.timer {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}

.timer-icon {
    font-size: 1rem;
}

.timer-text {
    font-family: monospace;
    font-weight: bold;
}

.hint-button {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(78, 205, 196, 0.3);
}

.hint-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

.hint-button.used {
    background: rgba(128, 128, 128, 0.5);
    color: #888;
    cursor: not-allowed;
}

.hint-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Question Container */
.question-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    z-index: 10;
}

.question-card {
    background: rgba(0, 9, 17, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 165, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.question-topic {
    color: #ffa500;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.question-difficulty {
    color: #4ecdc4;
    font-size: 1.1rem;
}

.question-text {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: center;
}

/* Hint Display */
.hint-display {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: hintReveal 0.3s ease-out;
}

.hint-display p {
    color: #4ecdc4;
    margin: 0;
    font-style: italic;
}

@keyframes hintReveal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Answer Options */
.answer-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.answer-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.answer-option:hover {
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.2);
}

.answer-option.selected {
    border-color: #ffa500;
    background: rgba(255, 165, 0, 0.2);
}

.answer-option.correct {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.2);
    animation: correctPulse 0.5s ease-out;
}

.answer-option.wrong {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.2);
    animation: wrongShake 0.5s ease-out;
}

.answer-option:disabled {
    cursor: not-allowed;
}

@keyframes correctPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes wrongShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.option-letter {
    background: rgba(255, 165, 0, 0.8);
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.option-text {
    flex: 1;
    font-weight: 500;
}

.result-indicator {
    font-size: 1.5rem;
    font-weight: bold;
}

.correct-indicator {
    color: #4caf50;
}

.wrong-indicator {
    color: #f44336;
}

/* Question Rewards Display */
.question-rewards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.reward-item {
    color: #ffa500;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* Explanation Container */
.explanation-container {
    margin-top: 2rem;
    animation: explanationSlideIn 0.5s ease-out;
}

.explanation-card {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.explanation-card h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.explanation-card p {
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
}

@keyframes explanationSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.next-question-btn {
    background: linear-gradient(45deg, #ffa500, #ff6b35);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

.next-question-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.5);
}

/* Floating Rewards Animation */
.floating-reward {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 165, 0, 0.9);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    animation: rewardFloat 3s ease-out forwards;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 165, 0, 0.5);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

@keyframes rewardFloat {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -150%) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -200%) scale(0.8);
    }
}

.reward-emoji {
    font-size: 1.2rem;
}

.reward-amount {
    font-weight: bold;
    font-size: 1rem;
}

.reward-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Reward Particles */
.reward-particle {
    position: absolute;
    font-size: 1.5rem;
    pointer-events: none;
    animation: particleReward 2s ease-out forwards;
    z-index: 50;
}

@keyframes particleReward {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0.5) rotate(180deg);
    }
}

/* Loading States */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    text-align: center;
}

.spinner-wave {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 165, 0, 0.3);
    border-left: 4px solid #ffa500;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
}

/* Zone Completion Modal */
.zone-completion-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(0, 9, 17, 0.95), rgba(30, 58, 95, 0.95));
    border: 2px solid rgba(255, 165, 0, 0.5);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.completion-header h1 {
    color: #ffa500;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
}

.completion-header p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.completion-rewards {
    background: rgba(255, 165, 0, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.completion-rewards h3 {
    color: #ffa500;
    margin-bottom: 1rem;
}

.reward-list {
    display: grid;
    gap: 0.5rem;
    text-align: left;
}

.reward-list .reward-item {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.completion-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.continue-btn {
    background: linear-gradient(45deg, #ffa500, #ff6b35);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.return-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-btn:hover,
.return-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
}

/* Error Messages */
.error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(244, 67, 54, 0.9);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(244, 67, 54, 0.5);
    z-index: 2000;
    animation: errorSlideIn 0.3s ease-out;
}

@keyframes errorSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .question-card {
        padding: 1.5rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .answer-option {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .depth-hound-character {
        width: 120px;
        height: 120px;
    }
    
    .quiz-stats {
        left: 10px;
        right: 10px;
    }
    
    .completion-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2rem 1rem;
    }
    
    .question-container {
        width: 95%;
    }
    
    .answer-options {
        gap: 0.75rem;
    }
}