:root {
    --bg-primary: #f8f5f0;
    --bg-secondary: #f2eee6;
    --bg-card: #ffffff;
    --text-primary: #3a3a3a;
    --text-secondary: #6b5b4b;
    --accent-primary: #a67c52;
    --accent-secondary: #c8a67f;
    --border: #d4c5b5;
    --shadow: rgba(166, 124, 82, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SimSun', 'Noto Serif SC', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.7;
    position: relative;
}

.result-subtitle {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.paper-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23a67c52' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

#app {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    width: 100%;
}

.home-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 40px;
}

.logo-letters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo-letter {
    font-family: 'SimSun', 'Noto Serif SC', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 2px 2px 4px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.logo-letter:hover {
    transform: scale(1.1) translateY(-5px);
    text-shadow: 3px 3px 6px var(--shadow);
}

.logo-letter:nth-child(1) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0s;
}

.logo-letter:nth-child(2) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.logo-letter:nth-child(3) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1s;
}

.logo-letter:nth-child(4) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.logo-sub {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.home-desc {
    margin-bottom: 40px;
}

.home-desc p {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.8;
}

.btn-primary {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 18px 40px;
    background-color: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
    background-color: #916a45;
}

.btn-primary.small {
    padding: 12px 25px;
    font-size: 0.9rem;
}

.btn-secondary {
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    padding: 18px 40px;
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.btn-secondary.small {
    padding: 12px 25px;
    font-size: 0.9rem;
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.progress-container {
    flex: 1;
    margin-right: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: right;
}

.question-category {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1rem;
    color: var(--accent-primary);
    padding: 8px 16px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.question-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px var(--shadow);
}

.question-number {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.question-text {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-card {
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    padding: 22px 28px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.option-card:hover {
    border-color: var(--accent-primary);
    background-color: rgba(166, 124, 82, 0.05);
    transform: translateX(8px);
}

.option-card.selected {
    background-color: rgba(166, 124, 82, 0.1);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 15px var(--shadow);
}

.option-letter {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-primary);
    min-width: 25px;
}

.option-text {
    flex: 1;
    line-height: 1.5;
}

.test-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn-nav {
    flex: 1;
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    padding: 15px 30px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-nav:hover:not(:disabled) {
    border-color: var(--accent-primary);
    background-color: rgba(166, 124, 82, 0.05);
    transform: translateY(-2px);
}

.btn-nav:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-nav.primary {
    background-color: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.btn-nav.primary:hover {
    background-color: #916a45;
    border-color: #916a45;
}

.result-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 12px 40px var(--shadow);
    text-align: center;
}

.result-header {
    margin-bottom: 40px;
}

.result-title {
    font-family: 'SimSun', 'Noto Serif SC', sans-serif;
    font-size: 2.2rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.result-names {
    margin: 30px 0;
}

.result-names .matching-person {
    display: inline-block;
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0 12px;
    position: relative;
    padding: 0 10px;
}

.result-names .matching-person::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
    border-radius: 2px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.result-analysis {
    text-align: left;
    margin-bottom: 40px;
}

.analysis-section {
    margin-bottom: 30px;
}

.analysis-title {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.analysis-text {
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.memory-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.memory-tag {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 0.9rem;
    padding: 8px 16px;
    background-color: var(--bg-secondary);
    color: var(--accent-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.memory-tag:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.love-heart {
    margin-top: 50px;
    text-align: center;
    position: relative;
}

.heart-content {
    display: inline-block;
    background-color: #f8f5f0;
    border: 2px solid var(--accent-primary);
    border-radius: 50px;
    padding: 20px 30px;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px var(--shadow);
}

.heart-content::before,
.heart-content::after {
    content: '';
    position: absolute;
    top: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--accent-primary);
    border-radius: 50%;
}

.heart-content::before {
    left: -10px;
}

.heart-content::after {
    right: -10px;
}

.heart-name {
    font-family: 'SimSun', 'Noto Serif SC', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin: 0 15px;
    position: relative;
    z-index: 1;
}

.heart-text {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
}

.admin-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 8px 30px var(--shadow);
    text-align: center;
}

.admin-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.input-field {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.1);
}

.input-area {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    margin-bottom: 20px;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
}

.input-area:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.1);
}

.error-msg {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.admin-btns {
    display: flex;
    gap: 15px;
}

.btn-admin {
    flex: 1;
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    padding: 12px 20px;
    background-color: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-admin:hover {
    background-color: #916a45;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-back {
    flex: 1;
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    padding: 12px 20px;
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-back.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.admin-actions {
    display: flex;
    gap: 15px;
}

.btn-add {
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    padding: 10px 20px;
    background-color: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add:hover {
    background-color: #916a45;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

.form-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px var(--shadow);
}

.form-box.hidden {
    display: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.options-group {
    margin-bottom: 20px;
}

.options-group label {
    display: block;
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.option-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.option-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.option-input-row .input-field {
    flex: 1;
    margin-bottom: 0;
}

.option-input-row .option-text {
    flex: 2;
}

.option-input-row .option-text-simple {
    flex: 2;
}

.option-input-row .option-match {
    flex: 1;
    min-width: 100px;
}

.btn-remove-option {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-remove-option:hover {
    background-color: #c0392b;
    transform: scale(1.1);
}

.btn-add-option {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.9rem;
    padding: 8px 16px;
    background-color: var(--bg-secondary);
    color: var(--accent-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-option:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-save {
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    padding: 12px 25px;
    background-color: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save:hover {
    background-color: #916a45;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-cancel {
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    padding: 12px 25px;
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.question-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.question-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.question-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}

.question-content {
    margin-bottom: 15px;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.question-text {
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.question-options {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.question-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-edit {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.8rem;
    padding: 8px 16px;
    background-color: var(--accent-secondary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background-color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-delete {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.8rem;
    padding: 8px 16px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    display: flex;
    justify-content: center;
    z-index: 100;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
}

.footer-text {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.btn-admin-link {
    font-family: 'Noto Serif SC', serif;
    font-size: 0.8rem;
    padding: 8px 16px;
    background-color: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-admin-link:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.presetup-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 12px 40px var(--shadow);
}

.presetup-title {
    font-family: 'SimSun', 'Noto Serif SC', sans-serif;
    font-size: 1.8rem;
    color: var(--accent-primary);
    text-align: center;
    margin-bottom: 40px;
}

.setup-section {
    margin-bottom: 35px;
}

.setup-label {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-weight: 500;
}

.setup-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.setup-btn {
    font-family: 'Noto Serif SC', serif;
    padding: 25px 20px;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.setup-btn:hover {
    border-color: var(--accent-primary);
    background-color: rgba(166, 124, 82, 0.05);
    transform: translateY(-3px);
}

.setup-btn.selected {
    border-color: var(--accent-primary);
    background-color: rgba(166, 124, 82, 0.1);
    box-shadow: 0 6px 20px var(--shadow);
}

.setup-icon {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.setup-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.setup-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 600px) {
    #app {
        padding: 40px 16px 80px;
    }

    .logo-letter {
        font-size: 2.5rem;
    }

    .home-desc p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .question-card {
        padding: 25px;
    }

    .question-text {
        font-size: 1.2rem;
    }

    .option-card {
        padding: 18px 20px;
    }

    .test-nav {
        flex-direction: column;
    }

    .btn-nav {
        width: 100%;
    }

    .result-card {
        padding: 35px 25px;
    }

    .result-title {
        font-size: 1.8rem;
    }

    .result-names .matching-person {
        font-size: 1.4rem;
        margin: 0 8px;
    }

    .presetup-card {
        padding: 35px 25px;
    }

    .setup-options {
        grid-template-columns: 1fr;
    }

    .setup-btn {
        padding: 20px 15px;
    }

    .admin-box {
        padding: 30px 25px;
    }

    .form-box {
        padding: 25px 20px;
    }

    .option-input-row {
        flex-direction: column;
        align-items: stretch;
    }

    .option-input-row .input-field {
        width: 100%;
    }

    .admin-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px;
    }
}