/* JustConnect Design - Complete Brand Implementation */

/* CSS Custom Properties for JC Brand */
:root {
    --jc-pink: #FF3CAB;
    --jc-purple: #8F27F7;
    --jc-midnight: #002D56;
    --jc-white: #FFFFFF;
    --jc-neon-lime: #D7FC00;
    --jc-pink-alt: #FF4ED5;
    --jc-social-lilac: #2E3A83;
    --jc-muted-pink: #C963A3;
    
    /* JC Gradients */
    --jc-hero-bg: linear-gradient(160deg, #002D56 0%, #2E3A83 55%, #8F27F7 100%);
    --jc-cta-grad: linear-gradient(90deg, #002D56, #8F27F7, #FF3CAB);
}

body {
    background: var(--jc-hero-bg);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    color: var(--jc-white);
    margin: 0;
    padding: 0;
}

/* Additional utility classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.p-4 { padding: 1rem; }

.vibematch-bg {
    background: 
        radial-gradient(circle at center top, rgba(255, 60, 171, 0.15) 0%, rgba(143, 39, 247, 0.1) 40%, transparent 70%),
        radial-gradient(circle at 30% 60%, rgba(255, 60, 171, 0.08) 0%, transparent 50%),
        var(--jc-hero-bg);
    min-height: 100vh;
}

/* Main title text */
.main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--jc-white);
    text-align: center;
    margin: 40px 20px 20px 20px;
    line-height: 1.2;
}

.main-title .highlight {
    background: linear-gradient(45deg, var(--jc-pink), var(--jc-purple), var(--jc-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle text */
.subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--jc-muted-pink);
    text-align: center;
    margin: 0 20px 40px 20px;
    line-height: 1.4;
}

/* Profile card */
.vibe-card {
    background: rgba(0, 45, 86, 0.85);
    border: 0px solid;
    border-image: linear-gradient(135deg, var(--jc-pink), var(--jc-purple), var(--jc-midnight), var(--jc-purple), var(--jc-pink)) 1;
    border-radius: 28px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 60, 171, 0.1);
    margin: 20px;
    padding: 32px 24px;
    position: relative;

    border-image: linear-gradient(135deg, var(--jc-pink), var(--jc-purple), var(--jc-midnight), var(--jc-purple), var(--jc-pink)) 1;
    border-radius: 28px;
    padding: 16px;
}

.vibe-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--jc-pink), var(--jc-purple), var(--jc-midnight), var(--jc-purple), var(--jc-pink));
    border-radius: 26px;
    z-index: -1;
}

.vibe-card::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: rgba(0, 45, 86, 0.85);
    border-radius: 22px;
    z-index: -1;
}

/* Profile image container */
.profile-image-container {
    position: relative;
    width: 25px;
    height: 25px;
    margin: 0 auto 20px auto;
}

.profile-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 60, 171, 0.3);
}

.match-percentage {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--jc-cta-grad);
    color: var(--jc-white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    border: 2px solid var(--jc-midnight);
    box-shadow: 0 4px 12px rgba(255, 60, 171, 0.3);
}

/* Profile name and info */
.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--jc-white);
    text-align: center;
    margin: 16px 0 8px 0;
}

.profile-info {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--jc-muted-pink);
    text-align: center;
    margin: 0;
    font-style: italic;
    line-height: 1.3;
}

/* Buttons */
.vibe-button {
    background: var(--jc-cta-grad);
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    color: var(--jc-white);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    text-transform: none;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 60, 171, 0.25);
}

.vibe-button:hover {
    box-shadow: 0 8px 24px rgba(255, 60, 171, 0.4);
    transform: translateY(-2px);
    scale: 1.02;
}

.vibe-button:active {
    transform: translateY(0px);
    scale: 1;
}

/* Input fields */
.vibe-input {
    background: rgba(0, 45, 86, 0.92);
    border: 2px solid var(--jc-purple);
    border-radius: 10px;
    color: var(--jc-white);
    transition: all 0.3s ease;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 400;
    min-height: 48px;
}

.vibe-input:focus {
    border-color: var(--jc-pink);
    box-shadow: 0 0 16px rgba(255, 60, 171, 0.3);
    outline: none;
    background: rgba(0, 45, 86, 0.96);
}

.vibe-input::placeholder {
    color: var(--jc-muted-pink);
}

/* Brand colors */
.brand-primary { color: var(--jc-pink); }
.brand-secondary { color: var(--jc-purple); }
.brand-accent { color: var(--jc-social-lilac); }

/* Progress bar */
.progress-bar {
    background: var(--jc-cta-grad);
    height: 6px;
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Verification code */
.verification-code {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    color: #00D4FF;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
    letter-spacing: 0.4rem;
    text-align: center;
    background: rgba(0, 45, 86, 0.85);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Floating particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--jc-pink);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.4; }
    25% { transform: translateY(-30px) rotate(90deg); opacity: 0.7; }
    50% { transform: translateY(-15px) rotate(180deg); opacity: 0.5; }
    75% { transform: translateY(-25px) rotate(270deg); opacity: 0.6; }
}

/* Glow effects */
.glow-text {
    text-shadow: 0 0 20px rgba(255, 60, 171, 0.6);
    color: var(--jc-white);
}

/* Pulse animation */
.pulse-animation {
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

/* Slide in animation */
.slide-in {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.8rem;
        margin: 30px 15px 15px 15px;
    }
    
    .vibe-card {
        margin: 15px;
        padding: 28px 20px;
    }
    
    .profile-image-container {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1.6rem;
    }
}

/* Form and Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    min-height: 100vh;
}

.header {
    background: rgba(0, 45, 86, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 60, 171, 0.18);
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.event-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    color: var(--jc-white);
}

.progress-section {
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 60, 171, 0.15);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    transition: width 0.8s ease;
    background: var(--jc-cta-grad);
}

.progress-text {
    text-align: center;
    font-weight: 600;
    opacity: 0.9;
    color: var(--jc-white);
}

.step-container {
    background: rgba(0, 45, 86, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 60, 171, 0.18);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.step-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--jc-white);
}

.step-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
    color: var(--jc-muted-pink);
}

.form-group {
    margin-bottom: 2rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--jc-white);
}

.form-input {
    width: 100%;
    padding: 1.2rem;
    border-radius: 10px;
    font-size: 1rem;
    box-sizing: border-box;
    background: rgba(0, 45, 86, 0.92);
    border: 2px solid var(--jc-purple);
    color: var(--jc-white);
    transition: all 0.3s ease;
    min-height: 48px;
}

.form-input:focus {
    border-color: var(--jc-pink);
    box-shadow: 0 0 16px rgba(255, 60, 171, 0.3);
    outline: none;
    background: rgba(0, 45, 86, 0.96);
}

.form-input::placeholder {
    color: var(--jc-muted-pink);
}

.radio-group {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 45, 86, 0.6);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 60, 171, 0.2);
    color: var(--jc-white);
    min-height: 48px;
}

.radio-option:hover {
    background: rgba(0, 45, 86, 0.9);
    border-color: rgba(255, 60, 171, 0.4);
    box-shadow: 0 4px 16px rgba(255, 60, 171, 0.1);
}

.radio-option input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.5);
    accent-color: var(--jc-pink);
}

.radio-option.checked {
    border-color: var(--jc-pink);
    background: rgba(255, 60, 171, 0.15);
    box-shadow: 0 0 16px rgba(255, 60, 171, 0.2);
}

.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border: 2px dashed rgba(255, 60, 171, 0.4);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 45, 86, 0.3);
    color: var(--jc-white);
}

.file-upload-label:hover {
    border-color: var(--jc-pink);
    background: rgba(255, 60, 171, 0.1);
    box-shadow: 0 0 20px rgba(255, 60, 171, 0.15);
}

.file-upload-icon {
    font-size: 3rem;
    color: var(--jc-pink);
}

.primary-button {
    background: var(--jc-cta-grad);
    color: var(--jc-white);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255, 60, 171, 0.25);
    min-height: 48px;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 60, 171, 0.4);
    scale: 1.02;
}

.secondary-button {
    background: rgba(0, 45, 86, 0.8);
    color: var(--jc-white);
    border: 2px solid rgba(255, 60, 171, 0.18);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-height: 48px;
}

.secondary-button:hover {
    border-color: var(--jc-pink);
    background: rgba(255, 60, 171, 0.15);
    box-shadow: 0 4px 12px rgba(255, 60, 171, 0.2);
}

.message {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message {
    background: var(--jc-cta-grad);
    color: var(--jc-white);
    border: 1px solid rgba(255, 60, 171, 0.3);
}

.error-message {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: var(--jc-white);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.profile-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1rem auto;
    display: block;
    border: 3px solid rgba(255, 60, 171, 0.4);
    box-shadow: 0 4px 20px rgba(255, 60, 171, 0.2);
}

.age-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 60, 171, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.age-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--jc-cta-grad);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 60, 171, 0.3);
}

.age-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--jc-cta-grad);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 60, 171, 0.3);
}

.age-display {
    font-size: 2rem;
    font-weight: bold;
    color: var(--jc-pink);
    margin: 1rem 0;
    text-shadow: 0 0 10px rgba(255, 60, 171, 0.3);
}

.summary-section {
    text-align: left;
    background: rgba(0, 45, 86, 0.8);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 60, 171, 0.2);
    box-shadow: 0 4px 20px rgba(255, 60, 171, 0.1);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 60, 171, 0.15);
    color: var(--jc-white);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .label {
    color: var(--jc-muted-pink);
}

.summary-item .value {
    color: var(--jc-pink);
    font-weight: 600;
}

.debug-button {
    position: fixed;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: var(--jc-white);
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.floating-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Test and Quiz Components */
.test-container {
    background: rgba(0, 45, 86, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 60, 171, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.question-container {
    text-align: center;
    margin-bottom: 3rem;
}

.question-number {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    color: var(--jc-muted-pink);
}

.question-text {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.4;
    color: var(--jc-white);
}

.answers-grid {
    display: grid;
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
}

.answer-option {
    padding: 1.5rem;
    background: rgba(0, 45, 86, 0.6);
    border: 2px solid rgba(255, 60, 171, 0.2);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    color: var(--jc-white);
    min-height: 48px;
}

.answer-option:hover {
    background: rgba(255, 60, 171, 0.15);
    border-color: var(--jc-pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 60, 171, 0.2);
}

.answer-option:active {
    transform: translateY(0);
}

.answer-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 60, 171, 0.2), transparent);
    transition: left 0.5s;
}

.answer-option:hover::before {
    left: 100%;
}

.answer-option.selected {
    background: rgba(255, 60, 171, 0.25);
    border-color: var(--jc-pink);
    box-shadow: 0 0 20px rgba(255, 60, 171, 0.3);
}

.results-container {
    text-align: center;
}

.results-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
    color: var(--jc-white);
    text-shadow: 0 0 20px rgba(255, 60, 171, 0.3);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.skill-card {
    background: rgba(0, 45, 86, 0.8);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid rgba(255, 60, 171, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 60, 171, 0.1);
}

.skill-card:hover {
    border-color: var(--jc-pink);
    box-shadow: 0 8px 32px rgba(255, 60, 171, 0.2);
    transform: translateY(-4px);
}

.skill-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--jc-white);
}

.skill-score {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--jc-pink);
    text-shadow: 0 0 15px rgba(255, 60, 171, 0.4);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 60, 171, 0.15);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.skill-bar-fill {
    height: 100%;
    background: var(--jc-cta-grad);
    border-radius: 4px;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(255, 60, 171, 0.3);
}

.profile-summary {
    background: rgba(0, 45, 86, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 1px solid rgba(255, 60, 171, 0.2);
    box-shadow: 0 4px 20px rgba(255, 60, 171, 0.1);
}

.profile-summary .profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 60, 171, 0.4);
    box-shadow: 0 4px 16px rgba(255, 60, 171, 0.2);
}

.profile-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--jc-white);
}

.profile-info p {
    margin: 0;
    opacity: 0.8;
    color: var(--jc-muted-pink);
}

.completion-celebration {
    text-align: center;
    padding: 0;
}

.celebration-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: bounce 1s ease infinite;
    color: var(--jc-pink);
    text-shadow: 0 0 20px rgba(255, 60, 171, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

/* Enhanced animations with JC pink glow */
.floating-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px);
        box-shadow: 0 4px 20px rgba(255, 60, 171, 0.1);
    }
    50% { 
        transform: translateY(-10px);
        box-shadow: 0 8px 30px rgba(255, 60, 171, 0.2);
    }
}

/* Score highlights */
.high-score {
    color: #00FF88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.medium-score {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.low-score {
    color: #FF6B6B;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

/* Progress indicators */
.test-progress {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 60, 171, 0.3);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--jc-pink);
    box-shadow: 0 0 10px rgba(255, 60, 171, 0.5);
}

.progress-dot.completed {
    background: #00FF88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.profile-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--jc-cta-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid rgba(255, 60, 171, 0.4);
    color: var(--jc-white);
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(255, 60, 171, 0.2);
}

.user-info h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: bold;
    color: var(--jc-white);
}

.user-info p {
    margin: 0;
    opacity: 0.8;
    font-size: 1.1rem;
    color: var(--jc-muted-pink);
}

/* Messages and Chat Components */
.messages-container {
    background: rgba(0, 45, 86, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 2px solid rgba(255, 60, 171, 0.18);
    height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.messages-header {
    padding: 1rem 1rem;
    border-bottom: 1px solid rgba(255, 60, 171, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 60, 171, 0.05);
    border-radius: 20px 20px 0 0;
}

.messages-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--jc-white);
}

.messages-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: messageSlideIn 0.3s ease;
}

.message.own {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 60, 171, 0.4);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 60, 171, 0.2);
}

.message-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 2px solid rgba(255, 60, 171, 0.3);
    flex-shrink: 0;
    color: var(--jc-white);
    font-weight: 600;
}

.message-content {
    width: 100%;
    background: rgba(0, 45, 86, 0.8);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 60, 171, 0.2);
    color: var(--jc-white);
    backdrop-filter: blur(10px);
}

.message.own .message-content {
    background: var(--jc-cta-grad);
    color: var(--jc-white);
    border: 1px solid rgba(255, 60, 171, 0.3);
    box-shadow: 0 4px 16px rgba(255, 60, 171, 0.2);
}

.message-sender {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    opacity: 0.8;
    color: var(--jc-pink);
}

.message.own .message-sender {
    color: rgba(255, 255, 255, 0.9);
}

.message-text {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.message-time {
    font-size: 0.8rem;
    opacity: 0.6;
    color: var(--jc-muted-pink);
}

.message.own .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.message-type {
    display: inline-block;
    background: rgba(255, 60, 171, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--jc-pink);
}

.type-broadcast {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: var(--jc-white);
}

.type-table {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: var(--jc-white);
}

.type-private {
    background: var(--jc-cta-grad);
    color: var(--jc-white);
}

.message-input-container {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 60, 171, 0.2);
    background: rgba(255, 60, 171, 0.03);
    border-radius: 0 0 20px 20px;
}

.message-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.message-input {
    flex: 1;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 45, 86, 0.8);
    border: 2px solid rgba(255, 60, 171, 0.18);
    color: var(--jc-white);
    font-size: 1rem;
    resize: vertical;
    min-height: 50px;
    max-height: 150px;
    transition: all 0.3s ease;
}

.message-input:focus {
    border-color: var(--jc-pink);
    box-shadow: 0 0 16px rgba(255, 60, 171, 0.3);
    outline: none;
    background: rgba(0, 45, 86, 1);
}

.message-input::placeholder {
    color: var(--jc-muted-pink);
}

.send-button {
    background: var(--jc-cta-grad);
    color: var(--jc-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(255, 60, 171, 0.25);
}

.send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 60, 171, 0.4);
    scale: 1.02;
}

/* Statistics Components */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(0, 45, 86, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid rgba(255, 60, 171, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 60, 171, 0.1);
}

.stat-card:hover {
    border-color: var(--jc-pink);
    box-shadow: 0 8px 32px rgba(255, 60, 171, 0.2);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--jc-pink);
    text-shadow: 0 0 15px rgba(255, 60, 171, 0.3);
}

.stat-label {
    opacity: 0.8;
    font-size: 0.9rem;
    color: var(--jc-white);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem;
    opacity: 0.6;
    color: var(--jc-muted-pink);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--jc-pink);
    opacity: 0.5;
}

/* Scroll Button */
.scroll-to-bottom {
    position: absolute;
    bottom: 80px;
    right: 20px;
    background: var(--jc-cta-grad);
    color: var(--jc-white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 60, 171, 0.3);
}

.scroll-to-bottom:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 60, 171, 0.4);
}

/* Animations */
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states for accessibility */
.primary-button:focus,
.secondary-button:focus,
.vibe-button:focus,
.form-input:focus,
.vibe-input:focus,
.message-input:focus,
.radio-option:focus-within,
.answer-option:focus {
    outline: 2px solid var(--jc-pink);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .floating-animation,
    .pulse-animation,
    .celebration-icon,
    .particle {
        animation: none;
    }
    
    .primary-button:hover,
    .secondary-button:hover,
    .vibe-button:hover,
    .answer-option:hover,
    .skill-card:hover,
    .stat-card:hover {
        transform: none;
        scale: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .container {
        max-width: 100%;
        padding: 0px;
    }
    
    .main-title {
        font-size: 1.8rem;
        margin: 30px 15px 15px 15px;
    }
    
    .vibe-card {
        margin: 15px;
        padding: 28px 20px;
    }
    
    .profile-image-container {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1.6rem;
    }
    
    .step-container {
        padding: 2rem 1rem;
    }
    
    .test-container {
        padding: 2rem 1rem;
    }
    
    .form-input {
        font-size: 1rem;
    }
}