:root {
    --bg-light: #F9F5F0;
    /* Rice White / Apricot */
    --bg-card: #FFFFFF;
    --primary-red: #A02422;
    /* Cinnabar Red */
    --gold-primary: #C5A028;
    /* Slightly deeper gold for readability on light */
    --gold-secondary: #E7D192;
    /* Champagne Gold */
    --text-main: #2C1810;
    /* Deep Brown */
    --text-muted: #6D5B55;
    --accent-gold: rgba(197, 160, 40, 0.2);
    --border-gold: rgba(197, 160, 40, 0.3);
    --gradient-red: linear-gradient(135deg, #A02422 0%, #7D1C1A 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url('bg-image.jpg');
    background-repeat: repeat;
    background-size: 400px;
    background-position: top left;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body.is-report {
    background-image: none;
    background-color: var(--bg-light);
}

#app {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 40px;
    background: transparent;
}

#app::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: none;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

/* Transitions */
#input-section,
#report-section {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#input-section.active,
#report-section.active {
    display: block;
    opacity: 1;
}

/* Header Styling */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    position: relative;
}

.main-header h1 {
    flex: 1;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 1px;
}

.back-to-input {
    position: absolute;
    left: 1.5rem;
    z-index: 10;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--primary-red);
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.help-btn {
    border: 1.5px solid var(--gold-primary);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Banner Card */
.banner-card {
    margin: 0 1.5rem 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent), url('banner-card.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    height: 180px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(160, 36, 34, 0.2);
}

.banner-content {
    z-index: 2;
}

.banner-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--gold-secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.banner-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.banner-cloud {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 80%;
    height: 60%;
    background-image: url('https://www.transparenttextures.com/patterns/pinstriped-suit.png');
    opacity: 0.1;
    filter: blur(2px);
}

.banner-cloud::after {
    content: '☁';
    font-size: 8rem;
    color: #fff;
    opacity: 0.2;
    position: absolute;
    right: 20px;
    top: 0;
}

/* Form Styling */
.main-form {
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-section {
    background: #FFFFFF;
    border: 1px solid #E0D6CC;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.2rem;
}

.gold-icon {
    color: var(--primary-red);
    font-size: 1.1rem;
}

/* Gender Selector */
.gender-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.gender-btn {
    flex: 1;
    padding: 0.8rem;
    background: #FFFFFF;
    border: 1.5px solid #E0D6CC;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.gender-btn i {
    font-size: 1.1rem;
}

.gender-btn.active {
    background: var(--primary-red);
    color: #FFFFFF;
    border-color: var(--primary-red);
}

.gender-btn.active i {
    color: #FFFFFF;
}

/* Datetime Summary Box */
.datetime-summary-box {
    background: #FFFFFF;
    border: 1.5px solid #E0D6CC;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.datetime-summary-box:hover {
    border-color: var(--primary-red);
}

.summary-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.datetime-summary-box i {
    color: var(--primary-red);
}

.picker-content {
    max-width: 450px !important;
    padding: 2.5rem 1.5rem !important;
}

.wheel-picker-group {
    margin-bottom: 2rem;
}

.wheel-picker-label {
    margin: 1.5rem 0 0.8rem 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
}

/* Wheel Picker */
.wheel-picker-container {
    display: flex;
    gap: 10px;
    height: 180px;
    margin: 10px 0;
    position: relative;
    user-select: none;
}

.wheel-col {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.wheel-picker {
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    /* Firefox */
    position: relative;
}

.wheel-picker::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.wheel-scroll {
    padding: 75px 0;
    /* (Container height - Item height) / 2 */
}

.wheel-item {
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    scroll-snap-align: center;
    transition: all 0.2s;
    font-weight: 500;
}

.wheel-item.active {
    color: var(--primary-red);
    font-size: 1.1rem;
    font-weight: 700;
}

.wheel-highlight {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 30px;
    transform: translateY(-50%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    background: rgba(160, 36, 34, 0.03);
    pointer-events: none;
    z-index: 5;
}

.wheel-item {
    cursor: grab;
    user-select: none;
}

.wheel-picker.dragging {
    cursor: grabbing;
}

.wheel-picker.dragging .wheel-item {
    cursor: grabbing;
}


.input-row {
    display: flex;
    gap: 0.8rem;
}

.input-col {
    flex: 1;
}

.input-col label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

input,
select,
textarea {
    width: 100%;
    background: #FFFFFF;
    border: 1.5px solid #E0D6CC;
    border-radius: 12px;
    padding: 0.8rem;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: #FFFFFF;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-red);
    font-size: 0.8rem;
    pointer-events: none;
}

select {
    appearance: none;
}

/* Checkbox */
.checkbox-group {
    margin-top: 1rem;
}

.custom-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-circle {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--primary-red);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background: #fff;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked+label .checkbox-circle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 11px;
    height: 11px;
    background: var(--primary-red);
    border-radius: 50%;
}

/* MBTI Grid */
.mbti-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mbti-btn {
    padding: 0.8rem 0;
    background: #FFFFFF;
    border: 1.5px solid #E0D6CC;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mbti-btn.active {
    background: var(--primary-red);
    color: #FFFFFF;
    border-color: var(--primary-red);
}

.mbti-skip-btn {
    width: 100%;
    padding: 0.8rem;
    background: #F0E6DD;
    border: 1px solid #D6C7B9;
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    cursor: pointer;
}

.form-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.8;
}

.form-hint.center {
    margin-top: 0.8rem;
}

textarea {
    height: 120px;
    resize: none;
}

/* Submit Button */
.submit-btn {
    background: var(--gradient-red);
    color: #FFFFFF;
    border: none;
    border-radius: 20px;
    padding: 1rem 3.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin: 2.5rem auto 1rem auto;
    box-shadow: 0 6px 20px rgba(160, 36, 34, 0.4);
    cursor: pointer;
    width: fit-content;
    white-space: nowrap;
}

/* Footer Decoration */
.footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    opacity: 0.3;
}

.line {
    height: 1px;
    width: 60px;
    background: var(--primary-red);
}

.star-icon-bg {
    color: var(--primary-red);
    font-size: 1rem;
}

/* Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #FFFFFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Report Styles */
.report-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1.5rem !important;
    position: sticky !important;
    top: 0 !important;
    background: rgba(249, 245, 240, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 100 !important;
    border-bottom: 1px solid var(--border-gold) !important;
}

.report-header h1 {
    color: var(--primary-red) !important;
}

.report-nav {
    display: flex;
    overflow-x: auto;
    background: rgba(249, 245, 240, 0.9);
    padding: 0.8rem 1rem;
    position: sticky;
    top: 68px;
    /* Below header */
    z-index: 90;
    gap: 1.5rem;
    scrollbar-width: none;
    border-bottom: 1px solid var(--border-gold);
    backdrop-filter: blur(10px);
}

.report-nav::-webkit-scrollbar {
    display: none;
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.nav-item.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.card {
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #E0D6CC;
    border-radius: 20px;
    padding: 1.5rem;
    margin: 0 1.5rem 1.5rem 1.5rem;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.2rem;
}

.bazi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    max-width: 320px;
    margin: 0 auto;
}

.bazi-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.column-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.bazi-box {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFF9F5;
    border: 1.5px solid var(--primary-red);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-red);
}

/* --- Loading Modal & Animations --- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background: #FFFFFF;
    border: 1px solid var(--primary-red);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 20px rgba(160, 36, 34, 0.1);
}

/* Social Modal Specific Styles */
@keyframes modalPop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.social-content {
    padding: 2.5rem 2rem !important;
    border: none !important;
    border-radius: 40px !important;
    max-width: 360px !important;
    opacity: 0;
    /* Hidden initially for animation */
}

.modal-overlay.active .social-content {
    animation: modalPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.2s;
    /* Small delay to wait for overlay fade */
}

.social-logo {
    color: var(--primary-red);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
}

.social-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.social-text {
    font-size: 0.95rem;
    color: #8e8e93;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    padding: 0 1rem;
    font-weight: 500;
}

.social-actions {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.1rem;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: transform 0.2s;
}

.social-btn:active {
    transform: scale(0.96);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.2);
}

.threads-btn {
    background: #000;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-dismiss {
    background: none;
    border: none;
    color: #a1a1a1;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s;
}

.social-dismiss:hover {
    color: #666;
}

.modal-loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(160, 36, 34, 0.1);
    border-top: 3px solid var(--primary-red);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

.loading-gif {
    width: 200px;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: contain;
}



.modal-title {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.modal-text {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-steps {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(160, 36, 34, 0.1);
}

.step-dot.active {
    background: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red);
    animation: pulse 1.5s infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

/* Share Modal specific */
.share-content {
    padding: 2.5rem 1.5rem !important;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.share-option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #FFF9F5;
    border: 1.5px solid #E0D6CC;
    border-radius: 16px;
    padding: 1.2rem;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.share-option-btn i {
    font-size: 1.4rem;
    color: var(--primary-red);
}

.share-option-btn:hover {
    border-color: var(--primary-red);
    background: #FFFFFF;
}

.close-modal-btn {
    width: 100% !important;
    margin: 0 !important;
    padding: 0.8rem !important;
    font-size: 1rem !important;
    background: transparent !important;
    color: var(--text-muted) !important;
    border: 1px solid #E0D6CC !important;
    box-shadow: none !important;
}

/* Report Card Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#report-section.active .card {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Staggered Delay for Cards */
#report-section.active .card:nth-child(1) {
    animation-delay: 0.1s;
}

#report-section.active .card:nth-child(2) {
    animation-delay: 0.2s;
}

#report-section.active .card:nth-child(3) {
    animation-delay: 0.3s;
}

#report-section.active .card:nth-child(4) {
    animation-delay: 0.4s;
}

#report-section.active .card:nth-child(5) {
    animation-delay: 0.5s;
}

#report-section.active .card:nth-child(6) {
    animation-delay: 0.6s;
}

#report-section.active .card:nth-child(7) {
    animation-delay: 0.7s;
}

#report-section.active .card:nth-child(8) {
    animation-delay: 0.8s;
}

#report-section.active .card:nth-child(9) {
    animation-delay: 0.9s;
}

#report-section.active .card:nth-child(10) {
    animation-delay: 1.0s;
}

.synthesis-card {
    border: 1.5px solid var(--primary-red);
    background: rgba(160, 36, 34, 0.03);
}

.synthesis-title {
    justify-content: space-between;
}

.ai-icon-bg {
    width: 36px;
    height: 36px;
    background: var(--primary-red);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.yellow {
    background: var(--primary-red);
    color: #FFFFFF;
}

.badge.orange {
    background: #D35400;
    color: #fff;
}

.badge.gray {
    background: #95A5A6;
    color: #fff;
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: rgba(249, 245, 240, 0.95);
    backdrop-filter: blur(15px);
    padding: 1.2rem 1.5rem;
    display: flex;
    gap: 1rem;
    border-top: 1px solid var(--border-gold);
    z-index: 1000;
}

.footer-btn {
    flex: 1;
    padding: 1.1rem;
    border-radius: 16px;
    border: none;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.share-btn {
    background: #FFFFFF;
    color: var(--primary-red);
    border: 1.5px solid var(--primary-red);
}

.save-btn.primary-gold {
    background: var(--gradient-red);
    color: #FFFFFF;
}

.final-footer {
    padding: 3rem 1.5rem 8rem 1.5rem;
    text-align: center;
}

.footer-divider {
    font-size: 1.5rem;
    color: var(--primary-red);
    opacity: 0.5;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.footer-divider::before,
.footer-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background: var(--primary-red);
}

.footer-quote {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--primary-red);
    opacity: 0.6;
    font-weight: 700;
}

.chart-container {
    height: 300px;
    position: relative;
}

.guidance-list {
    list-style: none;
    padding-left: 0;
}

.guidance-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.guidance-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
}

/* Mobile Responsiveness Fixes */
@media (max-width: 480px) {
    .main-form {
        padding: 0 0.8rem;
    }

    .form-section {
        padding: 1.2rem 0.8rem;
        margin-bottom: 1rem;
    }

    .banner-card {
        margin: 0 0.8rem 1.5rem 0.8rem;
        height: 140px;
        padding: 1rem;
    }

    .banner-title {
        font-size: 1.4rem;
    }

    .mbti-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.35rem;
    }

    .mbti-btn {
        padding: 0.7rem 0;
        font-size: 0.7rem;
        border-radius: 8px;
    }

    .section-title {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .gold-icon {
        font-size: 1rem;
    }

    textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
        height: 120px;
        line-height: 1.5;
    }

    .form-hint {
        font-size: 0.65rem;
        padding: 0;
        line-height: 1.4;
    }

    .submit-btn {
        width: 100%;
        padding: 1.1rem;
        font-size: 1.1rem;
        margin-top: 1rem;
        border-radius: 16px;
    }
}