﻿* {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif !important;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    background-attachment: fixed;
    color: #fff;
    position: relative;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: 0;
}

@keyframes twinkle {
    0% {
        transform: scale(0.5);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.5);
        opacity: 0.3;
    }
}

.shooting_star {
    position: absolute;
    height: 2px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
    border-radius: 999px;
    filter: drop-shadow(0 0 6px rgba(105, 155, 255, 1));
    animation: shooting 3s ease-out infinite;
    transform-origin: left center;
}

@keyframes tail {
    0% {
        width: 0;
    }

    30% {
        width: 100px;
    }

    100% {
        width: 0;
    }
}

@keyframes shooting {
    0% {
        width: 0;
        transform: rotate(var(--angle)) translateX(0);
        opacity: 1;
    }

    10% {
        width: 100px;
    }

    100% {
        width: 0;
        transform: rotate(var(--angle)) translateX(400px);
        opacity: 0;
    }
}

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    background: rgba(15, 15, 25, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header-logo {
    font-size: 1.5rem;
    font-weight: 800;
    white-space: nowrap;
    background: linear-gradient(to right, #fff, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    text-shadow: 0 0 15px rgba(162, 155, 254, 0.5);
    display: flex;
    align-items: center;
}

    .header-logo span {
        margin-right: 8px;
        font-size: 1.8rem;
    }

.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-blog-link {
    white-space: nowrap;
}

    .lang-switch button {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: rgba(255, 255, 255, 0.6);
        padding: 6px 14px;
        border-radius: 20px;
        margin-left: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.85rem;
        font-weight: bold;
    }

        .lang-switch button:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        .lang-switch button.active {
            background: #a29bfe;
            color: #fff;
            border-color: #a29bfe;
            box-shadow: 0 0 10px rgba(162, 155, 254, 0.5);
        }

.main-wrapper {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 40px;
}

.content-container {
    width: 100%;
    max-width: 800px;
    color: #e0e0e0;
    text-align: center;
}

.container {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 50px 4px 50px 4px;
    border: 1px solid rgba(162, 155, 254, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: visible !important;
}

h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5rem;
    background: linear-gradient(to right, #fff, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(162, 155, 254, 0.5);
}

.subtitle {
    text-align: center;
    color: #a29bfe;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: left;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 1rem;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(162, 155, 254, 0.2) !important;
    border-radius: 10px;
    color: #fff !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

    input:focus, select:focus, textarea:focus {
        background: rgba(0, 0, 0, 0.4) !important;
        border-color: #a29bfe !important;
        box-shadow: 0 0 15px rgba(162, 155, 254, 0.3);
        outline: none;
    }

::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    opacity: 1;
}

input:focus::placeholder, textarea:focus::placeholder {
    opacity: 0;
}

.row {
    display: flex;
    gap: 10px;
}

    .row > div {
        flex: 1;
    }

button#btnSubmit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
    transition: transform 0.2s;
    margin-bottom: 10px;
}

    button#btnSubmit:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 6px 20px rgba(108, 92, 231, 0.6);
    }

#resultArea {
    display: none;
    margin-top: 30px;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spinner {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.result-card {
    background: #fff;
    color: #333;
    padding: 25px;
    border-radius: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
}

    .result-card h3 {
        color: #4834d4;
        border-bottom: 2px solid #a29bfe;
        padding-bottom: 5px;
        margin-top: 25px;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

        .result-card h3:first-child {
            margin-top: 0;
        }

    .result-card strong {
        color: #6c5ce7;
        background: #e0dcfc;
        padding: 0 4px;
        border-radius: 4px;
        font-weight: 700;
    }

    .result-card ul {
        padding-left: 0;
        list-style-type: none;
    }

    .result-card li {
        position: relative;
        padding-left: 20px;
        margin-bottom: 8px;
    }

        .result-card li::before {
            content: '✨';
            position: absolute;
            left: 0;
            font-size: 0.8rem;
            color: #6c5ce7;
        }

.coupang-notice {
    font-size: 0.75rem;
    color: #ccc;
    text-align: right;
    margin-top: 5px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.kakao-btn {
    width: 100%;
    padding: 15px;
    background: #FEE500;
    color: #3c1e1e;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

    .kakao-btn:hover {
        transform: scale(1.02);
    }

.dropdown-wrapper {
    position: relative;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    color: #333;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid rgba(0,0,0,0.1);
}

    .dropdown-list li {
        padding: 12px;
        cursor: pointer;
        border-bottom: 1px solid #eee;
        font-size: 0.95rem;
        text-align: left;
    }

        .dropdown-list li:hover {
            background-color: #f0f0f0;
            color: #6c5ce7;
            font-weight: bold;
        }

.info-section {
    background: transparent;
    padding: 0 20px;
    border: none;
}

    .info-section h1,
    .info-section h2 {
        text-align: center;
        color: #a29bfe;
        font-size: 2rem;
        margin-bottom: 25px;
        text-shadow: 0 0 10px rgba(162, 155, 254, 0.3);
        background: none;
        -webkit-text-fill-color: initial;
    }

    .info-section h3 {
        color: #fff;
        font-size: 1.2rem;
        margin-top: 30px;
        margin-bottom: 15px;
        opacity: 0.9;
    }

    .info-section p {
        margin-bottom: 15px;
        font-size: 1.1rem;
        line-height: 1.8;
        word-break: keep-all;
        color: #e0e0e0;
    }

.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    background: #0f0c29;
    border-top: 2px solid #6c5ce7;
    box-shadow: 0 -10px 40px rgba(108, 92, 231, 0.2);
    z-index: 10;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 10px;
    font-weight: normal;
    font-size: 0.85rem;
    transition: color 0.3s;
}

    .footer-links a:hover {
        color: #fff;
        text-shadow: 0 0 10px #fff;
    }

.copyright {
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* 모바일 대응 */
@media (max-width: 600px) {
    .container {
        padding: 25px;
    }

    .info-section h1,
    .info-section h2 {
        font-size: 1.6rem;
    }

    .app-header {
        padding: 0 12px;
    }

    .header-logo {
        font-size: 1.1rem;
    }

    .header-logo span {
        font-size: 1.3rem;
        margin-right: 5px;
    }

    .lang-switch {
        gap: 6px;
    }

    .header-blog-link {
        font-size: 0.8rem;
    }

    .lang-switch button {
        padding: 5px 10px;
        margin-left: 0;
        font-size: 0.75rem;
    }
}

#birthdate {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c5ce7'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2zm-7 5h5v5h-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
    cursor: pointer;
}

.air-datepicker-global-container {
    z-index: 9999 !important;
}

.air-datepicker {
    background-color: #24243e;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: 'Pretendard', sans-serif;
    border-radius: 15px;
}

.air-datepicker-nav--title {
    color: #a29bfe !important;
    font-weight: bold;
}

.air-datepicker-nav--action path {
    stroke: #a29bfe;
}

.air-datepicker-cell.-current- {
    color: #a29bfe;
    font-weight: bold;
}

.air-datepicker-cell.-selected- {
    background: #6c5ce7;
    color: #fff;
}

.air-datepicker-body--day-name {
    color: #a29bfe;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.nebula-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

    .nebula-bg::before {
        content: '';
        position: absolute;
        bottom: -10%;
        left: -10%;
        width: 60vw;
        height: 60vh;
        background: radial-gradient(circle, rgba(255, 0, 150, 0.3) 0%, rgba(0,0,0,0) 70%);
        filter: blur(70px);
        animation: breathe 8s ease-in-out infinite alternate;
    }

    .nebula-bg::after {
        content: '';
        position: absolute;
        top: -10%;
        right: -10%;
        width: 60vw;
        height: 60vh;
        background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, rgba(0,0,0,0) 70%);
        filter: blur(70px);
        animation: breathe 10s ease-in-out infinite alternate-reverse;
    }

@keyframes breathe {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}}

.seo-content-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 40px 0;
    padding: 0 20px;
}

.seo-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    color: #dcdde1;
    text-align: left;
    line-height: 1.8;
}

    .seo-card h3 {
        color: #a29bfe;
        font-size: 1.5rem;
        margin-top: 40px;
        margin-bottom: 20px;
        border-left: 4px solid #a29bfe;
        padding-left: 15px;
    }

        .seo-card h3:first-child {
            margin-top: 0;
        }

    .seo-card p {
        margin-bottom: 15px;
        font-size: 0.95rem;
        word-break: keep-all;
    }

    .seo-card strong {
        color: #fff;
        font-weight: 700;
    }

.seo-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}


.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.zodiac-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
}

    .zodiac-item strong {
        display: block;
        color: #74b9ff;
        margin-bottom: 8px;
        font-size: 1.05rem;
    }

    .zodiac-item p {
        font-size: 0.85rem;
        color: #ccc;
        margin: 0;
    }

.faq-list {
    list-style: none;
    padding: 0;
}

    .faq-list li {
        margin-bottom: 25px;
        background: rgba(255, 255, 255, 0.03);
        padding: 20px;
        border-radius: 12px;
    }

    .faq-list strong {
        display: block;
        color: #ff7675;
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .faq-list span {
        display: block;
        color: #e0e0e0;
    }


@media (max-width: 600px) {
    .seo-card {
        padding: 25px;
    }

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

.cosmic-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

.orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(162, 155, 254, 0.3);
    border-top: 3px solid #a29bfe;
    border-right: 3px solid #6c5ce7;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.5);
}

/* 안쪽 핵심 (맥박치듯 반짝임) */
.core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, #fff, #a29bfe);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-text {
    color: #a29bfe;
    font-size: 0.95rem;
    animation: blink 2s infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }
}

#aiResponse {
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    color: #ececec;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    line-height: 1.7;
    text-align: left;
}

    #aiResponse h3 {
        font-size: 1.4rem;
        color: #a29bfe;
        margin-top: 40px;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid rgba(162, 155, 254, 0.3);
        display: flex;
        align-items: center;
    }

        #aiResponse h3:first-child {
            margin-top: 0;
        }

    #aiResponse ul {
        margin: 0;
        padding-left: 10px;
        list-style: none;
    }

    #aiResponse li {
        margin-bottom: 12px;
        position: relative;
        padding-left: 25px;
    }

        #aiResponse li::before {
            content: '✦';
            position: absolute;
            left: 0;
            color: #ffd700;
            font-size: 1.2rem;
        }


    #aiResponse strong {
        color: #fff;
        background: linear-gradient(120deg, transparent 0%, rgba(108, 92, 231, 0.5) 100%);
        padding: 0 5px;
        font-weight: 700;
    }

.lucky-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    margin-top: 5px;
    margin-bottom: 5px;
    background: rgba(30, 30, 45, 0.6);
    border: 1px solid rgba(162, 155, 254, 0.4);
    border-radius: 6px;

    color: #e2e2e2;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .lucky-badge:hover {
        background: rgba(162, 155, 254, 0.15);
        border-color: #a29bfe;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

#aiResponse li:first-child strong {
    font-size: 1.2rem;
    color: #fab1a0;
}

.save-img-btn {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
    transition: transform 0.2s;
}

    .save-img-btn:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(220, 39, 67, 0.6);
    }

.astro-identity-card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(162, 155, 254, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.astro-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.planet-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.planet-info .label {
    font-size: 0.8rem;
    color: #a29bfe;
    display: block;
    margin-bottom: 2px;
}

.planet-info .value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* 모바일 대응 */
@media (max-width: 600px) {
    .astro-identity-card {
        padding: 15px 10px;
    }
    .planet-info .value { font-size: 0.9rem; }
    .planet-icon { font-size: 1.5rem; }
}

#aiResponse {
    line-height: 1.8;
    color: #ececec;
    font-size: 1rem;
}

.result-header {
    color: #a29bfe;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(162, 155, 254, 0.3);
    padding-bottom: 5px;
    background: none !important;
}


.gold-text {
    color: #a29bfe !important;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    background: none !important;
}

#aiResponse ul, #aiResponse li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
}

    #aiResponse li::before {
        content: none !important;
    }


.lucky-badge {
    display: inline-block;
    background: linear-gradient(45deg, #FFD700, #FDB931);
    color: #222 !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    text-decoration: none;
    margin-left: 5px;
}

.custom-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 40px 0;
    width: 100%;
}

.star-list-item {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #ececec;
    padding-left: 5px;
}

    .star-list-item::before {
        content: "✦";
        color: #FFD700;
        margin-right: 8px;
        font-size: 1.2rem;
        vertical-align: middle;
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
    }

.nebula-chart-container {
    position: relative;
    width: 340px;  
    height: 340px;
    
    margin: 70px auto;
    
    border-radius: 50%;
    overflow: visible !important; 
    z-index: 1;
}

.cosmic-bg {
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle at center, #1e1e2e 0%, #0f0f1a 60%, #000000 100%);
    border-radius: 50%;
    z-index: -2;
    box-shadow: 0 0 60px rgba(108, 92, 231, 0.15);
}

.orbit-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: -1;
}

    .orbit-rings::before {
        content: "";
        position: absolute;
        top: 25%;
        left: 25%;
        width: 50%;
        height: 50%;
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 50%;
    }

.center-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #151525;
    border: 2px solid rgba(162, 155, 254, 0.6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    color: #a29bfe;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 0 25px rgba(162, 155, 254, 0.3);
}

.chart-sectors-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-sector {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-glow-symbol {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.4);
    position: absolute;
    transform: translate(110px);
    transition: all 0.4s ease;
}


.chart-sector.active-nebula .inner-glow-symbol {
    opacity: 1;
    transform: translate(110px) scale(1.3);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
    z-index: 5;
    color: #fff;
}

.chart-sector.active-nebula::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    transform: translate(110px);
    background: radial-gradient(circle, rgba(162, 155, 254, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    z-index: 1;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from {
        opacity: 0.5;
        transform: translate(110px) scale(1);
    }

    to {
        opacity: 1;
        transform: translate(110px) scale(1.2);
    }
}



.expanded-data-panel {
    position: absolute;
    transform: translate(230px);
    z-index: 20;
    display: flex;
    align-items: center;
}


.panel-content {
    background: rgba(25, 25, 40, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 7px 9px;
    min-width: 92px;
    max-width: 120px;
    text-align: left;
    backdrop-filter: blur(5px);
}

.panel-header {
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.panel-house {
    font-size: 0.65rem;
    font-weight: 800;
    color: #1a1a2e;
    background: #FFD700;
    padding: 1px 5px;
    border-radius: 4px;
    align-self: flex-start;
    display: inline-block;
}

    .panel-house.asc-house {
        background: #ff7675;
        color: #fff;
    }

.panel-z-name {
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff;
    margin-top: 2px;
}

.panel-planets-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.panel-p-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #ddd;
}

    .panel-p-item img {
        width: 16px;
        height: 16px;
    }

.sector-0 {
    transform: rotate(300deg);
}

.sector-1 {
    transform: rotate(330deg);
}

.sector-2 {
    transform: rotate(0deg);
}

.sector-3 {
    transform: rotate(30deg);
}

.sector-4 {
    transform: rotate(60deg);
}

.sector-5 {
    transform: rotate(90deg);
}

.sector-6 {
    transform: rotate(120deg);
}

.sector-7 {
    transform: rotate(150deg);
}

.sector-8 {
    transform: rotate(180deg);
}

.sector-9 {
    transform: rotate(210deg);
}

.sector-10 {
    transform: rotate(240deg);
}

.sector-11 {
    transform: rotate(270deg);
}


.expanded-data-panel {
    transform: translate(230px) rotate(calc(var(--rotation) * -1));
}

.sector-0 .expanded-data-panel {
    --rotation: 300deg;
}

.sector-1 .expanded-data-panel {
    --rotation: 330deg;
}

.sector-2 .expanded-data-panel {
    --rotation: 0deg;
}

.sector-3 .expanded-data-panel {
    --rotation: 30deg;
}

.sector-4 .expanded-data-panel {
    --rotation: 60deg;
}

.sector-5 .expanded-data-panel {
    --rotation: 90deg;
}

.sector-6 .expanded-data-panel {
    --rotation: 120deg;
}

.sector-7 .expanded-data-panel {
    --rotation: 150deg;
}

.sector-8 .expanded-data-panel {
    --rotation: 180deg;
}

.sector-9 .expanded-data-panel {
    --rotation: 210deg;
}

.sector-10 .expanded-data-panel {
    --rotation: 240deg;
}

.sector-11 .expanded-data-panel {
    --rotation: 270deg;
}

.radial-line {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 1px;
    background: #a29bfe;
    opacity: 0.6;
    box-shadow: 0 0 5px rgba(162, 155, 254, 0.8);
    transform-origin: left center;
    z-index: 15;
    pointer-events: none;
    transform: translate(140px);
}

.radial-line.dist-short {
    width: 80px;
}

.radial-line.dist-long {
    width: 150px;
}


.expanded-data-panel {
    position: absolute;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expanded-data-panel.dist-short {
    transform: translate(230px) rotate(calc(var(--rotation) * -1));
}

.expanded-data-panel.dist-long {
    transform: translate(300px) rotate(calc(var(--rotation) * -1));
}

.share-card.poster-style {
    position: fixed;
    top: -9999px;
    left: -9999px;
    width: 600px;
    height: 850px;
    background: radial-gradient(circle at center, #1b1b2f 0%, #0f0f1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    justify-content: flex-start;
    padding: 60px 30px 0 30px;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.poster-header {
    text-align: center;
    width: 100%;
    flex-shrink: 0;
}

.poster-subtitle {
    font-size: 0.85rem;
    color: #a29bfe;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.8;
}

.poster-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
    line-height: 1.1;
    background: none !important;
    background-color: transparent !important;
    color: #FFD700 !important;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.poster-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.tag-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
}

.share-card .nebula-chart-container {
    margin-top: 30px !important;
    margin-bottom: -50px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    flex-shrink: 0;
    width: 300px !important;
    height: 300px !important;
    aspect-ratio: 1 / 1;
}

/* 공유 포스터: 방사형 라벨 대신 범례 그리드 고정 (캡처 뷰포트와 무관하게 동일 결과) */
.share-card .hud-anchor {
    display: none !important;
}

.share-card .chart-legend {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 65px 20px 0;
}

.share-card .legend-item {
    background: rgba(25, 25, 40, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 10px;
    padding: 6px 8px;
    text-align: left;
}

.poster-message-box {
    width: 100%;
    background: rgba(20, 20, 30, 0.9);
    border-top: 2px solid #FFD700;
    padding: 30px 25px 50px 25px;
    border-radius: 25px 25px 0 0;
    text-align: center;
    margin-top: auto;
    width: 600px;
    margin-left: -30px;
    margin-right: -30px;
}

.message-label {
    font-size: 0.8rem;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 3px;
}

.message-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    word-break: keep-all;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.message-score {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #a29bfe;
}

.poster-footer {
    margin-top: 20px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hud-anchor {
    position: absolute;
    transform: translate(110px) rotate(calc(var(--rotation) * -1));
    z-index: 20;
    width: 0;
    height: 0;
    display: flex;
    align-items: center;
}

    .hud-anchor.dist-short {
        --line-length: 40px;
    }

    .hud-anchor.dist-long {
        --line-length: 185px;
    }

.hud-line {
    position: absolute;
    top: 0;
    width: var(--line-length);
    height: 1px;
    background: rgba(162, 155, 254, 0.8);
    box-shadow: 0 0 5px rgba(162, 155, 254, 0.8);
}

.expanded-data-panel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}


.sector-11 .hud-line, .sector-0 .hud-line, .sector-1 .hud-line,
.sector-2 .hud-line, .sector-3 .hud-line, .sector-4 .hud-line {
    left: 30px;
}

.sector-11 .expanded-data-panel, .sector-0 .expanded-data-panel, .sector-1 .expanded-data-panel,
.sector-2 .expanded-data-panel, .sector-3 .expanded-data-panel, .sector-4 .expanded-data-panel {
    left: calc(30px + var(--line-length));
}

.sector-5 .hud-line, .sector-6 .hud-line, .sector-7 .hud-line,
.sector-8 .hud-line, .sector-9 .hud-line, .sector-10 .hud-line {
    right: 30px;
}

.sector-5 .expanded-data-panel, .sector-6 .expanded-data-panel, .sector-7 .expanded-data-panel,
.sector-8 .expanded-data-panel, .sector-9 .expanded-data-panel, .sector-10 .expanded-data-panel {
    right: calc(30px + var(--line-length));
}


.sector-0 .hud-anchor {
    --rotation: 300deg;
}

.sector-1 .hud-anchor {
    --rotation: 330deg;
}

.sector-2 .hud-anchor {
    --rotation: 0deg;
}

.sector-3 .hud-anchor {
    --rotation: 30deg;
}

.sector-4 .hud-anchor {
    --rotation: 60deg;
}

.sector-5 .hud-anchor {
    --rotation: 90deg;
}

.sector-6 .hud-anchor {
    --rotation: 120deg;
}

.sector-7 .hud-anchor {
    --rotation: 150deg;
}

.sector-8 .hud-anchor {
    --rotation: 180deg;
}

.sector-9 .hud-anchor {
    --rotation: 210deg;
}

.sector-10 .hud-anchor {
    --rotation: 240deg;
}

.sector-11 .hud-anchor {
    --rotation: 270deg;
}

.z-role-title {
    font-size: 0.75rem;
    color: #a29bfe;
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
}

.z-desc-highlight {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}


.chart-section-header {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.chart-main-title {
    font-size: 1.3rem;
    color: #FFD700;
    margin: 0 0 5px 0;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    letter-spacing: 1px;
}

.chart-sub-title {
    font-size: 0.85rem;
    color: #a29bfe;
    margin: 0;
    padding-bottom: 10px;
    opacity: 0.8;
}


.nebula-chart-container {
    margin-top: 60px !important;
}

.coupang-top-banner {
    display: none;
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid #FFD700;
    color: #FFD700;
    padding: 12px 15px;
    margin-bottom: 25px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: bold;
    word-break: keep-all;
    line-height: 1.5;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.global-notice-banner {
    position: relative;
    z-index: 999;
    margin-top: 40px;
    width: 100%;
    background-color: rgba(162, 155, 254, 0.15);
    border-top: 1px solid rgba(162, 155, 254, 0.3);
    text-align: center;
    padding: 10px 15px;
    margin-bottom: 0;
    box-sizing: border-box;
}

.global-notice-banner span {
    color: #a29bfe;
    font-size: 0.85rem;
    font-weight: 600;
    word-break: keep-all;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    html, body, .main-wrapper, #aiResponse {
        overflow-x: hidden !important;
    }

    .chart-outer-wrapper {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        overflow: visible !important;
    }

    .chart-inner-scaler {
        flex-shrink: 0 !important;
        transform: scale(0.8) !important;
        transform-origin: top center !important;
        margin-bottom: -60px !important;
    }
}

.blog-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .blog-card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-card-container {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    transition: transform 0.3s ease;
}

    .blog-card:hover {
        transform: translateY(-5px);
    }

/* 모바일 차트 축소는 .chart-inner-scaler가 담당 — 컨테이너 중복 스케일(0.65×0.65=0.42) 버그 제거 */

.chart-legend {
    display: none;
}

@media screen and (max-width: 768px) {
    .hud-anchor {
        display: none !important;
    }

    .chart-legend {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 15px auto 0;
        max-width: 420px;
        padding: 0 10px;
    }

    .legend-item {
        background: rgba(25, 25, 40, 0.95);
        border: 1px solid rgba(255, 215, 0, 0.4);
        border-radius: 10px;
        padding: 8px 10px;
        text-align: left;
    }

    .legend-item .panel-z-name {
        font-size: 0.9rem;
    }

    .legend-item .panel-p-item {
        font-size: 0.8rem;
    }
}

.expanded-data-panel {
    transition: z-index 0.2s ease;
}

.expanded-data-panel:hover,
.expanded-data-panel:active,
.expanded-data-panel:focus-within {
    z-index: 9999 !important;
}

.panel-content {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.expanded-data-panel:hover .panel-content,
.expanded-data-panel:active .panel-content {
    transform: scale(1.08) !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4) !important;
}