* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
}

@media (max-width: 768px) {
    body {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Стартовая страница */
.start-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.start-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
    max-width: 600px;
    width: 100%;
}

.logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
}

.start-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.start-text h1 {
    font-size: 2.2em;
    margin-bottom: 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle-start {
    font-size: 1.1em;
    color: #ccc;
    margin: 0;
}

.start-text .btn {
    margin-top: 10px;
    width: auto;
    min-width: 200px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.1em;
    color: #ccc;
}

.test-container {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    margin-bottom: 30px;
    color: #FFD700;
    font-size: 1em;
}

.block-label {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid #FFD700;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 20px;
    color: #FFD700;
}

.question-text {
    font-size: 1.4em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #fff;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.answer-option {
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1em;
    text-align: left;
}

.answer-option:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    transform: translateX(5px);
}

.answer-option.selected {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn {
    padding: 15px 40px;
    font-size: 1.1em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    display: block;
    margin: 0 auto;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:disabled {
    background: rgba(255, 215, 0, 0.3);
    cursor: not-allowed;
    transform: none;
}

.result-container {
    text-align: center;
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.result-card h2 {
    font-size: 2em;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-type {
    font-size: 2.5em;
    font-weight: bold;
    margin: 20px 0;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.2;
}

.profile-description {
    font-size: 1.2em;
    line-height: 1.8;
    margin: 30px 0;
    color: #ccc;
}

.profile-goal {
    font-size: 1.3em;
    color: #FFD700;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    font-weight: 500;
}

.profile-score {
    font-size: 1.1em;
    color: #FFD700;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
}

.assets-distribution {
    margin: 40px 0;
    text-align: left;
}

.assets-distribution h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #FFD700;
    text-align: center;
}

.assets-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.asset-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.3s ease;
}

.asset-row:last-child {
    border-bottom: none;
}

.asset-row:hover {
    background: rgba(255, 215, 0, 0.1);
}

.asset-category {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1em;
    color: #fff;
}

.asset-icon {
    font-size: 1.5em;
}

.asset-name {
    font-weight: 500;
}

.asset-share {
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    min-width: 100px;
    text-align: right;
}

@media (max-width: 768px) {
    .start-page {
        min-height: 100vh;
        padding: 20px 15px;
    }
    
    .start-content {
        padding: 40px 25px;
        gap: 25px;
        max-width: 100%;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .start-text h1 {
        font-size: 1.8em;
    }
    
    .subtitle-start {
        font-size: 0.95em;
        line-height: 1.5;
    }
    
    .start-text .btn {
        min-width: 180px;
        padding: 12px 30px;
        font-size: 1em;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    .profile-type {
        font-size: 1.8em;
        line-height: 1.3;
    }
    
    .question-text {
        font-size: 1.2em;
    }
    
    .answer-option {
        font-size: 1em;
        padding: 15px 20px;
    }
    
    .test-container {
        padding: 20px;
    }
    
    .asset-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 20px;
    }
    
    .asset-share {
        text-align: left;
        width: 100%;
    }
    
    .assets-distribution h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .start-page {
        padding: 15px 10px;
    }
    
    .start-content {
        padding: 30px 20px;
        gap: 20px;
    }
    
    .logo {
        width: 70px;
        height: 70px;
    }
    
    .start-text h1 {
        font-size: 1.5em;
    }
    
    .subtitle-start {
        font-size: 0.9em;
    }
    
    .start-text .btn {
        min-width: 160px;
        padding: 12px 25px;
        font-size: 0.95em;
    }
    
    .profile-type {
        font-size: 1.5em;
        line-height: 1.4;
    }
    
    .profile-goal {
        font-size: 1.1em;
    }
}

