@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --roscosmos-blue: #204080;
    --roscosmos-blue-dark: #152B55;
    --roscosmos-blue-light: #2A5099;
    --roscosmos-red: #ED1941;
    --roscosmos-red-dark: #C71436;
    --roscosmos-gray: #4D4D4D;
    --roscosmos-gray-light: #6B6B6B;
    --roscosmos-black: #000000;
    --roscosmos-white: #FFFFFF;

    --bg-primary: #0A0E1A;
    --bg-secondary: #111827;
    --bg-card: #1A2236;
    --bg-card-hover: #232D44;
    --text-primary: #F8F9FB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    --accent-blue: var(--roscosmos-blue);
    --accent-red: var(--roscosmos-red);
    --accent-gray: var(--roscosmos-gray);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-active: var(--roscosmos-blue);
    --error-color: var(--roscosmos-red);
    --reject-color: #F97316;
    --success-color: #10B981;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glow-blue: 0 0 20px rgba(32, 64, 128, 0.4);
    --glow-red: 0 0 20px rgba(237, 25, 65, 0.4);
}

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

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

#particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(32, 64, 128, 0.25), transparent 70%),
        radial-gradient(ellipse 80% 60% at 80% 100%, rgba(103, 121, 224, 0.1), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    background: rgba(10, 14, 26, 0.6);
    border-radius: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header {
    text-align: center;
    padding: 40px 0 30px;
    position: relative;
}

.header__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .header__logos {
        gap: 30px;
    }
    .header__logos img {
        height: 30px !important;
        width: auto;
    }
}

.header__emblem {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    position: relative;
}

.header__emblem::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--roscosmos-blue);
    border-radius: 50%;
    animation: pulse-ring 3s ease-in-out infinite;
}

.header__emblem::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid var(--roscosmos-red);
    border-radius: 50%;
}

@keyframes pulse-ring {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.header__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.header__subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.progress-bar {
    background: var(--bg-secondary);
    border-radius: 4px;
    height: 4px;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-top: 1px solid rgba(32, 64, 128, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--roscosmos-blue), var(--roscosmos-blue-light), var(--roscosmos-red));
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 8px;
    height: 8px;
    background: var(--roscosmos-red);
    border-radius: 50%;
    box-shadow: var(--glow-red);
}

.step {
    display: none;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step--active {
    display: block;
}

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

.step__number {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--roscosmos-red);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.step__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.step__subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 24px;
}

.form-group__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.form-group__error {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.form-group--error .form-group__error {
    display: block;
}

.form-group--error {
    border: 2px solid var(--roscosmos-blue);
    border-radius: 8px;
    padding: 12px;
    margin-left: -12px;
    margin-right: -12px;
    background: rgba(32, 64, 128, 0.05);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.radio-item {
    position: relative;
}

.radio-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-item label {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.radio-item input:checked + label {
    background: linear-gradient(135deg, rgba(32, 64, 128, 0.3), rgba(32, 64, 128, 0.1));
    border-color: var(--roscosmos-blue);
    color: var(--roscosmos-blue-light);
    box-shadow: var(--glow-blue);
}

.radio-item label:hover {
    background: var(--bg-card-hover);
    border-color: var(--roscosmos-blue);
}

.radio-item input:focus + label {
    outline: 2px solid var(--roscosmos-blue);
    outline-offset: 2px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 14px 44px 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    appearance: none;
    transition: all 0.2s ease;
}

.select-wrapper select:focus {
    outline: none;
    border-color: var(--roscosmos-blue);
    box-shadow: var(--glow-blue);
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-secondary);
    pointer-events: none;
}

.select-wrapper option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.text-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.text-input:focus {
    outline: none;
    border-color: var(--roscosmos-blue);
    box-shadow: var(--glow-blue);
}

.text-input::placeholder {
    color: var(--text-muted);
}

.textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 100px;
    transition: all 0.2s ease;
}

.textarea:focus {
    outline: none;
    border-color: var(--roscosmos-blue);
    box-shadow: var(--glow-blue);
}

.textarea::placeholder {
    color: var(--text-muted);
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.scale-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.scale-row:last-child {
    border-bottom: none;
}

.scale-label {
    font-size: 0.9rem;
    color: var(--text-primary);
    flex: 1;
    min-width: 0;
    padding-right: 16px;
}

.scale-poles {
    display: flex;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.scale-poles span:first-child {
    text-align: right;
}

.scale-buttons {
    display: flex;
    gap: 4px;
    margin-left: 12px;
}

.scale-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.scale-btn:hover {
    border-color: var(--roscosmos-blue);
    color: var(--text-primary);
}

.scale-btn--selected {
    background: var(--roscosmos-blue);
    border-color: var(--roscosmos-blue);
    color: var(--roscosmos-white);
    box-shadow: var(--glow-blue);
}

.scale-btn:focus {
    outline: 2px solid var(--roscosmos-blue);
    outline-offset: 2px;
}

.scale-row--error,
.scale-row.form-group--error {
    background: rgba(32, 64, 128, 0.1);
    margin: 0 -12px;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid var(--roscosmos-blue);
    box-shadow: 0 0 12px rgba(32, 64, 128, 0.3);
}

.scale-row.form-group--error {
    border-left: none;
    border-right: none;
}

.knowledge-grid {
    display: grid;
    gap: 10px;
}

.knowledge-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.knowledge-item:hover {
    border-color: var(--roscosmos-blue);
}

.knowledge-item--error {
    border-color: var(--error-color);
    background: rgba(237, 25, 65, 0.05);
}

.knowledge-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    flex: 1;
    padding-right: 16px;
    line-height: 1.5;
}

.btn-group {
    display: flex;
    gap: 6px;
}

.btn-scale {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-scale:hover {
    border-color: var(--roscosmos-blue);
    color: var(--text-primary);
}

.btn-scale--selected {
    background: var(--roscosmos-blue);
    border-color: var(--roscosmos-blue);
    color: var(--roscosmos-white);
    box-shadow: var(--glow-blue);
}

.btn-scale:focus {
    outline: 2px solid var(--roscosmos-blue);
    outline-offset: 2px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checkbox-item {
    position: relative;
}

.checkbox-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-item label {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.checkbox-item input:checked + label {
    background: linear-gradient(135deg, rgba(237, 25, 65, 0.2), rgba(237, 25, 65, 0.08));
    border-color: var(--roscosmos-red);
    color: var(--roscosmos-red);
    box-shadow: var(--glow-red);
}

.checkbox-item label:hover {
    background: var(--bg-card-hover);
    border-color: var(--roscosmos-red);
}

.checkbox-item input:focus + label {
    outline: 2px solid var(--roscosmos-red);
    outline-offset: 2px;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 600px) {
    .visual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.visual-card {
    position: relative;
    aspect-ratio: 1;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-secondary);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.visual-card:hover {
    border-color: var(--roscosmos-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow), var(--glow-blue);
}

.visual-card--selected {
    border: 3px solid var(--roscosmos-blue) !important;
    box-shadow: 0 0 0 2px rgba(32, 64, 128, 0.4), var(--shadow), var(--glow-blue) !important;
    transform: translateY(-2px) scale(1.02);
}

.visual-card--selected::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(32, 64, 128, 0.2);
    z-index: 1;
    pointer-events: none;
}

.visual-card--selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--roscosmos-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    z-index: 3;
}

.visual-card--rejected {
    border: 3px solid var(--error-color) !important;
    opacity: 0.8;
    box-shadow: 0 0 0 2px rgba(237, 25, 65, 0.3), var(--shadow) !important;
}

.visual-card--rejected::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: var(--error-color);
    opacity: 0.9;
    z-index: 2;
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.visual-card:hover img {
    transform: scale(1.05);
}

.visual-instruction {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.6;
}

.visual-instruction strong {
    color: var(--roscosmos-blue-light);
}

.visual-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.association-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-btn {
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-btn:hover {
    border-color: var(--roscosmos-blue);
    background: var(--bg-card);
}

.tag-btn--selected {
    background: linear-gradient(135deg, rgba(32, 64, 128, 0.3), rgba(32, 64, 128, 0.15));
    border-color: var(--roscosmos-blue);
    color: var(--roscosmos-blue-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.btn--primary {
    background: linear-gradient(90deg, var(--roscosmos-blue), var(--roscosmos-blue-light), var(--roscosmos-red));
    color: var(--roscosmos-white);
    box-shadow: var(--shadow), 0 4px 16px rgba(32, 64, 128, 0.3);
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

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

.btn--primary:hover {
    background: linear-gradient(90deg, var(--roscosmos-blue-light), var(--roscosmos-red), var(--roscosmos-red-dark));
    transform: translateY(-2px);
    box-shadow: var(--shadow), 0 8px 24px rgba(32, 64, 128, 0.4);
}

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

.btn--primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.btn--secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn--secondary:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
    background: var(--bg-card);
}

.btn--red {
    background: linear-gradient(135deg, var(--roscosmos-red-dark), var(--roscosmos-red));
    color: var(--roscosmos-white);
    box-shadow: var(--shadow), 0 4px 16px rgba(237, 25, 65, 0.3);
}

.btn--red:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow), 0 8px 24px rgba(237, 25, 65, 0.4);
}

.btn--gold, .btn[onclick*="submit"] {
    background: linear-gradient(90deg, var(--roscosmos-blue), var(--roscosmos-blue-light), var(--roscosmos-red));
    color: var(--roscosmos-white);
    box-shadow: var(--shadow), 0 4px 16px rgba(32, 64, 128, 0.3);
    position: relative;
    overflow: hidden;
}

.btn--gold::before, .btn[onclick*="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn--gold:hover::before, .btn[onclick*="submit"]:hover::before {
    left: 100%;
}

.btn--gold:hover, .btn[onclick*="submit"]:hover {
    background: linear-gradient(90deg, var(--roscosmos-blue-light), var(--roscosmos-red), var(--roscosmos-red-dark));
    transform: translateY(-2px);
    box-shadow: var(--shadow), 0 8px 24px rgba(32, 64, 128, 0.4);
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.nav-buttons--center {
    justify-content: center;
}

.loading {
    text-align: center;
    padding: 80px 20px;
}

.loading__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--roscosmos-blue);
    border-right-color: var(--roscosmos-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading__text {
    color: var(--text-secondary);
    font-size: 1rem;
}

.success-screen {
    text-align: center;
    padding: 80px 20px;
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-screen__icon {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, rgba(32, 64, 128, 0.2), rgba(237, 25, 65, 0.1));
    border: 2px solid var(--roscosmos-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2.5rem;
    position: relative;
}

.success-screen__icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(32, 64, 128, 0.3);
    border-radius: 50%;
}

.success-screen__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-screen__text {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.7;
}

.error-screen {
    text-align: center;
    padding: 80px 20px;
}

.error-screen__icon {
    width: 88px;
    height: 88px;
    background: rgba(237, 25, 65, 0.1);
    border: 2px solid var(--roscosmos-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2.5rem;
    color: var(--error-color);
}

.error-screen__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.error-screen__text {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.age-slider-container {
    padding: 20px 10px;
}

.age-slider-track {
    position: relative;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    margin-bottom: 16px;
}

.age-slider-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--roscosmos-blue), var(--roscosmos-blue-light), var(--roscosmos-red));
    border-radius: 3px;
    pointer-events: none;
    transition: width 0.2s ease;
}

.age-slider {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 30px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
}

.age-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 30% 30%, var(--roscosmos-blue-light), var(--roscosmos-blue));
    border: 3px solid var(--roscosmos-white);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(32, 64, 128, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.age-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 24px rgba(32, 64, 128, 0.8), 0 2px 12px rgba(0, 0, 0, 0.5);
}

.age-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.age-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 30% 30%, var(--roscosmos-blue-light), var(--roscosmos-blue));
    border: 3px solid var(--roscosmos-white);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(32, 64, 128, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: grab;
}

.age-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
}

.age-labels span {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
    text-align: center;
    flex: 1;
    cursor: pointer;
    padding: 6px 4px;
    border-radius: 6px;
}

.age-labels span:hover {
    color: var(--text-secondary);
    background: var(--bg-card);
}

.age-labels span.active {
    color: var(--roscosmos-blue-light);
    font-weight: 600;
    background: rgba(32, 64, 128, 0.15);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    padding: 10px;
}
