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

:root {
    /* Lleverage Brand Colors */
    --primary-purple: #5C2190;
    --dark-purple: #2E005B;
    --secondary-purple: #440074;
    --white: #FFFFFF;
    --light-grey: #F0F0F0;
    --dark-grey: #333333;
    --border-grey: #D0D0D0;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-asterix: 'Bangers', 'Fredoka One', 'Bungee', cursive;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

body {
    font-family: var(--font-family);
    color: var(--dark-grey);
    line-height: 1.6;
    background: 
        radial-gradient(circle at 20% 50%, rgba(92, 33, 144, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(68, 0, 116, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #f8f6ff 0%, #ffffff 50%, #f5f0ff 100%);
    background-attachment: fixed;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Factory/Industrial decorative elements - circular patterns like factory windows */
        radial-gradient(circle at 10% 20%, rgba(92, 33, 144, 0.05) 3px, transparent 3px),
        radial-gradient(circle at 30% 60%, rgba(68, 0, 116, 0.04) 2px, transparent 2px),
        radial-gradient(circle at 70% 30%, rgba(92, 33, 144, 0.05) 3px, transparent 3px),
        radial-gradient(circle at 90% 70%, rgba(68, 0, 116, 0.04) 2px, transparent 2px),
        /* Horizontal lines like factory structures */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(92, 33, 144, 0.02) 2px,
            rgba(92, 33, 144, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(68, 0, 116, 0.02) 2px,
            rgba(68, 0, 116, 0.02) 4px
        );
    background-size: 
        200px 200px,
        150px 150px,
        180px 180px,
        160px 160px,
        100px 100px,
        100px 100px;
    background-position: 
        0 0,
        50px 50px,
        100px 100px,
        150px 150px,
        0 0,
        0 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Comic-style diagonal stripes */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(92, 33, 144, 0.01) 10px,
            rgba(92, 33, 144, 0.01) 20px
        );
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

#quiz-container {
    position: relative;
    z-index: 1;
}

/* Container */
#quiz-container {
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
    padding: var(--spacing-md);
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
}

.screen.active {
    display: flex;
    animation: fadeIn 0.5s ease-in;
}

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

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titleBounce {
    0% {
        opacity: 0;
        transform: translateY(-50px) rotate(-5deg) scale(0.5);
    }
    60% {
        transform: translateY(10px) rotate(1deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(-1deg) scale(1);
    }
}

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

.character-preview-img {
    animation: bounce 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.character-preview:hover .character-preview-img {
    animation: none;
    transform: scale(1.1);
}

#start-quiz-btn {
    animation: fadeInUp 0.8s ease-out 0.6s backwards, pulse 2s ease-in-out 1.4s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(92, 33, 144, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(92, 33, 144, 0.5);
    }
}

/* Start Screen */
.start-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-md);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 246, 255, 0.9) 100%);
    border-radius: 24px;
    box-shadow: 
        0 10px 40px rgba(92, 33, 144, 0.15),
        0 4px 0px rgba(92, 33, 144, 0.2),
        inset 0 1px 0px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 4px solid var(--primary-purple);
    position: relative;
}

.start-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 28px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.hero-image-container {
    margin-bottom: var(--spacing-md);
}

.character-lineup {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-xs);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.character-lineup::-webkit-scrollbar {
    height: 6px;
}

.character-lineup::-webkit-scrollbar-track {
    background: rgba(92, 33, 144, 0.1);
    border-radius: 3px;
}

.character-lineup::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 3px;
}

.character-preview {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-grey);
    border: 3px solid var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(92, 33, 144, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideInUp 0.6s ease-out backwards;
    cursor: pointer;
}

.character-preview:nth-child(1) { animation-delay: 0.1s; }
.character-preview:nth-child(2) { animation-delay: 0.2s; }
.character-preview:nth-child(3) { animation-delay: 0.3s; }
.character-preview:nth-child(4) { animation-delay: 0.4s; }
.character-preview:nth-child(5) { animation-delay: 0.5s; }
.character-preview:nth-child(6) { animation-delay: 0.6s; }

.character-preview:hover {
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: 0 12px 24px rgba(92, 33, 144, 0.4);
    border-color: var(--secondary-purple);
    z-index: 10;
}

.character-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-family: var(--font-asterix);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--primary-purple);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    text-shadow: 
        4px 4px 0px rgba(0, 0, 0, 0.15),
        8px 8px 0px rgba(92, 33, 144, 0.25),
        -2px -2px 0px rgba(255, 255, 255, 0.9),
        2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    transform: rotate(-1deg);
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border: 4px solid var(--primary-purple);
    border-radius: 12px;
    box-shadow: 
        0 4px 0px rgba(92, 33, 144, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2);
    animation: titleBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--dark-grey);
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.quiz-info {
    margin-top: var(--spacing-sm);
    color: var(--primary-purple);
    opacity: 0.8;
    font-size: 0.85rem;
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Quiz Screen */
.quiz-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(92, 33, 144, 0.1);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(92, 33, 144, 0.15);
    position: relative;
    z-index: 2;
}

.progress-container {
    margin-bottom: var(--spacing-xl);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--light-grey);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(92, 33, 144, 0.3);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

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

.progress-text {
    text-align: center;
    color: var(--dark-grey);
    opacity: 0.7;
    font-size: 0.9rem;
}

.question-container {
    margin-bottom: var(--spacing-xl);
}

.question-text {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-grey);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.answers-container {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.answer-card {
    background: var(--white);
    border: 3px solid var(--border-grey);
    border-radius: 12px;
    padding: var(--spacing-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: slideInUp 0.5s ease-out backwards;
}

.answer-card:nth-child(1) { animation-delay: 0.1s; }
.answer-card:nth-child(2) { animation-delay: 0.2s; }
.answer-card:nth-child(3) { animation-delay: 0.3s; }
.answer-card:nth-child(4) { animation-delay: 0.4s; }
.answer-card:nth-child(5) { animation-delay: 0.5s; }
.answer-card:nth-child(6) { animation-delay: 0.6s; }

.answer-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 8px 20px rgba(92, 33, 144, 0.3);
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(135deg, rgba(92, 33, 144, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.answer-card.selected {
    border-color: var(--primary-purple);
    background: linear-gradient(135deg, rgba(92, 33, 144, 0.15) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0 8px 24px rgba(92, 33, 144, 0.35);
    transform: translateY(-4px) scale(1.03);
    animation: selectedPulse 0.5s ease-out;
}

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

.answer-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.answer-card label {
    display: block;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--dark-grey);
    line-height: 1.5;
    padding-left: 0;
}

.answer-card:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

.quiz-navigation {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

/* Results Screen */
.results-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(92, 33, 144, 0.1);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(92, 33, 144, 0.15);
    position: relative;
    z-index: 2;
}

.character-card {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(92, 33, 144, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    border: 5px solid var(--primary-purple);
    border-radius: 24px;
    box-shadow: 
        0 12px 40px rgba(92, 33, 144, 0.25),
        0 6px 0px rgba(92, 33, 144, 0.3),
        inset 0 2px 0px rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    animation: cardLanding 1s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    transform-origin: center center;
}

@keyframes cardLanding {
    0% {
        opacity: 0;
        transform: translateY(-100px) rotate(-15deg) scale(0.5);
    }
    50% {
        transform: translateY(20px) rotate(5deg) scale(1.05);
    }
    75% {
        transform: translateY(-5px) rotate(-2deg) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

.character-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(92, 33, 144, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: rotateGlow 10s linear infinite;
}

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

.character-image {
    width: 350px;
    height: 350px;
    object-fit: contain;
    margin: 0 auto var(--spacing-lg);
    display: block;
    background: var(--white);
    border-radius: 20px;
    border: 5px solid var(--primary-purple);
    box-shadow: 
        0 8px 24px rgba(92, 33, 144, 0.3),
        0 4px 0px rgba(92, 33, 144, 0.2);
    position: relative;
    z-index: 1;
    animation: imagePop 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}

@keyframes imagePop {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    60% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.character-name {
    font-family: var(--font-asterix);
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary-purple);
    margin-bottom: var(--spacing-sm);
    text-shadow: 
        3px 3px 0px rgba(0, 0, 0, 0.15),
        6px 6px 0px rgba(92, 33, 144, 0.2),
        -1px -1px 0px rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: nameBounce 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s backwards;
    transform: rotate(-2deg);
    display: inline-block;
}

@keyframes nameBounce {
    0% {
        opacity: 0;
        transform: translateY(-30px) rotate(-5deg) scale(0.5);
    }
    60% {
        transform: translateY(10px) rotate(2deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(-2deg) scale(1);
    }
}

.character-tagline {
    font-size: 1.5rem;
    color: var(--secondary-purple);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(92, 33, 144, 0.15);
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.result-section {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 246, 255, 0.9) 100%);
    border-radius: 16px;
    border: 3px solid rgba(92, 33, 144, 0.2);
    box-shadow: 
        0 6px 20px rgba(92, 33, 144, 0.15),
        0 2px 0px rgba(92, 33, 144, 0.1);
    animation: sectionSlide 0.8s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.result-section:nth-child(1) { animation-delay: 0.8s; }
.result-section:nth-child(2) { animation-delay: 1s; }
.result-section:nth-child(3) { animation-delay: 1.2s; }

@keyframes sectionSlide {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.result-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-grey);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.result-heading span {
    color: var(--primary-purple);
    font-family: var(--font-asterix);
    font-size: 1.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.1),
        4px 4px 0px rgba(92, 33, 144, 0.15);
}

.result-text {
    font-size: 1.1rem;
    color: var(--dark-grey);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.result-stats {
    list-style: none;
    padding-left: 0;
}

.result-stats li {
    font-size: 1.1rem;
    color: var(--dark-grey);
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    line-height: 1.6;
}

.result-stats li::before {
    content: "⚔️";
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.result-ctas {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 1.4s backwards;
}

.result-ctas .btn-primary {
    font-size: 1.2rem;
    padding: var(--spacing-md) var(--spacing-xl);
    letter-spacing: 1.5px;
    font-weight: 800;
}

.result-ctas .btn-secondary {
    font-size: 1.1rem;
    padding: var(--spacing-md) var(--spacing-xl);
    letter-spacing: 0.8px;
    font-weight: 700;
}

.result-footer {
    margin-top: var(--spacing-xxl);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-top: 4px solid var(--primary-purple);
    text-align: center;
    background: linear-gradient(135deg, rgba(92, 33, 144, 0.06) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: 20px;
    box-shadow: 
        0 6px 24px rgba(92, 33, 144, 0.12),
        inset 0 1px 0px rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.8s ease-out 1.6s backwards;
    position: relative;
    overflow: hidden;
}

.result-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(92, 33, 144, 0.1),
        transparent
    );
    animation: shimmerFooter 3s infinite;
}

@keyframes shimmerFooter {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.result-footer-text {
    font-size: 1.15rem;
    color: var(--dark-grey);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    font-weight: 500;
}

.share-encouragement {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: var(--spacing-lg);
    font-style: normal;
    text-shadow: 1px 1px 2px rgba(92, 33, 144, 0.1);
    letter-spacing: 0.5px;
}

.result-footer-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: shareButtonsPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.8s backwards;
}

@keyframes shareButtonsPop {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    60% {
        transform: scale(1.1) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-family);
    text-align: center;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.15rem;
    font-family: var(--font-family);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-purple) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(92, 33, 144, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    background-color: var(--border-grey);
    color: var(--dark-grey);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--light-grey) 0%, #e8e8e8 100%);
    color: var(--dark-grey);
    border: 2px solid var(--border-grey);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 1.05rem;
    font-family: var(--font-family);
    letter-spacing: 0.3px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-grey) 100%);
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(92, 33, 144, 0.2);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-share {
    min-width: 220px;
    font-size: 1rem;
    font-weight: 600;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.3px;
    font-family: var(--font-family);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.share-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.share-icon-img {
    width: 24px;
    height: 24px;
    display: inline-block;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    object-fit: contain;
}

.btn-share:hover .share-icon,
.btn-share:hover .share-icon-img {
    transform: scale(1.15) rotate(5deg);
}

.btn-share::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-share:hover::before {
    width: 300px;
    height: 300px;
}

.btn-linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 16px rgba(0, 119, 181, 0.35);
}

.btn-linkedin .share-icon {
    fill: var(--white);
}

.btn-linkedin:hover {
    background: linear-gradient(135deg, #005885 0%, #004d6e 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 119, 181, 0.45);
}

.btn-email {
    background: linear-gradient(135deg, #0078d4 0%, #106ebe 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 16px rgba(0, 120, 212, 0.35);
}

.btn-email:hover {
    background: linear-gradient(135deg, #106ebe 0%, #005a9e 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 120, 212, 0.45);
}

.btn-teams {
    background: linear-gradient(135deg, #6264a7 0%, #4f5178 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 16px rgba(98, 100, 167, 0.35);
}

.btn-teams:hover {
    background: linear-gradient(135deg, #4f5178 0%, #3d3f5f 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(98, 100, 167, 0.45);
}

/* Responsive Design */
@media (max-width: 768px) {
    .screen {
        padding: var(--spacing-md);
    }
    
    .start-content {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 2.5rem;
        transform: rotate(-0.5deg);
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .character-lineup {
        gap: var(--spacing-sm);
    }
    
    .character-preview {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .question-text {
        font-size: 1.5rem;
    }
    
    .answer-card label {
        font-size: 1rem;
    }
    
    .character-image {
        width: 250px;
        height: 250px;
    }
    
    .character-name {
        font-size: 2.2rem;
    }
    
    .character-tagline {
        font-size: 1.2rem;
    }
    
    .btn-share {
        min-width: 100%;
        font-size: 0.95rem;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
    
    .result-heading {
        font-size: 1.25rem;
    }
    
    .result-text {
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
    }
    
    .result-footer-buttons {
        flex-direction: column;
    }
    
    .result-footer-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        transform: rotate(-0.5deg);
        padding: var(--spacing-xs);
        letter-spacing: 1px;
    }
    
    .question-text {
        font-size: 1.25rem;
    }
    
    .character-name {
        font-size: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus,
.answer-card:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .screen:not(.active) {
        display: none;
    }
    
    .btn {
        display: none;
    }
}

