/* Monster result styles */
.monster-result {
    padding: 50px 40px;
    background: linear-gradient(145deg, #f8fafc, #ffffff);
}

.variant-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.monster-display {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: auto auto;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.monster-info {
    grid-column: 1;
    grid-row: 1;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.monster-info h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.monster-gender {
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #4a5568;
    background: linear-gradient(145deg, #e2e8f0, #f7fafc);
    padding: 10px 18px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.monster-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.element-tag {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.grid-size {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #4a5568;
    background: linear-gradient(145deg, #e2e8f0, #f7fafc);
    padding: 12px 20px;
    border-radius: 15px;
    margin-top: 15px;
}

.monster-images {
    grid-column: 2;
    grid-row: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.monster-image-container {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 2px solid #e2e8f0;
}

.monster-image {
    width: 320px;
    height: 320px;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
}

.regenerate-container {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.egg-container {
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 280px;
}

.egg-container h4 {
    margin-bottom: 15px;
    color: #4a5568;
    font-size: 1.2rem;
    font-weight: 700;
}

.egg-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 15px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.1));
}

.egg-description {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
}

.monster-description {
    grid-column: 1 / -1;
    grid-row: 2;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.monster-description h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.monster-description h4 {
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.monster-description p {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.description-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
}

.sound-info, .sound-pattern {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(145deg, #f7fafc, #edf2f7);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.sound-info:first-of-type {
    margin-top: 0;
}

.sound-controls-section {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(145deg, #f7fafc, #edf2f7);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.sound-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.sound-controls button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.play-sound-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.play-sound-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.stop-sound-btn {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.stop-sound-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.sound-type {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    text-transform: capitalize;
}

.monster-actions {
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.bottom-actions {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}