# Game link style
.game-link {
    display: inline-block;
    font-size: 1.2em;
    color: #e17055;
    background: #23283a;
    border-radius: 8px;
    padding: 12px 32px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.15s, color 0.15s;
}
.game-link:hover {
    background: #e17055;
    color: #fff;
}

/* Silhouette overlay for guessing game */
#eleon-silhouette-container, .silhouette-wrapper {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 8px;
    padding: 0;
}
.silhouette-wrapper {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
#eleon-silhouette {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid #23283a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    background: transparent;
    filter: brightness(0) grayscale(1) contrast(2);
}

.eleon-img.shiny {
    filter: brightness(1.3) saturate(1.7) drop-shadow(0 0 10px rgba(255,255,255,0.8)) hue-rotate(30deg);
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #f5f6fa;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    animation: backgroundShift 20s ease-in-out infinite alternate;
}
@keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.container {
    max-width: 900px;
    margin: 40px auto;
    background: #23283a;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    padding: 32px 24px 48px 24px;
}
.site-header {
    text-align: center;
    margin-bottom: 32px;
}
.site-header h1 {
    font-size: 3em;
    margin: 0;
    background: linear-gradient(45deg, #e17055, #fdcb6e, #00cec9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(225, 112, 85, 0.5);
    transition: transform 0.3s ease;
}
.site-header h1:hover {
    transform: scale(1.05);
}
.subtitle {
    font-size: 1.2em;
    color: #a29bfe;
    margin: 10px 0 0 0;
}
h1 {
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 2px;
}
#searchBar {
    width: 100%;
    padding: 12px 16px;
    border-radius: 25px;
    border: 2px solid #2e344d;
    margin-bottom: 32px;
    font-size: 1.1em;
    background: rgba(26, 30, 41, 0.8);
    color: #f5f6fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}
#searchBar:focus {
    outline: none;
    border-color: #e17055;
    box-shadow: 0 0 15px rgba(225, 112, 85, 0.5);
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.eleon-card {
    background: #252b3d;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 16px 12px 12px 12px;
    text-align: center;
    width: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease-out forwards;
}
.eleon-card:nth-child(1) { animation-delay: 0.1s; }
.eleon-card:nth-child(2) { animation-delay: 0.2s; }
.eleon-card:nth-child(3) { animation-delay: 0.3s; }
.eleon-card:nth-child(4) { animation-delay: 0.4s; }
.eleon-card:nth-child(5) { animation-delay: 0.5s; }
.eleon-card:nth-child(6) { animation-delay: 0.6s; }
.eleon-card:nth-child(7) { animation-delay: 0.7s; }
.eleon-card:nth-child(8) { animation-delay: 0.8s; }
.eleon-card:nth-child(9) { animation-delay: 0.9s; }
.site-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a29bfe;
}
.site-footer p {
    margin: 0;
    font-size: 0.9em;
}
.eleon-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.eleon-card.has-shiny::after {
    content: '★';
    position: absolute;
    top: 5px;
    right: 5px;
    color: #ffd700;
    font-size: 1.5em;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
    animation: sparkle 2s ease-in-out infinite alternate;
}
@keyframes sparkle {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.eleon-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
    background: #181c24;
    border-radius: 8px;
    border: 1px solid #2e344d;
}
.eleon-name {
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 1px;
    color: #7ed6df;
    margin-bottom: 4px;
}

    /* --- Guessing Game Styles --- */
    .game-section {
        margin-top: 48px;
        background: #20243a;
        border-radius: 14px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.13);
        padding: 32px 18px 32px 18px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .game-section h2 {
        text-align: center;
        margin-bottom: 18px;
        letter-spacing: 1.5px;
    }
    .game-modes {
        display: flex;
        justify-content: center;
        gap: 18px;
        margin-bottom: 18px;
    }
    .game-mode-btn {
        background: #23283a;
        color: #f5f6fa;
        border: 2px solid #2e344d;
        border-radius: 8px;
        padding: 8px 22px;
        font-size: 1em;
        cursor: pointer;
        transition: background 0.15s, border 0.15s;
    }
    .game-mode-btn.selected, .game-mode-btn:hover {
        background: #2e344d;
        border-color: #e17055;
    }
    #game-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-bottom: 12px;
    }
    #eleon-silhouette-container {
        width: 120px;
        height: 120px;
        margin-bottom: 8px;
        position: relative;
    }
    #eleon-silhouette {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: brightness(0) grayscale(1) contrast(2);
        background: #111;
        border-radius: 10px;
        border: 2px solid #23283a;
        box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    }
    #hint-area {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 4px;
    }
    #hint-btn {
        background: #e17055;
        color: #fff;
        border: none;
        border-radius: 6px;
        padding: 5px 16px;
        font-size: 1em;
        cursor: pointer;
        transition: background 0.15s;
    }
    #hint-btn:disabled {
        background: #888;
        cursor: not-allowed;
    }
    #guess-input {
        width: 220px;
        padding: 8px 12px;
        border-radius: 7px;
        border: 1px solid #2e344d;
        background: #181c24;
        color: #f5f6fa;
        font-size: 1em;
        margin-bottom: 2px;
    }
    #submit-guess {
        background: #00b894;
        color: #fff;
        border: none;
        border-radius: 6px;
        padding: 7px 22px;
        font-size: 1em;
        cursor: pointer;
        margin-left: 8px;
        transition: background 0.15s;
    }
    #submit-guess:disabled {
        background: #888;
        cursor: not-allowed;
    }
    #game-feedback {
        min-height: 22px;
        font-size: 1.1em;
        color: #e17055;
        margin-top: 2px;
        text-align: center;
    }
    #score-area {
        margin-top: 8px;
        font-size: 1.1em;
        color: #00b894;
        text-align: center;
    }
    #game-over {
        text-align: center;
        margin-top: 18px;
    }
    #game-over-title {
        color: #e17055;
        margin-bottom: 8px;
    }
    #restart-btn {
        background: #0984e3;
        color: #fff;
        border: none;
        border-radius: 7px;
        padding: 8px 28px;
        font-size: 1em;
        cursor: pointer;
        margin-top: 10px;
        transition: background 0.15s;
    }
    #restart-btn:hover {
        background: #74b9ff;
    }
