body {
    font-family: 'Nanum Gothic', sans-serif;
    background: linear-gradient(135deg, #2c2c2c 0%, #3b3b3b 50%, #4a4a4a 100%);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #ffd700;
}

#app-container {
    text-align: center;
    width: 100%;
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

#title {
    font-family: 'Arial';
    font-size: 2.2rem;
    margin: 800px 0 0;
    color: #fffcea;
}

#greeting {
    font-size: 1.1rem;
    margin: 15px 0 20px;
    color: #ffd700;
}

#logo {
    width: 250px;
    margin-bottom: 20px;
    border-radius: 20px;
}

#input-container {
    margin-bottom: 150px;
}

#user-input {
    width: 70%;
    padding: 10px;
    border: 2px solid #ffd700;
    border-radius: 5px;
    font-size: 16px;
    background-color: #600000;
    color: #ffd700;
}

#submit-button {
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    background-color: #ff4500;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#submit-button:hover {
    background-color: #b22222;
}

#processing-message {
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    display: none;
}

#tarot-result {
    margin-top: 40px;
    padding-bottom: 100px;
}

#cards-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 250px;
}

.card {
    width: 135px;
    height: 227px;
    background-color: rgba(255, 215, 0, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin-bottom: 40px;
}

.card img {
    width: 100%; 
    height: auto;
    border-radius: 5px;
}

.card-name {
    font-family: 'Arial';
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffd700;
    margin-top: 25px;
    text-align: center;
}

.card-description {
    font-size: 0.85rem;
    color: #fff;
    text-align: center;
    margin-top: 10px;
    padding: 0 0px;
}

#overall-advice {
    font-size: 16px;
    line-height: 1.2;
    margin-top: 20px;
    text-align: center;
}

#about-project {
    text-align: center;
    margin-top: 30px;
}

#about-link {
    font-size: 1rem;
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

#about-link:hover {
    color: #ff4500;
}
