body {
    background-color: #1a1a2e;
    color: #e0e0e0;
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 1rem 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://www.transparenttextures.com/patterns/noisy-net.png');
}

.container {
    text-align: center;
    padding: 2rem;
    background-color: #2a2a3e;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    max-width: 500px;
    width: 90%;
}

h1 {
    color: #f0a500;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px #f0a500;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

#birthdate {
    padding: 0.8rem;
    border: 2px solid #f0a500;
    border-radius: 8px;
    background-color: #1a1a2e;
    color: #e0e0e0;
    font-size: 1rem;
    text-align: center;
}

#find-guardian {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    background-color: #f0a500;
    color: #1a1a2e;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

#find-guardian:hover {
    background-color: #ffc107;
    box-shadow: 0 0 20px rgba(240, 165, 0, 0.8);
}

#result-container {
    margin-top: 2rem;
}

.ad-placeholder {
    margin: 2rem 0;
    padding: 1rem;
    border: 2px dashed #555;
    border-radius: 10px;
}

.content-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
    text-align: left;
}

.content-section h2 {
    color: #f0a500;
    text-align: center;
    margin-bottom: 1.5rem;
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section ul li {
    background-color: #1a1a2e;
    padding: 0.8rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

footer a {
    color: #aaa;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

footer a:hover {
    color: #f0a500;
}

guardian-spirit-card {
    display: block;
    margin-top: 2rem;
}

/* Mobile Optimization */
@media (min-width: 600px) {
    .input-container {
        flex-direction: row;
        justify-content: center;
    }
}
