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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.subtitle {
    color: #a0a0a0;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.hidden {
    display: none !important;
}

/* Intro Content */
.intro-content {
    margin-top: 30px;
}

.intro-content p {
    margin-bottom: 16px;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
}

.intro-content p:last-of-type {
    margin-bottom: 24px;
}

.intro-content a {
    color: #4a90d9;
    text-decoration: none;
    font-weight: 500;
}

.intro-content a:hover {
    text-decoration: underline;
}

.intro-content .note {
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
}

.intro-content .submit-btn {
    margin-top: 10px;
}

/* Form Sections */
.form-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.form-section h2 {
    color: #1a1a2e;
    margin-bottom: 8px;
    font-size: 1.5rem;
    border-bottom: 3px solid #4a90d9;
    padding-bottom: 10px;
}

.section-description {
    color: #666;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a2e;
}

.required {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.2);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Skill Questions */
.skill-question {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.skill-question:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.skill-question > label {
    display: block;
    font-weight: 600;
    color: #1a1a2e;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.skill-detail {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* Slider */
.scale-container {
    position: relative;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #e74c3c 0%, #f1c40f 50%, #27ae60 100%);
    outline: none;
    margin-bottom: 8px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #4a90d9;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #4a90d9;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.8rem;
    padding: 0 4px;
}

.scale-value {
    text-align: center;
    margin-top: 8px;
}

.scale-value span {
    display: inline-block;
    background: #4a90d9;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
}

/* Submit Button */
.submit-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    padding: 16px 32px;
    background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.4);
}

/* Back Button */
.back-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 30px;
    transition: background 0.3s, color 0.3s;
}

.back-btn:hover {
    background: #fff;
    color: #1a1a2e;
}

/* Baseball Card */
.baseball-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.card-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3a5a 100%);
    padding: 30px;
    text-align: center;
}

.card-header h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.card-header p {
    color: #a0c4ff;
    font-size: 1.1rem;
}

.card-body {
    padding: 30px;
}

.category-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #eee;
}

.category-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.category-section h3 {
    color: #1a1a2e;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.category-avg {
    color: #4a90d9;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 4px solid;
}

.skill-item.low {
    border-left-color: #e74c3c;
}

.skill-item.medium {
    border-left-color: #f1c40f;
}

.skill-item.high {
    border-left-color: #27ae60;
}

.skill-item .skill-name {
    font-size: 0.9rem;
    color: #444;
}

.skill-item .skill-score {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.card-footer {
    background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
    padding: 25px;
    text-align: center;
}

.overall-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.overall-score .label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.overall-score .score {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
}

.overall-score .max {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
}

/* Aspirations Box */
.aspirations-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.aspirations-box h3 {
    color: #1a1a2e;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.aspirations-box p {
    color: #555;
    font-style: italic;
    font-size: 1.05rem;
}

/* Prompts Section */
.prompts-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.prompts-section h2 {
    color: #1a1a2e;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.prompts-intro {
    color: #666;
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
}

.prompts-intro a {
    color: #4a90d9;
    text-decoration: none;
    font-weight: 600;
}

.prompts-intro a:hover {
    text-decoration: underline;
}

.prompt-card {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.prompt-card:last-child {
    margin-bottom: 0;
}

.prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #1a1a2e;
}

.prompt-header h3 {
    color: #fff;
    font-size: 1rem;
    margin: 0;
}

.copy-btn {
    background: #4a90d9;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
}

.copy-btn:hover {
    background: #357abd;
    transform: translateY(-1px);
}

.copy-btn.copied {
    background: #27ae60;
}

.prompt-content {
    padding: 20px;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 200px;
    overflow-y: auto;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .form-section {
        padding: 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .prompt-header {
        flex-direction: column;
        gap: 12px;
    }

    .prompt-header h3 {
        text-align: center;
    }
}