/* ============================================
   Character Creator — Comic Book Style
   ============================================ */

#character-creator-screen {
    background: #1a1a2e;
    min-height: 100vh;
    padding: 20px;
    font-family: 'Bangers', 'Comic Sans MS', cursive;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cc-title {
    font-size: 2rem;
    color: #FFD700;
    text-shadow: 3px 3px 0px #FF4500, -1px -1px 0px #000;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.cc-subtitle {
    color: #aaa;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
}

/* Step indicator */
.cc-steps {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.cc-step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #555;
    transition: background 0.2s, border-color 0.2s;
}

.cc-step-dot.active {
    background: #FFD700;
    border-color: #FFD700;
}

.cc-step-dot.done {
    background: #FF4500;
    border-color: #FF4500;
}

/* Steps container */
.cc-step {
    width: 100%;
    max-width: 360px;
    display: none;
}

.cc-step.active {
    display: block;
}

.cc-step-title {
    font-size: 1.3rem;
    color: #FFD700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

/* Country cards */
.cc-country-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.cc-country-card {
    background: linear-gradient(135deg, #2d1f3d, #1a1a2e);
    border: 3px solid #555;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.1s;
    box-shadow: 3px 3px 0px #000;
}

.cc-country-card:hover,
.cc-country-card.selected {
    border-color: #FFD700;
    transform: scale(1.03);
}

.cc-country-flag {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 8px;
}

.cc-country-name {
    color: #FFD700;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Style cards */
.cc-style-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cc-style-card {
    background: linear-gradient(135deg, #2d1f3d, #1a1a2e);
    border: 3px solid #555;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: border-color 0.15s;
    box-shadow: 3px 3px 0px #000;
}

.cc-style-card:hover,
.cc-style-card.selected {
    border-color: #FFD700;
}

.cc-style-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cc-style-info .cc-style-name {
    color: #FFD700;
    font-size: 1rem;
    font-weight: bold;
}

.cc-style-info .cc-style-desc {
    color: #aaa;
    font-size: 0.75rem;
    font-family: 'Nunito', sans-serif;
    margin-top: 2px;
}

/* Customization */
.cc-field-label {
    color: #FFD700;
    font-size: 1rem;
    margin-bottom: 8px;
    display: block;
}

.cc-name-input {
    width: 100%;
    background: #16213e;
    border: 2px solid #555;
    border-radius: 8px;
    color: #eee;
    font-size: 1rem;
    padding: 10px 12px;
    margin-bottom: 18px;
    font-family: 'Nunito', sans-serif;
    outline: none;
}

.cc-name-input:focus {
    border-color: #FFD700;
}

.cc-color-swatches {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cc-color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #333;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.1s;
    box-shadow: 2px 2px 0px #000;
}

.cc-color-swatch.selected {
    border-color: #FFD700;
    transform: scale(1.15);
}

.cc-accessory-list {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cc-accessory-btn {
    background: #16213e;
    border: 2px solid #555;
    border-radius: 8px;
    color: #eee;
    font-size: 0.85rem;
    padding: 8px 14px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    transition: border-color 0.15s;
}

.cc-accessory-btn.selected {
    border-color: #FFD700;
    color: #FFD700;
}

/* Preview card */
.cc-preview-card {
    background: linear-gradient(135deg, #2d1f3d, #1a1a2e);
    border: 3px solid #FFD700;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: 4px 4px 0px #FF4500;
    margin-bottom: 20px;
}

.cc-preview-avatar {
    font-size: 4rem;
    margin-bottom: 8px;
    display: block;
}

.cc-preview-name {
    font-size: 1.4rem;
    color: #FFD700;
    margin-bottom: 12px;
}

.cc-preview-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

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

.cc-stat-icon {
    font-size: 1.2rem;
    display: block;
}

.cc-stat-label {
    color: #aaa;
    font-size: 0.65rem;
    font-family: 'Nunito', sans-serif;
    display: block;
    margin-top: 2px;
}

.cc-stat-value {
    color: #FFD700;
    font-size: 1rem;
    display: block;
}

/* Navigation buttons */
.cc-btn-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.cc-btn {
    background: #FF4500;
    color: white;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 10px 24px;
    font-family: 'Bangers', 'Comic Sans MS', cursive;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 3px 3px 0px #000;
    transition: transform 0.1s, box-shadow 0.1s;
}

.cc-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #000;
}

.cc-btn-secondary {
    background: #333;
    color: #ccc;
}

.cc-btn-gold {
    background: #FFD700;
    color: #000;
}

.cc-back-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 8px 0;
    font-family: 'Nunito', sans-serif;
    text-align: center;
    width: 100%;
    margin-top: 8px;
}
