.AnswerButton {
    background-color: #1a1a1a;
    border-radius: 20px;
    padding: 30px;
    margin: 20px auto;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.AnswerButton:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.AnswerButton h2 {
    color: #e91616;
    margin-bottom: 15px;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.AnswerButton .des {
    display: block;
    color: #747474;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.connections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 0 10px;
}

.connection-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.connection-group:hover {
    transform: translateY(-3px);
}

.connection-category {
    font-size: 1.1rem;
    color: #e91616;
    font-weight: bold;
    margin-bottom: 8px;
    padding: 8px;
    background: rgba(233, 22, 22, 0.1);
    border-radius: 8px;
    text-align: center;
}

.connection-word {
    background-color: #2a2a2a;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.connection-word:hover {
    transform: scale(1.03);
    background-color: #3a3a3a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.level-0 .connection-word { 
    border-left: 5px solid #e91616;
    background: linear-gradient(to right, rgba(233, 22, 22, 0.1), #2a2a2a);
}

.level-1 .connection-word { 
    border-left: 5px solid #ffd700;
    background: linear-gradient(to right, rgba(255, 215, 0, 0.1), #2a2a2a);
}

.level-2 .connection-word { 
    border-left: 5px solid #00ff00;
    background: linear-gradient(to right, rgba(0, 255, 0, 0.1), #2a2a2a);
}

.level-3 .connection-word { 
    border-left: 5px solid #0000ff;
    background: linear-gradient(to right, rgba(0, 0, 255, 0.1), #2a2a2a);
}

@media (max-width: 768px) {
    .connections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .AnswerButton {
        padding: 20px;
        margin: 10px;
    }
    
    .connection-word {
        font-size: 1rem;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .connections-grid {
        grid-template-columns: 1fr;
    }
}

.AnswerButton #answerBox {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 10px;
    transition: opacity 0.3s ease;
}

.AnswerButton #answerBox:hover {
    opacity: 0.8;
} 