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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #d4a574 0%, #8b6f47 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: #f5f5f0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 100%;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 48px;
    margin-bottom: 10px;
}

.title {
    font-size: 42px;
    font-weight: bold;
    color: #5b6bb5;
    letter-spacing: 8px;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 18px;
    margin-top: 10px;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.option-box {
    background: white;
    border: 3px solid #ddd;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, #d4a574 0%, #8b6f47 100%);
}

.option-box:hover .info-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}

.option-box:hover {
    transform: translateY(-5px);
    border-color: #5b6bb5;
    box-shadow: 0 10px 25px rgba(91, 107, 181, 0.3);
}

.option-box.selected {
    background: linear-gradient(135deg, #5b6bb5 0%, #7b8bc5 100%);
    border-color: #5b6bb5;
    color: white;
    box-shadow: 0 10px 30px rgba(91, 107, 181, 0.5);
}

.option-icon {
    font-size: 40px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.option-text {
    font-size: 14px;
    font-weight: 600;
}

.info-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: rgba(40, 40, 60, 0.98);
    color: white;
    padding: 15px;
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.info-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(40, 40, 60, 0.98);
}

.tooltip-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #ffd700;
}

.stat {
    margin-bottom: 8px;
    text-align: left;
}

.stat:last-child {
    margin-bottom: 0;
}

.stat-label {
    font-size: 12px;
    margin-bottom: 4px;
    opacity: 0.8;
}

.stat-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.input-field {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #5b6bb5;
    box-shadow: 0 0 0 4px rgba(91, 107, 181, 0.1);
}

.start-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #5b6bb5 0%, #7b8bc5 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 107, 181, 0.4);
}

.start-button:active {
    transform: translateY(0);
}

.result {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    text-align: center;
    color: #5b6bb5;
    font-weight: 600;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #5b6bb5;
}

.imageUrl{
    width: 62px;
    height: 80px;
    /*background-color: red;*/
    background-image: url('image/GAP_Gallery-1.png');
    background-size: 500%;
}

.Elephant{
    background-position: -47px 0px;
}

.Cheetah{
    background-position: 6px -92px;
}

.Lion{
    background-position: 6px 0px;
}

.Wasp{
    background-position: -46px -92px;
}

.Eagle{
    background-position: -202px -92px;
}

.Wolf{
    background-position: -252px -92px;
}

.Rabbit{
    background-position: 6px -172px;
}

.Rhino{
    background-position: -150px -92px;
}