/* ============================================================================
   Kids Mood Survey - Child-Friendly Styles with Large Characters
   ============================================================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 2s infinite;
}

.stars::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.stars::after {
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 2rem;
    color: #ff6b6b;
    animation: heartbeat 2s ease-in-out infinite;
}

.logo h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: #2d3748;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.user-info {
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 600;
}

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

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
    min-height: calc(100vh - 140px);
}

/* ============================================================================
   CHARACTER CONVERSATION STYLES - LARGE AND INTERACTIVE
   ============================================================================ */

.character-conversation {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.character-avatar {
    flex-shrink: 0;
    position: relative;
}

/* MASSIVE CHARACTER SIZES - MOODMATES ARE THE HEROES OF THE STORY */
.welcome-character {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: character-bounce 2s ease-in-out infinite;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    position: relative;
    z-index: 10;
}

.question-character {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    animation: character-pulse 2s ease-in-out infinite;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    position: relative;
    z-index: 10;
}

.completion-character {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid #fff;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
    animation: character-celebration 2s ease-in-out infinite;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    position: relative;
    z-index: 10;
}

.login-character,
.start-character {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    animation: character-bounce 2s ease-in-out infinite;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    position: relative;
    z-index: 10;
}

/* Speech Bubble Styles - CLEAN AND PROMINENT */
.speech-bubble {
    position: relative;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    border: 4px solid #e2e8f0;
    max-width: 650px;
    animation: speech-bubble-appear 0.8s ease-out;
    min-height: 140px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.welcome-speech {
    background: linear-gradient(135deg, #e6fffa, #f0fff4);
    border-color: #68d391;
}

.question-speech {
    background: linear-gradient(135deg, #fef5e7, #fffaf0);
    border-color: #f6ad55;
}

.completion-speech {
    background: linear-gradient(135deg, #fef2f2, #fff5f5);
    border-color: #fc8181;
}

.login-speech,
.start-speech {
    background: linear-gradient(135deg, #eef2ff, #f0f9ff);
    border-color: #93c5fd;
}

.speech-content h2 {
    margin: 0 0 1rem 0;
    color: #2d3748;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Fredoka One', cursive;
    line-height: 1.2;
}

.speech-content p {
    margin: 0;
    color: #4a5568;
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Speech Bubble Tail - LARGER */
.speech-tail {
    position: absolute;
    left: -20px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid #e2e8f0;
}

.welcome-speech .speech-tail {
    border-right-color: #68d391;
}

.question-speech .speech-tail {
    border-right-color: #f6ad55;
}

.completion-speech .speech-tail {
    border-right-color: #fc8181;
}

.login-speech .speech-tail,
.start-speech .speech-tail {
    border-right-color: #93c5fd;
}

/* Speech bubble inner tail */
.speech-tail::after {
    content: '';
    position: absolute;
    left: 3px;
    top: -18px;
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-right: 18px solid #ffffff;
}

.welcome-speech .speech-tail::after {
    border-right-color: #e6fffa;
}

.question-speech .speech-tail::after {
    border-right-color: #fef5e7;
}

.completion-speech .speech-tail::after {
    border-right-color: #fef2f2;
}

.login-speech .speech-tail::after,
.start-speech .speech-tail::after {
    border-right-color: #eef2ff;
}

/* ============================================================================
   CONTAINER STYLES
   ============================================================================ */

.home-container,
.login-container,
.survey-start-container,
.survey-container,
.complete-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px);
    padding: 2rem;
}

.welcome-card,
.login-card,
.survey-start-card,
.survey-card,
.complete-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    max-width: 900px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* ============================================================================
   BUTTON STYLES - LARGE AND PROMINENT
   ============================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 25px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn::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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    transform: translateY(0);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ee5a52, #e74c3c);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0984e3, #0770c2);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
}

/* ============================================================================
   SURVEY QUESTION STYLES - EXTREMELY PROMINENT
   ============================================================================ */

.question-header {
    text-align: center;
    margin-bottom: 2rem;
}

.question-number {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #feca57);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.option-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 3px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    border-color: #ff6b6b;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.option-card.active {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #fff5f5, #ffe8e8);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 107, 107, 0.3);
}

.option-radio {
    display: none;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    width: 100%;
}

.option-emoji {
    font-size: 4rem;
    min-width: 80px;
    text-align: center;
    line-height: 1;
}

.option-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.4;
    flex: 1;
}

.question-help {
    text-align: center;
    background: rgba(76, 175, 80, 0.1);
    padding: 1.2rem;
    border-radius: 15px;
    color: #4a5568;
    font-size: 1.2rem;
    margin: 2rem 0;
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.submit-section {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================================================
   NAVIGATION DOTS - LARGER
   ============================================================================ */

.nav-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    max-width: 100%;
    margin-top: 2rem;
}

.nav-dot {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #4a5568;
}

.nav-dot.active {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.nav-dot.completed {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

@keyframes speech-bubble-appear {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* ENHANCED CHARACTER ANIMATIONS - MORE FUN AND ENGAGING */
@keyframes character-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    10% {
        transform: translateY(-8px) scale(1.02) rotate(-2deg);
    }
    30% {
        transform: translateY(-20px) scale(1.08) rotate(2deg);
    }
    40% {
        transform: translateY(-25px) scale(1.1) rotate(-1deg);
    }
    60% {
        transform: translateY(-12px) scale(1.05) rotate(1deg);
    }
}

@keyframes character-pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.08) rotate(-3deg);
        filter: brightness(1.1);
    }
    50% {
        transform: scale(1.15) rotate(0deg);
        filter: brightness(1.15);
    }
    75% {
        transform: scale(1.08) rotate(3deg);
        filter: brightness(1.1);
    }
}

@keyframes character-celebration {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1) saturate(1);
    }
    15% {
        transform: scale(1.2) rotate(-10deg);
        filter: brightness(1.2) saturate(1.2);
    }
    30% {
        transform: scale(1.25) rotate(10deg);
        filter: brightness(1.25) saturate(1.3);
    }
    45% {
        transform: scale(1.2) rotate(-8deg);
        filter: brightness(1.2) saturate(1.2);
    }
    60% {
        transform: scale(1.25) rotate(8deg);
        filter: brightness(1.25) saturate(1.3);
    }
    75% {
        transform: scale(1.15) rotate(-5deg);
        filter: brightness(1.15) saturate(1.1);
    }
}

/* FUN HOVER EFFECTS FOR CHARACTERS */
.character-avatar:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.1) saturate(1.2);
    transition: all 0.3s ease;
}

/* CHARACTER SPARKLE AND MAGIC EFFECTS */
.character-avatar::before {
    content: '✨';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2.5rem;
    opacity: 0;
    animation: sparkle 3s ease-in-out infinite;
    z-index: 15;
    pointer-events: none;
}

.character-avatar::after {
    content: '💫';
    position: absolute;
    bottom: -10px;
    left: -10px;
    font-size: 2rem;
    opacity: 0;
    animation: sparkle-delayed 3s ease-in-out infinite;
    z-index: 15;
    pointer-events: none;
}

.character-avatar:hover::before,
.character-avatar:hover::after {
    opacity: 1;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.3) rotate(180deg);
    }
}

@keyframes sparkle-delayed {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.3) rotate(180deg);
    }
}

@keyframes magic-aura {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8) rotate(0deg) translateY(0);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.1) rotate(90deg) translateY(-5px);
    }
    50% {
        opacity: 1;
        transform: scale(1.3) rotate(180deg) translateY(-10px);
    }
    75% {
        opacity: 0.8;
        transform: scale(1.1) rotate(270deg) translateY(-5px);
    }
}

/* ============================================================================
   FEATURES AND INFO SECTIONS
   ============================================================================ */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.feature i {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.feature h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #4a5568;
    font-size: 1.1rem;
}

.survey-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    font-size: 1.2rem;
    color: #2d3748;
}

.info-item i {
    font-size: 1.5rem;
    color: #ff6b6b;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ff6b6b;
    transform: scale(1.3);
}

/* ============================================================================
   FORM STYLES
   ============================================================================ */

.login-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1.2rem;
    border: 3px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1.2rem;
    font-family: 'Comic Neue', cursive;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    transform: scale(1.02);
}

.error-message {
    background: #fee;
    color: #e53e3e;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    border: 2px solid #feb2b2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.help-text {
    text-align: center;
    margin-top: 1.5rem;
    color: #4a5568;
    font-size: 1.1rem;
}

/* ============================================================================
   RESULTS AND COMPLETION STYLES
   ============================================================================ */

.result-card {
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 3px solid;
}

.result-card.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-color: #28a745;
}

.result-card.warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-color: #ffc107;
}

.result-card.info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    border-color: #17a2b8;
}

.result-emoji {
    font-size: 4rem;
    min-width: 80px;
    text-align: center;
}

.result-content h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.result-message {
    font-size: 1.3rem;
    color: #4a5568;
    line-height: 1.5;
}

.encouragement-messages {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
}

.encouragement-messages h4 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.encouragement-messages ul {
    list-style: none;
    padding: 0;
}

.encouragement-messages li {
    padding: 0.8rem 0;
    font-size: 1.2rem;
    color: #4a5568;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.encouragement-messages li:last-child {
    border-bottom: none;
}

.resources-section {
    margin: 2rem 0;
}

.resources-section h4 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.resource-card i {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.resource-card h5 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.resource-card p {
    color: #4a5568;
    font-size: 1.1rem;
}

.completion-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.thank-you {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}

.thank-you-icon {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    animation: heartbeat 2s ease-in-out infinite;
}

.thank-you p {
    font-size: 1.3rem;
    color: #2d3748;
    font-weight: 600;
}

/* ============================================================================
   FLOATING ELEMENTS
   ============================================================================ */

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-heart,
.floating-smile {
    position: absolute;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.floating-heart {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-smile {
    bottom: 30%;
    left: 15%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ============================================================================
   CELEBRATION ANIMATIONS
   ============================================================================ */

.celebration-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    border-radius: 2px;
    opacity: 0;
}

.confetti:nth-child(1) {
    left: 20%;
    background: #ff6b6b;
}

.confetti:nth-child(2) {
    left: 40%;
    background: #feca57;
}

.confetti:nth-child(3) {
    left: 60%;
    background: #48dbfb;
}

.confetti:nth-child(4) {
    left: 80%;
    background: #ff9ff3;
}

.confetti:nth-child(5) {
    left: 90%;
    background: #54a0ff;
}

@keyframes confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(-100vh) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(720deg);
    }
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.main-footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    text-align: center;
    color: #4a5568;
    font-size: 1.1rem;
    position: relative;
    z-index: 100;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .character-conversation {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .welcome-character {
        width: 220px;
        height: 220px;
    }
    
    .question-character {
        width: 200px;
        height: 200px;
    }
    
    .completion-character {
        width: 210px;
        height: 210px;
    }
    
    .login-character,
    .start-character {
        width: 200px;
        height: 200px;
    }
    
    .speech-bubble {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .speech-tail {
        display: none;
    }
    
    .speech-content h2 {
        font-size: 1.8rem;
    }
    
    .speech-content p {
        font-size: 1.1rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .option-card {
        padding: 1.2rem;
    }
    
    .option-emoji {
        font-size: 3rem;
        min-width: 60px;
    }
    
    .option-text {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .btn-large {
        padding: 1.2rem 2.5rem;
        font-size: 1.3rem;
    }
    
    .nav-dots {
        gap: 0.5rem;
    }
    
    .nav-dot {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .resource-cards {
        grid-template-columns: 1fr;
    }
    
    .completion-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .welcome-card,
    .login-card,
    .survey-start-card,
    .survey-card,
    .complete-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .welcome-character {
        width: 180px;
        height: 180px;
    }
    
    .question-character {
        width: 160px;
        height: 160px;
    }
    
    .completion-character {
        width: 170px;
        height: 170px;
    }
    
    .login-character,
    .start-character {
        width: 160px;
        height: 160px;
    }
    
    .speech-content h2 {
        font-size: 1.6rem;
    }
    
    .speech-content p {
        font-size: 1rem;
    }
    
    .option-emoji {
        font-size: 2.5rem;
        min-width: 50px;
    }
    
    .option-text {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .nav-dot {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}
