@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    min-height: 100vh;
}

body.spring-bg { background: linear-gradient(135deg, #1a1a2e 0%, #2d1f1f 100%); }
body.summer-bg { background: linear-gradient(135deg, #1a1a2e 0%, #1f1f2d 100%); }
body.autumn-bg { background: linear-gradient(135deg, #1a1a2e 0%, #2d2519 100%); }
body.winter-bg { background: linear-gradient(135deg, #1a1a2e 0%, #1a1a2e 100%); }

.lang-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
}

.lang-btn {
    padding: 8px 16px;
    font-size: 0.85em;
    font-weight: 600;
    border: 2px solid #F9D142;
    border-radius: 20px;
    background: transparent;
    color: #F9D142;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(249, 209, 66, 0.2);
}

.lang-btn.active {
    background: #F9D142;
    color: #1a1a2e;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0) 100%);
    padding: 15px 30px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5em;
    font-weight: 700;
    color: #F9D142;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #F9D142;
}

main {
    padding-top: 100px;
    padding-bottom: 50px;
}

.result-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.result-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
}

.result-header h1 {
    font-size: 2.2em;
    color: #F9D142;
    margin-bottom: 20px;
}

.result-header p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #c0c0c0;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.color-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
}

.color-info h2 {
    font-size: 1.4em;
    color: #667eea;
    margin-bottom: 15px;
}

.color-info p {
    color: #b0b0b0;
    line-height: 1.7;
}

.color-palette {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.color-chip {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tips-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    padding: 30px;
    border-left: 4px solid #667eea;
}

.tips-box h3 {
    font-size: 1.3em;
    color: #667eea;
    margin-bottom: 20px;
}

.tips-box ul {
    list-style: none;
}

.tips-box li {
    padding: 12px 0;
    color: #c0c0c0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 25px;
    position: relative;
}

.tips-box li:last-child {
    border-bottom: none;
}

.tips-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F9D142;
}

.share-section {
    margin-top: 40px;
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.share-section h3 {
    color: #F9D142;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.share-btn.twitter { background: #000; color: #fff; }
.share-btn.facebook { background: #1877F2; color: #fff; }
.share-btn.copy { background: #6c757d; color: #fff; }

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 18px 40px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: #F9D142;
    color: #1a1a2e;
}

.action-btn.secondary {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#kakao-ad-container {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 0.9em;
    margin-top: 40px;
}

footer a {
    color: #888;
}

@media (max-width: 600px) {
    .result-header h1 { font-size: 1.7em; }
    .result-header { padding: 25px 20px; }
    .color-info { padding: 20px; }
    .color-chip { width: 40px; height: 40px; }
    .share-buttons { flex-direction: column; align-items: center; }
    .share-btn { width: 80%; }
    .action-buttons { flex-direction: column; }
    .action-btn { width: 100%; text-align: center; }
    
    .lang-switch {
        top: auto;
        bottom: 20px;
    }
}