/* X.com Style CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #000000;
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.5;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 32px;
    padding: 20px 0;
}

.title {
    font-size: 31px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.emoji {
    font-size: 32px;
    display: inline-block;
    margin-right: 8px;
}

.subtitle {
    font-size: 17px;
    color: #8b98a5;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Services Banner */
.services-banner {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.service-button {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #16181c;
    border: 1px solid #2f3336;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    color: #ffffff;
}

.service-button:hover {
    background: #1c1f23;
    border-color: #3d4043;
}

.service-button.eofai {
    border-color: #d3f36b;
}

.service-button.eofai:hover {
    background: rgba(211, 243, 107, 0.1);
    border-color: #d3f36b;
}

.service-button.eofvpn {
    border-color: #06d889;
}

.service-button.eofvpn:hover {
    background: rgba(6, 216, 137, 0.1);
    border-color: #06d889;
}

.service-icon {
    font-size: 16px;
}

.service-text {
    font-weight: 500;
    font-size: 15px;
    color: #ffffff;
}

.service-button.auth-twitter {
    background: linear-gradient(135deg, #1d9bf0, #0d7377);
    border: 1px solid rgba(29, 155, 240, 0.3);
}

.service-button.auth-twitter:hover {
    background: linear-gradient(135deg, #0d7377, #1d9bf0);
    transform: translateY(-2px);
}

.service-button.auth-twitter.disabled {
    background: #666;
    border: 1px solid #555;
    cursor: not-allowed;
    opacity: 0.6;
}

.service-button.auth-twitter.disabled:hover {
    background: #666;
    transform: none;
}

/* Auth Section */
.auth-section {
    margin-top: 20px;
}

.auth-button-wrapper {
    text-align: center;
}

.auth-button-wrapper .service-button {
    margin-bottom: 12px;
    display: inline-flex;
}

.auth-description {
    color: #8b98a5;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    padding: 0 16px;
    text-align: center;
    font-style: italic;
}

.auth-description::before {
    content: "💡 ";
    color: #1d9bf0;
}

/* Auth Status */
.auth-status {
    background: linear-gradient(135deg, rgba(29, 155, 240, 0.1), rgba(13, 115, 119, 0.1));
    border: 1px solid rgba(29, 155, 240, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.auth-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(29, 155, 240, 0.3);
    object-fit: cover;
}

.auth-user-details {
    flex: 1;
}

.auth-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}

.auth-handle {
    color: #8b98a5;
    font-size: 14px;
}

.logout-button {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-button:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
}

.auth-benefits {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-actions {
    margin-top: 16px;
    text-align: center;
}

.analyze-own-button {
    background: linear-gradient(135deg, #1d9bf0, #0d73b7);
    border: 1px solid rgba(29, 155, 240, 0.3);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(29, 155, 240, 0.3);
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.analyze-own-button:hover {
    background: linear-gradient(135deg, #0d73b7, #1d9bf0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 155, 240, 0.4);
    border-color: rgba(29, 155, 240, 0.5);
}

.analyze-own-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(29, 155, 240, 0.3);
}

.analyze-own-button .button-icon {
    font-size: 16px;
}

.analyze-own-button .button-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.auth-premium-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-benefit {
    color: #8b98a5;
    font-size: 13px;
    font-style: italic;
}

/* Navigation */
.navigation {
    display: flex;
    background: #16181c;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid #2f3336;
    overflow: hidden;
}

.nav-tab {
    flex: 1;
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: #8b98a5;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-tab.active {
    background: #1d9bf0;
    color: #ffffff;
}

.nav-tab:hover:not(.active) {
    background: #1c1f23;
    color: #ffffff;
}

/* Search Section */
.search-section {
    margin-bottom: 24px;
}

.input-group {
    background: #16181c;
    border: 1px solid #2f3336;
    border-radius: 16px;
    padding: 20px;
}

.input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.input-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b98a5;
    font-weight: 400;
    z-index: 2;
    font-size: 17px;
}

.username-input {
    width: 100%;
    padding: 16px 16px 16px 40px;
    border: 1px solid #2f3336;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.2s ease;
    background: #000000;
    color: #ffffff;
}

.username-input::placeholder {
    color: #8b98a5;
}

.username-input:focus {
    outline: none;
    border-color: #1d9bf0;
    box-shadow: 0 0 0 2px rgba(29, 155, 240, 0.2);
}

.username-input.error {
    border-color: #f4212e;
}

.username-input.success {
    border-color: #00ba7c;
}

/* Input Validation */
.input-validation {
    margin-top: 8px;
}

.validation-error,
.validation-success {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.3;
}

.validation-error {
    color: #f4212e;
}

.validation-success {
    color: #00ba7c;
}

.validation-icon {
    font-size: 14px;
}

/* Buttons */
.check-button {
    width: 100%;
    padding: 16px 24px;
    background: #1d9bf0;
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.check-button:hover {
    background: #1a8cd8;
}

.check-button:disabled {
    background: #2f3336;
    color: #8b98a5;
    cursor: not-allowed;
}

/* Compare Form */
.compare-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vs-divider {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: #8b98a5;
    margin: 8px 0;
    position: relative;
}

.vs-divider::before,
.vs-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #2f3336;
}

.vs-divider::before {
    left: 0;
}

.vs-divider::after {
    right: 0;
}

/* Result Section */
.result-section {
    margin-bottom: 24px;
    animation: slideUp 0.5s ease;
}

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

.credit-card {
    background: #16181c;
    border: 1px solid #2f3336;
    border-radius: 16px;
    padding: 24px;
    position: relative;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.rating-level {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 80px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.rating-level.НИЗКИЙ {
    background: linear-gradient(135deg, rgba(244, 33, 46, 0.25), rgba(244, 33, 46, 0.15));
    color: #ff6b7a;
    border-color: rgba(244, 33, 46, 0.3);
}

.rating-level.СРЕДНИЙ {
    background: linear-gradient(135deg, rgba(255, 212, 0, 0.25), rgba(255, 212, 0, 0.15));
    color: #ffeb3b;
    border-color: rgba(255, 212, 0, 0.3);
}

.rating-level.ВЫСОКИЙ {
    background: linear-gradient(135deg, rgba(0, 186, 124, 0.25), rgba(0, 186, 124, 0.15));
    color: #4ade80;
    border-color: rgba(0, 186, 124, 0.3);
}

.rating-level.НАДЕЖНЫЙ {
    background: linear-gradient(135deg, rgba(29, 155, 240, 0.25), rgba(29, 155, 240, 0.15));
    color: #1d9bf0;
    border-color: rgba(29, 155, 240, 0.3);
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { 
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(29, 155, 240, 0.7);
    }
    50% { 
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(29, 155, 240, 0.1);
    }
}

/* User Profile */
.user-profile,
.user-profile-compare {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #2f3336;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.user-handle {
    font-size: 15px;
    color: #8b98a5;
    margin-bottom: 4px;
}

.user-followers {
    font-size: 14px;
    color: #8b98a5;
}



/* Rating Section */
.rating-section {
    margin-bottom: 24px;
}

.score-display,
.score-display-compare {
    text-align: center;
    margin-bottom: 16px;
}

.credit-score {
    font-size: 48px;
    font-weight: 900;
    color: #1d9bf0;
    line-height: 1;
}

.score-max {
    font-size: 20px;
    color: #8b98a5;
    font-weight: 400;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #2f3336;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1d9bf0, #00ba7c);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Main Message */
.main-message {
    margin-bottom: 24px;
}

.main-rating {
    font-size: 19px;
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
    font-weight: 400;
}

/* Analysis Section */
.analysis-section {
    margin-bottom: 24px;
}

.analysis-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.analysis-content {
    font-size: 15px;
    line-height: 1.5;
    color: #ffffff;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-item {
    background: #0d0f12;
    border: 1px solid #2f3336;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.stat-icon {
    font-size: 20px;
    margin-bottom: 8px;
    display: block;
}

.stat-info {
    text-align: center;
}

.stat-label {
    font-size: 13px;
    color: #8b98a5;
    margin-bottom: 4px;
    font-weight: 400;
    display: block;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    word-break: break-word;
}

/* Специальные стили для типов пользователей */
.stat-item .stat-value.legendary-user {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
    font-weight: 800;
}

.stat-item .stat-value.popular-user {
    color: #ff6b35;
    text-shadow: 0 0 6px rgba(255, 107, 53, 0.2);
    font-weight: 700;
}

.stat-item .stat-value.veteran-user {
    color: #9d4edd;
    text-shadow: 0 0 6px rgba(157, 78, 221, 0.2);
    font-weight: 700;
}

.stat-item .stat-value.suspicious-user {
    color: #f72585;
    text-shadow: 0 0 6px rgba(247, 37, 133, 0.2);
    animation: suspicious-blink 2s ease-in-out infinite;
}

.stat-item .stat-value.regular-user {
    color: #1d9bf0;
    font-weight: 600;
}

@keyframes suspicious-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* AI Analysis */
.ai-analysis {
    background: #0d0f12;
    border: 1px solid #2f3336;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.analysis-header {
    margin-bottom: 12px;
}

.analysis-icon {
    font-size: 16px;
    margin-right: 8px;
}

.analysis-label {
    font-size: 15px;
    font-weight: 700;
    color: #1d9bf0;
}

.analysis-text {
    font-size: 15px;
    line-height: 1.5;
    color: #ffffff;
}

/* Account Price */
.account-price {
    background: #0d0f12;
    border: 1px solid #2f3336;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

/* Psychotype Section */
.psychotype-section {
    margin-bottom: 24px;
}

.psychotype-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.psychotype-card {
    background: #0d0f12;
    border: 1px solid #2f3336;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #8b5cf6;
}

.psychotype-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.psychotype-icon {
    font-size: 24px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.psychotype-type-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.psychotype-label {
    font-size: 13px;
    color: #8b98a5;
    font-weight: 400;
}

.psychotype-type {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.psychotype-description {
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: justify;
}

.psychotype-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
}

.note-icon {
    font-size: 14px;
    color: #8b5cf6;
}

.note-text {
    font-size: 13px;
    color: #8b98a5;
    font-style: italic;
}

.price-header {
    margin-bottom: 12px;
}

.price-icon {
    font-size: 16px;
    margin-right: 8px;
}

.price-label {
    font-size: 15px;
    font-weight: 700;
    color: #00ba7c;
}

.price-value {
    font-size: 28px;
    font-weight: 900;
    color: #00ba7c;
    margin-bottom: 8px;
}

.price-note {
    font-size: 13px;
    color: #8b98a5;
    line-height: 1.4;
}

/* Actions */
.actions,
.comparison-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.share-button,
.new-check-button,
.retry-button,
.back-button {
    flex: 1;
    min-width: 140px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.share-button {
    background: #1d9bf0;
    border: 1px solid #1d9bf0;
    color: #ffffff;
}

.share-button:hover {
    background: #1a8cd8;
    border-color: #1a8cd8;
}

.new-check-button,
.retry-button,
.back-button {
    background: transparent;
    border: 1px solid #2f3336;
    color: #ffffff;
}

.new-check-button:hover,
.retry-button:hover,
.back-button:hover {
    background: #16181c;
    border-color: #3d4043;
}

/* Comparison Results */
.comparison-result {
    background: #16181c;
    border: 1px solid #2f3336;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    animation: slideUp 0.5s ease;
}

.comparison-header {
    text-align: center;
    margin-bottom: 24px;
}

.winner-announcement {
    font-size: 20px;
    font-weight: 700;
    color: #1d9bf0;
    margin-top: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.comparison-card {
    background: #0d0f12;
    border: 1px solid #2f3336;
    border-radius: 12px;
    padding: 20px;
}

.comparison-card.winner {
    border-color: #1d9bf0;
    box-shadow: 0 0 0 1px rgba(29, 155, 240, 0.2);
}

.rating-level-compare {
    margin-top: 8px;
}

.user-rating-text {
    font-size: 14px;
    line-height: 1.4;
    color: #8b98a5;
    margin-top: 12px;
}

.comparison-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.comparison-stats .stat-item {
    background: #0d0f12;
    border: 1px solid #2f3336;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.comparison-stats .stat-label {
    font-size: 14px;
    color: #8b98a5;
    margin-bottom: 8px;
}

.comparison-stats .stat-value {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

/* Error Section */
.error-section {
    margin-bottom: 24px;
}

.error-card {
    background: #16181c;
    border: 1px solid #f4212e;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.error-header {
    margin-bottom: 16px;
}

.error-icon {
    font-size: 48px;
    color: #f4212e;
    margin-bottom: 12px;
}

.error-title {
    font-size: 20px;
    font-weight: 700;
    color: #f4212e;
    margin-bottom: 8px;
}

.error-message {
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 16px;
}

.error-details {
    margin-bottom: 24px;
}

.error-details-title {
    font-size: 15px;
    font-weight: 700;
    color: #8b98a5;
    margin-bottom: 8px;
}

.error-details-text {
    font-size: 15px;
    color: #8b98a5;
    line-height: 1.4;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* AI Indicator */
.ai-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 10;
    animation: float-in 0.6s ease-out;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(29, 155, 240, 0.15), rgba(124, 58, 237, 0.15));
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #1d9bf0;
    backdrop-filter: blur(12px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(29, 155, 240, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: default;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.ai-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.ai-badge:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(29, 155, 240, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(29, 155, 240, 0.3);
}

@keyframes float-in {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 16px 12px;
    }

    .title {
        font-size: 28px;
    }

    .emoji {
        font-size: 28px;
    }

    .credit-card,
    .comparison-result {
        padding: 20px;
    }

    .services-banner {
        flex-direction: column;
    }

    .actions,
    .comparison-actions {
        flex-direction: column;
    }

    .share-button,
    .new-check-button,
    .retry-button,
    .back-button {
        min-width: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .comparison-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vs-divider {
        font-size: 16px;
    }

    .comparison-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .navigation {
        margin-bottom: 20px;
    }

    .nav-tab {
        padding: 10px 16px;
        font-size: 14px;
    }

    .input-validation {
        margin-top: 6px;
    }

    .validation-error,
    .validation-success {
        font-size: 13px;
    }

    .comparison-stats .stat-item {
        padding: 12px;
    }

         .comparison-stats .stat-value {
         font-size: 16px;
     }

    /* AI Indicator - Mobile */
    .ai-indicator {
        position: static;
        margin-top: 8px;
        text-align: center;
    }

    .ai-badge {
        font-size: 11px;
        padding: 6px 12px;
        gap: 6px;
    }

    /* Psychotype - Mobile */
    .psychotype-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .psychotype-type-container {
        align-self: stretch;
    }

    .psychotype-type {
        font-size: 16px;
    }

    .psychotype-card {
        padding: 16px;
    }

    .psychotype-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        text-align: left;
    }

    .psychotype-description {
        text-align: left;
    }
 }

/* Compatibility Section */
.compatibility-section {
  margin: 24px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.compatibility-section.show {
  opacity: 1;
  transform: translateY(0);
}

.compatibility-title {
  color: #1d9bf0;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compatibility-card {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f, #cd3f85, #9c2592, #4a148c);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.compatibility-users {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.compatibility-user {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.compatibility-user.main-user {
  justify-content: flex-start;
}

.compatibility-user.follower-user {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.compatibility-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.compatibility-user-info {
  text-align: center;
}

.compatibility-user.follower-user .compatibility-user-info {
  text-align: right;
}

.compatibility-name {
  color: white;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}

.compatibility-handle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.compatibility-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
}

.compatibility-heart {
  font-size: 24px;
  margin-bottom: 8px;
  animation: heartbeat 2s ease-in-out infinite;
}

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

.compatibility-percentage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.compatibility-percent {
  color: white;
  font-size: 28px;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.compatibility-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.compatibility-analysis {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.compatibility-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  text-align: justify;
}

.compatibility-note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.compatibility-note .note-icon {
  font-size: 12px;
  opacity: 0.8;
}

.compatibility-note .note-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-style: italic;
}

/* Mobile Responsiveness для совместимости */
@media (max-width: 768px) {
  .compatibility-section {
    margin: 16px 0;
  }
  
  .compatibility-card {
    padding: 16px;
  }
  
  .compatibility-users {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .compatibility-user {
    width: 100%;
    justify-content: center !important;
    flex-direction: row !important;
  }
  
  .compatibility-user-info {
    text-align: center !important;
  }
  
  .compatibility-center {
    order: -1;
    margin-bottom: 16px;
  }
  
  .compatibility-avatar {
    width: 40px;
    height: 40px;
  }
  
  .compatibility-name {
    font-size: 13px;
  }
  
  .compatibility-handle {
    font-size: 11px;
  }
  
  .compatibility-percent {
    font-size: 24px;
  }
  
  .compatibility-text {
    font-size: 13px;
    line-height: 1.4;
  }
  
  .compatibility-note {
    padding: 6px 10px;
  }
  
  .compatibility-note .note-text {
    font-size: 10px;
  }
  
  .auth-section {
    margin-top: 16px;
  }
  
  .auth-description {
    font-size: 12px;
    padding: 0 12px;
  }
  
  .auth-button-wrapper .service-button {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* Footer */
.footer {
    text-align: center;
    margin: 48px 0 24px 0;
    padding: 24px 16px;
    border-top: 1px solid #2f3336;
    background: #000000;
}

.footer p {
    font-size: 14px;
    color: #8b98a5;
    line-height: 1.5;
    margin: 0;
} 