
:root {
    --primary-color: #9b59b6; /* Amethyst */
    --secondary-color: #34495e; /* Wet Asphalt */
    --background-color: #2c3e50; /* Midnight Blue */
    --text-color: #ecf0f1; /* Clouds */
    --accent-color: #f1c40f; /* Sunflower */
}

body {
    font-family: 'Playfair Display', serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    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 3z' fill='%23ecf0f1' fill-opacity='0.1'/%3E%3C/svg%3E");
}

.container {
    text-align: center;
    background: rgba(44, 62, 80, 0.8);
    padding: 2rem 4rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3), 0 10px 10px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

header h1 {
    font-family: 'Caveat', cursive;
    color: var(--accent-color);
    font-size: 4rem;
    margin: 0;
    text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
}

header p {
    font-style: italic;
    opacity: 0.8;
}

#fortune-container {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in-out;
    border: 2px dashed var(--primary-color);
}

#fortune-text {
    font-size: 1.5rem;
    font-style: italic;
    opacity: 0.5;
    transition: opacity 0.5s ease-in-out;
}

#fortune-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

#fortune-button img {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 0 15px var(--accent-color));
}

#fortune-button:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px var(--accent-color));
}

#fortune-button:active {
    transform: scale(0.9);
}

footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.fade-in {
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Language Selector Styles */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.lang-button {
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.lang-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.lang-button.active {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 0 10px var(--accent-color);
}

